1 2006-02-27 Chris Toshok <toshok@ximian.com>
3 * SqlDataSource.cs: track change to DataSourceControl's protected
6 * AccessDataSource.cs: same.
8 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
10 * ListControl.cs: fixed SelectedIndex property, fixed selection
11 reset on incorrect value
13 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
15 * TableStyle.cs: fixed AddAttributesToRender function, style
16 BorderCollapse:Collapse was added if table's CellSpacing is zero
18 2006-02-23 Chris Toshok <toshok@ximian.com>
20 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
21 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
22 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
23 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
24 ImageButton.cs, ImageField.cs, Literal.cs,
25 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
27 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
28 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
29 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
30 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
31 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
32 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
33 errors. most were caused by a property/method being virtual when
34 it shouldn't be, or vice versa.
36 2006-02-22 Chris Toshok <toshok@ximian.com>
38 * ObjectDataSource.cs: corcompare work.
40 2006-02-22 Chris Toshok <toshok@ximian.com>
42 * ParameterCollection.cs: add an EditorAttribute to the class.
44 * Parameter.cs: cleanup, fix the Value property, and implement the
47 * SqlDataSourceView.cs: clean things up a bit, and add handling
50 2006-02-22 Chris Toshok <toshok@ximian.com>
52 * SqlDataSourceFilteringEventArgs.cs: formatting.
54 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
55 both the property and ctor arg.
57 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
58 not CommandEventArgs. Also, cast the return value of
59 oleCommand.ExecuteReader.
61 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
63 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
64 (GetPhysicalDataFilePath): implement, again naively. this is
65 where the NRE is generated when we access ConnectionString in a
67 (ConnectionString): dynamically generate this based on our
69 (DataFile): clear the ConnectionString in the setter so we'll
71 (ProviderName): use base.ProviderName in the getter, not
72 this.ProviderName, so we don't recurse infinitely.
74 * SqlDataSourceView.cs: start reworking this class.
76 * SqlDataSource.cs (GetDbProviderFactory): implement this,
77 following the MS docs on the matter (if ProviderName is null/"",
78 return SqlClientFactory.Instance.)
79 (GetDbProviderFactoryInternal): add an internal method for use by
81 (TrackViewState): don't invoke View.TrackViewState unless we have
83 (Selecting): change event handler type to match MS.
84 (Filtering): add missing event.
85 (View): call CreateDataSourceView, don't just create an
88 2006-02-21 Chris Toshok <toshok@ximian.com>
90 * BoundField.cs: ues the ViewState.Get* pattern with default
91 instead of the explicit ViewState lookup + null check, and fix the
92 scope of InitializeDataCell.
94 * ButtonField.cs: ues the ViewState.Get* pattern with default
95 instead of the explicit ViewState lookup + null check.
97 * CommandField.cs: same.
101 * AutoGeneratedFieldProperties.cs: same.
103 * BaseDataList.cs: same.
105 * CircleHotSpot.cs: same.
107 * BulletedList.cs: same.
109 * DataBoundControl.cs: same.
111 * CookieParameter.cs: same.
113 * ControlParameter.cs: same.
115 * CustomValidator.cs: same.
117 * ButtonFieldBase.cs: same.
119 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
121 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
123 * BaseValidator.cs: same, and clean up the getter/setter formatting.
125 * CompareValidator.cs: same.
127 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
129 * ListControl.cs: fixed DataSource property, to throw
130 ArgumentException on incorrect value
132 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
134 * Image.cs: fixed missing border="0" attribute, when image has style,
135 but border width is not specified.
137 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
139 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
140 correct the "disabled" attribute in CheckBoxList
141 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
142 attribute in CheckBoxList
144 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
146 * CheckBox.cs: fixed Render function, removed rendering of empty
147 <span> element if ControlStyleCreated but it's empty.
148 fixed "disabled" attribute, it should be placed into span element
150 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
152 * BoundColumn.cs: fixed InitializeCell function, if DataField is
153 null or empty string, the cell should not be bound.
155 2006-02-08 Chris Toshok <toshok@ximian.com>
157 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
158 AppendDataBoundItems != false. Also, split all the databinding
159 logic out to DoDataBinding, which we call from here only if
161 (DoDataBinding): new function. actually perform the binding.
162 (PerformDataBinding): implement.
163 (PerformSelect): chain up to base class.
165 2006-02-07 Chris Toshok <toshok@ximian.com>
167 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
169 * Content.cs: use ContentControlBuilderInternal, and add a bunch
170 of unused (for now) EventHandler's here.
172 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
175 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
177 * ListControl.cs: bound checking for Items when loading the control
178 state, as the number might have been changed on the fly. Patch by
181 2006-01-22 Chris Toshok <toshok@ximian.com>
183 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
185 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
186 the intended comparison right and quiet mcs.
188 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
190 * Button.cs: Add semicolon after client script if does not exist.
192 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
194 * Button.cs: preserve user logic when adding client validation.
196 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
198 * BaseValidator.cs: fixing visibility bahavior
200 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
202 * RangeValidator.cs: allow empty data from the control. Patch from Marek
203 Habersack that fixes bug #77239.
205 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
207 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
208 by Cyrille Colin. Closes bug #77184.
210 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
212 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
213 compilation pass with csc 1.1.
215 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
217 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
219 2005-12-07 Chris Toshok <toshok@ximian.com>
221 * BaseValidator.cs: in the uplevel rendering case, don't render
222 the text if the validator's Display attribute is "None". Should
225 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
227 * RadioButton.cs: if the 'value' attribute is set explicitly (as
228 RadioButtonList does now), use that as the 'name' attribute.
229 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
234 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
236 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
237 the 'name' attribute when not aligninng to the right.
238 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
239 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
241 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
243 * DataGrid.cs: clear the control collection on every call to
244 CreateControlHierarchy. Fixes bug #76732.
246 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
248 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
250 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
252 * CheckBox.cs: use the NameAttribute property for setting 'name'.
253 * RadioButton.cs: get a UniqueID based identifier for 'name'.
256 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
258 * LinkButton.cs: don't output any javascript when the linkbutton is
259 disabled. Fixes bug #76713.
261 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
263 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
264 UseAccesibleHeader property is true. Patch by Robert Jordan.
266 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
268 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
269 control to validate. Fixes bug #76641.
271 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
273 * BoundColumn.cs: when the column is readonly and we're in edit mode,
274 keep it as a TextBox. Fixes bug #76714.
276 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
278 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
279 enabled. Fixes bug #76608.
281 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
283 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
284 the logic to Render and make it render the ID, which fixes bug #76596.
286 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
288 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
290 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
292 * Literal.cs: allow LiteralControl as child, but instead of adding it
293 to the control collection, it just gets the Text out of it.
295 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
297 * PagedDataSource.cs: fix range when we're at the last page.
298 * DataGrid.cs: only need to keep the item count in the viewstate.
301 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
303 * ListControl.cs: made GetSelectedIndices() internal.
304 * ListBox.cs: html-encode the item text. Fixed single and multiple
305 selection handling. All the tests pass now. Closes bug #76478.
307 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
309 * ListControl.cs: throw when the selected value is not in the
310 items collection. Fixes bug #76415.
312 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
314 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
315 throw a nullref, so we have to do it by ourselves here to make
318 * BaseValidator.cs: render the text of the error message even if
319 we set IsValid programatically. Don't use 'valid' directly, as
324 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
326 * CustomValidator.cs: an empty ControlToValidate is valid.
328 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
330 * RequiredFieldValidator.cs: Added missing permissions.
332 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
334 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
335 Now the items get the attributes from the styles in datalist. Add the
336 separators after each item, not before. GetItemStyle returns the actual
337 item style, not the styles in the datalist. Fixes bug #76384 and all
340 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
342 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
345 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
347 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
350 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
352 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
354 * FontUnit.cs: Structs are sealed so there's no need for inheritance
356 * Unit.cs: Structs are sealed so there's no need for inheritance
359 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
361 * PagedDataSource.cs: fix the upper bound for collection and ilist
364 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
366 * DataGrid.cs: change the ListItemType for the item selected, set
367 SelectedIndex before calling OnSelectedIndexChanged and set the selected
368 item type correctly when creating the columns. Fixes bug #76334.
371 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
372 selecting the row, the button keep the regular link color.
374 * DataGridColumn.cs: made the class internal.
376 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
378 * DataGrid.cs: fix breakaga of alternating item style in one of my
381 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
383 * Calendar.cs: remove Console.
384 * ListBox.cs: the name is the UniqueID, not the ClientID.
385 * WebControl.cs: Attributes is case insensitive.
387 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
389 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
390 UniqueID without appending a ".x" or ".y". Fixes several issues in
391 mojoPortal. Thanks to Joe Audetter for his patience.
393 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
395 * ButtonColumn.cs: it was lacking databinding, so copied most of it
398 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
400 * FontInfo.cs: removed useless ctor.
401 * Style.cs: keep here some commented out debugging code.
402 * DataGrid.cs: the Items property does not create a new arraylist if
403 the items_list was already initialized. Add case for Separator.
404 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
405 in the header columns has a special ForeColor handling.
407 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
409 * DataGrid.cs: PageCount must persist in ViewState too and returns the
410 number of pages in the paged data source once we set that. Fix checks
411 for visibility of the pager: no more 2 pagers when custom paging is
414 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
416 * ImageButton.cs: fix a bug reported on the list. We were triggering the
417 command event on every POST. And the 'name' attribute was not being
418 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
419 and we couldn't find the values.
421 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
423 * DataGrid.cs: fix the links for the numeric pager.
425 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
427 * DataGrid.cs: when paging is enable, the actual number of items is not
428 the number of items rendered before the postback, but that number times
429 the number of pages. Now we store the page count in the viewstate. Also,
430 as the number might be big, don't allocate an array of objects to fake
431 the collection for the PagedDataSource, but use the new NCollection
432 class instead, which provides cheap (memory wise) enumerator for an
433 arbitrary number of items. Thanks to "Adriano" for the test case.
435 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
437 * Xml.cs: the show must go on. Removed a few NotImplemented.
439 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
441 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
442 existing code in 1.1 (or viceversa). RenderContents() does nothing.
444 * DataGrid.cs: changed autoid api.
446 * EditCommandColumn.cs: only 'Update' causes validation.
448 * TableCell.cs: changed autoid api. RenderContents checks the number
449 of controls to decide what to do, not the value of Text in the
452 * TableRow.cs: changed autoid api.
454 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
455 event. When we get an EditItem, we need a TextBox to be created and
456 this one will be the one that gets the event. Changed
457 ItemDataBinding to deal with a TextBox too.
459 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
461 * PagedDataSource.cs: fix IsLastPage. All tests pass.
462 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
463 need to keep the old one in a field. Now all tests pass here too.
465 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
467 * PagedDataSource.cs: don't use the properties when they just return a
468 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
469 before ICollection (otherwise, an IList will always fall under the
470 ICollection case). The enumerator for lists will be empty if 'start'
471 is beyond the list size. All existing tests pass, but one in
472 DataGridTest that fails because of some problem with the paging.
474 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
476 * Style.cs: fix the 2.0 build.
478 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
480 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
481 instead write the style attributes directly to the HtmlTextWriter.
483 * CheckBox.cs: adapted to new API.
485 * DataGrid.cs: handle null data sources. Fixed the contions that make
486 the table to be added to the Controls collection.
488 * Calendar.cs: the table needed an ID and the attributes from the
489 parent. Also don't create the ControlStyleCollection if it has not
490 already been created.
492 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
494 * DataGrid.cs: handle null data sources. Fixed the contions that make
495 the table to be added to the Controls collection.
497 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
499 * Calendar.cs: TrackViewState should be called upon creation, not on
500 every get_XXX call. Cleanup.
502 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
504 * DataGrid.cs: fix another test. The ID of the table generated by the
505 datagrid is set to the one on the datagrid if no one set the ID for the
508 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
510 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
513 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
515 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
516 converted to string as X{1,2}-.*. All FontUnitTests pass now.
517 * Unit.cs: throw a format exception when there's not number or minus
518 sign in the first non-whitespace character.
520 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
522 * ListControl.cs: SelectedIndex/SelectedValue can be set before
523 DataBinding () is called on the control, so we have to keep this values
524 around and use them after the data is read. If both properties are
525 used, they must refer to the same item.
527 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
529 * DataList.cs: fill in the data keys from BaseDataList so that the
530 events can see them. Only assign DataItem when using data binding and
531 nullify it after all events are raised.
533 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
535 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
538 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
540 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
542 * DataGrid.cs: Fix TagKey (table) for 2.0.
543 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
544 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
546 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
548 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
549 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
551 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
553 * TreeView.cs: Added declarative security (Link and Inheritance
554 demands) for Minimal.
555 * XmlDataSource.cs: Added declarative security (Link and Inheritance
556 demands) for Minimal.
558 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
560 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
561 Inheritance demands) for Minimal.
562 * Label.cs: Added declarative security (Link and Inheritance demands)
564 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
565 * ListItemCollection.cs: Added declarative security (LinkDemands) for
567 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
568 2.0, Inheritance demands) for Minimal.
569 * PagedDataSource.cs: Added declarative security (LinkDemands) for
571 * Panel.cs: Added declarative security (Link and Inheritance demands)
573 * Repeater.cs: Added declarative security (Link and Inheritance
574 demands) for Minimal.
575 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
576 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
578 * TargetConverter.cs: Added declarative security (Link and Inheritance
579 demands) for Minimal.
580 * Unit.cs: Added, but only for 1.x, declarative security (Link and
581 Inheritance demands) for Minimal.
582 * ValidatedControlConverter.cs: Added declarative security (Link and
583 Inheritance demands) for Minimal.
584 * WebColorConverter.cs: Added declarative security (Link and
585 Inheritance demands) for Minimal.
586 * Xml.cs: Added declarative security (Link and Inheritance demands)
588 * ValidationSummary.cs: Added declarative security (Link and
589 Inheritance demands) for Minimal.
591 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
593 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
595 2005-09-22 Ben Maurer <bmaurer@ximian.com>
597 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
598 it took O(height) time, not O(1).
600 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
602 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
604 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
606 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
607 2.0, Inheritance demands) for Minimal.
608 * BaseCompareValidator.cs: Added declarative security (Link and
609 Inheritance demands) for Minimal.
610 * BaseDataBoundControl.cs: Added declarative security (Link and
611 Inheritance demands) for Minimal.
612 * BaseValidator.cs: Added declarative security (Link and Inheritance
613 demands) for Minimal.
614 * BoundColumn.cs: Added declarative security (Link and Inheritance
615 demands) for Minimal.
616 * ButtonColumn.cs: Added declarative security (Link and Inheritance
617 demands) for Minimal.
618 * CalendarDay.cs: Added declarative security (Link and Inheritance
619 demands) for Minimal.
620 * CheckBoxList.cs: Added declarative security (Link and Inheritance
621 demands) for Minimal.
622 * CompareValidator.cs: Added declarative security (Link and
623 Inheritance demands) for Minimal.
624 * CustomValidator.cs: Added declarative security (Link and Inheritance
625 demands) for Minimal.
626 * DataBoundControl.cs: Added declarative security (Link and
627 Inheritance demands) for Minimal.
628 * DataGridItemCollection.cs: Added declarative security (Link and
629 Inheritance demands) for Minimal.
630 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
632 * DataListItemCollection.cs: Added declarative security (LinkDemands)
634 * DataListItem.cs: Added declarative security (Link and Inheritance
635 demands) for Minimal.
636 * FontNamesConverter.cs: Added declarative security (Link and
637 Inheritance demands) for Minimal.
638 * HyperLink.cs: Added declarative security (Link and Inheritance
639 demands) for Minimal.
640 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
641 demands) for Minimal.
642 * Image.cs: Added declarative security (Link and Inheritance demands)
645 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
647 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
649 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
650 a data source, first try reflection, then componentmodel. If we get
651 an enumerator, keep it around, as MS only calls GetEnumerator once.
652 Throw an exception if no columns can be created from the given data
653 source. Tested with DbDataRecord, DataTable, ArrayList and
654 ICustomTypeDescriptor.
656 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
658 * AccessDataSource.cs: Added declarative security (Link and Inheritance
659 demands) for Minimal. Added [ToolboxBitmap] on class.
660 * AdRotator.cs: Added declarative security (Link and Inheritance
661 demands) for Minimal. Removed extra Page and ViewState properties.
662 * BulletedList.cs: Added declarative security (Link and Inheritance
663 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
664 * Button.cs: Added declarative security (Link and Inheritance demands)
665 for Minimal. Added [SupportsEventValidation] on class (2.0).
666 * Calendar.cs: Added declarative security (Link and Inheritance
667 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
668 * CheckBox.cs: Added declarative security (Link and Inheritance
669 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
670 * CompositeControl.cs: Added declarative security (Link and Inheritance
671 demands) for Minimal. Added new protected RecreateChildControls method.
672 * DataControlCommands.cs: Added declarative security (LinkDemands) for
673 Minimal. Added private ctor.
674 * DataGrid.cs: Added declarative security (Link and Inheritance
675 demands) for Minimal. Fixed properties for 2.0 (mostly removing
676 [Bindable]). Added override for TagKey property.
677 * DataGridColumn.cs: Added declarative security (Link and Inheritance
678 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
679 * DataGridItem.cs: Added declarative security (Link and Inheritance
680 demands) for Minimal. Added IDataItemContainer interface for 2.0.
681 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
682 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
683 * DataList.cs: Removed [Load|Save]ControlState methods.
684 * DropDownList.cs: Added declarative security (Link and Inheritance
685 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
686 * EditCommandColumn.cs: Added declarative security (Link and
687 Inheritance demands) for Minimal. Added missing attributes,
688 [DefaultValue] and [Localize] for 2.0.
689 * FontInfo.cs: Added declarative security (Link and Inheritance
690 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
692 * Login.cs: Added declarative security (Link and Inheritance demands)
693 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
694 * ImageButton.cs: Added declarative security (Link and Inheritance
695 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
696 * LinkButton.cs: Added declarative security (Link and Inheritance
697 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
698 * ListBox.cs: Added declarative security (Link and Inheritance demands)
699 for Minimal. Added [SupportsEventValidation] on class (2.0).
700 * Literal.cs: Added declarative security (Link and Inheritance demands)
701 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
702 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
703 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
704 but will be shown as extra).
705 * RadioButton.cs: Added declarative security (Link and Inheritance
706 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
707 * RadioButtonList.cs: Added declarative security (Link and Inheritance
708 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
709 * RangeValidator.cs: Added declarative security (Link and Inheritance
710 demands) for Minimal. Added missing [Themeable] attributes.
711 * RegularExpressionValidator.cs: Added declarative security (Link and
712 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
714 * RoleGroupCollection.cs: Added declarative security (Link and
715 Inheritance demands) for Minimal. Fixed base class (changed in RC).
716 Re-implemented CopyTo. Removed some methods.
717 * Style.cs: Added declarative security (Link and Inheritance demands)
718 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
719 is now public in 2.0.
720 * Table.cs: Added declarative security (Link and Inheritance demands)
721 for Minimal. Added [SupportsEventValidation] on class (2.0).
722 * TableCell.cs: Fixed PersistenceMode for 2.0.
723 * TextBox.cs: Added declarative security (Link and Inheritance demands)
724 for Minimal. Added [SupportsEventValidation] on class (2.0).
725 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
726 but will be shown as extra).
727 * WebControl.cs: Added declarative security (Link and Inheritance
728 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
731 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
733 * TableStyle.cs: fixed typo that prevented restoring GridLines from
736 * DataGrid.cs: the table does not get an auto ID. When restoring from
737 viewstate, use all the saved columns, not just that data bound ones. Set
738 the owner of the BoundColumns created. Save/restore columns.
739 OnItemCreated happens after the item is initialized and the data item is
740 set before the event and nullified after OnItemDataBound.
741 Add the render_table to the Controls immediately, otherwise we might get
742 errors from child controls such as "must be rendered inside a form".
743 Keep the items created in the list waiting for them.
744 The table uses the attributes from the DataGrid and ControlStyle.
745 Raise OnItemCommand on all bubble events and don't propagate bubble
746 event up in the hierarchy
748 * TableCell.cs: it does not get an automatic ID.
749 * BoundColumn.cs: FormatDataValue returns an empty string on null input
750 (there was already a test for this).
754 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
756 * DataGridColumnCollection.cs: track the view state in the newly added
759 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
761 * DataGrid.cs: merge column styles too. Fixes bug #76106.
762 * DataGridColumn.cs: new internal method to retrieve the styles without
763 creating an instance for them.
765 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
767 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
768 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
769 StateBag.SetDirty (true).
771 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
773 * Menu.cs: Fixed parameter orders for CreateStyleRule.
775 2005-09-13 Chris Toshok <toshok@ximian.com>
777 * Style.cs: corcompare stuff.
779 * RequiredFieldValidator.cs: more corcompare stuff.
781 * CheckBoxList.cs: clean up some of the interface methods vs
782 protected virtual 2.0 calls.
784 * SubMenuStyle.cs: corcompare says this should implement
785 ICustomTypeDescriptor... sooo, make it.
787 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
789 * TableCell.cs: do the same as HyperLink and others in
790 AddParsedSubobject so that adding a literal control does not remove the
791 existing controls if any. Fixes bug #76078.
793 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
795 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
797 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
799 * ImageButton.cs: fix invalid cast exception.
801 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
803 * ListItem.cs: throw in AddParsedSubObject if the object is not a
805 * RadioButtonList.cs: implemented LoadPostData and
806 RaisePostDataChangedEvent.
808 2005-09-09 Chris Toshok <toshok@ximian.com>
810 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
811 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
812 LoadPostData/RaisePostDataChangedEvent.
814 2005-09-09 Chris Toshok <toshok@ximian.com>
816 * FontInfo.cs (IsEmpty): new internal property, used by
819 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
822 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
824 * ListItemCollection.cs: remove obsoleted methods.
825 * ListBox.cs: use IStateManager on the item collection.
827 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
829 * Use C# 1.0 style of delegate instantiating. Needed to compile
830 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
832 2005-09-07 Chris Toshok <toshok@ximian.com>
834 * Calendar.cs (WriteDay): always add BackColor=Silver,
835 ForeColor=White to selected day cells, before copying over the
836 selectedDayStyle, if it exists.
837 (WriteDays): fix nunit test - if the first day of the month falls
838 on the first day of the week, go back one week (effectively adding
839 a row of dates from the previous month.)
840 (WriteTitle): don't copy the control style to the tableTitle,
841 since it might have height specifications, which would make the
842 title look rather off.
844 2005-09-07 Chris Toshok <toshok@ximian.com>
846 * ValidationSummary.cs (AddAttributesToRender): we only set
847 display=none if there are no errors.
849 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
850 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
852 2005-09-07 Chris Toshok <toshok@ximian.com>
854 * ListControl.cs (SelectedIndex): add comment about how you'd
855 think OnSelectedIndexChanged would be called.. and you'd be wrong.
856 (Text): implement in terms of SelectedValue.
857 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
858 (LoadControlState): implement - this is where the selected index
859 ArrayList gets stuffed in 2.0.
860 (OnInit): call Page.RegisterRequiresControlState.
861 (OnTextChanged): implement.
862 (RenderContents): for now just chain up to base.RenderContents.
863 (SaveControlState): save our control state properly.
864 (GetSelectedIndices): split this out from SaveViewState to it can
865 be used by both that and SaveControlState.
866 (SaveViewState): mangle this function so it works in both 2.0 and
868 (LoadViewState): same.
870 2005-09-06 Chris Toshok <toshok@ximian.com>
872 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
873 we weren't assigned an ID.
875 * ValidationSummary.cs (AddAttributesToRender): same.
877 2005-09-06 Chris Toshok <toshok@ximian.com>
879 * WebControl.cs: revert the last change.
881 2005-09-06 Chris Toshok <toshok@ximian.com>
883 * WebControl.cs (AddAttributesToRender): always render ClientID.
885 * ValidationSummary.cs (Render): same.
887 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
890 2005-09-06 Chris Toshok <toshok@ximian.com>
892 * ValidationSummary.cs (Render): only do the JS stuff when the
893 validators on the page are uplevel.
895 * BaseValidator.cs (Render): remove unnecessary comment.
897 2005-09-05 Chris Toshok <toshok@ximian.com>
899 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
900 stored in the ViewState.
902 2005-09-02 Chris Toshok <toshok@ximian.com>
904 * Repeater.cs (GetData): change this slightly so the Repeater
905 doesn't keep a ref to the return value of GetData.
907 2005-09-01 Chris Toshok <toshok@ximian.com>
909 * ListControl.cs (AppendDataBoundItems): implement (2.0)
912 2005-09-01 Chris Toshok <toshok@ximian.com>
914 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
915 System.Web.UI.WebControls/ValidatedControlConverter.cs,
916 System.Web.UI.WebControls/Xml.cs,
917 System.Web.UI.WebControls/RegularExpressionValidator.cs,
918 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
919 System.Web.UI.WebControls/Menu.cs,
920 System.Web.UI.WebControls/MailMessageEventArgs.cs,
921 System.Web.UI.WebControls/MenuItemStyle.cs,
922 System.Web.UI.WebControls/RangeValidator.cs,
923 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
924 System.Web.UI.WebControls/MenuItem.cs,
925 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
926 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
927 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
928 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
929 System.Web.UI.WebControls/XmlBuilder.cs,
930 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
933 2005-09-01 Chris Toshok <toshok@ximian.com>
935 * System.Web.UI.WebControls/Button.cs,
936 System.Web.UI.WebControls/ButtonField.cs,
937 System.Web.UI.WebControls/DataControlField.cs,
938 System.Web.UI.WebControls/BaseCompareValidator.cs,
939 System.Web.UI.WebControls/AutoGeneratedField.cs,
940 System.Web.UI.WebControls/CustomValidator.cs,
941 System.Web.UI.WebControls/Content.cs,
942 System.Web.UI.WebControls/BoundField.cs,
943 System.Web.UI.WebControls/AdRotator.cs,
944 System.Web.UI.WebControls/ButtonColumn.cs,
945 System.Web.UI.WebControls/CompareValidator.cs,
946 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
947 work. Stub things out, and add attributes.
949 2005-09-01 Chris Toshok <toshok@ximian.com>
951 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
952 CommandField.cs, HyperLinkColumn.cs, Table.cs,
953 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
954 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
955 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
956 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
957 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
958 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
959 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
960 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
961 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
962 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
963 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
964 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
965 TableItemStyle.cs: Add some WebCategory and WebSysDescription
968 2005-09-01 Chris Toshok <toshok@ximian.com>
970 * AccessDataSource.cs: corcompare work.
972 * SqlDataSource.cs: same.
974 2005-09-01 Miguel de Icaza <miguel@novell.com>
976 * Various places: make sure that the DefaultValue matches the
977 type. Thanks to Michael for pointing this out.
979 In future audits, you might want to use the following awk command:
981 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
982 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
983 print $0; looking = 0; } /public/ && looking { looking = 0; } '
986 The above skips bools, strings and ints as those were fine as we
987 set them. The bug was on the other ones.
989 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
991 * Repeater.cs: fix the build.
993 2005-08-31 Chris Toshok <toshok@ximian.com>
995 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
996 {Base}DataList, and also from debug spew garnered from some
997 Repeater subclass tests on MS.
998 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
999 the IEnumerable by calling GetData().
1000 (DataBind): reset RequiresDataBinding to false (2.0).
1001 (DataMember): copy the set implementation from DataList, and add
1002 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
1003 (DataSource): more c&p.
1004 (DataSourceID); implement (2.0)
1005 (Initialized): implement (2.0)
1006 (IsBoundUsingDataSource): implement (2.0)
1007 (RequiresDataBinding): implement (2.0)
1008 (SelectArguments): implement (2.0)
1009 (CreateDataSourceSelectArguments): implement (2.0)
1010 (EnsureDataBound): implement (2.0)
1011 (GetData): implement.
1012 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
1014 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
1015 leave the MonoTODO. (2.0)
1016 (OnInit): call base.OnInit instead of throwing NIE, but leave the
1018 (OnLoad): implement.
1019 (OnPreRender): implement.
1020 (ConnectToDataSource): new method - look for the right control.
1022 2005-08-31 Chris Toshok <toshok@ximian.com>
1024 * XmlDataSourceView.cs: fix the scope of our select. Don't use
1025 call SelectNodes on the XmlDocument, not on
1026 XmlDocument.DocumentElement.
1028 2005-08-31 Chris Toshok <toshok@ximian.com>
1030 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
1031 (DoXPathSelect): put the xpath selection stuff here.
1032 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
1035 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
1036 select here, the view does it.
1038 2005-08-31 Jackson Harper <jackson@ximian.com>
1040 * DataList.cs: Remove some debugging code that was starting to bug
1043 2005-08-31 Chris Toshok <toshok@ximian.com>
1045 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
1046 create our Navigator by calling node.CreateNavigator().
1048 2005-08-31 Chris Toshok <toshok@ximian.com>
1050 * XmlDataSource.cs (GetXmlDataDocument): rename this to
1051 GetXmlDocument, and change the return value from XmlDataDocument
1053 (LoadXmlDataDocument): similar change.
1054 (Save): xmlDataDocument -> xmlDocument.
1055 (CanBeSaved): there's no ReadOnly attribute.
1056 (LoadViewState, SaveViewState, TrackViewState): nuke.
1057 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
1058 (CacheDuration): stub out with NIE.
1059 (CacheExpirationPolocy): same.
1060 (CacheKeyDependency): same.
1061 (EnableCaching): same.
1063 (Data, DataFile): xmlDataDocument -> xmlDocument.
1064 (Schema, SchemaFile): nuke.
1065 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
1067 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
1069 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
1070 Don't use the obsolete IsSet method.
1071 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
1072 * CheckBox.cs: Implement some 2.0 methods.
1073 * GridView.cs: Removed some "throw new NotImplementedException"
1075 2005-08-29 Chris Toshok <toshok@ximian.com>
1077 * TreeView.cs: Use the StateBag accessors Ben added, and implement
1078 SkipLinkText and Visible.
1080 2005-08-29 Chris Toshok <toshok@ximian.com>
1082 * TreeView.cs: fix typo in an attribute.
1084 2005-08-29 Jackson Harper <jackson@ximian.com>
1086 * PagedDataSource.cs: If it's not a list or collection we don't
1087 use a bounded enumerator.
1089 2005-08-29 Chris Toshok <toshok@ximian.com>
1091 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
1093 * CheckBox.cs: same.
1095 * BaseValidator.cs: same.
1097 * DropDownList.cs: same.
1099 * ValidationSummary.cs: same.
1101 2005-08-28 Chris Toshok <toshok@ximian.com>
1103 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
1105 2005-08-26 Chris Toshok <toshok@ximian.com>
1107 * TextBox.cs: implement ValidationGroup and CausesValidation
1110 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
1112 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
1115 2005-08-26 Chris Toshok <toshok@ximian.com>
1117 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
1119 * FontUnit.cs: add two 2.0 ctors, and the 2.0
1120 ToString(IFormatProvider) method.
1122 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
1124 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
1125 no items are present in the list.
1126 * RoleGroup.cs: Added missing attributes.
1127 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
1128 documented) methods.
1129 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
1130 must be done in the HtmlTextWriter (not in the TableStyle).
1132 2005-08-26 Chris Toshok <toshok@ximian.com>
1134 * Calendar.cs (UseAccessibleHeader): implement.
1135 (RaisePostBackEvent): some #ifdef ugliness to get this all working
1136 propertly between 1.x and 2.0
1137 (WriteDayHeader): if UseAccessibleHeader == true, render header
1138 cells as th's, not td's, and add abbr and scope attributes.
1140 2005-08-25 Chris Toshok <toshok@ximian.com>
1142 * Calendar.cs (Caption, CaptionAlign): implement these properties.
1143 (Render): if we have a non-empty caption, show it.
1144 (WriteCaption): new method, output the caption.
1146 2005-08-25 Chris Toshok <toshok@ximian.com>
1148 * Calendar.cs (Render): Copy the entire style from the Calendar to
1149 the Table, not just the font.
1150 (WriteDay): don't just write the link/text/etc. Create a
1151 LiteralControl as a child of the cell, before the call to
1152 OnDayRender, with its text set to the day number. After
1153 OnDayRender, set the literal's text to either the number again (if
1154 it's not selectable) or the full text of the js __doPostBack
1155 hyperlink (if it is.) Also, use cell.RenderControl here so we can
1156 render child controls with the id's listed properly (and arguably
1158 (ApplyTitleStyleCell): remove.
1159 (WriteTitle): apply the titleStyle to the enclosing table, not the
1160 table cell containing the month name. Also, copy from the
1161 Calendar's ControlStyle to populate tableTitle's style initially.
1162 We end up with more (superfluous) style attributes than MS, but
1163 it's better than having less.
1165 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1167 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
1170 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
1172 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
1173 and RegisteredCssClass property
1175 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1177 * LoginView.cs: Fixed attributes.
1178 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
1179 an exception to allow pages to work on 2.x.
1181 2005-08-25 Chris Toshok <toshok@ximian.com>
1183 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
1185 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
1188 * HiddenField.cs: stub out this class and label everything
1191 2005-08-25 Jackson Harper <jackson@ximian.com>
1193 * DataGrid.cs: Disable the pager row if there no paging enabled
1196 2005-08-25 Chris Toshok <toshok@ximian.com>
1198 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
1201 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
1202 add a using statement.
1204 2005-08-25 Chris Toshok <toshok@ximian.com>
1206 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
1209 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
1212 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1214 * Login.cs: Added rendering and fixed parts of the authentication.
1215 Now using IStateManager to allow compilation in another assembly (e.g.
1216 to test the control under IIS). Needs more tests (error conditions)
1217 once we get a "real" Membership provider running.
1218 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
1221 2005-08-25 Chris Toshok <toshok@ximian.com>
1223 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
1225 2005-08-25 Chris Toshok <toshok@ximian.com>
1227 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
1228 calling base.Foo to get the standalone adrotator (1.0) tests to
1229 run without throwing exceptions.
1231 2005-08-25 Chris Toshok <toshok@ximian.com>
1233 * ValidationSummary.cs (ValidationGroup): implement.
1234 (Render): use Page.GetValidators in .net 2.0, so we can support
1235 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
1238 2005-08-25 Chris Toshok <toshok@ximian.com>
1240 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
1241 2.0 attribute modifiers, and revert back to "override".
1243 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
1244 2.0 attribute modifiers, and revert back to "override".
1245 (BorderStyle): same.
1246 (BorderWidth): same.
1248 * TextBox.cs (SaveViewState): implement naively, calling
1250 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
1251 modifiers, and revert back to "override".
1253 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
1255 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
1256 Load ViewState for derived classes; no public LoadViewState override
1257 exists in those classes
1258 * Style.cs: Added 2.0 IsStyleEmpty method
1260 2005-08-25 Jackson Harper <jackson@ximian.com>
1262 * DataGrid.cs: The number of pages set in the pager is specified
1265 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1267 * LoginView.cs: New (2.0). Work in progress.
1269 2005-08-24 Chris Toshok <toshok@ximian.com>
1271 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
1272 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
1273 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
1274 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
1275 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
1276 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
1277 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
1278 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
1279 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
1280 Add MonoTODO's for all things that throw NotImplementException.
1282 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
1284 * RoleGroup.cs: New (2.0). Complete implementation.
1285 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
1287 2005-08-23 Chris Toshok <toshok@ximian.com>
1289 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
1290 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
1291 even though they were written for the 1.0 stuff.
1293 2005-08-23 Chris Toshok <toshok@ximian.com>
1295 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
1296 output. Our tests now pass on both mono and ms, with both 1.x and
1299 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
1301 * Login.cs: Throw exception if the specified provider doesn't exists.
1302 * LoginStatus.cs: Complete events.
1304 2005-08-22 Jackson Harper <jackson@ximian.com>
1306 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
1308 (InitializeNumericPager): Now that the pager actually renders
1309 properly I can see that I was computing it incorrectly.
1311 2005-08-22 Jackson Harper <jackson@ximian.com>
1313 * DataGrid.cs (RenderTable): Make sure the new table gets the
1315 (CreateColumnSet): Clear the data source columnbs before adding
1316 new ones regardless of whether or not a property descriptor was
1318 (InitializePager): pager_cell needs to be a member so it isn't
1319 created more then once per a render.
1320 (InitializeNumericPager): Compute start and end more
1322 - Link commands are 1 indexed.
1323 (CreateControlHierarchy): Clear the table before we begin
1325 - Revert patch that made adding the pagers conditional. This is
1326 incorrect, the pagers are always added. Only their visibility is
1327 affected by the pager style.
1328 - Save the entire count in the viewstate, not just the rendered
1329 count. So when paging is enabled the pager's count isn't broken by
1332 2005-08-22 Chris Toshok <toshok@ximian.com>
1334 * LinkButton.cs (ValidationGroup): implement.
1335 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
1336 pass ValidationGroup to Page.Validate.
1338 2005-08-22 Chris Toshok <toshok@ximian.com>
1340 * ImageButton.cs (ValidationGroup): implement.
1341 (IPostBackEventHandler.RaisePostBackEvent): if we cause
1342 validation, call Page.Validate properly (in both profiles).
1344 2005-08-22 Chris Toshok <toshok@ximian.com>
1346 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
1347 case, pass ValidationGroup to Page.Validate.
1348 (ValidationGroup): implement using ViewState.
1350 2005-08-22 Chris Toshok <toshok@ximian.com>
1352 * BaseValidator.cs (Text): 2.0 only. implement naively, just
1354 (OnInit): add 2.0 support for validation groups.
1357 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
1359 * LoginName.cs: New (2.0) web control.
1360 * LoginStatus.cs: New (2.0) web control.
1362 2005-08-19 Chris Toshok <toshok@ximian.com>
1364 * LinkButton.cs (ValidationGroup): implement getter/setter.
1365 (RaisePostBackEvent): implement naively, by c&p'ing the old
1366 implementation of IPostBackEventHandler.RaisePostBackEvent, but
1367 making use of the ValidationGroup in the call to Page.Validate.
1371 * Style.cs (LoadViewState): set our style flags for all the things
1372 we have flags for. Seems like the subclass flags should be
1373 handled in overridden LoadViewState methods, but none of the Style
1374 subclasses seem to override this method.
1376 2005-08-19 Chris Toshok <toshok@ximian.com>
1378 * TableStyle.cs (Merge, MergeWith): make these look a bit more
1379 like Copy/CopyFrom, with the styles checks instead of just
1382 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
1385 2005-08-19 Chris Toshok <toshok@ximian.com>
1387 * DataGrid.cs (InitializePager): don't unconditionally set
1388 pager_cell to the numeric pager (especially after setting it
1389 conditionally to the nextprev pager.)
1390 (InitializeNumericPager): the link buttons don't participate in
1392 (InitializeNextPrevPager): same.
1393 (CreateControlHierarchy): create the top/bottom pagers only if the
1394 PagerStyle says too.
1396 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
1398 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
1400 2005-08-18 Chris Toshok <toshok@ximian.com>
1402 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
1403 the start of this method so templates are created properly.
1405 2005-08-18 Dick Porter <dick@ximian.com>
1407 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
1408 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
1409 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
1410 BaseDataList.cs, DataList.cs, BulletedList.cs,
1411 DataBoundControl.cs, Login.cs, GridView.cs,
1412 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
1413 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
1414 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
1415 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
1416 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
1417 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
1418 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
1419 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
1422 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
1424 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
1426 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
1427 empty array of objects just to get the number of items.
1428 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
1429 but we're missing some bits from the class lib to complete all this...
1431 2005-08-17 Jackson Harper <jackson@ximian.com>
1433 * DataGrid.cs: Only create one pager and add it to both the top
1434 and bottom of the grid, this way all the id numbers stay the same
1435 and we save a bunch of cycles.
1437 2005-08-17 Jackson Harper <jackson@ximian.com>
1439 * DataGrid.cs: The top and bottom pagers are always created. Just
1440 the visibility is changed by the PagerStyle::Position.
1442 2005-08-17 Chris Toshok <toshok@ximian.com>
1444 * CompositeControl.cs (RecreateChildControls): implement naively -
1445 just call CreateChildControls. We might need to call
1446 Controls.Clear() as well, but for the time being, this is ok.
1448 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
1450 * BaseDataList.cs: Completed implementation for 2.0.
1452 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
1454 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
1455 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
1457 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
1459 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
1461 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
1462 Adjusted size and ordering of the ViewState (new element #0 is still
1463 unknown). Properly fixed the TagKey in 2.0.
1464 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
1465 all properties using enums.
1466 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
1467 * TableItemStyle.cs: Fixed attribute rendering to use style to render
1468 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
1470 2005-08-15 Jackson Harper <jackson@ximian.com>
1472 * EditCommandColumn.cs: Use a normal LinkButton.
1474 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
1476 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
1477 viewstate (even if assigned to the default value).
1478 * TableRow.cs: Implement TableSection property (2.0). It has no effect
1479 on the rendering of the table row.
1481 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
1483 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
1484 and removed [Bindable] attributes for 2.0.
1485 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
1486 attributes (for 2.0).
1487 * DataListCommandEventArgs.cs: Not sealed in 2.0.
1488 * DataListItemEventArgs.cs: Not sealed in 2.0.
1489 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
1490 attributes for URLs.
1491 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
1492 attributes for URLs.
1493 * Table.cs: Fixed [Editor] attribute for 2.0.
1494 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
1495 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
1496 AssociatedHeaderCellID and it's [DefaultValue] attribute.
1497 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
1498 and Scope attributes.
1499 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
1500 on TableSection attribute.
1501 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
1503 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
1505 * Image.cs: Fixed attributes for 2.0 profile.
1506 * Login.cs: Fixed some attributes and default values.
1507 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
1508 RaisePostBackEvent (TODO) in 2.0 profile.
1509 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
1510 and added AssociateHeaderCellID property (TODO).
1511 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
1512 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
1513 page (if the device requires to breaks the table into multiple pages).
1514 This seems to be a "flag" class, the real work will be in Table.
1515 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
1516 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
1517 page (if the device requires to breaks the table into multiple pages).
1518 This seems to be a "flag" class, the real work will be in Table.
1519 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
1520 * TableRow.cs: Remove [Bindable (true)] from properties and add
1521 [Bindable (false)] and [Designer] on class. Added new TableSection
1523 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
1524 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
1525 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
1526 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
1527 FillStyleAttributes method (2.0).
1529 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
1531 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
1532 attributes from existing controls.
1533 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
1534 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
1536 2005-08-12 Jackson Harper <jackson@ximian.com>
1538 * TableRow.cs: No AutoID for TableRows.
1540 2005-08-12 Jackson Harper <jackson@ximian.com>
1542 * DataGrid.cs (CreateRenderColumns): If we aren't using data
1543 binding grab the rendercols from the data source columns.
1544 (LoadViewState): Restore the bound columns when reloading the
1546 (InitializeNumericPager): Create elipsised pagers.
1547 (CreateItem): Don't set the item's ID.
1548 (CreateItem): Add the control to the table before it is databound
1549 so that it's value is saved in the viewstate.
1550 (CreateControlHierarchy): Create a fake data source when not using
1551 databinding. Don't add controls to the table as they are added in
1553 (PrepareControlHierarchy): Make footers and header non visible if
1554 they aren't enabled.
1556 2005-08-12 Chris Toshok <toshok@ximian.com>
1558 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
1559 docs says these methods/properties "ensure the child controls are
1560 created" -- so call EnsureChildControls() before invoking the base
1563 2005-08-12 Jackson Harper <jackson@ximian.com>
1565 * BoundColumn.cs: Set the controls text instead of adding a
1566 literal control. So it is saved in the controls viewstate.
1568 2005-08-11 Jackson Harper <jackson@ximian.com>
1570 * CheckBoxList.cs: Set the tabindex on the checkbox control and
1571 don't render it on the main table (Setting it to zero causes it to
1572 not be rendered). Also use the invariant culture on the id.
1574 2005-08-11 Dick Porter <dick@ximian.com>
1576 * CheckBox.cs: Let ViewState manage removals; apply styles and
1577 "style" attributes in a surrounding <span>. Fixes unit tests.
1579 2005-08-10 Chris Toshok <toshok@ximian.com>
1581 * Label.cs (LoadViewState): set the Text attribute from our
1582 ViewState (if it exists) to clear out any child controls. Fixes
1583 jsunit test label/label-child-control-postback.aspx.
1585 2005-08-10 Jackson Harper <jackson@ximian.com>
1587 * PagedDataSource.cs: Respect paging with all data source types.
1589 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
1591 * BaseDataList.cs: Changed Controls property from "virtual new"
1592 (2.0 doc) to "override" (monop) to fix the Visible bug (see
1593 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
1594 any controls (required due to change to Controls). Implemented
1595 DataBind(bool) for 2.0.
1596 * DataListItem.cs: Fix the multiple table when extractRows is used.
1597 Removed extra span tags by rendering contents (not control). Added
1598 support for IDataItemContainer (2.0).
1600 2005-08-08 Jackson Harper <jackson@ximian.com>
1602 * DataGrid.cs: Apply the styles to each item type.
1604 2005-08-08 Jackson Harper <jackson@ximian.com>
1606 * PagedDataSource.cs: If paging is not enabled keep enumerating to
1607 the end of the list.
1609 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
1611 * BaseDataList.cs: Remove old compatibility stuff.
1612 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
1613 * WebControl.cs: Always call CreateControlStyle to create the
1614 ControlStyle. Fix the exception for datalist-style-edit.aspx.
1616 2005-08-05 Jackson Harper <jackson@ximian.com>
1618 * DataGrid.cs: Don't make the current page index a link in the
1621 2005-08-05 Jackson Harper <jackson@ximian.com>
1623 * DataGrid.cs: Honour PagerPosition.
1625 2005-08-05 Jackson Harper <jackson@ximian.com>
1627 * PagedDataSource.cs: Round PageCount properly.
1629 2005-08-05 Dick Porter <dick@ximian.com>
1631 * CheckBox.cs: Shut corcompare up a bit more. Still need to
1632 figure out how to not use AddAttributesToRender to get it
1635 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
1637 * DataGridColumn.cs: Added the duplicate viewstate manipulation
1640 2005-08-05 Chris Toshok <toshok@ximian.com>
1642 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
1643 null when it comes to the format string.
1644 (FormatDataTextValue): same.
1646 2005-08-04 Chris Toshok <toshok@ximian.com>
1648 * BaseValidator.cs (Validate): only test a validator if it's both
1649 enabled and visible.
1651 2005-08-04 Chris Toshok <toshok@ximian.com>
1653 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
1656 2005-08-04 Jackson Harper <jackson@ximian.com>
1658 * DataGrid.cs: Add a new space control for each link. Also make
1659 the link's text 1 indexed. Don't add the space after the last
1662 2005-08-04 Ben Maurer <bmaurer@ximian.com>
1664 * LinkButton.cs: Fix up the test suite here.
1666 * Panel.cs: Fix up nowrap
1668 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
1670 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
1671 * ListControl.cs: Clear item list before adding data (again)
1673 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
1675 * Calendar.cs: fixes issues with OnDayRender event and others
1677 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
1679 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
1681 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
1682 if DataTextField is bound
1683 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
1684 two controls in edit mode, lets do the same
1686 2005-08-03 Jackson Harper <jackson@ximian.com>
1688 * BoundColumn.cs: Respek for the thisExpr when data binding.
1690 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
1692 * EditCommandColumn.cs: No need to offer edit when in edit mode.
1695 2005-08-04 Dick Porter <dick@ximian.com>
1697 * DataGridColumn.cs: New implementation
1700 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
1702 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
1704 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
1707 2005-08-03 Ben Maurer <bmaurer@ximian.com>
1709 * RepeatInfo.cs: Finally figured out how to use base control
1711 2005-08-03 Jackson Harper <jackson@ximian.com>
1713 * ButtonColumn.cs: Partial implementation.
1715 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
1717 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
1720 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
1722 * Calendar.cs: fixes Save/Load state
1724 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
1726 * Calendar.cs: bug fixes
1728 2005-08-03 Jackson Harper <jackson@ximian.com>
1730 * DataGrid.cs: Merge the table style with the render table. Some
1731 initial work on the numeric pager. Remove some debugging code.
1733 2005-08-03 Jackson Harper <jackson@ximian.com>
1735 * BoundColumn.cs: Implement Initialize and InitializeCell. When
1736 Data is formated it uses the DataFormatString that was set at the
1737 time Initialize was called (or null if initialize was never
1740 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
1742 * RadioButtonList.cs: bug fixes
1744 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
1746 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
1747 AddAttributesToRender
1748 * RadioButtonList.cs: Implementation
1750 2005-08-01 Jackson Harper <jackson@ximian.com>
1752 * TableStyle.cs: Copy style bit when copying from another style.
1754 2005-08-01 Jackson Harper <jackson@ximian.com>
1756 * PagedDataSource.cs: Implement missing properties, use yield for
1757 the Enumerator methods. Only allow the enums to return one page at
1760 2005-08-01 Chris Toshok <toshok@ximian.com>
1762 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
1764 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
1766 * WebControl.cs: Track enabled state across sessions
1768 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
1770 * ListControl.cs(OnDatabinding): Value is equivalent to text if
1773 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
1775 * ImageButton.cs: fixes, complete missing parts
1777 2005-07-31 Ben Maurer <bmaurer@ximian.com>
1779 * TextBox.cs: Html encode for multiline text boxes
1781 * HyperLink.cs: Resolve images
1783 2005-07-30 Chris Toshok <toshok@ximian.com>
1785 * BaseValidator.cs: initial version of 2.0 properties
1786 ValidationGroup and SetFocusOnError.
1788 2005-07-30 Chris Toshok <toshok@ximian.com>
1790 * HyperLinkColumn.cs (InitializeCell): clean this up.
1792 2005-07-30 Chris Toshok <toshok@ximian.com>
1794 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
1795 DataBinder.FormatResult.
1796 (FormatDataTextValue): same.
1797 (Initialize): call base.Initialize.
1798 (ItemDataBinding): new function, get the text/navigateurl and set
1799 them on our HyperLink control.
1800 (InitializeCell): create a hyperlink control in the
1801 Item/EditItem/AlternatingItem case.
1803 2005-07-30 Ben Maurer <bmaurer@ximian.com>
1805 * RepeatInfo.cs: Handle 0 items situations correctly
1807 * HyperLink.cs: Resolve urls correctly
1809 * CheckBox.cs: use the correct ID for the label element.
1811 * Label.cs: Correct AddParsedSubObject impl. See FAQ
1813 2005-07-29 Chris Toshok <toshok@ximian.com>
1815 * BaseCompareValidator.cs (GetDateElementOrder): implement.
1817 2005-07-29 Chris Toshok <toshok@ximian.com>
1819 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
1820 #if'ed out version follows microsoft's docs on msdn, but doesn't
1821 match ms's behavior. The other matches their behavior but not
1822 their docs. we use the latter. go figure.
1823 (get_CutoffYear): implement using
1824 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
1826 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
1829 - Name property now throws exception when set to null
1830 - Names now handles situation where our bit tells us we have
1831 a font, but it's not in the StateBag (null removal)
1832 * RangeValidator.cs: Removed unused vars
1834 2005-07-29 Ben Maurer <bmaurer@ximian.com>
1836 * Label.cs: ClientID should be used rather than UniqueID to get
1839 2005-07-29 Chris Toshok <toshok@ximian.com>
1841 * BaseValidator.cs (Validatate): not sure if this is entirely
1842 correct (some fairly deep testing required), but setting Enabled =
1843 false has the effect of setting IsValid = true.
1845 2005-07-29 Ben Maurer <bmaurer@ximian.com>
1847 * RadioButton.cs: The "remove from groupstate" isn't needed any
1848 more, now that statebag is correct.
1850 2005-07-29 Dick Porter <dick@ximian.com>
1852 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
1853 ViewState when it is null.
1855 * CheckBox.cs: Hide nonstandard API
1857 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
1859 * Calendar.cs: fixes exceptions, bug fixes, new features
1860 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
1861 * CalendarDay.cs: fixes default value
1863 2005-07-28 Ben Maurer <bmaurer@ximian.com>
1865 * CompositeControl.cs: Stub
1867 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
1869 * EditCommandColumn.cs: Implemented
1871 2005-07-27 Chris Toshok <toshok@ximian.com>
1873 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
1875 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
1877 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
1880 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
1882 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
1883 for it's constructor, so remove it
1884 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
1886 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
1888 * DataGridPagerStyle.cs: Implemented
1889 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
1890 * Style.cs: Added Styles enum values for DataGridPagerStyle
1892 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
1894 * Calendar.cs: get the styles right, honors more properties, fixes, fix
1897 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
1899 * DataGridItem.cs: Implemented
1901 2005-07-26 Chris Toshok <toshok@ximian.com>
1903 * LinkButton.cs (AddParsedSubObject): reversed the order of
1904 Controls.Add() and Text = null
1905 (set_Text): call Controls.Clear()
1906 (RenderContents): use HasControls() for the if test instead of
1909 * HyperLink.cs (AddParsedSubObject): reversed the order of
1910 Controls.Add () and Text = null;
1912 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
1914 * DataGridItemCollection.cs: Implemented
1916 2005-07-26 Chris Toshok <toshok@ximian.com>
1918 * LinkButton.cs (AddParsedSubObject): copy implementation from
1920 (RenderContents): only call writer.Write(Text) if Text != "".
1921 Otherwise default to base.RenderContents.
1923 2005-07-26 Chris Toshok <toshok@ximian.com>
1925 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
1926 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
1927 (Page != null) around my last commit.
1929 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
1931 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
1932 Fixed use of literal strings, instead using Consts
1933 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
1934 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
1935 Panel.cs, Literal.cs: Added attributes
1936 * BaseValidator.cs: Added missing override
1938 2005-07-26 Chris Toshok <toshok@ximian.com>
1940 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
1941 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
1942 Page.VerifyRenderingInServerFormHere.
1944 2005-07-26 Chris Toshok <toshok@ximian.com>
1946 * BaseValidator.cs: remove some MonoTODO's about the client side
1949 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
1951 * Calendar.cs: selection of dates, state load, save, track, support
1952 for new properties, many fixes.
1954 2005-07-26 Miguel de Icaza <miguel@novell.com>
1956 * Style.cs: Temporary methods to help buliding .NET 2.x
1958 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
1960 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
1962 * Xml.cs: Fixed base class, attributes
1963 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
1964 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
1965 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
1966 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
1967 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
1969 2005-07-25 Ben Maurer <bmaurer@ximian.com>
1971 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
1974 2005-07-25 Ben Maurer <bmaurer@ximian.com>
1976 * RepeatInfo.cs: If the repeater has one column, the separators
1977 are rendered on a different line
1979 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
1981 * DataGridSortCommandEventArgs: Sealed class
1982 * ButtonColumn.cs, Calendar.cs: Added Attributes
1984 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
1986 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
1987 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
1989 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
1991 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
1992 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
1994 2005-07-25 Chris Toshok <toshok@ximian.com>
1996 * ValidationSummary.cs (AddAttributesToRender): add client side
1998 (OnPreRender): set the "been here" flag.
1999 (Render): add client side support.
2001 2005-07-25 Ben Maurer <bmaurer@ximian.com>
2003 * RepeatInfo.cs: Split the horiz and vertical cases, because this
2004 class has rules that are beyond strange. Continue working to make
2007 2005-07-25 Ben Maurer <bmaurer@ximian.com>
2009 * RepeatInfo.cs: Misc fixes for my test suite.
2011 2005-07-25 Jackson Harper <jackson@ximian.com>
2013 * DataGrid.cs: Set the command name and args on the link buttons.
2015 2005-07-25 Jackson Harper <jackson@ximian.com>
2017 * DataGrid.cs: Lots o implementation.
2019 2005-07-25 Jackson Harper <jackson@ximian.com>
2021 * BoundColumn.cs: Partial implementation to get the DataGrid tests
2024 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
2026 * Button.cs: fixes events, adds attributes
2028 2005-07-23 Chris Toshok <toshok@ximian.com>
2030 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
2031 prop.GetValue results.
2032 (Render): fix the static non-uplevel case, so that we display text
2033 when there's an error.
2035 2005-07-22 Chris Toshok <toshok@ximian.com>
2037 * RegularExpressionValidator.cs (AddAttributesToRender): only
2038 output ValidationExpression if it's != null.
2040 2005-07-22 Chris Toshok <toshok@ximian.com>
2042 * BaseValidator.cs (AddAttributesToRender): fix up the Display
2043 rendering such it matches MS's output.
2044 (Render): stop using the huge complicated if's for each output
2045 stage and move to boolean flags, and fix the static-nonuplevel
2046 case, where a validator outputs as nothing but
2048 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
2049 * Calendar.cs: Initial implementation
2050 * CalendarSelectionMode.cs: fix enum order
2052 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
2054 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
2055 (or more?) specific cases - including correct support for separators.
2056 Added some (commented) debugging code.
2057 * HyperLink.cs: Only render href and target attributes if they're not
2058 empty. Add "border=0" when rendering <img> tag. Fix Target default
2061 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
2063 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
2065 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
2067 * Style.cs (CopyFrom): Reset our styles and don't set bits from
2068 target explicitly, properties will set them
2070 2005-07-22 Dick Porter <dick@ximian.com>
2073 * ButtonColumn.cs: Initial stubs
2075 2005-07-22 Dick Porter <dick@ximian.com>
2078 * CheckBox.cs: Add assembly attributes
2080 2005-07-22 Ben Maurer <bmaurer@ximian.com>
2082 * HyperLink.cs: Handle non-literal children.
2084 2005-07-21 Ben Maurer <bmaurer@ximian.com>
2086 * Label.cs: SP1 stuff
2088 2005-07-21 Chris Toshok <toshok@ximian.com>
2090 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
2091 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
2092 stuff WebUIValidation.js uses, so we don't support it for uplevel
2095 2005-07-21 Chris Toshok <toshok@ximian.com>
2097 * BaseValidator.cs (DetermineRenderUplevel): include checks for
2098 the EcmaScriptVersion and W3CDomVersion.
2100 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
2102 * BaseDataList.cs: Support IEnumerable.
2103 * DataList.cs: Fix alternate items.
2104 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
2105 controls and the Text property.
2107 2005-07-21 Ben Maurer <bmaurer@ximian.com>
2109 * TextBoxMode.cs: Wrong ordering of enum...
2111 2005-07-21 Chris Toshok <toshok@ximian.com>
2113 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
2116 2005-07-21 Chris Toshok <toshok@ximian.com>
2118 * BaseValidator.cs (get_PropertiesValid): use our containing
2119 NamingContainer, not ourselves, to look up controls.
2120 (CheckControlValidationProperty): same.
2121 (GetControlRenderID): same.
2122 (GetControlValidationValue): same.
2123 (AddAttributesToRender): add the display style attribute if
2124 Display != Static, and add the value of IsValid if it's false.
2125 (DetermineRenderUplevel): use a try block around (Page.Request)
2126 since that can raise an exception.
2127 (OnPreRender): set pre_render_called, so we can consult it in
2129 (Render): complicate this method more to handle more of the
2130 Display/pre_render_called permutations.
2132 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
2134 * CustomValidator.cs: Initial implementation, still work in progress
2136 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
2138 * DataList.cs: Fix rendering for special items (-1).
2140 2005-07-21 Ben Maurer <bmaurer@ximian.com>
2142 * RepeatInfo.cs: Fix most of the tests.
2144 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
2146 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
2147 Add a border=0 attribute if no style is defined.
2148 * TableCell.cs: Use HtmlTextWriterTag (not a string).
2149 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
2150 * TableRow.cs: Use HtmlTextWriterTag (not a string).
2152 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
2154 * BaseDataList.cs: Fix attributes.
2155 * HorizontalAlign.cs: Fix attributes.
2156 * Image.cs: Fix attributes and enums checks.
2157 * Table.cs: Fix attributes an enums checks.
2158 * TableCell.cs: Fix attributes.
2159 * TableCellCollection.cs: Fix attributes.
2160 * TableItemStyle.cs: Fix attributes and enums checks.
2161 * TableRowCollection.cs: Fix attributes.
2162 * TableRow.cs: Fix attributes.
2163 * TableStyle.cs: Fix attributes and enums checks.
2164 * VerticalAlign.cs: Fix attributes.
2166 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
2168 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
2169 * DataList.cs: Added rendering support when ExtractTemplatesRows
2170 property is true (but RepeatInfo needs to be fixed to see it works).
2171 * DataListItem.cs: Added rendering support when extractRows parameter
2172 is true (but RepeatInfo still needs to be fixed ;-)
2174 2005-07-21 Duncan Mak <duncan@novell.com>
2176 * HyperLinkColumn.cs: Initial implementation.
2177 Todo: Figure out Initialize and InitializeCell.
2179 2005-07-20 Chris Toshok <toshok@ximian.com>
2181 * BaseValidator.cs: don't use Page.FindControl, use this Control's
2182 FindControl, so it'll use the same naming container.
2184 2005-07-21 Duncan Mak <duncan@novell.com>
2186 * DataGridCommandEventArgs.cs:
2187 * DataGridPageChangedEventArgs.cs:
2188 * RepeaterCommandEventArgs.cs: Fixed visibility.
2190 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
2191 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
2193 2005-07-20 Chris Toshok <toshok@ximian.com>
2195 * Button.cs: hook up the client side validation stuff.
2197 * ImageButton.cs: same.
2199 * LinkButton.cs: same, although it's a little more complicated
2202 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
2205 - Implemented RaisePostDataChangedEvent()
2206 - Spewing postback command if AutoPostBack is true
2208 2005-07-20 Chris Toshok <toshok@ximian.com>
2210 * BaseValidator.cs: another Page != null check when uplevel
2213 2005-07-20 Chris Toshok <toshok@ximian.com>
2215 * BaseValidator.cs: check Page != null when determining if we're
2216 rendering uplevel or not.
2218 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
2220 * ListItemCollection.cs: Removed obsolete method that's no longer
2223 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
2225 * DropDownList.cs: Oops. Forgot to implement LoadPostData
2226 * ListItemCollection.cs: Added convenience method to have faster
2229 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
2232 - Automatically select the first item if none are selected
2233 - Throw exception if more than one item is selected
2235 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
2237 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
2238 handled by RepeatInfo).
2240 2005-07-20 Jackson Harper <jackson@ximian.com>
2242 * DataGrid.cs: Store the data source created columns in a
2243 DataGridColumnCollection. This way they can be put in the
2244 view state more easily, and accessed without casting.
2246 2005-07-20 Chris Toshok <toshok@ximian.com>
2248 * BaseValidator.cs (AddAttributesToRender): render the client side
2249 attributes if we're in uplevel mode.
2250 (DetermineRenderUplevel): flesh out a bit - for now basically
2251 return true unless the control has it disabled.
2252 (OnInit): only add the validator to Page's list if there is, in
2254 (OnUnload): same for removal.
2255 (OnPreRender): hook up client scripting stuff here. Only the call
2256 to RegisterValidatorCommonScript is a for sure thing here, the
2257 registering of the submit statement and startup script should
2258 probably go elsewhere, but I don't know where.
2259 (RegisterValidatorCommonScript): register the <script
2260 src=".../WebUIValidation.js"> tag, if it's not already there.
2261 (RegisterValidatorDeclaration): add our span object to the
2262 Page_Validators JS array.
2263 (Render): always render the tags (although this is probably not
2264 right), and call RegisterValidatorDeclaration here.
2266 * BaseCompareValidator.cs (AddAttributesToRender): render the
2267 client side attributes if we're in uplevel mode.
2268 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
2269 call base.DetermineRenderUplevel for now.
2271 * RegularExpressionValidator.cs (AddAttributesToRender): render
2272 the client side attributes if we're in uplevel mode.
2274 * RequiredFieldValidator.cs (AddAttributesToRender): same.
2276 * CompareValidator.cs (AddAttributesToRender): same.
2278 2005-07-20 Jackson Harper <jackson@ximian.com>
2280 * DataGrid.cs: Save the data source created column set in the
2283 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
2285 * DataList.cs: Fix events and properties exceptions. Give the right
2286 informations to RenderItem.
2288 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
2290 * ValidationSummary.cs: Implemented rendering
2292 2005-07-20 Jackson Harper <jackson@ximian.com>
2294 * DataGrid.cs: column names are cached and only regenerated if useDataSource
2295 is set to true. Otherwise they are just fetched from the last set that
2296 was generated from the source.
2298 2005-07-20 Jackson Harper <jackson@ximian.com>
2300 * DataGrid.cs: Assign some properties of newly created BoundColumns.
2302 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
2304 * DataList.cs: Fix viewstate ordering.
2306 2005-07-20 Ben Maurer <bmaurer@ximian.com>
2308 * SelectedDatesCollection.cs: Apprarently, I don't write code well
2311 * Repeater.cs: Uh, actually add stuff to the items collection
2314 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
2316 * BaseDataList.cs: EnsureChildControls on Controls property.
2317 * DataList.cs: Fix rendering and Controls/Items differences.
2318 * DataListItem.cs: Added rendering of controls.
2320 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
2322 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
2324 2005-07-20 Jackson Harper <jackson@ximian.com>
2326 * DataGrid.cs: Add some of the collections. Implement
2329 2005-07-20 Jackson Harper <jackson@ximian.com>
2331 * PagedDataSource.cs: Implement GetItemProperties, this is
2332 needed for the datagrid.
2334 2005-07-20 Ben Maurer <bmaurer@ximian.com>
2336 * DataGridColumnCollection.cs: New impl
2338 * TemplateColumn.cs: New impl
2340 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
2342 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
2343 * DataList.cs: Work in progress... Added attributes, proper
2344 IRepeatInfoUser support and cool things stolen from other classes.
2345 * DataListCommandEventArgs.cs: Class is sealed.
2346 * DataListItem.cs: RenderItem is public.
2348 2005-07-19 Jackson Harper <jackson@ximian.com>
2350 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
2351 a viewstate object if all the viewstate stuff is null.
2353 2005-07-19 Jackson Harper <jackson@ximian.com>
2355 * DataGrid.cs: Implement style properties and viewstate
2356 saving/loading/tracking.
2358 2005-07-19 Chris Toshok <toshok@ximian.com>
2360 * BaseValidator.cs: more fixes from pdb.
2362 2005-07-19 Chris Toshok <toshok@ximian.com>
2364 * BaseValidator.cs: some test-driven fixes.
2366 2005-07-19 Chris Toshok <toshok@ximian.com>
2368 * BaseValidator.cs: Initial implementation.
2370 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
2372 * Repeater.cs: Fix small typo.
2374 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
2376 * ValidationSummaryTest.cs: Started implementation
2377 * RangeValidator.cs: Implemented
2378 * ValidatedControlConverter.cs: Implemented
2379 * DropDownList.cs: Implemented
2381 2005-07-19 Jackson Harper <jackson@ximian.com>
2383 * DataGrid.cs: Implement bubble event.
2385 2005-07-19 Jackson Harper <jackson@ximian.com>
2387 * DataGrid.cs: New implementation. Just properties and events for
2390 2005-07-18 Chris Toshok <toshok@ximian.com>
2392 * BaseCompareValidator.cs: Initial implementation, with some NYI.
2394 2005-07-19 Ben Maurer <bmaurer@ximian.com>
2396 * FontUnit.cs: Corcompare fixes
2398 * UnitConverter.cs: Fix api diffs
2400 2005-07-18 Ben Maurer <bmaurer@ximian.com>
2402 * ListControl.cs: Fix api differences
2404 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
2406 * Table.cs: Fix indentation for caption. Simplify check when adding
2408 * TableRow.cs: Simplify check when adding controls.
2410 2005-07-18 Chris Toshok <toshok@ximian.com>
2412 * CompareValidator.cs: wtf, just use the base class's methods.
2414 2005-07-18 Chris Toshok <toshok@ximian.com>
2416 * CompareValidator.cs: do comparisons based on
2417 BaseCompareValidator.Type.
2419 2005-07-18 Chris Toshok <toshok@ximian.com>
2421 * CompareValidator.cs: initial implementation.
2423 2005-07-18 Chris Toshok <toshok@ximian.com>
2425 * RegularExpressionValidator.cs: initial implementation.
2427 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
2429 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
2431 2005-07-18 Jackson Harper <jackson@ximian.com>
2433 * CheckBoxList.cs: Implement LoadPostBackData. Also register
2434 checkboxes for postback if they are checked so we can find
2435 out when they are unchecked. Copy the AutoPostBack variable
2436 to the to be rendered checkbox when rendering.
2438 2005-07-18 Ben Maurer <bmaurer@ximian.com>
2440 * TextBox.cs: Finish this up.
2442 * AdRotator.cs: Fix issues in the test suite. Minor style
2445 * Repeater.cs: Fix a bug where the datasource is null and we do
2448 * WebColorConverter.cs: Optimize by not doing a concat on a
2451 2005-07-17 Ben Maurer <bmaurer@ximian.com>
2453 * ListItemCollection.cs: Multiple uses of equals rather than
2454 string.compare as below. Remove unreachable code warning.
2456 * WebColorConverter.cs (ConvertTo): Use the == operator on string
2457 rather than an invariant non-case ignoring compare. They are
2458 exactly the same thing. Use proper coding style in this method.
2460 * WebControl.cs: Return null when saving the view state if there
2461 is no state in any of the things we save. This creates a fairly
2462 large savings, because we can avoid saving anything about many
2463 levels of deaply nested controls.
2465 2005-07-15 Jackson Harper <jackson@ximian.com>
2467 * CheckBoxList.cs: Use the index as the ID, the rest of the
2468 id is built by being in the NamingContainer.
2470 2005-07-15 Jackson Harper <jackson@ximian.com>
2472 * ListControl.cs: Use enum instead of string. Saves a lookup.
2474 2005-07-15 Jackson Harper <jackson@ximian.com>
2476 * CheckBoxList.cs: FindControl always returns 'this' according
2479 2005-07-15 Jackson Harper <jackson@ximian.com>
2481 * CheckBoxList.cs: New impl.
2483 2005-07-15 Jackson Harper <jackson@ximian.com>
2485 * WebControl.cs: Use the ClientID when rendering a controls ID
2486 attribute so that naming containers are honoured.
2488 2005-07-15 Jackson Harper <jackson@ximian.com>
2490 * ListControl.cs: use the state manager interface for tracking
2493 2005-07-15 Ben Maurer <bmaurer@ximian.com>
2495 * Repeater.cs (DoItem): Add the DataItem before we call user
2496 methods, as it seems to be there with msft.
2498 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
2500 * BaseDataList.cs: New. (mostly complete) implementation.
2501 * DataKeyCollection.cs: New. Implementation (complete).
2502 * DataList.cs: New. (mostly incomplete) implementation.
2503 * DataListItem.cs: New. (mostly complete) implementation.
2504 * DataListItemCollection.cs: New. Implementation (complete).
2506 2005-07-15 Ben Maurer <bmaurer@ximian.com>
2508 * Repeater.cs (DoItem): We need to .Add the control *before* we
2509 data bind it so that the state gets tracked correctly. Fixes the
2512 2005-07-15 Jackson Harper <jackson@ximian.com>
2514 * ListControl.cs: Simplify comparison.
2516 2005-07-15 Jackson Harper <jackson@ximian.com>
2519 * Repeater.cs: Use new utility class for resolving data sources.
2521 2005-07-15 Jackson Harper <jackson@ximian.com>
2523 * ListControl.cs: Add attributes so the sub items get parsed
2524 properly. Remove old unneeded code for resolving lists.
2526 2005-07-15 Jackson Harper <jackson@ximian.com>
2528 * ListControl.cs: Use the DataSourceHelper so DataMembers are
2531 2005-07-14 Ben Maurer <bmaurer@ximian.com>
2534 - Some optimizations
2535 * Don't use enum formatting stuff, it is 1) expensive 2) does
2536 allocations. Use a new method in HtmlControl to do the right
2538 * Don't use Enum.IsDefined but an explicit check.
2539 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
2540 - Use the correct coding style.
2542 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
2544 * WebColorConverter.cs:
2545 - Alpha of 255 is only set if the hex number is exactly 6 digits
2546 - Ben didn't like the catch { throw; } (even though MS documents to
2548 - Use Invariant Culture for parsing (thanks, Ben)
2550 2005-07-14 Jackson Harper <jackson@ximian.com>
2552 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
2553 code-reuse-arific. Also use the IStateManager interface for loading
2554 data instead of the old internal method.
2556 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
2558 * WebColorConverter.cs: Implemented
2560 2005-07-14 Ben Maurer <bmaurer@ximian.com>
2562 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
2564 2005-07-14 Ben Maurer <bmaurer@ximian.com>
2566 * Repeater.cs: Get it working
2568 2005-07-14 Jackson Harper <jackson@ximian.com>
2570 * ListControl.cs: Initial implementation of Databinding. Make sure
2571 that the ListItemCollection is created when we load its ViewState.
2573 2005-07-14 Jackson Harper <jackson@ximian.com>
2575 * ListControl.cs: Fix typo.
2577 2005-07-14 Jackson Harper <jackson@ximian.com>
2579 * ListControl.cs: New Implementation. Lacks databinding support.
2581 2005-07-14 Ben Maurer <bmaurer@ximian.com>
2583 * Repeater.cs: The beginnings of this control
2585 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
2587 * TargetConverter.cs: Implemented
2589 2005-07-14 Duncan Mak <duncan@novell.com>
2591 * PagedDataSource.cs: Initial implementation.
2593 Methods that need to be figured out:
2594 CopyTo, GetItemProperties, PageCount, IsLastPage.
2596 To complete: CollectionEnumerator, ListEnumerator.
2598 2005-07-13 Duncan Mak <duncan@novell.com>
2600 * RepeatDirection.cs:
2602 * ValidationCompareOperator.cs:
2603 * ValidationDataType.cs:
2604 * ValidationSummaryDisplayMode.cs:
2605 * ValidatorDisplay.cs: Added remaining enumerations.
2607 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
2609 * FontNamesConverter.cs: Implemented
2611 2005-07-13 Ben Maurer <bmaurer@ximian.com>
2613 * RepeaterItem.cs: Compile fix
2615 * RepeaterItemCollection.cs: New file
2617 * RepeaterItem.cs: get OnBubbleEvent right.
2619 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
2621 * ListItemCollection.cs: Count can be derived from the array, which
2622 allows us to use a Pair instead of a Triplet and save some space
2624 2005-07-13 Ben Maurer <bmaurer@ximian.com>
2626 * RepeaterItem.cs: Stub
2628 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
2630 * ListItemCollection.cs: Implemented
2631 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
2633 2005-07-13 Ben Maurer <bmaurer@ximian.com>
2635 * RepeatInfo.cs: Impl.
2637 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
2639 * FirstDayOfWeek.cs: Added
2641 2005-07-13 Jackson Harper <jackson@ximian.com>
2643 * ListBox.cs: Some parameter checking.
2645 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
2647 * Image.cs: Added support for DescriptionUrl as this property was
2648 added in Fx 1.1 SP1.
2650 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
2652 * Style.cs (AddAttributesToRender): Don't render attributes if they
2653 contain only their default value
2655 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
2657 * Table.cs: New. Initial re-implementation.
2658 * TableCell.cs: New. Initial re-implementation.
2659 * TableCellCollection.cs: New. Initial re-implementation.
2660 * TableHeaderCell.cs: New. Initial re-implementation.
2661 * TableItemStyle.cs: New. Initial re-implementation.
2662 * TableRow.cs: New. Initial re-implementation.
2663 * TableRowCollection.cs: New. Initial re-implementation.
2664 * TableStyle.cs: New. Initial re-implementation.
2666 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
2668 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
2669 unit tests (for Style) and more tests in Table* classes.
2671 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
2673 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
2674 however IsEmpty returns false if any of their properties are set.
2675 Looks ugly but it's compatible with MS implementation (feature and
2678 2005-07-13 Dick Porter <dick@ximian.com>
2680 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
2681 null Text properties from the ViewState, test for TextAlign being
2682 out of range. All to make tests pass on both mono and ms
2685 2005-07-13 Jackson Harper <jackson@ximian.com>
2687 * ListBox.cs: Use invariant culture when doing a ToString,
2688 set value to the item's value, not to its Text.
2690 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
2692 * WebControl.cs (AddAttributesToRender): Added ID to rendered
2695 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
2697 * Style.cs(MergeWith): Handle null styles
2699 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
2701 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
2702 the #if NET_2_0 on it.
2704 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
2706 * Style.cs: Only render font elements if fontinfo object exists
2708 - Implemented SaveViewState()
2709 - Added loading of Style to LoadViewState
2710 - Implemented IAttributeAccessor methods
2712 2005-07-12 Jackson Harper <jackson@ximian.com>
2714 * ListBox.cs: Even track default values in the viewstate. Call
2715 base's RenderContents.
2717 2005-07-12 Jackson Harper <jackson@ximian.com>
2719 * ListBox.cs: New impl.
2721 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
2724 - Implemented methods
2727 2005-07-12 Ben Maurer <bmaurer@ximian.com>
2729 * ListItem.cs: New impl.
2731 2005-07-12 Duncan Mak <duncan@novell.com>
2733 * DayNameFormat.cs: Added.
2735 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
2737 * WebControl.cs: Implemented properties
2739 2005-07-12 Ben Maurer <bmaurer@ximian.com>
2741 * TextBox.cs: Passwords seem 1) not to be rendered to the client
2742 if set, 2) not kept in view state (for security reasons...)
2745 * Button.cs: Page.Validate () if needed. Gets the validator tests
2748 * TextBox.cs: Properties to get the validator stuff to work.
2750 2005-07-12 Miguel de Icaza <miguel@novell.com>
2752 * Unit.cs: If the units are pixels, then truncate the value.
2754 2005-07-12 Dick Porter <dick@ximian.com>
2756 * RadioButton.cs: New implementation
2758 * CheckBox.cs: Rearrange the attributes rendering to allow
2759 RadioButton to derive from this
2761 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
2763 * TitleFormat.cs: Add attribute
2764 * TextBoxMode.cs: Add attribute
2765 * CalendarDay.cs: Initial implementation
2766 * ImageButton.cs: Initial implementation
2767 * CalendarSelectionMode.cs:Initial implementation
2769 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
2771 * TextBoxMode.cs: simple enum
2772 * TitleFormat.cs: simple enum
2774 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
2776 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
2778 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
2780 * FontUnit.cs: Added TypeConverter attribute to class
2781 * FontUnitConverter.cs: Implemented
2783 2005-07-11 Ben Maurer <bmaurer@ximian.com>
2786 * Button.cs: Bubble the Command event.
2788 2005-07-11 Ben Maurer <bmaurer@ximian.com>
2791 - Clean up style (with my wonderful state bag hack!)
2792 - Fix a view state typo.
2793 - Use AddAttributesToRender
2794 - Don't add an extra <span>
2796 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
2798 * Style.cs: Handle null constructor argument for bag
2800 2005-07-11 Dick Porter <dick@ximian.com>
2802 * CheckBox.cs: New implementation
2804 * RadioButton.cs: Initial stubbed version that just compiles
2806 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
2808 * Button.cs: Initial Button implementation
2810 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
2812 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
2814 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
2816 * HorizontalAlign.cs: Typo in header.
2817 * VerticalAlign.cs: New. Required enum for TableRow control.
2819 2005-07-09 Ben Maurer <bmaurer@ximian.com>
2821 * TextBox.cs: More work on this
2823 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
2825 * GridLines.cs: New. Required enum for Table control.
2826 * HorizontalAlign.cs: New. Required enum for Table control.
2828 2005-07-09 Duncan Mak <duncan@novell.com>
2830 * CommandEventHandler.cs:
2831 * DataGridCommandEventHandler.cs:
2832 * DataGridItemEventHandler.cs:
2833 * DataGridPageChangedEventHandler.cs:
2834 * DataGridSortCommandEventHandler.cs:
2835 * DataListCommandEventHandler.cs:
2836 * DayRenderEventHandler.cs:
2837 * RepeaterCommandEventHandler.cs:
2838 * ServerValidateEventHandler.cs: Add delegates.
2841 * ListSelectionMode.cs:
2842 * NextPrevFormat.cs:
2844 * PagerPosition.cs: Add enums.
2846 2005-07-09 Ben Maurer <bmaurer@ximian.com>
2848 * TextBox.cs: Add the work I did on this today. It's not complete
2849 yet, but its a start!
2851 2005-07-09 Duncan Mak <duncan@novell.com>
2853 * CommandEventArgs.cs:
2854 * DataGridCommandEventArgs.cs:
2855 * DataGridItemEventArgs.cs:
2856 * DataGridPageChangedEventArgs.cs:
2857 * DataGridSortCommandEventArgs.cs:
2858 * DataListCommandEventArgs.cs:
2859 * DataListItemEventArgs.cs:
2860 * DayRenderEventArgs.cs:
2861 * RepeaterCommandEventArgs.cs:
2862 * RepeaterItemEventArgs.cs:
2863 * ServerValidateEventArgs.cs: Implemented.
2865 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
2867 * Image.cs: New. Image class implementation.
2868 * ImageAlign.cs: New. ImageAlign enum definitions.
2870 2005-07-08 Jackson Harper <jackson@ximian.com>
2872 * Literal.cs: New implentation.
2873 * MonthChangedEventArgs.cs: new
2874 * MonthChangedEventHandler.cs: new
2876 2005-07-08 Ben Maurer <bmaurer@ximian.com>
2878 * LinkButton.cs: Command impl
2880 2005-07-08 Ben Maurer <bmaurer@ximian.com>
2882 * LinkButton.cs: Initial impl
2884 2005-07-08 Jackson Harper <jackson@ximian.com>
2886 * AdCreatedeventArgs.cs: New implementation.
2888 2005-07-08 Dick Porter <dick@ximian.com>
2891 * BorderStyle.cs: Added
2893 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
2895 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
2897 2005-07-07 Miguel de Icaza <miguel@novell.com>
2899 * Xml.cs: New implementation. R00lz.
2901 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
2903 * FontInfo.cs: Added and implemented.
2904 * Style.cs: Fixed behaviour discrepancies showed by tests
2906 2005-07-07 Ben Maurer <bmaurer@ximian.com>
2908 * PlaceHolderControlBuilder.cs: new file
2910 * LabelControlBuilder.cs: New file
2912 * HyperLink.cs: use control builder; fix parsing stuff
2914 * HyperLinkControlBuilder.cs: new file
2916 * Panel.cs: misc fixes
2918 2005-07-07 Miguel de Icaza <miguel@novell.com>
2920 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
2922 * UnitConverter.cs: Add new file, learned from the
2923 System.Drawing.ColorConverter.
2925 2005-07-07 Ben Maurer <bmaurer@ximian.com>
2927 * PlaceHolder.cs: New file. Seems to do nothing
2929 * Label.cs: Use my new statebag trick to reduce typing
2931 * HyperLink.cs: New file
2933 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
2935 * Style.cs: Added and implemented.
2937 2005-07-06 Miguel de Icaza <miguel@novell.com>
2939 * FontUnit.cs: New file.
2941 * Unit.cs: New file.
2943 Added support for null and empty string constructors.
2945 2005-07-06 Ben Maurer <bmaurer@ximian.com>
2947 * Unit.cs: cctor not needed; static fields are 0 init'd by default
2949 * WebControl.cs: Kothari & Datye's book explains how these work.
2951 * IRepeatInfoUser.cs: Reimpl.
2953 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
2955 * WebControl.cs: Added stub
2957 2005-07-05 Miguel de Icaza <miguel@novell.com>
2959 * Label.cs: First control.
2961 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
2963 * DataControlField.cs: Ignore the ShowHeader property when
2964 building the control's content. It is the resposability of
2965 the field container to decide if the header should be shown
2968 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
2971 * ImageFieldMode.cs:
2972 * DynamicImageParameterMode.cs:
2973 * TableViewMode.cs: Removed.
2977 * TableRowSection.cs:
2978 * AutoCompleteType.cs:
2979 * DayNameFormat.cs: Track changes in 2.0 api.
2981 * StringArrayConverter.cs: This class is 2.0 only.
2983 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
2987 * DetailsView.cs: Bind the control after creating all child
2989 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
2990 the correct methods.
2991 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
2992 in this class. This is done in DataBoundControl. All this fixes
2995 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2997 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
2998 FindByText. Closes bug #74205.
3000 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3002 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
3003 1 when there's a datasource and 0 pages. Closes bug #73864.
3005 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
3012 * MenuItemTemplateContainer.cs:
3013 * DetailsView.cs: Track changes in the IDataItemContainer interface.
3015 * CommandField.cs: Added CausesValidation property. Set that
3016 property value to all buttons of the field.
3018 * SqlDataSourceView.cs:
3019 * CollectionDataSource.cs:
3020 * XmlDataSourceView.cs: Properly initialize the base class.
3022 * SiteMapDataSource.cs:
3023 * SiteMapHierarchicalDataSourceView.cs:
3024 * SiteMapNodeItem.cs:
3025 * SiteMapDataSourceView.cs:
3026 * SiteMapPath.cs: Mostly implemented.
3028 * HierarchicalDataBoundControl.cs: Always bind the control when the
3029 page is loaded for the first time.
3031 * TreeView.cs: Properly bind the control when loaded from a callback.
3033 2005-05-21 Ben Maurer <bmaurer@ximian.com>
3035 * BaseDataList.cs: Caption is in 1.1 too, though not
3036 documented. Gonz owes me [more] ice cream. Yummmmm.
3038 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3040 * BaseDataList.cs: implemented 2.0 Caption property.
3042 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
3044 * TreeView.cs: Always render the startup script. This fixes
3047 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
3049 * WizardStepBase.cs:
3050 * WizardStep.cs: Added missing attributes.
3051 * Wizard.cs: Implemented missing methods and properties. It can now
3052 be considered feature complete.
3054 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3056 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
3057 the method if the data source was en empty IEnumerator. Fixes
3060 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
3064 * Menu.cs: Implemented some new properties from beta 2.
3066 * DataControlButton.cs: Render the ControlStyle if it
3070 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
3071 It will now generate an object creation, instead of a Parse call.
3073 * GridViewCommandEventArgs.cs: Added missing property.
3074 * SubMenuStyleCollection.cs: This class is not sealed.
3075 * MultiView.cs: Set Visible=false to all views that are not
3076 shown. This ensures that it's view state is saved.
3078 * BaseDataBoundControl.cs:
3079 * GridViewDeletedEventArgs.cs: Minor api fixes.
3081 * FormViewDeleteEventArgs.cs:
3082 * DetailsViewDeletedEventArgs.cs:
3083 * ListControl.cs: Fix warnings.
3087 * HotSpotCollection.cs
3090 * RectangleHotSpot.cs
3091 * WizardStepCollection.cs : Implemented.
3095 * Wizard.cs: Initial implementation.
3097 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
3099 * DataControlField.cs:
3103 * DataControlCommands.cs:
3104 * DetailsView.cs: Use constants to identify commands.
3106 * SubMenuStyle.cs: Use Unit instead of int for padding.
3107 * SubMenuStyleCollection.cs: Implemented.
3110 * Menu.cs: Added some missing methods and properties.
3113 * DataGridPagerStyle.cs: Fixed default value attributes.
3114 * ListControl.cs: Implemented IEditableTextControl interface.
3116 * MenuItemBinding.cs: Added Selectable property.
3117 * CustomValidator.cs: removed interface.
3119 * MenuItem.cs: Added support for custom binding.
3120 * DropDownList.cs: Moved text properties to base class.
3122 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3124 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
3126 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3128 * Calendar.cs: when the day is active, modify the text of the literal
3129 control that holds the number, not the text of the TableCell. Also call
3130 OnDayRender before updating that text. Fixes bug #74718.
3132 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
3134 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
3136 * DataControlFieldHeaderCell.cs: Save Scope in view state.
3137 Added AbbreviatedText property.
3138 * AutoGeneratedField.cs: The constructor should actually be internal.
3139 * DataGridItem.cs: Added implemented interface in 2.0.
3140 * DataControlFieldCollection.cs: Implemented CloneFields and
3144 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3146 * StringArrayConverter.cs:
3147 * Calendar.cs: warnings.
3149 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
3151 * FormViewDeleteEventArgs.cs:
3152 * FormViewInsertEventArgs.cs:
3153 * FormViewUpdateEventArgs.cs:
3154 * FormViewDeletedEventArgs.cs:
3155 * FormViewUpdatedEventArgs.cs:
3156 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
3159 * IButtonControl.cs:
3160 * Button.cs: Removed SoftKey property.
3162 * CheckBox.cs: Don't try to load post back data if the control
3166 * AutoGeneratedField.cs:
3167 * DataControlField.cs:
3169 * ButtonFieldBase.cs:
3173 * ButtonField.cs: Don't bind fields in Insert state.
3174 Implemented CreateField and CopyProperties.
3177 * DetailsView.cs: Removed some unneeded interfaces. Don't
3178 generate the field rows if there are no items in the data source.
3179 Don't get the current keys until the whole control has been
3182 * DetailsViewInsertedEventArgs.cs:
3183 * DataBoundControl.cs:
3184 * ObjectDataSourceView.cs: Made some methods private.
3187 * Menu.cs: Changed some properties from int to Unit.
3189 * DataControlButton.cs: javascript prefix is needed when raising
3190 the postback event from a link.
3192 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
3193 The result was wrong when the total data source count was 0.
3195 * FormView.cs: Implemented.
3196 * FormViewRow.cs: Implemented.
3199 * Localize.cs: Fixed base interface.
3201 * BaseDataBoundControl.cs: In DataBind() call the base class
3202 DataBind method, so the binding context is properly set.
3204 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
3206 * DetailsView.cs: Added some null checks.
3207 * TemplateField.cs: Implemented support for two-way bindings.
3209 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
3211 * DetailsView.cs: Implemented support for Insert operation.
3212 Added header and footer templates. Added missing style
3214 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
3215 to get filter values. Other minor fixes.
3216 * CommandField.cs: Properly render the Insert and New buttons.
3217 * ObjectDataSource.cs: Update the parameter collections after
3218 the page is loaded. This will fire the ParameterChanged event
3220 * DataBoundControl.cs: The OnDataSourceViewChanged method
3221 is called when the view changes, not when the datasource
3224 * DetailsViewInsertedEventArgs.cs:
3225 * DetailsViewInsertEventArgs.cs: Implement Values property.
3228 * AutoGeneratedField.cs
3231 Take into account the Insert mode.
3233 * ParameterCollection.cs: Implemented UpdateValues and fixed
3234 GetValues (values can't be cached because can change).
3235 * Parameter.cs: Detect value changes in GetValue, and fire
3236 the change event if needed. Removed unused ParameterValue
3237 property. Other fixes.
3239 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
3241 * DetailsView.cs: Initial implementation.
3242 * ObjectDataSourceView.cs: Notify changes in the parameters.
3243 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
3244 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
3245 Implemented some properties.
3246 * GridView.cs: Added null check in SelectedValue. Don't return null
3247 for empty DataKeyNames list.
3248 * DetailsViewRowCollection.cs: Implemented.
3249 * DetailsViewRow.cs: Implemented.
3250 * ButtonFieldBase.cs: By default button field don't have headers.
3251 * BoundField.cs: Don't bind header fields.
3253 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
3255 * ButtonField.cs: Get data item properties using TypeDescriptor.
3256 Made OnDataBindField private.
3257 * ObjectDataSourceView.cs: Implemented support for Delete and
3258 Insert operations, support for filtering and sorting,
3259 conflict detection, etc. It's now complete.
3260 * ObjectDataSource.cs: Completed most of functionality. Only
3261 caching support is missing.
3262 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
3263 * TreeNode.cs: Get data item properties using TypeDescriptor.
3264 * PagerSettings.cs: Flush.
3265 * ObjectDataSourceFilteringEventArgs.cs: New event args.
3266 * GridView.cs: Get data item properties using TypeDescriptor
3267 and cache them. Properly set descending order in the sort
3268 expression. In UpdateRow, make sure we get the old values
3269 before the control is bound again.
3270 * ImageField.cs: Implemented.
3271 * AutoGeneratedField.cs: Initialize the field's sort
3272 expression in the constructor.
3273 * MenuItem.cs: Get data item properties using TypeDescriptor.
3274 * BoundField.cs: Get data item properties using TypeDescriptor.
3275 * CheckBoxField.cs: Added missing attributes.
3276 * TemplateField.cs: Implemented.
3278 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3281 * FontUnitConverter.cs: fixed ConvertTo to work with target
3282 InstanceDescriptor and value as a string.
3284 * Unit.cs: culture might be null.
3288 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
3290 * ButtonField.cs: Mostly implemented.
3291 * DataControlFieldHeaderCell.cs: Implemented.
3292 * ObjectDataSourceView.cs: Initial implementation.
3293 * DataControlButton.cs: Added support for real buttons.
3294 * Label.cs, DataControlField.cs: Flush.
3295 * ObjectDataSource.cs: Initial implementation.
3296 * HiddenField.cs: Added class stub.
3297 * GridView.cs: Load autogenerated field properties before
3298 creating the children, to make sure that column info is ready.
3299 * ControlParameter.cs: Implemented Evaluate method.
3300 * ImageField.cs: Added class stub.
3301 * BoundField.cs: Added HtmlEncode property.
3302 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
3304 * CheckBoxField.cs: Mostly implemented.
3305 * TemplateField.cs: Added class stub.
3306 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
3307 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
3308 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
3310 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
3312 * DataControlField.cs: Added missing InsertVisible property.
3313 * AutoGeneratedFieldProperties.cs: Implemented.
3314 * PagerSettings.cs: Minor fix.
3315 * GridView.cs: Implemented support for autogenerated fields, templates,
3316 accessible headers. Implemented paging using PagedDataSource.
3317 Implemented missing overridable methods.
3318 * AutoGeneratedField.cs: Initial implementation.
3319 * BoundField.cs: Added ReadOnly property.
3320 * PagedDataSource.cs: Implemented 2.0 api.
3321 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
3322 cell class to be used by accessible headers.
3323 * TableCell.cs: Removed unneded constructor. If the cell is bound to
3324 a template, call the default RenderContents method.
3326 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
3328 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
3329 event when loading the view state. Fixes #73746.
3331 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
3333 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
3335 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
3337 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
3339 * CommandField.cs: Mostly implemented.
3340 * Menu.cs: Use callback methods moved to ClientScriptManager.
3341 * DataControlButton.cs: Internal control used to implement buttons
3342 for navigating in data bound controls.
3343 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
3344 to render the column headers.
3345 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
3346 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
3347 Don't use Page.GetPostBackClientEvent
3348 since it is deprecated in 2.0.
3349 * GridView.cs: Implemented some several interfaces.
3350 Implemented support client sorting and page navigation (using callbacks).
3351 Implemented the autogenerated command column using the new CommandField
3353 * ButtonFieldBase.cs: Implemented.
3354 * GridView.js: New helper script to support client side sorting and
3355 paging in the grid view.
3357 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
3359 * DataKey.cs: Implemented.
3360 * XmlDataSourceView.cs: Implemented support for row pagging.
3361 * Table.cs: Fixed attribute value.
3362 * DataControlField.cs: Added support for sorting headers.
3363 * ChildTable.cs: Created.
3364 * ListControl.cs: Delay selection assignment, since control state
3365 is now loaded before view state.
3366 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
3367 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
3368 several missing properties.
3369 * PagerSettings.cs: Fully implemented.
3370 * BaseDataList.cs: Added null check.
3371 * GridView.cs: Implemented more functionality.
3372 * BoundField.cs: Added support for cell editing.
3373 * StringArrayConverter.cs: Implemented.
3374 * DataKeyArray.cs: Implemented.
3375 * BaseDataBoundControl.cs: Reset the requires binding flag before
3376 executing the query. This avoids recursive query calls.
3377 * GridViewRow.cs: Handler commands raised from row childs.
3379 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
3381 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
3382 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
3383 it is possible to query for properties fore each data item.
3384 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
3385 when loading its view state.
3386 * DataControlField.cs: Implement properties using a StateBag.
3387 * XmlDataSourcePropertyDescriptor.cs: Implemented.
3388 * PagerSettings.cs: Mostly implemented.
3389 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
3390 * DataBoundControl.cs: Added null check.
3391 * GridView.cs: Initial implementation.
3392 * CompositeDataBoundControl.cs: Implemented.
3393 * BoundField.cs: Initial implementation.
3394 * GridViewRowCollection.cs: Initial implementation.
3395 * DataControlFieldCollection.cs: Initial implementation.
3396 * DataControlFieldCell.cs: Fixed control tag.
3397 * GridViewRow: Initial implementation.
3398 * XmlDataSourceNodeDescriptor.cs: Implemented.
3400 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3402 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
3403 is zero, use the TagName no matter its value. Fixes bug #72415.
3405 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
3407 * Style.cs: Method name fix.
3408 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
3409 * BaseCompareValidator.cs: Method signature fix.
3410 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
3411 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
3412 * BulletedList.cs: Added missing method.
3413 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
3415 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
3417 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
3418 * RadioButton.cs: Added missing 2.0 methods.
3419 * ListItem.cs: Added Enabled property.
3420 * MailMessageEventArgs.cs: Use the correct message class.
3421 * ListControl.cs: Implemented missing properties and support for
3422 control state. Implemented base RenderContents method.
3423 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
3425 * BaseCompareValidator.cs: Implemented methods that support conditional
3426 use of the invariant culture.
3427 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
3428 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
3429 It takes a DbCommand instead of a IDbCommand.
3430 * GridViewSortEventArgs.cs: Added SortDirection property.
3431 * TextBox.cs, CheckBoxList.cs: Added protected version of
3432 IPostBackDataHandler methods.
3433 * RadioButtonList.cs: Added protected version of
3434 IPostBackDataHandler and IRepeatInfoUser methods.
3435 * Repeater.cs: Updated some method names.
3436 * DropDownList.cs: Added protected version of
3437 IPostBackDataHandler methods. Reuse RenderContents from base class.
3438 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
3439 * GridViewUpdatedEventArgs.cs: Fix typo.
3440 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
3441 Reuse RenderContents from base class.
3442 * BaseDataBoundControl.cs: Several fixes.
3443 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
3445 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
3447 * CheckBoxList.cs: Fix build.
3449 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
3451 * Button.cs: Use validation group when validating page.
3452 * XmlDataSourceView.cs: Implemented ExecuteSelect.
3453 * Menu.cs: Minor fix.
3454 * CheckBox.cs: Added 2.0 properties and methods.
3455 * BaseDataList.cs: Always databind the control if view state
3457 * DataList.cs: In 2.0, use control state to save the selected index.
3458 * DetailsViewUpdatedEventArgs.cs: Fix typo.
3459 * CustomValidator.cs: Implement IStaticTextControl interface.
3460 * CheckBoxList.cs: Added missing 2.0 methods.
3461 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
3463 * XmlDataSource.cs: Return childs of DocumentElement, not the root
3465 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
3466 Implemented 2.0 API.
3469 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
3471 * Button.cs: Implemented all missing 2.0 features.
3472 * Table.cs: Render the table caption, when specified.
3473 * Calendar.cs: Implemented most of missing 2.0 features.
3474 * TableCell.cs: Fixed attributes.
3476 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
3478 * ControlPropertyNameConverter.cs: Added file.
3480 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
3482 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
3483 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
3484 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
3485 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
3486 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
3487 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
3488 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
3489 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
3490 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
3491 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
3492 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
3493 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
3494 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
3495 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
3496 DataGridSortCommandEventArgs.cs, Repeater.cs,
3497 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
3498 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
3499 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
3500 CompareValidator.cs, HierarchicalDataBoundControl.cs,
3501 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
3502 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
3503 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
3504 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
3505 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
3506 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
3507 AdCreatedEventArgs.cs:
3509 General 2.0 API fixes: missing attributes, incorrect inheritance,
3510 missing sealed keywords, wrong signatures, etc.
3512 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
3514 * Table.cs: Added some 2.0 properties.
3515 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
3517 * BaseValidator.cs: Fix warning.
3518 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
3520 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
3522 * Menu.cs: Rendering fixes.
3524 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
3526 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
3527 ContentPlaceHolderBuilder.cs: Implemented.
3529 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3531 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
3532 attributes that are meant to be in the input tag in their place.
3534 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
3536 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
3537 generates invalid html).
3539 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
3541 * Menu.cs: Implemented most of missing properties. Added support for
3542 item templates. Implemented menu scrolling.
3543 * MenuItemBinding.cs: Implemented most of missing properties.
3544 * MenuItem.cs: Implemented most of missing properties.
3545 * Menu.js: Implemented scrolling and menu reposition into screen.
3546 * MenuItemTemplateContainer.cs: Implemented.
3547 * SubMenuStyle.cs: Implemented.
3549 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
3551 * Style.cs: Implemented RegisteredCssClass property. Added
3552 CopyTextStylesFrom method, which copies styles that only apply to text.
3553 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
3554 in the page stylesheet. Added support for ItemSpacing property.
3555 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
3557 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
3559 * Style.cs: Generate styles using a CssStyleCollection, so the code can
3560 be reused for the 2.0 FillStyleAttributes method.
3561 * Menu.cs: Implemented more properties and events. Rendering is very
3563 * MenuItem.cs: Added PopOutImageUrl property.
3564 * Menu.js: More work on submenu management.
3566 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
3568 * Menu.cs: Implemented basic rendering. Added some missing properties.
3569 * MenuItem.cs: Improved implementation of Depth.
3570 * Unit.cs: Added serializable attribute.
3571 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
3572 so it can be reused.
3573 * Menu.js: New script to support he Menu control.
3575 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
3577 * MenuEventArgs.cs: Changed to sealed.
3578 * TreeView.cs: Minor fix.
3579 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
3580 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
3581 MenuItemStyleCollection.cs: Initial Menu code.
3583 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
3585 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
3586 Implemented SetDirtyObject.
3587 * Style.cs: Implemented SetDirty().
3588 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
3589 * TreeNode.cs: Added missing attributes added support for
3590 PopulateOnDemand. Added some missing property bindings.
3591 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
3592 to newly added elements to make sure al new data is saved.
3593 * TreeView.js: Implemented support for client population of nodes.
3594 * TreeNodeStyle.cs: Added missing attributes.
3595 * TreeView.cs: Implemented support for PopulateNodesFromClient and
3596 PopulateOnDemand. Improved rendering.
3598 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
3600 * DataControlField.cs:
3601 * DataControlFieldCell.cs: Initial implementation.
3603 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
3605 * TreeNodeBindingCollection.cs: Implemented.
3606 * TreeNodeBinding.cs: Implemented.
3607 * TreeNode.cs: Added support for data binding.
3608 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
3609 TreeView_Default_NoExpand.gif: Moved to resources directory.
3610 * ListControl.cs: Fixed api.
3611 * XmlHierarchicalEnumerable.cs: Made internal.
3612 * DataBoundControl.cs: Modified api to match latest ms.net.
3613 * TreeView.js: New javascript file to support TreeView in the client.
3614 * XmlDataSource.cs: Added missing attributes.
3615 * HierarchicalDataBoundControl.cs: Mostly implemented.
3616 * BaseDataBoundControl.cs: Mostly implemented.
3617 * XmlHierarchyData.cs: Made internal.
3618 * TreeView.cs: Mostly implemented. The major missing feature is
3619 client side tree population.
3621 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
3624 * DataBountControl.cs:
3625 * Repeater.cs: Added SelectArguments property and updated.
3626 * SiteMapDataSourceView.cs:
3627 * SqlDataSourceView.cs:
3628 * XmlDataSourceView.cs: Removed extra method, which was there to
3629 keep things compiling.
3631 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
3633 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
3634 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
3635 TreeView.cs: Initial implementation.
3636 * DataBoundControl.cs: Set the correct base class.
3637 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
3638 * TreeNodeSelectAction.cs: Formatting.
3639 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
3640 TreeView_Default_NoExpand.gif: TreeView images.
3642 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
3644 * SqlDataSourceView.cs: Updated methods and added one property.
3646 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
3648 * AccessDataSource.cs:
3649 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
3650 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
3652 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
3653 * SqlDataSourceView.cs: Updated constructor.
3655 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
3657 * AccessDataSourceView.cs: Added new class.
3659 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
3661 * SqlDataSourceView.cs: Corrected exception handling in
3662 ExecuteSelect method.
3664 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
3666 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
3667 * SiteMapDataSourceView.cs: Minor fix.
3669 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
3671 * SqlDataSourceView.cs: Updated ExecuteSelect method.
3673 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
3675 * SqlDataSource.cs: Corrected Select method.
3677 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
3679 * SqlDataSource.cs: Updated Select method definition.
3680 * SqlDataSourceStatusEventArgs.cs: Updated class.
3682 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
3684 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
3685 from DataSourceView.cs).
3687 2004-11-10 Raja R Harinath <rharinath@novell.com>
3689 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
3691 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
3693 * SqlDataSource.cs: Corrected method calls.
3694 * SqlDataSourceView.cs: Partial implementation of few methods.
3696 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3698 * ListItemCollection.cs: fixed bug when indexing changed elements in
3699 LoadViewState. Patch from Alois BĻlaška.
3701 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
3703 * SiteMapDataSourceView.cs:
3704 * SqlDataSourceView.cs:
3705 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
3706 base class, DataSourceView. Changes are to keep things compiling.
3708 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
3710 * SiteMapDataSourceView.cs: Corrected class definition and updated.
3711 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
3714 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
3716 * AdRotator.cs: Updated.
3718 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
3720 * AccessDataSource.cs: Updated.
3722 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
3724 * ValidatedControlConverter.cs: Updated.
3726 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
3728 * AssociatedControlConverter.cs: Implemented.
3730 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
3732 * ControlIDConverter.cs: Initial implementation.
3734 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
3736 * IButtonControl.cs: Corrected property name.
3738 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
3740 * ParameterCollection.cs: Updated.
3742 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
3744 * Parameter.cs: Updated and completed implementation.
3746 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
3748 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
3751 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
3753 * AccessDataSource.cs: Initial implementation.
3755 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
3757 * DataControlRowState.cs:
3759 * TreeNodeTypes.cs: Added attribute.
3760 * DataControlRowType.cs:
3762 * SortDirection.cs: Corrected enumeration values.
3763 * TableRowSection.cs: Added new enumeration.
3764 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
3766 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3768 * TableStyle.cs: don't render empty 'rules' attribute (again).
3770 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
3772 * FormViewUpdatedEventArgs.cs: Spelling mistake.
3774 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
3776 * Literal.cs: Added new method Focus().
3778 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3780 * RadioButton.cs: fix GroupName when the control is inside a
3781 NamingContainer different from Page. Closes bug #65586.
3783 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
3785 * Localize.cs: Added new class.
3787 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
3789 * CompositeControl.cs : Completed
3790 * Login.cs : Initial implementation.
3792 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3794 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
3795 don't call MapPathSecure on the content itself.
3797 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
3798 document is checked at parse time and will be checked again at run time.
3802 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
3804 * AuthenticateEventHandler.cs:
3805 * CreateUserErrorEventArgs.cs:
3806 * CreateUserErrorEventHandler.cs:
3807 * DetailsViewCommandEventHandler.cs:
3808 * DetailsViewDeleteEventArgs.cs:
3809 * DetailsViewDeleteEventHandler.cs:
3810 * DetailsViewDeletedEventArgs.cs:
3811 * DetailsViewDeletedEventHandler.cs:
3812 * DetailsViewInsertEventArgs.cs:
3813 * DetailsViewInsertEventHandler.cs:
3814 * DetailsViewInsertedEventArgs.cs:
3815 * DetailsViewInsertedEventHandler.cs:
3816 * DetailsViewModeEventArgs.cs:
3817 * DetailsViewModeEventHandler.cs:
3818 * DetailsViewPageEventHandler.cs:
3819 * DetailsViewUpdateEventArgs.cs:
3820 * DetailsViewUpdateEventHandler.cs:
3821 * DetailsViewUpdatedEventArgs.cs:
3822 * DetailsViewUpdatedEventHandler.cs:
3823 * FormViewCommandEventHandler.cs:
3824 * FormViewDeleteEventArgs.cs:
3825 * FormViewDeleteEventHandler.cs:
3826 * FormViewDeletedEventArgs.cs:
3827 * FormViewDeletedEventHandler.cs:
3828 * FormViewInsertEventArgs.cs:
3829 * FormViewInsertEventHandler.cs:
3830 * FormViewInsertedEventArgs.cs:
3831 * FormViewInsertedEventHandler.cs:
3832 * FormViewModeEventHandler.cs:
3833 * FormViewPageEventHandler.cs:
3834 * FormViewUpdateEventArgs.cs:
3835 * FormViewUpdateEventHandler.cs:
3836 * FormViewUpdatedEventArgs.cs:
3837 * FormViewUpdatedEventHandler.cs:
3838 * GridViewCancelEditEventArgs.cs:
3839 * GridViewCancelEditEventHandler.cs:
3840 * GridViewCommandEventHandler.cs:
3841 * GridViewDeleteEventArgs.cs:
3842 * GridViewDeleteEventHandler.cs:
3843 * GridViewDeletedEventArgs.cs:
3844 * GridViewDeletedEventHandler.cs:
3845 * GridViewEditEventHandler.cs:
3846 * GridViewPageEventHandler.cs:
3847 * GridViewRowEventHandler.cs:
3848 * GridViewSelectEventHandler.cs:
3849 * GridViewSortEventArgs.cs:
3850 * GridViewSortEventHandler.cs:
3851 * GridViewUpdateEventArgs.cs:
3852 * GridViewUpdateEventHandler.cs:
3853 * GridViewUpdatedEventArgs.cs:
3854 * GridViewUpdatedEventHandler.cs:
3855 * ImageMapEventHandler.cs:
3856 * MailMessageEventHandler.cs:
3857 * MenuEventHandler.cs:
3858 * ObjectDataSourceDisposingEventHandler.cs:
3859 * ObjectDataSourceEventHandler.cs:
3860 * ObjectDataSourceMethodEventArgs.cs:
3861 * ObjectDataSourceMethodEventHandler.cs:
3862 * ObjectDataSourceSelectingEventArgs.cs:
3863 * ObjectDataSourceSelectingEventHandler.cs:
3864 * ObjectDataSourceStatusEventArgs.cs:
3865 * ObjectDataSourceStatusEventHandler.cs:
3866 * SendMailErrorEventHandler.cs:
3867 * SiteMapNodeItemEventHandler.cs:
3868 * SqlDataSourceSelectingEventArgs.cs:
3869 * SqlDataSourceSelectingEventHandler.cs:
3870 * TreeNodeEventHandler.cs:
3871 * WizardNavigationEventArgs.cs:
3872 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
3873 corrections and removing "sealed" access specifier from *EventHandler.cs
3875 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
3877 * Literal.cs: Added new attributes and property for .Net 2.0
3879 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
3881 * GridViewDeleteEventArgs.cs: Removed extra code.
3883 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
3885 * SendMailErrorEventArgs.cs:
3886 * SendMailErrorEventHandler.cs:
3887 * SiteMapNodeItemEventArgs.cs:
3888 * SiteMapNodeItemEventHandler.cs:
3889 * SqlDataSourceSelectingEventArgs.cs:
3890 * SqlDataSourceSelectingEventHandler.cs:
3891 * TreeNodeEventArgs.cs:
3892 * TreeNodeEventHandler.cs:
3893 * WizardNavigationEventArgs.cs:
3894 * WizardNavigationEventHandler.cs: Added new delegates.
3896 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
3898 * ImageMapEventArgs.cs:
3899 * ImageMapEventHandler.cs:
3900 * MailMessageEventArgs.cs:
3901 * MailMessageEventHandler.cs:
3903 * MenuEventHandler.cs:
3904 * ObjectDataSourceDisposingEventArgs.cs:
3905 * ObjectDataSourceDisposingEventHandler.cs:
3906 * ObjectDataSourceEventArgs.cs:
3907 * ObjectDataSourceEventHandler.cs:
3908 * ObjectDataSourceMethodEventArgs.cs:
3909 * ObjectDataSourceMethodEventHandler.cs:
3910 * ObjectDataSourceSelectingEventArgs.cs:
3911 * ObjectDataSourceSelectingEventHandler.cs:
3912 * ObjectDataSourceStatusEventArgs.cs:
3913 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
3915 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
3917 * DetailsViewCommandEventArgs.cs:
3918 * FormViewCommandEventArgs.cs:
3919 * GridViewCommandEventArgs.cs: Corrected constructor.
3921 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
3923 * GridViewCancelEditEventArgs.cs:
3924 * GridViewCancelEditEventHandler.cs:
3925 * GridViewCommandEventArgs.cs:
3926 * GridViewCommandEventHandler.cs:
3927 * GridViewDeletedEventArgs.cs:
3928 * GridViewDeletedEventHandler.cs:
3929 * GridViewDeleteEventArgs.cs:
3930 * GridViewDeleteEventHandler.cs:
3931 * GridViewEditEventArgs.cs:
3932 * GridViewEditEventHandler.cs:
3933 * GridViewPageEventArgs.cs:
3934 * GridViewPageEventHandler.cs:
3935 * GridViewRowEventArgs.cs:
3936 * GridViewRowEventHandler.cs:
3937 * GridViewSelectEventArgs.cs:
3938 * GridViewSelectEventHandler.cs:
3939 * GridViewSortEventArgs.cs:
3940 * GridViewSortEventHandler.cs:
3941 * GridViewUpdatedEventArgs.cs:
3942 * GridViewUpdatedEventHandler.cs:
3943 * GridViewUpdateEventArgs.cs:
3944 * GridViewUpdateEventHandler.cs: Added new delegates.
3946 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
3948 * FormViewUpdatedEventArgs.cs: Corrected constructor.
3950 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
3952 * FormViewCommandEventArgs.cs: Corrected name of class.
3954 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3956 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
3959 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
3961 * FormViewCommandEventArgs.cs:
3962 * FormViewCommandEventHandler.cs:
3963 * FormViewDeletedEventArgs.cs:
3964 * FormViewDeletedEventHandler.cs:
3965 * FormViewDeleteEventArgs.cs:
3966 * FormViewDeleteEventHandler.cs:
3967 * FormViewInsertedEventArgs.cs:
3968 * FormViewInsertedEventHandler.cs:
3969 * FormViewInsertEventArgs.cs:
3970 * FormViewInsertEventHandler.cs:
3971 * FormViewModeEventArgs.cs:
3972 * FormViewModeEventHandler.cs:
3973 * FormViewPageEventArgs.cs:
3974 * FormViewPageEventHandler.cs:
3975 * FormViewUpdatedEventArgs.cs:
3976 * FormViewUpdatedEventHandler.cs:
3977 * FormViewUpdateEventArgs.cs:
3978 * FormViewUpdateEventHandler.cs: Added new delegates.
3980 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
3982 * DetailsViewCommandEventArgs.cs:
3983 * DetailsViewCommandEventHandler.cs:
3984 * DetailsViewDeletedEventArgs.cs:
3985 * DetailsViewDeletedEventHandler.cs:
3986 * DetailsViewDeleteEventArgs.cs:
3987 * DetailsViewDeleteEventHandler.cs:
3988 * DetailsViewInsertedEventArgs.cs:
3989 * DetailsViewInsertedEventHandler.cs:
3990 * DetailsViewInsertEventArgs.cs:
3991 * DetailsViewInsertEventHandler.cs:
3992 * DetailsViewModeEventArgs.cs:
3993 * DetailsViewModeEventHandler.cs:
3994 * DetailsViewPageEventArgs.cs:
3995 * DetailsViewPageEventHandler.cs:
3996 * DetailsViewUpdatedEventArgs.cs:
3997 * DetailsViewUpdatedEventHandler.cs:
3998 * DetailsViewUpdateEventArgs.cs:
3999 * DetailsViewUpdateEventHandler.cs: Added new delegates.
4001 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
4003 * AuthenticateEventArgs.cs:
4004 * AuthenticateEventHandler.cs:
4005 * CreateUserErrorEventArgs.cs:
4006 * CreateUserErrorEventHandler.cs: Added new delegates.
4008 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
4010 * IButtonControl.cs:
4011 * ICallbackContainer.cs:
4012 * ICompositeControlDesignerAccessor.cs:
4013 * IPostBackContainer.cs: Added new interfaces.
4015 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
4018 * AutoCompleteType.cs:
4019 * ContentDirection.cs:
4020 * DataControlCellType.cs:
4021 * DataControlRowState.cs:
4022 * DataControlRowType.cs:
4023 * DetailsViewMode.cs:
4024 * DynamicImageParameterMode.cs:
4027 * ImageFieldMode.cs:
4034 * SiteMapNodeItemType.cs:
4035 * SiteMapNodeType.cs:
4036 * SiteMapViewType.cs:
4038 * TableCaptionAlign.cs:
4039 * TableHeaderScope.cs:
4041 * TreeNodeSelectAction.cs:
4043 * TreeViewImageSet.cs:
4044 * WizardStepType.cs: Added enumerations
4046 2004-08-02 Duncan Mak <duncan@ximian.com>
4049 * LoginFailureAction.cs:
4050 * LoginTextLayout.cs: Added enumerations.
4052 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4054 * BaseValidator.cs: in Validate(), when the control is not visible or
4055 enabled, return inmediately after setting IsValid to true. Fixes bug
4058 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4060 * DataList.cs: s/HasChildren/HasControls()/.
4062 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4064 * DataList.cs: style.
4066 2004-07-27 Alon Gazit <along@mainsoft.com>
4067 * DataList.cs: Replaced foreach statement with for statement,
4068 in order to improve performence.
4070 2004-07-27 Alon Gazit <along@mainsoft.com>
4071 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
4073 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
4074 switch statements in order to improve performance.
4076 2004-06-10 Alon Gazit <along@mainsoft.com>
4077 * WebControl.cs: fixed LoadViewState().
4078 Creates new attributes state bag only when the current is null.
4080 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4082 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
4084 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4086 * Calendar.cs: set the title class attribute if we have it. Fixes bug
4089 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4091 * Style.cs: added SetBit.
4093 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4096 * CompareValidator.cs:
4099 * WebControl.cs: Added protected missing members and attributes.
4101 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4103 * TextBox.cs: don't save the Text if in ViewState if it's a password.
4104 Save it if the control is not visible or not enabled. Fixes bug #58497.
4106 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4108 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
4111 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
4113 * SqlDataSourceCommandEventArgs:
4114 * XmlDataSource.cs : removed temporary workarounds for CLS
4115 compliance as System.Data is now CLS compliant
4117 2004-05-06 Alon Gazit <along@mainsoft.com>
4118 * WebControl.cs: fixed LoadViewState() and SaveViewState().
4119 Before the change the Enabled property wasn't updated when a postback
4121 * ListControl.cs: fixed SelectedIndex property implementation.
4122 Prevents throwing ArgumentOutOfRangeException (that should not be
4123 thrown), when the list is empty.
4125 2004-04-28 Alon Gazit <along@mainsoft.com>
4126 * WebControl.cs: fixed LoadViewState().
4127 Always loading the saved attributes collection.
4129 2004-04-18 Alon Gazit <along@mainsoft.com>
4130 * Repeater.cs: fixed InstantiateItem() and DataSource property.
4131 The change in DataSource prevents throwing ArgumentException while
4132 setting property value to null.
4133 The change in InstantiateItem() prevents NullReferenceException.
4135 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
4137 * BaseValidator.cs: Store Display property in the correct ViewState
4138 property. Don't render anything if Display is ValidatorDisplay.None.
4140 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
4142 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
4143 since it is already a physical path. Fixes bug #55334.
4145 2004-02-13 Jackson Harper <jackson@ximian.com>
4147 * Calendar.cs: Match MS postback data. This allows sites that
4148 parse the postback data manually to work.
4150 2004-02-04 Alon Gazit <along@mainsoft.com>
4151 * EditCommandColumn.cs: fixed InitializeCell().
4152 The rendered LiteralControl should contain " " and not " ".
4154 2004-02-01 Alon Gazit <along@mainsoft.com>
4156 * DataGrid.cs: fixed a problem in the paging mechanism in the method
4158 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
4159 while clicking the "..." link in the second page.
4161 2004-01-28 Alon Gazit <along@mainsoft.com>
4163 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
4165 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4167 * Calendar.cs: when rendering days, add a LiteralControl containing the
4168 day before OnDayRender is called. Only generate the default links for
4169 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
4171 2004-01-21 Martin Baulig <martin@ximian.com>
4173 * XmlHierarchyData.cs: Make this compile with csc.
4175 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
4176 accessor since the base class doesn't have one.
4178 2004-01-18 Alon Gazit <along@mainsoft.com>
4180 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
4182 2004-01-18 Alon Gazit <along@mainsoft.com>
4184 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
4185 Property default value.
4186 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
4187 Property default value.
4189 2004-01-15 Alon Gazit <along@mainsoft.com>
4191 * RadioButtonList.cs: RepeatLayout property should affect the rendered
4194 2004-01-15 Alon Gazit <along@mainsoft.com>
4195 * FontInfo.cs: Add validation check to Size property.
4197 2004-01-07 Alon Gazit <along@mainsoft.com>
4198 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
4199 merge the column's style to the cell's style and not to
4200 the item's(row) style.
4202 2004-01-04 Alon Gazit <along@mainsoft.com>
4203 * RangeValidator.cs: Fixed ControlPropertiesValid().
4205 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4207 * Xml.cs: mono-stylized and removed warnings.
4209 2004-1-1 Alon Gazit <along@mainsoft.com>
4210 * RadioButtonList.cs: update RenderItem() so that each RadioButton
4211 is enabled or disabled like the RadioButtonList.
4212 * CheckBoxList.cs: update RenderItem() so that each CheckBox
4213 is enabled or disabled like the CheckBoxList.
4215 2004-1-1 Alon Gazit <along@mainsoft.com>
4216 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
4217 The Header or Footer Style shouldn't merge with the cells Style.
4219 2004-1-1 Alon Gazit <along@mainsoft.com>
4220 * DataGridColumn.cs: Headers and Footers are initialized
4221 with the relevant Style object.
4223 2003-12-30 Alon Gazit <along@mainsoft.com>
4224 * RepeatInfo.cs: Fixed DoVerticalRendering () and
4225 DoHorizontalRendering().
4226 Current implementation produces few extra html tags.
4228 2003-12-29 Alon Gazit <along@mainsoft.com>
4230 * CheckBox.cs: change the implementation of LoadPostData.
4231 Currently, while the AutoPostBack property equals true ,
4232 it isn't possible to perform uncheck.
4234 2003-12-19 Jackson Harper <jackson@ximian.com>
4236 * TableCell.cs: Setting a cells text should clear its control
4237 collection as per la specification. This fixes bug #51825.
4239 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4241 * DataGridColumn.cs: stylized LoadViewState.
4242 * DataGridColumnCollection.cs: when TrackViewState is called, also
4243 call it on all the existing columns. Fixes bug #52334.
4245 2003-12-18 Alon Gazit <along@mainsoft.com>
4247 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
4250 2003-12-18 Alon Gazit <along@mainsoft.com>
4252 * TableStyle.cs: merge TableStyle properties when Style is empty.
4254 2003-12-16 Alon Gazit <along@mainsoft.com>
4256 * HyperLink.cs: Change Text property implementation. in MS when the Text
4257 property is set, all the controls in the HyperLink are being deleted.
4258 This fixes bug #52239.
4260 2003-12-15 Alon Gazit <along@mainsoft.com>
4261 * RepeatInfo.cs: Fixed DoVerticalRendering () and
4262 DoHorizontalRendering().
4263 Both methods add additional empty table row in the head of each item
4264 table when the variable named isTable equals true (happenes with the
4265 default instantiation of RepeatInfo). These additional rows should be
4266 added when isTable equals false.
4267 This fixes bug #52225.
4269 2003-12-15 Alon Gazit <along@mainsoft.com>
4271 * RepeatInfo.cs: Fixed DoVerticalRendering() and
4272 DoHorizontalRendering().
4273 Both methods add to rendered Header a colspan attribute according to the
4274 rows count. after the change the colspan is added according to the
4277 2003-12-15 Alon Gazit <along@mainsoft.com>
4278 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
4279 In .NET if the checkbox is disabled ,its text appears disabled too.
4280 In Mono the text appears enabled. the fix is in Render().
4281 This fixes bug #52180.
4283 2003-12-15 Alon Gazit <along@mainsoft.com>
4284 * Repeater.cs: Change the implementation of CreateControlHierarchy().
4285 The current implementation renders extra Header and footer
4286 without Repeater.DataSource assign.
4287 This fixes bug #52179.
4289 2003-12-15 Alon Gazit <along@mainsoft.com>
4290 * DataGrid.cs: Change the implementation of the property
4291 BackImageUrl. The current implementation has no influence
4292 on the rendered Html.
4294 2003-12-15 Alon Gazit <along@mainsoft.com>
4295 * WebControl.cs: Change the implementation of the property
4296 Enabled. Before the change the WebControl also looked at
4297 parent.Enabled . fixed bug #52171.
4299 2003-12-11 Jackson Harper <jackson@ximian.com>
4301 * RepeatInfo.cs: When rendering vertically figure out how many
4302 colmns are not going to be filled in in the last row, and adjust
4303 things accordingly. This fixes bug #51863.
4305 2003-12-10 Alon Gazit <along@mainsoft.com>
4306 * TableRow.cs: Change the implementation of the properties
4307 HorizontalAlign and VerticalAlign. The current implementation
4308 has no influence on the rendered Html.
4310 2003-12-10 Alon Gazit <along@mainsoft.com>
4311 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
4312 property's set method.
4314 2003-12-09 Jackson Harper <jackson@ximian.com>
4316 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
4317 Increment counter when moving to start. Fixes bug #51926.
4319 2003-12-08 Jackson Harper <jackson@ximian.com>
4321 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
4322 Benjamin Jemlich. Fixes bug #51823.
4324 2003-12-07 Alon Gazit <along@mainsoft.com>
4325 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
4326 property is set to false. Fixes bug #58120.
4328 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4330 * TableItemStyle.cs: merge TableItemStyle properties when Style is
4331 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
4333 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4335 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
4338 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4340 * WebControl.cs: don't create the attributes when GetAttribute is
4343 2003-12-01 Jackson Harper <jackson@ximian.com>
4345 * WebControl.cs: Only allow access keys to be null or a single
4346 char. Patch by Alon Gazit <along@mainsoft.com>.
4348 2003-11-30 Jackson Harper <jackson@ximian.com>
4350 * CheckBoxList.cs: A checkbox will have null post data if it is
4351 unselected. This fixes bug #51516.
4353 2003-11-29 Jackson Harper <jackson@ximian.com>
4355 * DataGrid.cs: Display paging controls even when there is no
4356 data. Path by Mohammad DAMT. Fixes bug #51487.
4358 2003-11-29 Jackson Harper <jackson@ximian.com>
4360 * DataGrid.cs: Call TrackViewState when loading bound columns view
4361 state. So that their state is saved. This fixes bug #51424. Also
4364 2003-11-26 Jackson Harper <jackson@ximian.com>
4366 * BaseDataList.cs: Change && to || We will call that a typo so no
4367 one gets embarrased.
4369 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4371 * BaseDataList.cs: allow setting null as Datasource.
4373 * DataGrid.cs: keep autogenerated columns in the ViewState.
4375 Patches by Alon Gazit <along@mainsoft.com>.
4377 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
4379 * SqlDataSource*: Implement almost everything. Data access is
4382 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
4384 * Calendar.cs (SaveViewState):
4385 - We were allocating a 11 item array, we only used 10 items,
4386 so only allocate 10.
4387 - We only need to save the selected dates if there are any.
4388 * DataGrid.cs (SaveViewState):
4389 * DataGridColumn.cs (SaveViewState):
4390 * DataGridColumnCollection.cs (SaveViewState):
4391 - Only return the array if there is anything in it
4392 * Style.cs (SaveViewState):
4393 - Only save the bits if there were changes.
4394 * WebControl.cs (SaveViewState), (LoadViewState):
4395 - Don't save Enabled into the viewstate here, we already
4396 do it in the property. This just caused *EVERY* control
4397 to have a non-null state, taking up lots of extra room
4399 - The style will always be created with this control's
4400 viewstate, so the style will always return null for the
4401 viewstate. As such, we do not need to store it. We can
4402 also reduce the triplet to a pair because of this.
4404 2003-11-22 Jackson Harper <jackson@ximian.com>
4406 * ValidationSummary.cs: Fix number of messages and message array computation.
4408 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4410 * Xml.cs: Corrected attribute
4411 * XmlBuilder.cs: Added
4413 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4415 * Xml.cs: class status based fixes.
4417 2003-11-19 Jackson Harper <jackson@ximian.com>
4419 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
4421 2003-11-19 Jackson Harper <jackson@ximian.com>
4423 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
4424 teh applications base directory. This fixes bug #51092.
4426 2003-11-18 Todd Berman <tberman@gentoo.org>
4428 * ControlParameter.cs:
4429 * CookieParameter.cs:
4431 * QueryStringParameter.cs:
4432 * SessionParameter.cs: added public .ctor ()
4433 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
4434 and handling, as well as internal ParameterValue for easy access.
4435 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
4436 * ParameterCollection.cs: implementation redux.
4438 2003-11-18 Todd Berman <tberman@gentoo.org>
4440 * ParameterCollection.cs: Implemented
4441 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
4442 ToString () now matches asp.net
4444 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
4446 * ControlParameter.cs:
4447 * CookieParameter.cs:
4450 * QueryStringParameter.cs: New v2 files. Mostly
4451 implemented, still need a few methods.
4453 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4455 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
4456 Gazit <along@mainsoft.com>.
4458 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4460 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
4461 Patch by Alon Gazit <along@mainsoft.com>.
4463 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
4465 * DataBoundControl.cs: Implement
4466 * ListControl.cs: inherit from the above.
4467 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
4469 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
4474 * Repeater.cs: add v2 databinding stuff
4475 * XmlDataSource.cs: make it load the xml.
4477 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
4480 * XmlDataSourceView.cs:
4481 * XmlHierarchicalDataSourceView.cs:
4482 * XmlHierarchicalEnumerable.cs:
4483 * XmlHierarchyData.cs: Implement
4485 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
4487 * SiteMapDataSourceView.cs: Implement.
4489 2003-11-07 Jackson Harper <jackson@ximian.com>
4491 * ImageButton.cs: This is a workaround for bug #49819. It appears
4492 that the .x and .y values are not being posted, and only the x
4493 value is being posted with the ctrl's id as the key.
4495 2003-11-07 Jackson Harper <jackson@ximian.com>
4497 * DataGrid.cs (CreateControlHierarchy): Current page index is
4498 alolowed to equal page count. This prevents an exception being
4499 thrown when both are zero.
4501 2003-11-06 Jackson Harper <jackson@ximian.com>
4503 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
4504 * BaseValidator.cs: Disable base control so the isValid flag is
4507 2003-11-03 Jackson Harper <jackson@ximian.com>
4509 * TemplateColumn.cs: Use the same renderer for selected items as
4510 normal items. This fixes bug #49744.
4512 2003-11-03 Jackson Harper <jackson@ximian.com>
4515 * WebControl.cs: Fix argument out of range exceptions on
4516 properties. Patch by Yaron Shkop.
4518 2003-11-03 Jackson Harper <jackson@ximian.com>
4520 * TemplateColumn.cs: If the item is selected but there is no
4521 editItemTemplate use the itemTemplate. This matches MS behvoir.
4523 2003-11-03 Jackson Harper <jackson@ximian.com>
4525 * Repeater.cs: Always set alternating items to the AlternatingItem
4526 type, when instantiating alternating items use the itemTemplate if
4527 the alternatingItem template is null. This matches MS behavoir and
4530 2003-11-03 Jackson Harper <jackson@ximian.com>
4532 * DataGridPagerStyle.cs: Name of view state attribute is
4533 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
4534 visibility is changed. Patch by Yaron Shkop.
4536 2003-11-03 Jackson Harper <jackson@ximian.com>
4538 * RepeatInfo.cs: When doing horizontal rendering use the repeat
4539 columns as the number of columns in a row. This fixes bug #49016.
4541 2003-11-03 Jackson Harper <jackson@ximian.com>
4543 * PagedDataSource.cs (PageCount): Return page count of 1 if there
4544 paging is disabled. Patch by Yaron Shkop.
4545 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
4546 * TableStyle.cs (AddAttributesToRender): Render border style
4547 collapse. Patch by Yaron Shkop.
4549 * TableItemStyle.cs:
4550 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
4551 the wrong type. Patch by Yaron Shkop.
4553 2003-11-03 Jackson Harper <jackson@ximian.com>
4555 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
4557 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
4560 * BulletedListDisplayMode.cs:
4561 * BulletedListEventHandler.cs:
4563 * BulletedListEventArgs.cs: V2 controls (yay!)
4565 2003-10-30 Jackson Harper <jackson@ximian.com>
4567 * Repeater.cs: Throw an exception if the datasource is set to
4568 something that does not implement either IListSource or
4569 IEnumerable. This fixes bug #50155.
4571 2003-10-30 Jackson Harper <jackson@ximian.com>
4573 * DataGridPagerStyle.cs: Do not allow page button counts to be set
4574 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
4576 2003-10-29 Jackson Harper <jackson@ximian.com>
4578 * ButtonColumn.cs: Format string and text to format were
4579 inversed. This fixes bug #50171.
4581 2003-10-29 Jackson Harper <jackson@ximian.com>
4583 * DataGridColumn.cs: If an item style is set apply it to the
4584 cell. This fixes bug #50173.
4586 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
4588 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
4589 old debugging value.
4591 2003-10-29 Jackson Harper <jackson@ximian.com>
4593 * PagedDataSource.cs:
4594 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
4595 end of the last page. Fixes bug #5085.
4597 2003-10-29 Jackson Harper <jackson@ximian.com>
4599 * CheckBox.cs: Do not change the status of a checkbox when there
4600 is no post data. This fixes bug #49091.
4601 * CheckBoxList.cs: Do not change the status of the checkboxes when
4602 there is no post data. This fixes bug #49093.
4604 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
4606 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
4607 RadioButton. Fixes #50132
4609 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
4611 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
4612 paging from working. Fixes #48814.
4614 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
4616 * DataGrid.cs: A few typos kept us from viewing datagrids
4617 that were based on customized collections.
4619 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
4621 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
4623 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
4625 * Calendar.cs: render the next month button so that aligns to the
4628 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4630 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
4631 was just changing && by || after the first Match.
4633 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4635 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
4636 Patch by Yaron Shkop.
4638 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4640 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
4641 that fixes bug #49744. Now the selection doesn't lose its data.
4643 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
4645 * EditCommandColumn.cs: Implement; fix #49736
4647 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
4649 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
4650 the forground color. bug #49738
4652 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4654 * Calendar.cs: fixed bug #49727.
4656 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
4658 * TableStyle.cs: fix #49740.
4660 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4662 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
4663 * ValidationSummary.cs: fixes bug #49669.
4665 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4667 * Calendar.cs: apply the calendar style to the new Table, not to itself.
4670 * CheckBox.cs: render the hidden fields if AutoPostBack.
4672 * Style.cs: don't render empty width/height. Small improvement in
4675 * Table.cs: fixed condition for border width.
4678 (CopyFrom): always call the base class to copy other attributes. Fixes
4679 bug #49408. Don't render empty 'rules' attribute.
4681 * WebControl.cs: track viewstate when enabled. Don't overwrite source
4682 control attributes in CopyBaseAttributes.
4684 * ChangeLog: fixed dates.
4687 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
4689 * WebControl.cs : Attributes { get; } - Is Complete.
4690 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
4693 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
4695 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
4696 : RegisterValidatorCommonScript()
4697 - More code, I need HELP!
4698 : RegisterValidatorDeclaration()
4699 - More code, I need HELP!
4701 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4703 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
4706 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4708 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
4709 ClearViewState only called when no items.
4711 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4713 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
4715 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4717 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
4719 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4721 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
4724 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4726 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
4729 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4731 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
4732 * WebControl.cs: fixed Enabled property and save it in ViewState.
4736 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4738 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
4740 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4742 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
4745 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4747 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
4748 <rich@velvetsea.net>.
4750 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4752 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
4753 Skripsky <juraj@hotfeet.ch>
4755 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4757 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
4758 fixes rendering of the end tag.
4760 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4762 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
4763 (Yaron Shkop). Closes bug #48060.
4765 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4767 * CheckBox.cs: in LoadPostData, only return
4768 true when the new data is different from the one we had. Fixed
4769 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
4772 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4774 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
4776 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4778 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
4779 of Enable in ViewState. Fixes bug #47865.
4781 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4783 * Style.cs: the MARKED bit is not send set in ViewState unless something
4784 is changed. Fixed TrackViewState condition.
4786 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
4787 because it uses the same ViewState as the control. Fixes bug #47725.
4789 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4791 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
4792 that fixes databinding when only DataTextField or DataNavigateUrlField
4795 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4797 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
4798 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
4799 values before assigning a data source and other issues.
4801 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4803 * CheckBox.cs: save viewstate when needed and correctly handle post
4804 data. Fixes bug #47462.
4806 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4808 * ButtonColumn.cs: Removed additional attributes
4809 * CheckBox.cs: Added attribute
4810 * DataGrid.cs: Added attributes
4811 * HyperLinkColumn.cs: Changed attributes, added lamespec
4812 * Style.cs: Removed attributes
4813 * TextBox.cs: Added/ removed attributes
4815 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4817 * AdRotator.cs: Added all attributes
4818 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
4819 * BaseValidator.cs: Added all attributes
4820 * BoundColumn.cs: Added all attributes
4821 * Button.cs: Added all attributes
4822 * ButtonColumn.cs: Added all attributes, added lamespec
4823 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
4824 * CheckBox.cs: Added all attributes
4825 * CheckBoxList.cs: Added all attributes
4826 * CompareValidator.cs: Added all attributes
4827 * CustomValidator.cs: Added all attributes
4828 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
4829 * DataGridColumn.cs: Added all attributes
4830 * DataGridColumnCollection.cs: Added all attributes
4831 * DataGridPagerStyle.cs: Added all attributes
4832 * DataGridTableInternal.cs: Made DataGridTableInternal internal
4833 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
4834 * DropDownList.cs: Added all attributes
4835 * FontInfo.cs: Added all attributes
4836 * HyperLink.cs: Added all attributes
4837 * HyperLinkColumn.cs: Added all attributes
4838 * Image.cs: Added all attributes
4839 * ImageButton.cs: Added all attributes
4840 * Label.cs: Added all attributes
4841 * LinkButton.cs: Added all attributes
4842 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
4843 * ListControl.cs: Added all attributes
4844 * ListItem.cs: Added all attributes
4845 * ListItemCollection.cs: Added attribute
4846 * Literal.cs: Added all attributes
4847 * Panel.cs: Added all attributes
4848 * RadioButton.cs: Added all attributes
4849 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
4850 * RangeValidator.cs: Added all attributes
4851 * RegularExpressionValidator.cs: Added all attributes
4852 * Repeater.cs: Added all attributes
4854 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4856 * RequiredFieldValidator.cs: Added all attributes
4857 * Style.cs: Added all attributes
4858 * Table.cs: Added all attributes
4859 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
4860 * TableCellCollection.cs: Added attribute
4861 * TableRow.cs: Added all attributes
4862 * TableRowCollection: Added attribute
4863 * TableStyle.cs: Added all attributes, improved error messages
4864 * TemplateColumn.cs: Added all attributes
4865 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
4866 * ValidationSummary.cs: Added all attributes
4867 * WebControl.cs: Added all attributes
4868 * Xml.cs: Added all attributes
4870 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4872 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
4873 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
4875 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4877 * CheckBoxList.cs: fixes bug reported on the list about the state of
4878 the CheckButtons not being preserved across posts.
4880 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4882 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
4884 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4886 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
4888 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4890 * ListControl.cs: save viewstate data when any of the 3 values is not
4891 null. Fixed condition to save selection indices. Closes bug #45493.
4893 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4895 * DataGrid.cs: fixed bug #43823.
4897 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4899 * DataGrid.cs: fixed delegate type for SortCommand.
4901 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4903 * DataGridColumnCollection.cs: added missing return in RemoveAt.
4905 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4907 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
4908 Don't save ViewState is the number of columns is 0.
4910 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4912 * DataGrid.cs: get the right item Type for the property we're reading
4913 fromt the data source.
4915 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4918 * TextBox.cs: added control builder attribute.
4920 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4922 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
4924 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
4926 * Unit.cs: Called the correct method to get the Numeric locale for the
4929 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4931 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
4932 correctly the header of the column.
4934 * DataGridTableInternal.cs: don't assign a default ID to this control.
4936 * LinkButton.cs: raise bubble event in OnCommand.
4938 * TableCellCollection.cs: fixed the index returned by Add.
4940 * TableRowCollection.cs: ditto.
4942 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4944 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
4946 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4948 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
4949 for reporting the bug and providing the fix.
4951 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4953 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
4954 CreateColumnSet. Set the owner of the column when auto generated.
4955 In PrepareControlHierarchyForItem, fixed for loop bound.
4957 * LinkButtonInternal.cs: fixed infinite recursion bug.
4961 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
4963 * Xml.cs: a few fixes.
4965 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4967 * DataList.cs: handle the exception when adding new keys to
4970 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4972 * BaseDataList.cs: what can I say for this one? I spent so many time
4973 until I finally found this that I'm gonna miss this f....g bug... ;-).
4974 Farewell. Now we can get events from image buttons inside Data*.
4976 * DataList.cs: now the value stored in ViewState for item count is
4979 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4981 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
4983 * DataGridColumn.cs: added SetOwner method.
4984 * DataGridColumnCollection.cs: set the owner of the column when added.
4986 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4988 * BoundColumn.cs: typo.
4989 * DataGrid.cs: use 'as' instead of casting. Typo.
4990 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
4993 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4995 * HyperLink.cs: fixes bug #36336.
4997 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4999 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
5001 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5003 * BaseValidator.cs: return an empty string in GetControlValidationValue
5004 when GetValue returned null.
5006 * CompareValidator.cs: fixed EvaluateIsValid.
5008 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
5010 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5012 * Xml.cs: use MapPathSecure to get the path of the document.
5014 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5016 * DataList.cs: fixed header & footer.
5018 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5020 * DataList.cs: for header and footer don't use data source.
5021 Instantiate in the DataListItem, not in the DataList.
5022 databind-template.aspx works now.
5024 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5027 (Render): call RenderContents (), not base.RenderContents ().
5029 * DataList.cs: style.
5031 But I still haven't found what i'm looking for....
5033 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5035 * Calendar.cs: fixed loading/saving selected dates.
5036 * SelectedDatesCollection.cs: added internal function to get the
5037 underlying ArrayList.
5039 Calendar navigation works again. Selecting dates too.
5041 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5043 * DataList.cs: added a few attributes and fixed infinite recursion.
5045 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5047 * ListItemCollection.cs: fixed LoadViewState.
5049 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5051 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
5052 Commented out some code until it works.
5054 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
5056 * BaseCompareValidator.cs - Fixed operator bug in
5057 Compare(string, string, ...)
5058 * CompareValidator.cs - EvaluateIsValid() : Implemented.
5060 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5062 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
5064 - All Properties : Now make use of ViewState.
5066 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5068 * BaseValidator.cs - Uncomment NotImplementedException.
5070 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5072 * BaseValidator.cs - Minor changes in TODO comments.
5074 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5076 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
5077 the NotImplementedException being thrown.
5078 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
5079 * DataGridLinkButton.cs - Added new class (private) : Implemented.
5080 * DataGrid.cs - InitializePager(DataGridItem, int,
5081 PagedDataSource) : Implemented.
5083 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5085 * DataList.cs - PrepareControlHierarchy() : Implemented.
5087 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5089 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
5090 - GetItem(ListItemType, int) : Removed TODO.
5091 - CreateControlHierarchy(bool) : Implemented.
5092 - CreateItem(int, ListItemType) : Implemented.
5093 - CreateItem(int, ListItemType,
5094 bool, object) : Implemented.
5095 - InitializeItem(DataItem) : Implemented.
5096 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
5097 The ViewState["_!ItemCount"],
5098 ViewState["_!DataSource_ItemCount"]
5099 are shared by DataList and DataGrid, and hence
5100 should share the same name.
5101 - ResolveDataSource(object, string)
5102 : Removed. Use System.Web.UI.Utils.DataSourceHelper
5103 ::GetResolvedDataSource(object, string).
5106 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5108 * DataGrid.cs: fixed compilation
5110 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
5112 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
5113 * DataGrid.cs - CreateControlHierarchy(bool)
5114 : working towards completion.
5115 - ResolveDataSource(object, string)
5116 : stubbed new method
5118 : stubbed new method
5119 Well. It's almost done.
5120 * DataGridTableInternal.cs
5121 - Added new internal class.
5123 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
5125 * DataSourceInternal.cs - Added new class (internal).
5127 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5130 * HorizontalAlign.cs:
5132 * VerticalAlign.cs: fixes based on class status page.
5134 * HorizontalAlignConverter.cs: implemented.
5135 * VerticalAlignConverter.cs: implemented.
5137 * FontUnitConverter.cs: implemented GetStandardValues ().
5139 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
5141 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
5143 * DataGrid.cs - AutoCreateColumns: Bug fixes.
5145 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
5147 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
5149 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
5151 * DataGrid.cs - Working on the undocumented protected
5152 method CreateColumnSet. AutoCreateColumns method
5153 stubbed. Left CreateControlHierarchy for the time
5154 being, looks like I'm going insane. ;-)
5156 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
5158 * Button.cs - Steffen's OnCommand bug fix.
5160 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
5162 * DataGrid.cs - Added protected method (skeleton)
5163 CreateColumnSet(PagedDataSource, bool)
5164 Still trying to know how will it be used
5167 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5169 * PagedDataSource.cs: fixed compilation.
5171 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
5173 * DataGrid.cs - Added private method
5174 CreatePagedDataSource
5176 CreateControlHierarchy(bool)
5177 * PagedDataSource.cs - Bug fixed.
5178 CurrentPageIndex is writable.
5180 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5182 * DataGrid.cs: fixed typo.
5183 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
5185 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
5187 * DataGridColumn.cs - Added internal methods to get the
5188 various styles (needed in DataGrid.cs)
5189 * DataGrid.cs - Completed the method
5190 PrepareControlHierarchy()
5192 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
5194 * DataGrid.cs - Wokring on PrepareControlHierarchy()
5195 - Added private method
5196 PrepareControlHierarchyForItem()
5198 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
5200 * DataGrid.cs - Completed method
5201 OnBubbleEvent(object, EventArgs)
5203 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5205 * Xml.cs: implemented document/transform load.
5207 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5209 * Calendar.cs: added myself to the list of authors.
5210 * DropDownList.cs: fixed a few properties.
5211 * ListControl.cs: fixed SelectedIndex.
5213 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5215 * Calendar.cs: lots of fixes. Render days. Still left to persist
5216 selected days when changing month.
5218 * Unit.cs: fixed Percentage and Pixel.
5220 * WebControl.cs: a few properties are now using ControlStyle instead
5221 of ViewState to persist.
5223 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5225 * BaseValidator.cs: it works now.
5226 * DataGridColumn.cs: added attribute and made it abstract.
5227 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
5229 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5231 * TextBox.cs: default for Wrap is true.
5232 (OnPreRender): don't save Text if there are no listeners on TextChanged.
5234 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5240 (LoadViewState): fixed.
5242 * ListItemCollection.cs:
5243 (TrackViewState): use items instead of 'this' in foreach.
5246 (LoadViewState): more checking of parameters.
5248 * WebControl.cs: implemented LoadViewState and SaveViewState.
5251 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5253 * ListItem.cs: there was no code to unset the flags!!!
5255 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5257 * FontUnit.cs: use a hashtable for mapping size name to value.
5258 * HyperLink.cs: fixed a bug and a typo.
5259 * Unit.cs: some fixes to internal constructor.
5261 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5263 * ListControl.cs: fixed a couple of range checks.
5264 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
5265 an HtmlForm (p.e., Label).
5267 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5277 * HyperLinkColumn.cs:
5286 * RadioButtonList.cs:
5290 * WebControl.cs: removed attributes added by mistake (i used
5291 GetCustomAttributes (true), d'oh!).
5293 * DataListItem.cs: implemented RenderItem.
5295 * Repeater.cs: implemented CreateItem and InitializeItem.
5297 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5299 * BaseDataList.cs: a couple of fiex and added attributes.
5300 * DataGrid.cs: little fixes.
5302 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5311 * RadioButtonList.cs:
5314 * Xml.cs: forgot to add using System.ComponentModel.
5316 * BaseValidator.cs: use explicitly
5317 System.ComponentModel.AttributeCollection as there is another class
5318 with the same name under System.Web.UI.
5320 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5339 * RadioButtonList.cs:
5344 * Xml.cs: added/fixed all attributes used by xsp.
5346 * BaseValidator.cs: some fixes.
5348 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5351 (AddAttributesToRender): correctly default to border=1.
5353 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5356 (LoadAdFile): make the dictionary null after every iteration.
5360 * ListItem.cs: fixed warnings.
5362 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
5364 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
5366 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5368 * DataGridColumn.cs:
5369 * DataGridPagerStyle.cs:
5376 * ListItemCollection.cs:
5378 * ServerValidateEventArgs.cs:
5382 * Xml.cs: more class status page based changes.
5384 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5387 (.ctor): fixed to render the correct tag.
5388 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
5390 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5393 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
5394 WebControl derived classes should be rendered inside a HtmlForm.
5396 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5398 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
5401 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5403 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
5404 * RepeatInfo.cs: implemented DoHorizontalRendering.
5406 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5408 * System.Web.UI.WebControls/Repeater.cs:
5410 (OnDataBinding): fixed stack overflow.
5412 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5414 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
5415 * RepeatInfo.cs: implemented DoHorizontalRendering.
5417 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5420 (CopyBaseAttributes): copy Attributes and don't throw exception.
5422 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5424 * ListBox.cs: mono-stylized.
5425 (AddAttributesToRender): call parent class method.
5427 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5429 * Style.cs: fixed IsEmpty and Width.
5431 * Table.cs: mono-stylized.
5432 (TableRowControlCollection.AddAt): fixed.
5433 (AddAttributesToRender): fixed.
5435 * TableCell.cs: mono-stylized.
5436 (.ctor): use PreventAutoID.
5437 (AddAttributesToRender): fixed.
5438 (AddParsedSubObject): fixed.
5440 * TableRow.cs: mono-stylized. Added
5441 ParseChildren attribute.
5444 (get_GridLine): fixed.
5446 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5448 * Panel.cs: fixed stack overflow.
5449 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
5450 and SingleConverter.
5452 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5454 * RadioButton.cs: mono-stylized and some little fixes.
5456 * TextBox.cs: mono-stylized.
5457 (MaxLength): fixed typo.
5459 (AddAttributesToRender): don't render the text between the tags for
5460 SingleLine, use value attribute for it. Don't render the text for
5463 (OnPreRender): don't throw exception and call base.OnPreRender.
5465 (Render): for MultiLine, render the text between the opening and
5466 closing tags encoded as HTML.
5468 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5471 (AddAttributesToRender): fixer another stack overflow.
5474 (TagName): modified to use TagKey instead of tagKey as the property
5477 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5479 * LinkButton.cs: mono-stylized.
5480 (AddParsedSubObject):
5481 (RenderControls): little fixes.
5484 (AddAttributesToRender): fixed usage of IEnumerator.
5486 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5488 * Literal.cs: beautified.
5490 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5492 * Label.cs: beautified and fixed a couple of 'classic' bugs.
5494 * WebControl.cs: use Span as default tag when no other provided in
5495 constructor. That is what MS renders.
5497 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5500 (AddAttributesToRender): fixed (classic) stack overflow.
5502 * CheckBox.cs: mono-stylized.
5503 (AutoPostBack): fixed stack overflow.
5504 (Render): fixed alignment issues. Also set the For attribute always
5507 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5509 * AdRotator.cs: GetData does not work as it should, but now it returns
5510 useful data (only the first ad in the file). Set the NavigateUrl
5511 property in the hyperlink if available.
5513 * HyperLink.cs: fixed constructor and a couple of stack overflows.
5515 * Image.cs: added an attribute and fixed stack overflow.
5518 (RenderBeginTag): fixed.
5519 (TagName): don't call Enum.IsDefined twice.
5521 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5523 * WebControl.cs: added attributes PersistChildrenAttribute and
5524 ParseChildrenAttribute.
5526 2002-05-24 Duncan Mak <duncan@ximian.com>
5528 * DataGridItem.cs (SetItemType): Changed function signature to
5531 * ListItemCollection.cs (this): Changes the visibility level of
5534 * Repeater.cs (OnItemCommand):
5536 (OnItemDataBound): Added necessary casts.
5538 2002-05-07 Duncan Mak <duncan@ximian.com>
5540 * Button.cs (AddAttributesToRender):
5541 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
5542 GetClientValidatedEvent method.
5544 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
5546 * Removed extra methods, corrected access modifiers to several
5549 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
5551 * <SeveralFiles>.cs - Added some attributes
5552 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
5553 methods. Will complete them later. Right now, busy with
5554 the attributes part.
5555 * RepeaterItem.cs - Completed.
5557 Oh God! Mercy! I will die applying attributes. I look at the missing
5558 part in the class-status - daemon! Kyrie eleison!
5560 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
5564 * AdRotator.cs - Added definition for Font.
5565 * BaseCompareValidator.cs - Added definition for Controls.
5566 * Calendar.cs - SelectMonthText definition corrected.
5567 * DataList.cs - Added definition for SeparatorTemplate.
5568 * BorderStyle.cs - Namespace correction. It belongs not to UI,
5569 but to UI.WebControls.
5571 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
5573 Finally, I have made it. Today I did a second build for the
5574 System.Web assembly. It compiled 195 classes today.
5575 I am waiting eagerly for the runtime to come up so that the objects
5576 may be tested to their last levels. Several of the methods are still
5577 under the tag of "TODO" throwing NotImplementedException. Well, I
5578 hope to remove them soon, but how far is this soon - even I don't
5579 know, though I am happy to make the build a success even before
5580 the vacations to come.
5582 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
5584 Yesterday and today I tried to do some building of the aseembly,
5585 but was dumped with uncoutably infinite errors. ;-)
5586 I have put the copies of the recent errors on my home page, want
5587 to have a look at them? See:
5588 http://mastergaurav.virtualave.net/mono/
5589 I don't know what to do with these errors. Oh! The buggy me! How
5590 will I overcome myself. Hopefully, by when my vacations over, I
5591 should have made a repository where the build will not fail.
5593 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
5595 I am now going to do a build that will include the
5596 System.Web.UI.WebControls namespace. Hoping that I will make it
5597 soon. My exams are coming near and I have to pack up soon.
5600 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
5603 And with this, ie, today's work, all the objects mentioned in the
5604 namespace appear in the implementation. But it may not be worth
5605 trying to go for a build because of dependence of several of the
5606 internal methods that may clash with already available assembly
5609 Also, the classes lack possible attributes, like those informing
5610 about child-controls etc. But I have to first create the attribute
5611 classes before I attach the attributes to the classes.
5613 * CustomValidator.cs - Completed. In process realized that
5614 I have to complete / rejuvinate BaseValidator class.
5615 * BaseValidator.cs - Complete rejuvination. Completed 80%
5616 of the job. All that is left is Render(HtmlTextWriter),
5617 DetermineRenderUplevel(), RegisterValidatorCommonScript()
5618 RegisterValidatorDeclaration()
5619 * DataGridPagerStyle.cs - Completed. That adds one more missle
5621 * DataKeyCollection.cs - Completed. Petty small.
5622 * Repeater.cs - Work started off. This is a quite
5624 * DataGridItemEventArgs.cs,
5625 * DataGridShortCommandEventArgs.cs,
5626 * DataListItemEventArgs.cs,
5627 * MonthChangedEventArgs.cs,
5628 * RepeaterItemEventArgs.cs,
5629 * ServerValidateEventArgs.cs,
5630 * DataGridPageChangedEventArgs.cs
5631 - Damn, I marked them "*", while they
5633 * Repeater.cs - Done all except for an undocumented
5634 method CreateControlHierarchy(bool). Though the method
5635 is quite clear by its name, but it will take some time
5636 for me to come with some material to flush in.
5638 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
5640 * SelectedDatesCollection.cs - Completed.
5641 * PagedDataSource.cs - Completed. Pathetically nice class.
5642 * RegularExpressionValidator.cs
5643 - Completed. Ridiculously small and
5644 annoyinglyc crazy-driving class, basically the method
5646 * RangeValidator.cs - Completed.
5647 * DataGridColumn.cs - Completed.
5648 * EditCommandColumn.cs - All is complete except for the
5649 InitializeCell(TableCell, int, ListItemType) method.
5650 * DataListItem.cs - All done except for a longish method
5651 RenderItem(HtmlTextWriter, bool, bool)
5653 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
5655 * RepeaterItemCollection.cs - Completed.
5656 I love *Collection classes. I am planning to make a
5657 program that will generate a *Collection class. It's so
5658 simple and the same. ;-)
5659 * DataGridColumnCollection.cs - Completed.
5660 ... except probably for *ColumnCollection classes, where
5661 you have to put in some more effort. Still, these class
5662 generation can be automated.
5663 * DataListItemCollection.cs - Completed.
5664 See, how easily, in less than a quarter of a minute, I
5665 completed this class - manually. Copy-Paste/Cut-Replace.
5667 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
5669 * DataGrid.cs - Following methods implemented:
5670 TrackViewState(), LoadViewState(object), SaveViewState(),
5671 On* -- The event raisers.
5672 OnBubbleEvent(object, EventArgs) is still incomplete.
5673 * DataGridItem.cs - Initial Implementation
5674 * DataGridItemCollection.cs - Completed.
5676 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
5678 * DataGrid.cs - Initial Implementation. Worked
5679 primarily with some properties.
5681 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
5683 * ListBox.cs - Completed. Implemented
5684 LoadPostData(string, NameValueCollection)
5685 * RequiredFieldValidator.cs - Completed. Pretty simple class.
5687 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
5689 * ListBox.cs - Implemented the following:
5690 RaisePostDataChangedEvent()
5692 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
5694 * ListBox.cs - Supports the following properties:
5695 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
5698 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
5699 RenderContents(HtmlTextWriter)
5702 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
5704 * TargetConverter.cs - Completed
5705 * TemplateColumn.cs - Completed
5706 * DataList.cs - Corrected the get-er methods for the
5707 *Style objects. Corrected the get/set-er methods for ViewState
5709 Addded support for properties:
5710 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
5711 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
5712 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
5713 SeparatorStyle, SeparatorItemTemplate.
5715 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
5716 ItemCreated, ItemDataBound, UpdateCommand.
5718 CreateControlStyle(), LoadViewState(object),
5719 SaveViewState(), TrackViewState
5721 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
5722 OnEditCommand, OnItemCommand, OnItemCreated,
5723 OnItemDataBound, OnUpdateCommand
5724 Added dummy methods for some undocumented methods:
5725 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
5726 CreateItem(int, ListItemType, bool, object),
5727 PrepareControlHierarchy(), InitializeItem(DataListItem)
5728 * ListBox.cs - Started working.
5732 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
5734 * RepeaterInfo.cs - Initial Implementation. Done all
5735 except for RepeatDirection.Vertical
5736 * TableStyle.cs - Completed
5738 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
5740 * DropDownList.cs - Completed
5741 * ListItemCollection.cs - Added method FindByValueInternal to
5742 assist in the derived classes.
5743 Discovered bug in FindByValue. Removed
5744 * UnitConverter.cs - Completed
5745 * PlaceHolder.cs - What can be simpler than this?
5746 * PlaceHolderControlBuilder.cs
5747 - Uh! Damn cool one.
5748 * RadioButtonList.cs - Initial Implementation. All is done
5749 except for the implementation of
5750 method IRepeatInfoUser.RenderItem(...)
5751 * ValidatedControlConverter.cs
5752 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
5753 * ValidationSummary.cs - Initial Implementation.
5754 * WebColorConverter.cs - Initial Implementation
5756 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
5758 * FontNamesConverter.cs - Completed
5759 * FontUnitConverter.cs - Partial Implementation
5760 * ListItemControlBuilder.cs - Completed
5762 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
5764 * TextBox.cs - All done except *Render* methods
5765 * TextBoxControlBuilder.cs - Completed
5766 * Xml.cs - Partial Implementation
5768 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
5770 * RadioButton.cs - Completed
5771 * TextBox.cs - Partial Implementation
5773 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
5775 * Panel.cs - Completed
5776 * TableItemStyle.cs - Completed
5778 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
5780 * TableCellCollection.cs - Completed
5781 * TableRowCollection.cs - Completed
5782 * TableHeaderCell.cs - Completed
5783 * TableRow.cs - Completed
5785 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
5787 * TableCellControlBuilder.cs - Completed
5788 * Table.cs - Completed
5789 * TableCell.cs - Completed
5791 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
5793 * CheckBoxList.cs - Completed
5794 * ButtonColumn.cs - Completed
5795 * Button.cs - Completed
5797 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
5799 * HyperLink.cs - Completed
5800 * Image.cs - Completed
5801 * ImageButton.cs - Completed
5802 * Label.cs - Completed
5803 * LabelControlBuilder.cs - Completed
5804 * LinkButton.cs - Completed
5805 * LinkButtonControlBuilder.cs - Completed
5806 * Literal.cs - Completed
5807 * LieteralControlBuilder.cs - Completed
5808 * FontUnit.cs - Completed
5811 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
5813 * Calendar.cs - Completed the functions of Render*,
5814 ViewStates (Track/View/Save),
5816 Left: RenderAllDays (partially)
5818 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
5820 * Calendar.cs - Added some more functions
5821 * Style.cs - Completed
5822 * ListItem.cs - Completed
5823 * ListItemCollection.cs - Completed
5825 Made the first successful build of System.Web.dll that included
5826 System.Web.UI.WebControls!
5828 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
5830 FontInfo.cs - Complete revamp. Completed
5832 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
5834 ListItemCollection.cs - Completed
5835 ListItem.cs - Initial Implementation
5836 Style.cs - Initial Implementation
5838 Right now I am in a total mood to do a successful build. Creating so many
5839 classes, completing classes in System.Web System.Web.UI namespaces.
5841 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
5843 TODO - Properly added
5844 CheckBox.cs - Completed
5845 BaseDataList.cs - Completed
5846 DayRenderEventArgs.cs - Completed
5847 RepeaterItem.cs - Initial implementation
5849 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
5851 BaseCompareValidator.cs - Completed
5852 AdRotator.cs - Completed
5854 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
5856 CommandEventArgs.cs - Completed
5857 DataGridCommandEventArgs.cs - Completed
5858 RepeaterCommandEventArgs.cs - Completed
5859 DataListCommandEventArgs.cs - Completed
5860 CompareValidator.cs - Partial Implementation
5862 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
5864 CheckBoxList.cs - Partial Implementation.
5867 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
5869 ListControl.cs - Completed
5871 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
5873 CheckBox.cs - Completed
5874 ListControl.cs - Initial Implementation
5875 CheckBoxList.cs - Started with it, but first needed
5876 ListControl. Left it.
5878 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
5880 CalendarDay.cs - Making a note that this
5881 has been implemented
5882 Calendar.cs - Making a note that have made some changes.
5883 Unimplmented functions throw
5884 NotImplementedException
5885 CheckBox.cs - Can now "Render" and "LoadPostData"
5888 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
5889 WebControl.cs - Total Revamp, Partial Implementation
5890 AdRotator.cs - Able to load files
5891 AdCreatedEventArgs.cs - Implemented
5893 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
5894 Calendar.cs - Initial Implementation
5895 ButtonColumn.cs - Initial Implementation
5896 Button.cs - Initial Implementation
5897 BoundColumn.cs - Initial Implementation
5898 BaseCompareValidator.cs - Minor Changes
5899 DataList.cs, BaseValidator.cs, BaseDataList.cs
5900 - Added more functions, other changes
5902 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
5903 WebControl.cs - Initial Implementation
5904 DataList.cs - Initial Implementation
5905 BaseValidator.cs - Initial Implementation
5906 BaseDataList.cs - Initial Implementation
5908 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
5910 AdCreatedEventArgs.cs - Initial Implementation
5911 AdCratedEventHandler.cs - Implemented
5912 AdRotator.cs - Initial Implementation
5913 BorderStyle.cs - Implemented
5914 ButtonColumnStyle.cs - Implemented
5915 CalendarSelectionMode.cs - Implemented
5916 DayNameFormat.cs - Implemented
5917 FirstDayOfWeek - Implemented
5918 FontInfo.cs - Partial Implementation
5919 FontSize.cs - Implemented
5920 GridLines.cs - Implemented
5921 HorizontalAlign.cs - Implemented
5922 HyperLink.cs - Initial Implementation
5923 ImageAlign.cs - Implemented
5924 IRepeatInfoUser.cs - Implemented
5925 ListItemType.cs - Implemented
5926 ListSelectionMode.cs - Implemented
5927 NextPrevFormat.cs - Implemented
5928 PagerMode.cs - Implemented
5929 PagerPosition.cs - Implemented
5930 RepeatDirection.cs - Implemented
5931 RepeatLayout.cs - Implemented
5932 TextAlign.cs - Implemented
5933 TextBoxMode.cs - Implemented
5934 TitleFormat.cs - Implemented
5935 UnitType.cs - Implemented
5936 ValidationCompareOperator.cs
5938 ValidationDataType.cs - Implemented
5939 ValidationSummaryDisplayMode.cs
5941 ValidatorDisplay.cs - Implemented
5942 VerticalAlign.cs - Implemented
5946 i/ File Created 2001-11-13