1 2005-08-31 Chris Toshok <toshok@ximian.com>
3 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
4 create our Navigator by calling node.CreateNavigator().
6 2005-08-31 Chris Toshok <toshok@ximian.com>
8 * XmlDataSource.cs (GetXmlDataDocument): rename this to
9 GetXmlDocument, and change the return value from XmlDataDocument
11 (LoadXmlDataDocument): similar change.
12 (Save): xmlDataDocument -> xmlDocument.
13 (CanBeSaved): there's no ReadOnly attribute.
14 (LoadViewState, SaveViewState, TrackViewState): nuke.
15 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
16 (CacheDuration): stub out with NIE.
17 (CacheExpirationPolocy): same.
18 (CacheKeyDependency): same.
19 (EnableCaching): same.
21 (Data, DataFile): xmlDataDocument -> xmlDocument.
22 (Schema, SchemaFile): nuke.
23 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
25 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
27 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
28 Don't use the obsolete IsSet method.
29 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
30 * CheckBox.cs: Implement some 2.0 methods.
31 * GridView.cs: Removed some "throw new NotImplementedException"
33 2005-08-29 Chris Toshok <toshok@ximian.com>
35 * TreeView.cs: Use the StateBag accessors Ben added, and implement
36 SkipLinkText and Visible.
38 2005-08-29 Chris Toshok <toshok@ximian.com>
40 * TreeView.cs: fix typo in an attribute.
42 2005-08-29 Jackson Harper <jackson@ximian.com>
44 * PagedDataSource.cs: If it's not a list or collection we don't
45 use a bounded enumerator.
47 2005-08-29 Chris Toshok <toshok@ximian.com>
49 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
53 * BaseValidator.cs: same.
55 * DropDownList.cs: same.
57 * ValidationSummary.cs: same.
59 2005-08-28 Chris Toshok <toshok@ximian.com>
61 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
63 2005-08-26 Chris Toshok <toshok@ximian.com>
65 * TextBox.cs: implement ValidationGroup and CausesValidation
68 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
70 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
73 2005-08-26 Chris Toshok <toshok@ximian.com>
75 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
77 * FontUnit.cs: add two 2.0 ctors, and the 2.0
78 ToString(IFormatProvider) method.
80 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
82 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
83 no items are present in the list.
84 * RoleGroup.cs: Added missing attributes.
85 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
87 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
88 must be done in the HtmlTextWriter (not in the TableStyle).
90 2005-08-26 Chris Toshok <toshok@ximian.com>
92 * Calendar.cs (UseAccessibleHeader): implement.
93 (RaisePostBackEvent): some #ifdef ugliness to get this all working
94 propertly between 1.x and 2.0
95 (WriteDayHeader): if UseAccessibleHeader == true, render header
96 cells as th's, not td's, and add abbr and scope attributes.
98 2005-08-25 Chris Toshok <toshok@ximian.com>
100 * Calendar.cs (Caption, CaptionAlign): implement these properties.
101 (Render): if we have a non-empty caption, show it.
102 (WriteCaption): new method, output the caption.
104 2005-08-25 Chris Toshok <toshok@ximian.com>
106 * Calendar.cs (Render): Copy the entire style from the Calendar to
107 the Table, not just the font.
108 (WriteDay): don't just write the link/text/etc. Create a
109 LiteralControl as a child of the cell, before the call to
110 OnDayRender, with its text set to the day number. After
111 OnDayRender, set the literal's text to either the number again (if
112 it's not selectable) or the full text of the js __doPostBack
113 hyperlink (if it is.) Also, use cell.RenderControl here so we can
114 render child controls with the id's listed properly (and arguably
116 (ApplyTitleStyleCell): remove.
117 (WriteTitle): apply the titleStyle to the enclosing table, not the
118 table cell containing the month name. Also, copy from the
119 Calendar's ControlStyle to populate tableTitle's style initially.
120 We end up with more (superfluous) style attributes than MS, but
121 it's better than having less.
123 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
125 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
128 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
130 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
131 and RegisteredCssClass property
133 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
135 * LoginView.cs: Fixed attributes.
136 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
137 an exception to allow pages to work on 2.x.
139 2005-08-25 Chris Toshok <toshok@ximian.com>
141 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
143 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
146 * HiddenField.cs: stub out this class and label everything
149 2005-08-25 Jackson Harper <jackson@ximian.com>
151 * DataGrid.cs: Disable the pager row if there no paging enabled
154 2005-08-25 Chris Toshok <toshok@ximian.com>
156 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
159 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
160 add a using statement.
162 2005-08-25 Chris Toshok <toshok@ximian.com>
164 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
167 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
170 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
172 * Login.cs: Added rendering and fixed parts of the authentication.
173 Now using IStateManager to allow compilation in another assembly (e.g.
174 to test the control under IIS). Needs more tests (error conditions)
175 once we get a "real" Membership provider running.
176 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
179 2005-08-25 Chris Toshok <toshok@ximian.com>
181 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
183 2005-08-25 Chris Toshok <toshok@ximian.com>
185 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
186 calling base.Foo to get the standalone adrotator (1.0) tests to
187 run without throwing exceptions.
189 2005-08-25 Chris Toshok <toshok@ximian.com>
191 * ValidationSummary.cs (ValidationGroup): implement.
192 (Render): use Page.GetValidators in .net 2.0, so we can support
193 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
196 2005-08-25 Chris Toshok <toshok@ximian.com>
198 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
199 2.0 attribute modifiers, and revert back to "override".
201 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
202 2.0 attribute modifiers, and revert back to "override".
206 * TextBox.cs (SaveViewState): implement naively, calling
208 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
209 modifiers, and revert back to "override".
211 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
213 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
214 Load ViewState for derived classes; no public LoadViewState override
215 exists in those classes
216 * Style.cs: Added 2.0 IsStyleEmpty method
218 2005-08-25 Jackson Harper <jackson@ximian.com>
220 * DataGrid.cs: The number of pages set in the pager is specified
223 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
225 * LoginView.cs: New (2.0). Work in progress.
227 2005-08-24 Chris Toshok <toshok@ximian.com>
229 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
230 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
231 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
232 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
233 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
234 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
235 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
236 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
237 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
238 Add MonoTODO's for all things that throw NotImplementException.
240 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
242 * RoleGroup.cs: New (2.0). Complete implementation.
243 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
245 2005-08-23 Chris Toshok <toshok@ximian.com>
247 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
248 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
249 even though they were written for the 1.0 stuff.
251 2005-08-23 Chris Toshok <toshok@ximian.com>
253 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
254 output. Our tests now pass on both mono and ms, with both 1.x and
257 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
259 * Login.cs: Throw exception if the specified provider doesn't exists.
260 * LoginStatus.cs: Complete events.
262 2005-08-22 Jackson Harper <jackson@ximian.com>
264 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
266 (InitializeNumericPager): Now that the pager actually renders
267 properly I can see that I was computing it incorrectly.
269 2005-08-22 Jackson Harper <jackson@ximian.com>
271 * DataGrid.cs (RenderTable): Make sure the new table gets the
273 (CreateColumnSet): Clear the data source columnbs before adding
274 new ones regardless of whether or not a property descriptor was
276 (InitializePager): pager_cell needs to be a member so it isn't
277 created more then once per a render.
278 (InitializeNumericPager): Compute start and end more
280 - Link commands are 1 indexed.
281 (CreateControlHierarchy): Clear the table before we begin
283 - Revert patch that made adding the pagers conditional. This is
284 incorrect, the pagers are always added. Only their visibility is
285 affected by the pager style.
286 - Save the entire count in the viewstate, not just the rendered
287 count. So when paging is enabled the pager's count isn't broken by
290 2005-08-22 Chris Toshok <toshok@ximian.com>
292 * LinkButton.cs (ValidationGroup): implement.
293 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
294 pass ValidationGroup to Page.Validate.
296 2005-08-22 Chris Toshok <toshok@ximian.com>
298 * ImageButton.cs (ValidationGroup): implement.
299 (IPostBackEventHandler.RaisePostBackEvent): if we cause
300 validation, call Page.Validate properly (in both profiles).
302 2005-08-22 Chris Toshok <toshok@ximian.com>
304 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
305 case, pass ValidationGroup to Page.Validate.
306 (ValidationGroup): implement using ViewState.
308 2005-08-22 Chris Toshok <toshok@ximian.com>
310 * BaseValidator.cs (Text): 2.0 only. implement naively, just
312 (OnInit): add 2.0 support for validation groups.
315 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
317 * LoginName.cs: New (2.0) web control.
318 * LoginStatus.cs: New (2.0) web control.
320 2005-08-19 Chris Toshok <toshok@ximian.com>
322 * LinkButton.cs (ValidationGroup): implement getter/setter.
323 (RaisePostBackEvent): implement naively, by c&p'ing the old
324 implementation of IPostBackEventHandler.RaisePostBackEvent, but
325 making use of the ValidationGroup in the call to Page.Validate.
329 * Style.cs (LoadViewState): set our style flags for all the things
330 we have flags for. Seems like the subclass flags should be
331 handled in overridden LoadViewState methods, but none of the Style
332 subclasses seem to override this method.
334 2005-08-19 Chris Toshok <toshok@ximian.com>
336 * TableStyle.cs (Merge, MergeWith): make these look a bit more
337 like Copy/CopyFrom, with the styles checks instead of just
340 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
343 2005-08-19 Chris Toshok <toshok@ximian.com>
345 * DataGrid.cs (InitializePager): don't unconditionally set
346 pager_cell to the numeric pager (especially after setting it
347 conditionally to the nextprev pager.)
348 (InitializeNumericPager): the link buttons don't participate in
350 (InitializeNextPrevPager): same.
351 (CreateControlHierarchy): create the top/bottom pagers only if the
354 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
356 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
358 2005-08-18 Chris Toshok <toshok@ximian.com>
360 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
361 the start of this method so templates are created properly.
363 2005-08-18 Dick Porter <dick@ximian.com>
365 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
366 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
367 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
368 BaseDataList.cs, DataList.cs, BulletedList.cs,
369 DataBoundControl.cs, Login.cs, GridView.cs,
370 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
371 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
372 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
373 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
374 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
375 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
376 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
377 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
380 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
382 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
384 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
385 empty array of objects just to get the number of items.
386 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
387 but we're missing some bits from the class lib to complete all this...
389 2005-08-17 Jackson Harper <jackson@ximian.com>
391 * DataGrid.cs: Only create one pager and add it to both the top
392 and bottom of the grid, this way all the id numbers stay the same
393 and we save a bunch of cycles.
395 2005-08-17 Jackson Harper <jackson@ximian.com>
397 * DataGrid.cs: The top and bottom pagers are always created. Just
398 the visibility is changed by the PagerStyle::Position.
400 2005-08-17 Chris Toshok <toshok@ximian.com>
402 * CompositeControl.cs (RecreateChildControls): implement naively -
403 just call CreateChildControls. We might need to call
404 Controls.Clear() as well, but for the time being, this is ok.
406 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
408 * BaseDataList.cs: Completed implementation for 2.0.
410 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
412 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
413 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
415 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
417 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
419 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
420 Adjusted size and ordering of the ViewState (new element #0 is still
421 unknown). Properly fixed the TagKey in 2.0.
422 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
423 all properties using enums.
424 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
425 * TableItemStyle.cs: Fixed attribute rendering to use style to render
426 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
428 2005-08-15 Jackson Harper <jackson@ximian.com>
430 * EditCommandColumn.cs: Use a normal LinkButton.
432 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
434 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
435 viewstate (even if assigned to the default value).
436 * TableRow.cs: Implement TableSection property (2.0). It has no effect
437 on the rendering of the table row.
439 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
441 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
442 and removed [Bindable] attributes for 2.0.
443 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
444 attributes (for 2.0).
445 * DataListCommandEventArgs.cs: Not sealed in 2.0.
446 * DataListItemEventArgs.cs: Not sealed in 2.0.
447 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
449 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
451 * Table.cs: Fixed [Editor] attribute for 2.0.
452 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
453 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
454 AssociatedHeaderCellID and it's [DefaultValue] attribute.
455 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
456 and Scope attributes.
457 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
458 on TableSection attribute.
459 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
461 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
463 * Image.cs: Fixed attributes for 2.0 profile.
464 * Login.cs: Fixed some attributes and default values.
465 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
466 RaisePostBackEvent (TODO) in 2.0 profile.
467 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
468 and added AssociateHeaderCellID property (TODO).
469 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
470 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
471 page (if the device requires to breaks the table into multiple pages).
472 This seems to be a "flag" class, the real work will be in Table.
473 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
474 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
475 page (if the device requires to breaks the table into multiple pages).
476 This seems to be a "flag" class, the real work will be in Table.
477 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
478 * TableRow.cs: Remove [Bindable (true)] from properties and add
479 [Bindable (false)] and [Designer] on class. Added new TableSection
481 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
482 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
483 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
484 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
485 FillStyleAttributes method (2.0).
487 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
489 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
490 attributes from existing controls.
491 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
492 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
494 2005-08-12 Jackson Harper <jackson@ximian.com>
496 * TableRow.cs: No AutoID for TableRows.
498 2005-08-12 Jackson Harper <jackson@ximian.com>
500 * DataGrid.cs (CreateRenderColumns): If we aren't using data
501 binding grab the rendercols from the data source columns.
502 (LoadViewState): Restore the bound columns when reloading the
504 (InitializeNumericPager): Create elipsised pagers.
505 (CreateItem): Don't set the item's ID.
506 (CreateItem): Add the control to the table before it is databound
507 so that it's value is saved in the viewstate.
508 (CreateControlHierarchy): Create a fake data source when not using
509 databinding. Don't add controls to the table as they are added in
511 (PrepareControlHierarchy): Make footers and header non visible if
514 2005-08-12 Chris Toshok <toshok@ximian.com>
516 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
517 docs says these methods/properties "ensure the child controls are
518 created" -- so call EnsureChildControls() before invoking the base
521 2005-08-12 Jackson Harper <jackson@ximian.com>
523 * BoundColumn.cs: Set the controls text instead of adding a
524 literal control. So it is saved in the controls viewstate.
526 2005-08-11 Jackson Harper <jackson@ximian.com>
528 * CheckBoxList.cs: Set the tabindex on the checkbox control and
529 don't render it on the main table (Setting it to zero causes it to
530 not be rendered). Also use the invariant culture on the id.
532 2005-08-11 Dick Porter <dick@ximian.com>
534 * CheckBox.cs: Let ViewState manage removals; apply styles and
535 "style" attributes in a surrounding <span>. Fixes unit tests.
537 2005-08-10 Chris Toshok <toshok@ximian.com>
539 * Label.cs (LoadViewState): set the Text attribute from our
540 ViewState (if it exists) to clear out any child controls. Fixes
541 jsunit test label/label-child-control-postback.aspx.
543 2005-08-10 Jackson Harper <jackson@ximian.com>
545 * PagedDataSource.cs: Respect paging with all data source types.
547 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
549 * BaseDataList.cs: Changed Controls property from "virtual new"
550 (2.0 doc) to "override" (monop) to fix the Visible bug (see
551 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
552 any controls (required due to change to Controls). Implemented
553 DataBind(bool) for 2.0.
554 * DataListItem.cs: Fix the multiple table when extractRows is used.
555 Removed extra span tags by rendering contents (not control). Added
556 support for IDataItemContainer (2.0).
558 2005-08-08 Jackson Harper <jackson@ximian.com>
560 * DataGrid.cs: Apply the styles to each item type.
562 2005-08-08 Jackson Harper <jackson@ximian.com>
564 * PagedDataSource.cs: If paging is not enabled keep enumerating to
567 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
569 * BaseDataList.cs: Remove old compatibility stuff.
570 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
571 * WebControl.cs: Always call CreateControlStyle to create the
572 ControlStyle. Fix the exception for datalist-style-edit.aspx.
574 2005-08-05 Jackson Harper <jackson@ximian.com>
576 * DataGrid.cs: Don't make the current page index a link in the
579 2005-08-05 Jackson Harper <jackson@ximian.com>
581 * DataGrid.cs: Honour PagerPosition.
583 2005-08-05 Jackson Harper <jackson@ximian.com>
585 * PagedDataSource.cs: Round PageCount properly.
587 2005-08-05 Dick Porter <dick@ximian.com>
589 * CheckBox.cs: Shut corcompare up a bit more. Still need to
590 figure out how to not use AddAttributesToRender to get it
593 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
595 * DataGridColumn.cs: Added the duplicate viewstate manipulation
598 2005-08-05 Chris Toshok <toshok@ximian.com>
600 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
601 null when it comes to the format string.
602 (FormatDataTextValue): same.
604 2005-08-04 Chris Toshok <toshok@ximian.com>
606 * BaseValidator.cs (Validate): only test a validator if it's both
609 2005-08-04 Chris Toshok <toshok@ximian.com>
611 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
614 2005-08-04 Jackson Harper <jackson@ximian.com>
616 * DataGrid.cs: Add a new space control for each link. Also make
617 the link's text 1 indexed. Don't add the space after the last
620 2005-08-04 Ben Maurer <bmaurer@ximian.com>
622 * LinkButton.cs: Fix up the test suite here.
624 * Panel.cs: Fix up nowrap
626 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
628 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
629 * ListControl.cs: Clear item list before adding data (again)
631 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
633 * Calendar.cs: fixes issues with OnDayRender event and others
635 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
637 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
639 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
640 if DataTextField is bound
641 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
642 two controls in edit mode, lets do the same
644 2005-08-03 Jackson Harper <jackson@ximian.com>
646 * BoundColumn.cs: Respek for the thisExpr when data binding.
648 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
650 * EditCommandColumn.cs: No need to offer edit when in edit mode.
653 2005-08-04 Dick Porter <dick@ximian.com>
655 * DataGridColumn.cs: New implementation
658 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
660 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
662 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
665 2005-08-03 Ben Maurer <bmaurer@ximian.com>
667 * RepeatInfo.cs: Finally figured out how to use base control
669 2005-08-03 Jackson Harper <jackson@ximian.com>
671 * ButtonColumn.cs: Partial implementation.
673 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
675 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
678 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
680 * Calendar.cs: fixes Save/Load state
682 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
684 * Calendar.cs: bug fixes
686 2005-08-03 Jackson Harper <jackson@ximian.com>
688 * DataGrid.cs: Merge the table style with the render table. Some
689 initial work on the numeric pager. Remove some debugging code.
691 2005-08-03 Jackson Harper <jackson@ximian.com>
693 * BoundColumn.cs: Implement Initialize and InitializeCell. When
694 Data is formated it uses the DataFormatString that was set at the
695 time Initialize was called (or null if initialize was never
698 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
700 * RadioButtonList.cs: bug fixes
702 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
704 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
705 AddAttributesToRender
706 * RadioButtonList.cs: Implementation
708 2005-08-01 Jackson Harper <jackson@ximian.com>
710 * TableStyle.cs: Copy style bit when copying from another style.
712 2005-08-01 Jackson Harper <jackson@ximian.com>
714 * PagedDataSource.cs: Implement missing properties, use yield for
715 the Enumerator methods. Only allow the enums to return one page at
718 2005-08-01 Chris Toshok <toshok@ximian.com>
720 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
722 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
724 * WebControl.cs: Track enabled state across sessions
726 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
728 * ListControl.cs(OnDatabinding): Value is equivalent to text if
731 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
733 * ImageButton.cs: fixes, complete missing parts
735 2005-07-31 Ben Maurer <bmaurer@ximian.com>
737 * TextBox.cs: Html encode for multiline text boxes
739 * HyperLink.cs: Resolve images
741 2005-07-30 Chris Toshok <toshok@ximian.com>
743 * BaseValidator.cs: initial version of 2.0 properties
744 ValidationGroup and SetFocusOnError.
746 2005-07-30 Chris Toshok <toshok@ximian.com>
748 * HyperLinkColumn.cs (InitializeCell): clean this up.
750 2005-07-30 Chris Toshok <toshok@ximian.com>
752 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
753 DataBinder.FormatResult.
754 (FormatDataTextValue): same.
755 (Initialize): call base.Initialize.
756 (ItemDataBinding): new function, get the text/navigateurl and set
757 them on our HyperLink control.
758 (InitializeCell): create a hyperlink control in the
759 Item/EditItem/AlternatingItem case.
761 2005-07-30 Ben Maurer <bmaurer@ximian.com>
763 * RepeatInfo.cs: Handle 0 items situations correctly
765 * HyperLink.cs: Resolve urls correctly
767 * CheckBox.cs: use the correct ID for the label element.
769 * Label.cs: Correct AddParsedSubObject impl. See FAQ
771 2005-07-29 Chris Toshok <toshok@ximian.com>
773 * BaseCompareValidator.cs (GetDateElementOrder): implement.
775 2005-07-29 Chris Toshok <toshok@ximian.com>
777 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
778 #if'ed out version follows microsoft's docs on msdn, but doesn't
779 match ms's behavior. The other matches their behavior but not
780 their docs. we use the latter. go figure.
781 (get_CutoffYear): implement using
782 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
784 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
787 - Name property now throws exception when set to null
788 - Names now handles situation where our bit tells us we have
789 a font, but it's not in the StateBag (null removal)
790 * RangeValidator.cs: Removed unused vars
792 2005-07-29 Ben Maurer <bmaurer@ximian.com>
794 * Label.cs: ClientID should be used rather than UniqueID to get
797 2005-07-29 Chris Toshok <toshok@ximian.com>
799 * BaseValidator.cs (Validatate): not sure if this is entirely
800 correct (some fairly deep testing required), but setting Enabled =
801 false has the effect of setting IsValid = true.
803 2005-07-29 Ben Maurer <bmaurer@ximian.com>
805 * RadioButton.cs: The "remove from groupstate" isn't needed any
806 more, now that statebag is correct.
808 2005-07-29 Dick Porter <dick@ximian.com>
810 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
811 ViewState when it is null.
813 * CheckBox.cs: Hide nonstandard API
815 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
817 * Calendar.cs: fixes exceptions, bug fixes, new features
818 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
819 * CalendarDay.cs: fixes default value
821 2005-07-28 Ben Maurer <bmaurer@ximian.com>
823 * CompositeControl.cs: Stub
825 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
827 * EditCommandColumn.cs: Implemented
829 2005-07-27 Chris Toshok <toshok@ximian.com>
831 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
833 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
835 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
838 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
840 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
841 for it's constructor, so remove it
842 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
844 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
846 * DataGridPagerStyle.cs: Implemented
847 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
848 * Style.cs: Added Styles enum values for DataGridPagerStyle
850 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
852 * Calendar.cs: get the styles right, honors more properties, fixes, fix
855 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
857 * DataGridItem.cs: Implemented
859 2005-07-26 Chris Toshok <toshok@ximian.com>
861 * LinkButton.cs (AddParsedSubObject): reversed the order of
862 Controls.Add() and Text = null
863 (set_Text): call Controls.Clear()
864 (RenderContents): use HasControls() for the if test instead of
867 * HyperLink.cs (AddParsedSubObject): reversed the order of
868 Controls.Add () and Text = null;
870 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
872 * DataGridItemCollection.cs: Implemented
874 2005-07-26 Chris Toshok <toshok@ximian.com>
876 * LinkButton.cs (AddParsedSubObject): copy implementation from
878 (RenderContents): only call writer.Write(Text) if Text != "".
879 Otherwise default to base.RenderContents.
881 2005-07-26 Chris Toshok <toshok@ximian.com>
883 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
884 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
885 (Page != null) around my last commit.
887 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
889 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
890 Fixed use of literal strings, instead using Consts
891 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
892 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
893 Panel.cs, Literal.cs: Added attributes
894 * BaseValidator.cs: Added missing override
896 2005-07-26 Chris Toshok <toshok@ximian.com>
898 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
899 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
900 Page.VerifyRenderingInServerFormHere.
902 2005-07-26 Chris Toshok <toshok@ximian.com>
904 * BaseValidator.cs: remove some MonoTODO's about the client side
907 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
909 * Calendar.cs: selection of dates, state load, save, track, support
910 for new properties, many fixes.
912 2005-07-26 Miguel de Icaza <miguel@novell.com>
914 * Style.cs: Temporary methods to help buliding .NET 2.x
916 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
918 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
920 * Xml.cs: Fixed base class, attributes
921 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
922 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
923 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
924 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
925 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
927 2005-07-25 Ben Maurer <bmaurer@ximian.com>
929 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
932 2005-07-25 Ben Maurer <bmaurer@ximian.com>
934 * RepeatInfo.cs: If the repeater has one column, the separators
935 are rendered on a different line
937 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
939 * DataGridSortCommandEventArgs: Sealed class
940 * ButtonColumn.cs, Calendar.cs: Added Attributes
942 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
944 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
945 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
947 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
949 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
950 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
952 2005-07-25 Chris Toshok <toshok@ximian.com>
954 * ValidationSummary.cs (AddAttributesToRender): add client side
956 (OnPreRender): set the "been here" flag.
957 (Render): add client side support.
959 2005-07-25 Ben Maurer <bmaurer@ximian.com>
961 * RepeatInfo.cs: Split the horiz and vertical cases, because this
962 class has rules that are beyond strange. Continue working to make
965 2005-07-25 Ben Maurer <bmaurer@ximian.com>
967 * RepeatInfo.cs: Misc fixes for my test suite.
969 2005-07-25 Jackson Harper <jackson@ximian.com>
971 * DataGrid.cs: Set the command name and args on the link buttons.
973 2005-07-25 Jackson Harper <jackson@ximian.com>
975 * DataGrid.cs: Lots o implementation.
977 2005-07-25 Jackson Harper <jackson@ximian.com>
979 * BoundColumn.cs: Partial implementation to get the DataGrid tests
982 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
984 * Button.cs: fixes events, adds attributes
986 2005-07-23 Chris Toshok <toshok@ximian.com>
988 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
989 prop.GetValue results.
990 (Render): fix the static non-uplevel case, so that we display text
991 when there's an error.
993 2005-07-22 Chris Toshok <toshok@ximian.com>
995 * RegularExpressionValidator.cs (AddAttributesToRender): only
996 output ValidationExpression if it's != null.
998 2005-07-22 Chris Toshok <toshok@ximian.com>
1000 * BaseValidator.cs (AddAttributesToRender): fix up the Display
1001 rendering such it matches MS's output.
1002 (Render): stop using the huge complicated if's for each output
1003 stage and move to boolean flags, and fix the static-nonuplevel
1004 case, where a validator outputs as nothing but
1006 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
1007 * Calendar.cs: Initial implementation
1008 * CalendarSelectionMode.cs: fix enum order
1010 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
1012 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
1013 (or more?) specific cases - including correct support for separators.
1014 Added some (commented) debugging code.
1015 * HyperLink.cs: Only render href and target attributes if they're not
1016 empty. Add "border=0" when rendering <img> tag. Fix Target default
1019 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
1021 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
1023 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
1025 * Style.cs (CopyFrom): Reset our styles and don't set bits from
1026 target explicitly, properties will set them
1028 2005-07-22 Dick Porter <dick@ximian.com>
1031 * ButtonColumn.cs: Initial stubs
1033 2005-07-22 Dick Porter <dick@ximian.com>
1036 * CheckBox.cs: Add assembly attributes
1038 2005-07-22 Ben Maurer <bmaurer@ximian.com>
1040 * HyperLink.cs: Handle non-literal children.
1042 2005-07-21 Ben Maurer <bmaurer@ximian.com>
1044 * Label.cs: SP1 stuff
1046 2005-07-21 Chris Toshok <toshok@ximian.com>
1048 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
1049 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
1050 stuff WebUIValidation.js uses, so we don't support it for uplevel
1053 2005-07-21 Chris Toshok <toshok@ximian.com>
1055 * BaseValidator.cs (DetermineRenderUplevel): include checks for
1056 the EcmaScriptVersion and W3CDomVersion.
1058 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
1060 * BaseDataList.cs: Support IEnumerable.
1061 * DataList.cs: Fix alternate items.
1062 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
1063 controls and the Text property.
1065 2005-07-21 Ben Maurer <bmaurer@ximian.com>
1067 * TextBoxMode.cs: Wrong ordering of enum...
1069 2005-07-21 Chris Toshok <toshok@ximian.com>
1071 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
1074 2005-07-21 Chris Toshok <toshok@ximian.com>
1076 * BaseValidator.cs (get_PropertiesValid): use our containing
1077 NamingContainer, not ourselves, to look up controls.
1078 (CheckControlValidationProperty): same.
1079 (GetControlRenderID): same.
1080 (GetControlValidationValue): same.
1081 (AddAttributesToRender): add the display style attribute if
1082 Display != Static, and add the value of IsValid if it's false.
1083 (DetermineRenderUplevel): use a try block around (Page.Request)
1084 since that can raise an exception.
1085 (OnPreRender): set pre_render_called, so we can consult it in
1087 (Render): complicate this method more to handle more of the
1088 Display/pre_render_called permutations.
1090 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
1092 * CustomValidator.cs: Initial implementation, still work in progress
1094 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
1096 * DataList.cs: Fix rendering for special items (-1).
1098 2005-07-21 Ben Maurer <bmaurer@ximian.com>
1100 * RepeatInfo.cs: Fix most of the tests.
1102 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
1104 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
1105 Add a border=0 attribute if no style is defined.
1106 * TableCell.cs: Use HtmlTextWriterTag (not a string).
1107 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
1108 * TableRow.cs: Use HtmlTextWriterTag (not a string).
1110 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
1112 * BaseDataList.cs: Fix attributes.
1113 * HorizontalAlign.cs: Fix attributes.
1114 * Image.cs: Fix attributes and enums checks.
1115 * Table.cs: Fix attributes an enums checks.
1116 * TableCell.cs: Fix attributes.
1117 * TableCellCollection.cs: Fix attributes.
1118 * TableItemStyle.cs: Fix attributes and enums checks.
1119 * TableRowCollection.cs: Fix attributes.
1120 * TableRow.cs: Fix attributes.
1121 * TableStyle.cs: Fix attributes and enums checks.
1122 * VerticalAlign.cs: Fix attributes.
1124 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
1126 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
1127 * DataList.cs: Added rendering support when ExtractTemplatesRows
1128 property is true (but RepeatInfo needs to be fixed to see it works).
1129 * DataListItem.cs: Added rendering support when extractRows parameter
1130 is true (but RepeatInfo still needs to be fixed ;-)
1132 2005-07-21 Duncan Mak <duncan@novell.com>
1134 * HyperLinkColumn.cs: Initial implementation.
1135 Todo: Figure out Initialize and InitializeCell.
1137 2005-07-20 Chris Toshok <toshok@ximian.com>
1139 * BaseValidator.cs: don't use Page.FindControl, use this Control's
1140 FindControl, so it'll use the same naming container.
1142 2005-07-21 Duncan Mak <duncan@novell.com>
1144 * DataGridCommandEventArgs.cs:
1145 * DataGridPageChangedEventArgs.cs:
1146 * RepeaterCommandEventArgs.cs: Fixed visibility.
1148 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
1149 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
1151 2005-07-20 Chris Toshok <toshok@ximian.com>
1153 * Button.cs: hook up the client side validation stuff.
1155 * ImageButton.cs: same.
1157 * LinkButton.cs: same, although it's a little more complicated
1160 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
1163 - Implemented RaisePostDataChangedEvent()
1164 - Spewing postback command if AutoPostBack is true
1166 2005-07-20 Chris Toshok <toshok@ximian.com>
1168 * BaseValidator.cs: another Page != null check when uplevel
1171 2005-07-20 Chris Toshok <toshok@ximian.com>
1173 * BaseValidator.cs: check Page != null when determining if we're
1174 rendering uplevel or not.
1176 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
1178 * ListItemCollection.cs: Removed obsolete method that's no longer
1181 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
1183 * DropDownList.cs: Oops. Forgot to implement LoadPostData
1184 * ListItemCollection.cs: Added convenience method to have faster
1187 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
1190 - Automatically select the first item if none are selected
1191 - Throw exception if more than one item is selected
1193 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
1195 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
1196 handled by RepeatInfo).
1198 2005-07-20 Jackson Harper <jackson@ximian.com>
1200 * DataGrid.cs: Store the data source created columns in a
1201 DataGridColumnCollection. This way they can be put in the
1202 view state more easily, and accessed without casting.
1204 2005-07-20 Chris Toshok <toshok@ximian.com>
1206 * BaseValidator.cs (AddAttributesToRender): render the client side
1207 attributes if we're in uplevel mode.
1208 (DetermineRenderUplevel): flesh out a bit - for now basically
1209 return true unless the control has it disabled.
1210 (OnInit): only add the validator to Page's list if there is, in
1212 (OnUnload): same for removal.
1213 (OnPreRender): hook up client scripting stuff here. Only the call
1214 to RegisterValidatorCommonScript is a for sure thing here, the
1215 registering of the submit statement and startup script should
1216 probably go elsewhere, but I don't know where.
1217 (RegisterValidatorCommonScript): register the <script
1218 src=".../WebUIValidation.js"> tag, if it's not already there.
1219 (RegisterValidatorDeclaration): add our span object to the
1220 Page_Validators JS array.
1221 (Render): always render the tags (although this is probably not
1222 right), and call RegisterValidatorDeclaration here.
1224 * BaseCompareValidator.cs (AddAttributesToRender): render the
1225 client side attributes if we're in uplevel mode.
1226 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
1227 call base.DetermineRenderUplevel for now.
1229 * RegularExpressionValidator.cs (AddAttributesToRender): render
1230 the client side attributes if we're in uplevel mode.
1232 * RequiredFieldValidator.cs (AddAttributesToRender): same.
1234 * CompareValidator.cs (AddAttributesToRender): same.
1236 2005-07-20 Jackson Harper <jackson@ximian.com>
1238 * DataGrid.cs: Save the data source created column set in the
1241 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
1243 * DataList.cs: Fix events and properties exceptions. Give the right
1244 informations to RenderItem.
1246 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
1248 * ValidationSummary.cs: Implemented rendering
1250 2005-07-20 Jackson Harper <jackson@ximian.com>
1252 * DataGrid.cs: column names are cached and only regenerated if useDataSource
1253 is set to true. Otherwise they are just fetched from the last set that
1254 was generated from the source.
1256 2005-07-20 Jackson Harper <jackson@ximian.com>
1258 * DataGrid.cs: Assign some properties of newly created BoundColumns.
1260 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
1262 * DataList.cs: Fix viewstate ordering.
1264 2005-07-20 Ben Maurer <bmaurer@ximian.com>
1266 * SelectedDatesCollection.cs: Apprarently, I don't write code well
1269 * Repeater.cs: Uh, actually add stuff to the items collection
1272 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
1274 * BaseDataList.cs: EnsureChildControls on Controls property.
1275 * DataList.cs: Fix rendering and Controls/Items differences.
1276 * DataListItem.cs: Added rendering of controls.
1278 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
1280 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
1282 2005-07-20 Jackson Harper <jackson@ximian.com>
1284 * DataGrid.cs: Add some of the collections. Implement
1287 2005-07-20 Jackson Harper <jackson@ximian.com>
1289 * PagedDataSource.cs: Implement GetItemProperties, this is
1290 needed for the datagrid.
1292 2005-07-20 Ben Maurer <bmaurer@ximian.com>
1294 * DataGridColumnCollection.cs: New impl
1296 * TemplateColumn.cs: New impl
1298 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
1300 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
1301 * DataList.cs: Work in progress... Added attributes, proper
1302 IRepeatInfoUser support and cool things stolen from other classes.
1303 * DataListCommandEventArgs.cs: Class is sealed.
1304 * DataListItem.cs: RenderItem is public.
1306 2005-07-19 Jackson Harper <jackson@ximian.com>
1308 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
1309 a viewstate object if all the viewstate stuff is null.
1311 2005-07-19 Jackson Harper <jackson@ximian.com>
1313 * DataGrid.cs: Implement style properties and viewstate
1314 saving/loading/tracking.
1316 2005-07-19 Chris Toshok <toshok@ximian.com>
1318 * BaseValidator.cs: more fixes from pdb.
1320 2005-07-19 Chris Toshok <toshok@ximian.com>
1322 * BaseValidator.cs: some test-driven fixes.
1324 2005-07-19 Chris Toshok <toshok@ximian.com>
1326 * BaseValidator.cs: Initial implementation.
1328 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
1330 * Repeater.cs: Fix small typo.
1332 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
1334 * ValidationSummaryTest.cs: Started implementation
1335 * RangeValidator.cs: Implemented
1336 * ValidatedControlConverter.cs: Implemented
1337 * DropDownList.cs: Implemented
1339 2005-07-19 Jackson Harper <jackson@ximian.com>
1341 * DataGrid.cs: Implement bubble event.
1343 2005-07-19 Jackson Harper <jackson@ximian.com>
1345 * DataGrid.cs: New implementation. Just properties and events for
1348 2005-07-18 Chris Toshok <toshok@ximian.com>
1350 * BaseCompareValidator.cs: Initial implementation, with some NYI.
1352 2005-07-19 Ben Maurer <bmaurer@ximian.com>
1354 * FontUnit.cs: Corcompare fixes
1356 * UnitConverter.cs: Fix api diffs
1358 2005-07-18 Ben Maurer <bmaurer@ximian.com>
1360 * ListControl.cs: Fix api differences
1362 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
1364 * Table.cs: Fix indentation for caption. Simplify check when adding
1366 * TableRow.cs: Simplify check when adding controls.
1368 2005-07-18 Chris Toshok <toshok@ximian.com>
1370 * CompareValidator.cs: wtf, just use the base class's methods.
1372 2005-07-18 Chris Toshok <toshok@ximian.com>
1374 * CompareValidator.cs: do comparisons based on
1375 BaseCompareValidator.Type.
1377 2005-07-18 Chris Toshok <toshok@ximian.com>
1379 * CompareValidator.cs: initial implementation.
1381 2005-07-18 Chris Toshok <toshok@ximian.com>
1383 * RegularExpressionValidator.cs: initial implementation.
1385 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
1387 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
1389 2005-07-18 Jackson Harper <jackson@ximian.com>
1391 * CheckBoxList.cs: Implement LoadPostBackData. Also register
1392 checkboxes for postback if they are checked so we can find
1393 out when they are unchecked. Copy the AutoPostBack variable
1394 to the to be rendered checkbox when rendering.
1396 2005-07-18 Ben Maurer <bmaurer@ximian.com>
1398 * TextBox.cs: Finish this up.
1400 * AdRotator.cs: Fix issues in the test suite. Minor style
1403 * Repeater.cs: Fix a bug where the datasource is null and we do
1406 * WebColorConverter.cs: Optimize by not doing a concat on a
1409 2005-07-17 Ben Maurer <bmaurer@ximian.com>
1411 * ListItemCollection.cs: Multiple uses of equals rather than
1412 string.compare as below. Remove unreachable code warning.
1414 * WebColorConverter.cs (ConvertTo): Use the == operator on string
1415 rather than an invariant non-case ignoring compare. They are
1416 exactly the same thing. Use proper coding style in this method.
1418 * WebControl.cs: Return null when saving the view state if there
1419 is no state in any of the things we save. This creates a fairly
1420 large savings, because we can avoid saving anything about many
1421 levels of deaply nested controls.
1423 2005-07-15 Jackson Harper <jackson@ximian.com>
1425 * CheckBoxList.cs: Use the index as the ID, the rest of the
1426 id is built by being in the NamingContainer.
1428 2005-07-15 Jackson Harper <jackson@ximian.com>
1430 * ListControl.cs: Use enum instead of string. Saves a lookup.
1432 2005-07-15 Jackson Harper <jackson@ximian.com>
1434 * CheckBoxList.cs: FindControl always returns 'this' according
1437 2005-07-15 Jackson Harper <jackson@ximian.com>
1439 * CheckBoxList.cs: New impl.
1441 2005-07-15 Jackson Harper <jackson@ximian.com>
1443 * WebControl.cs: Use the ClientID when rendering a controls ID
1444 attribute so that naming containers are honoured.
1446 2005-07-15 Jackson Harper <jackson@ximian.com>
1448 * ListControl.cs: use the state manager interface for tracking
1451 2005-07-15 Ben Maurer <bmaurer@ximian.com>
1453 * Repeater.cs (DoItem): Add the DataItem before we call user
1454 methods, as it seems to be there with msft.
1456 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
1458 * BaseDataList.cs: New. (mostly complete) implementation.
1459 * DataKeyCollection.cs: New. Implementation (complete).
1460 * DataList.cs: New. (mostly incomplete) implementation.
1461 * DataListItem.cs: New. (mostly complete) implementation.
1462 * DataListItemCollection.cs: New. Implementation (complete).
1464 2005-07-15 Ben Maurer <bmaurer@ximian.com>
1466 * Repeater.cs (DoItem): We need to .Add the control *before* we
1467 data bind it so that the state gets tracked correctly. Fixes the
1470 2005-07-15 Jackson Harper <jackson@ximian.com>
1472 * ListControl.cs: Simplify comparison.
1474 2005-07-15 Jackson Harper <jackson@ximian.com>
1477 * Repeater.cs: Use new utility class for resolving data sources.
1479 2005-07-15 Jackson Harper <jackson@ximian.com>
1481 * ListControl.cs: Add attributes so the sub items get parsed
1482 properly. Remove old unneeded code for resolving lists.
1484 2005-07-15 Jackson Harper <jackson@ximian.com>
1486 * ListControl.cs: Use the DataSourceHelper so DataMembers are
1489 2005-07-14 Ben Maurer <bmaurer@ximian.com>
1492 - Some optimizations
1493 * Don't use enum formatting stuff, it is 1) expensive 2) does
1494 allocations. Use a new method in HtmlControl to do the right
1496 * Don't use Enum.IsDefined but an explicit check.
1497 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
1498 - Use the correct coding style.
1500 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
1502 * WebColorConverter.cs:
1503 - Alpha of 255 is only set if the hex number is exactly 6 digits
1504 - Ben didn't like the catch { throw; } (even though MS documents to
1506 - Use Invariant Culture for parsing (thanks, Ben)
1508 2005-07-14 Jackson Harper <jackson@ximian.com>
1510 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
1511 code-reuse-arific. Also use the IStateManager interface for loading
1512 data instead of the old internal method.
1514 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
1516 * WebColorConverter.cs: Implemented
1518 2005-07-14 Ben Maurer <bmaurer@ximian.com>
1520 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
1522 2005-07-14 Ben Maurer <bmaurer@ximian.com>
1524 * Repeater.cs: Get it working
1526 2005-07-14 Jackson Harper <jackson@ximian.com>
1528 * ListControl.cs: Initial implementation of Databinding. Make sure
1529 that the ListItemCollection is created when we load its ViewState.
1531 2005-07-14 Jackson Harper <jackson@ximian.com>
1533 * ListControl.cs: Fix typo.
1535 2005-07-14 Jackson Harper <jackson@ximian.com>
1537 * ListControl.cs: New Implementation. Lacks databinding support.
1539 2005-07-14 Ben Maurer <bmaurer@ximian.com>
1541 * Repeater.cs: The beginnings of this control
1543 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
1545 * TargetConverter.cs: Implemented
1547 2005-07-14 Duncan Mak <duncan@novell.com>
1549 * PagedDataSource.cs: Initial implementation.
1551 Methods that need to be figured out:
1552 CopyTo, GetItemProperties, PageCount, IsLastPage.
1554 To complete: CollectionEnumerator, ListEnumerator.
1556 2005-07-13 Duncan Mak <duncan@novell.com>
1558 * RepeatDirection.cs:
1560 * ValidationCompareOperator.cs:
1561 * ValidationDataType.cs:
1562 * ValidationSummaryDisplayMode.cs:
1563 * ValidatorDisplay.cs: Added remaining enumerations.
1565 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
1567 * FontNamesConverter.cs: Implemented
1569 2005-07-13 Ben Maurer <bmaurer@ximian.com>
1571 * RepeaterItem.cs: Compile fix
1573 * RepeaterItemCollection.cs: New file
1575 * RepeaterItem.cs: get OnBubbleEvent right.
1577 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
1579 * ListItemCollection.cs: Count can be derived from the array, which
1580 allows us to use a Pair instead of a Triplet and save some space
1582 2005-07-13 Ben Maurer <bmaurer@ximian.com>
1584 * RepeaterItem.cs: Stub
1586 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
1588 * ListItemCollection.cs: Implemented
1589 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
1591 2005-07-13 Ben Maurer <bmaurer@ximian.com>
1593 * RepeatInfo.cs: Impl.
1595 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
1597 * FirstDayOfWeek.cs: Added
1599 2005-07-13 Jackson Harper <jackson@ximian.com>
1601 * ListBox.cs: Some parameter checking.
1603 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
1605 * Image.cs: Added support for DescriptionUrl as this property was
1606 added in Fx 1.1 SP1.
1608 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
1610 * Style.cs (AddAttributesToRender): Don't render attributes if they
1611 contain only their default value
1613 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
1615 * Table.cs: New. Initial re-implementation.
1616 * TableCell.cs: New. Initial re-implementation.
1617 * TableCellCollection.cs: New. Initial re-implementation.
1618 * TableHeaderCell.cs: New. Initial re-implementation.
1619 * TableItemStyle.cs: New. Initial re-implementation.
1620 * TableRow.cs: New. Initial re-implementation.
1621 * TableRowCollection.cs: New. Initial re-implementation.
1622 * TableStyle.cs: New. Initial re-implementation.
1624 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
1626 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
1627 unit tests (for Style) and more tests in Table* classes.
1629 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
1631 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
1632 however IsEmpty returns false if any of their properties are set.
1633 Looks ugly but it's compatible with MS implementation (feature and
1636 2005-07-13 Dick Porter <dick@ximian.com>
1638 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
1639 null Text properties from the ViewState, test for TextAlign being
1640 out of range. All to make tests pass on both mono and ms
1643 2005-07-13 Jackson Harper <jackson@ximian.com>
1645 * ListBox.cs: Use invariant culture when doing a ToString,
1646 set value to the item's value, not to its Text.
1648 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
1650 * WebControl.cs (AddAttributesToRender): Added ID to rendered
1653 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
1655 * Style.cs(MergeWith): Handle null styles
1657 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
1659 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
1660 the #if NET_2_0 on it.
1662 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
1664 * Style.cs: Only render font elements if fontinfo object exists
1666 - Implemented SaveViewState()
1667 - Added loading of Style to LoadViewState
1668 - Implemented IAttributeAccessor methods
1670 2005-07-12 Jackson Harper <jackson@ximian.com>
1672 * ListBox.cs: Even track default values in the viewstate. Call
1673 base's RenderContents.
1675 2005-07-12 Jackson Harper <jackson@ximian.com>
1677 * ListBox.cs: New impl.
1679 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
1682 - Implemented methods
1685 2005-07-12 Ben Maurer <bmaurer@ximian.com>
1687 * ListItem.cs: New impl.
1689 2005-07-12 Duncan Mak <duncan@novell.com>
1691 * DayNameFormat.cs: Added.
1693 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
1695 * WebControl.cs: Implemented properties
1697 2005-07-12 Ben Maurer <bmaurer@ximian.com>
1699 * TextBox.cs: Passwords seem 1) not to be rendered to the client
1700 if set, 2) not kept in view state (for security reasons...)
1703 * Button.cs: Page.Validate () if needed. Gets the validator tests
1706 * TextBox.cs: Properties to get the validator stuff to work.
1708 2005-07-12 Miguel de Icaza <miguel@novell.com>
1710 * Unit.cs: If the units are pixels, then truncate the value.
1712 2005-07-12 Dick Porter <dick@ximian.com>
1714 * RadioButton.cs: New implementation
1716 * CheckBox.cs: Rearrange the attributes rendering to allow
1717 RadioButton to derive from this
1719 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
1721 * TitleFormat.cs: Add attribute
1722 * TextBoxMode.cs: Add attribute
1723 * CalendarDay.cs: Initial implementation
1724 * ImageButton.cs: Initial implementation
1725 * CalendarSelectionMode.cs:Initial implementation
1727 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
1729 * TextBoxMode.cs: simple enum
1730 * TitleFormat.cs: simple enum
1732 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
1734 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
1736 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
1738 * FontUnit.cs: Added TypeConverter attribute to class
1739 * FontUnitConverter.cs: Implemented
1741 2005-07-11 Ben Maurer <bmaurer@ximian.com>
1744 * Button.cs: Bubble the Command event.
1746 2005-07-11 Ben Maurer <bmaurer@ximian.com>
1749 - Clean up style (with my wonderful state bag hack!)
1750 - Fix a view state typo.
1751 - Use AddAttributesToRender
1752 - Don't add an extra <span>
1754 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
1756 * Style.cs: Handle null constructor argument for bag
1758 2005-07-11 Dick Porter <dick@ximian.com>
1760 * CheckBox.cs: New implementation
1762 * RadioButton.cs: Initial stubbed version that just compiles
1764 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
1766 * Button.cs: Initial Button implementation
1768 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
1770 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
1772 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
1774 * HorizontalAlign.cs: Typo in header.
1775 * VerticalAlign.cs: New. Required enum for TableRow control.
1777 2005-07-09 Ben Maurer <bmaurer@ximian.com>
1779 * TextBox.cs: More work on this
1781 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
1783 * GridLines.cs: New. Required enum for Table control.
1784 * HorizontalAlign.cs: New. Required enum for Table control.
1786 2005-07-09 Duncan Mak <duncan@novell.com>
1788 * CommandEventHandler.cs:
1789 * DataGridCommandEventHandler.cs:
1790 * DataGridItemEventHandler.cs:
1791 * DataGridPageChangedEventHandler.cs:
1792 * DataGridSortCommandEventHandler.cs:
1793 * DataListCommandEventHandler.cs:
1794 * DayRenderEventHandler.cs:
1795 * RepeaterCommandEventHandler.cs:
1796 * ServerValidateEventHandler.cs: Add delegates.
1799 * ListSelectionMode.cs:
1800 * NextPrevFormat.cs:
1802 * PagerPosition.cs: Add enums.
1804 2005-07-09 Ben Maurer <bmaurer@ximian.com>
1806 * TextBox.cs: Add the work I did on this today. It's not complete
1807 yet, but its a start!
1809 2005-07-09 Duncan Mak <duncan@novell.com>
1811 * CommandEventArgs.cs:
1812 * DataGridCommandEventArgs.cs:
1813 * DataGridItemEventArgs.cs:
1814 * DataGridPageChangedEventArgs.cs:
1815 * DataGridSortCommandEventArgs.cs:
1816 * DataListCommandEventArgs.cs:
1817 * DataListItemEventArgs.cs:
1818 * DayRenderEventArgs.cs:
1819 * RepeaterCommandEventArgs.cs:
1820 * RepeaterItemEventArgs.cs:
1821 * ServerValidateEventArgs.cs: Implemented.
1823 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
1825 * Image.cs: New. Image class implementation.
1826 * ImageAlign.cs: New. ImageAlign enum definitions.
1828 2005-07-08 Jackson Harper <jackson@ximian.com>
1830 * Literal.cs: New implentation.
1831 * MonthChangedEventArgs.cs: new
1832 * MonthChangedEventHandler.cs: new
1834 2005-07-08 Ben Maurer <bmaurer@ximian.com>
1836 * LinkButton.cs: Command impl
1838 2005-07-08 Ben Maurer <bmaurer@ximian.com>
1840 * LinkButton.cs: Initial impl
1842 2005-07-08 Jackson Harper <jackson@ximian.com>
1844 * AdCreatedeventArgs.cs: New implementation.
1846 2005-07-08 Dick Porter <dick@ximian.com>
1849 * BorderStyle.cs: Added
1851 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
1853 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
1855 2005-07-07 Miguel de Icaza <miguel@novell.com>
1857 * Xml.cs: New implementation. R00lz.
1859 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
1861 * FontInfo.cs: Added and implemented.
1862 * Style.cs: Fixed behaviour discrepancies showed by tests
1864 2005-07-07 Ben Maurer <bmaurer@ximian.com>
1866 * PlaceHolderControlBuilder.cs: new file
1868 * LabelControlBuilder.cs: New file
1870 * HyperLink.cs: use control builder; fix parsing stuff
1872 * HyperLinkControlBuilder.cs: new file
1874 * Panel.cs: misc fixes
1876 2005-07-07 Miguel de Icaza <miguel@novell.com>
1878 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
1880 * UnitConverter.cs: Add new file, learned from the
1881 System.Drawing.ColorConverter.
1883 2005-07-07 Ben Maurer <bmaurer@ximian.com>
1885 * PlaceHolder.cs: New file. Seems to do nothing
1887 * Label.cs: Use my new statebag trick to reduce typing
1889 * HyperLink.cs: New file
1891 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
1893 * Style.cs: Added and implemented.
1895 2005-07-06 Miguel de Icaza <miguel@novell.com>
1897 * FontUnit.cs: New file.
1899 * Unit.cs: New file.
1901 Added support for null and empty string constructors.
1903 2005-07-06 Ben Maurer <bmaurer@ximian.com>
1905 * Unit.cs: cctor not needed; static fields are 0 init'd by default
1907 * WebControl.cs: Kothari & Datye's book explains how these work.
1909 * IRepeatInfoUser.cs: Reimpl.
1911 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
1913 * WebControl.cs: Added stub
1915 2005-07-05 Miguel de Icaza <miguel@novell.com>
1917 * Label.cs: First control.
1919 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
1921 * DataControlField.cs: Ignore the ShowHeader property when
1922 building the control's content. It is the resposability of
1923 the field container to decide if the header should be shown
1926 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
1929 * ImageFieldMode.cs:
1930 * DynamicImageParameterMode.cs:
1931 * TableViewMode.cs: Removed.
1935 * TableRowSection.cs:
1936 * AutoCompleteType.cs:
1937 * DayNameFormat.cs: Track changes in 2.0 api.
1939 * StringArrayConverter.cs: This class is 2.0 only.
1941 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
1945 * DetailsView.cs: Bind the control after creating all child
1947 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
1948 the correct methods.
1949 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
1950 in this class. This is done in DataBoundControl. All this fixes
1953 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1955 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
1956 FindByText. Closes bug #74205.
1958 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1960 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
1961 1 when there's a datasource and 0 pages. Closes bug #73864.
1963 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
1970 * MenuItemTemplateContainer.cs:
1971 * DetailsView.cs: Track changes in the IDataItemContainer interface.
1973 * CommandField.cs: Added CausesValidation property. Set that
1974 property value to all buttons of the field.
1976 * SqlDataSourceView.cs:
1977 * CollectionDataSource.cs:
1978 * XmlDataSourceView.cs: Properly initialize the base class.
1980 * SiteMapDataSource.cs:
1981 * SiteMapHierarchicalDataSourceView.cs:
1982 * SiteMapNodeItem.cs:
1983 * SiteMapDataSourceView.cs:
1984 * SiteMapPath.cs: Mostly implemented.
1986 * HierarchicalDataBoundControl.cs: Always bind the control when the
1987 page is loaded for the first time.
1989 * TreeView.cs: Properly bind the control when loaded from a callback.
1991 2005-05-21 Ben Maurer <bmaurer@ximian.com>
1993 * BaseDataList.cs: Caption is in 1.1 too, though not
1994 documented. Gonz owes me [more] ice cream. Yummmmm.
1996 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1998 * BaseDataList.cs: implemented 2.0 Caption property.
2000 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
2002 * TreeView.cs: Always render the startup script. This fixes
2005 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
2007 * WizardStepBase.cs:
2008 * WizardStep.cs: Added missing attributes.
2009 * Wizard.cs: Implemented missing methods and properties. It can now
2010 be considered feature complete.
2012 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2014 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
2015 the method if the data source was en empty IEnumerator. Fixes
2018 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
2022 * Menu.cs: Implemented some new properties from beta 2.
2024 * DataControlButton.cs: Render the ControlStyle if it
2028 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
2029 It will now generate an object creation, instead of a Parse call.
2031 * GridViewCommandEventArgs.cs: Added missing property.
2032 * SubMenuStyleCollection.cs: This class is not sealed.
2033 * MultiView.cs: Set Visible=false to all views that are not
2034 shown. This ensures that it's view state is saved.
2036 * BaseDataBoundControl.cs:
2037 * GridViewDeletedEventArgs.cs: Minor api fixes.
2039 * FormViewDeleteEventArgs.cs:
2040 * DetailsViewDeletedEventArgs.cs:
2041 * ListControl.cs: Fix warnings.
2045 * HotSpotCollection.cs
2048 * RectangleHotSpot.cs
2049 * WizardStepCollection.cs : Implemented.
2053 * Wizard.cs: Initial implementation.
2055 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
2057 * DataControlField.cs:
2061 * DataControlCommands.cs:
2062 * DetailsView.cs: Use constants to identify commands.
2064 * SubMenuStyle.cs: Use Unit instead of int for padding.
2065 * SubMenuStyleCollection.cs: Implemented.
2068 * Menu.cs: Added some missing methods and properties.
2071 * DataGridPagerStyle.cs: Fixed default value attributes.
2072 * ListControl.cs: Implemented IEditableTextControl interface.
2074 * MenuItemBinding.cs: Added Selectable property.
2075 * CustomValidator.cs: removed interface.
2077 * MenuItem.cs: Added support for custom binding.
2078 * DropDownList.cs: Moved text properties to base class.
2080 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2082 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
2084 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2086 * Calendar.cs: when the day is active, modify the text of the literal
2087 control that holds the number, not the text of the TableCell. Also call
2088 OnDayRender before updating that text. Fixes bug #74718.
2090 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
2092 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
2094 * DataControlFieldHeaderCell.cs: Save Scope in view state.
2095 Added AbbreviatedText property.
2096 * AutoGeneratedField.cs: The constructor should actually be internal.
2097 * DataGridItem.cs: Added implemented interface in 2.0.
2098 * DataControlFieldCollection.cs: Implemented CloneFields and
2102 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2104 * StringArrayConverter.cs:
2105 * Calendar.cs: warnings.
2107 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
2109 * FormViewDeleteEventArgs.cs:
2110 * FormViewInsertEventArgs.cs:
2111 * FormViewUpdateEventArgs.cs:
2112 * FormViewDeletedEventArgs.cs:
2113 * FormViewUpdatedEventArgs.cs:
2114 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
2117 * IButtonControl.cs:
2118 * Button.cs: Removed SoftKey property.
2120 * CheckBox.cs: Don't try to load post back data if the control
2124 * AutoGeneratedField.cs:
2125 * DataControlField.cs:
2127 * ButtonFieldBase.cs:
2131 * ButtonField.cs: Don't bind fields in Insert state.
2132 Implemented CreateField and CopyProperties.
2135 * DetailsView.cs: Removed some unneeded interfaces. Don't
2136 generate the field rows if there are no items in the data source.
2137 Don't get the current keys until the whole control has been
2140 * DetailsViewInsertedEventArgs.cs:
2141 * DataBoundControl.cs:
2142 * ObjectDataSourceView.cs: Made some methods private.
2145 * Menu.cs: Changed some properties from int to Unit.
2147 * DataControlButton.cs: javascript prefix is needed when raising
2148 the postback event from a link.
2150 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
2151 The result was wrong when the total data source count was 0.
2153 * FormView.cs: Implemented.
2154 * FormViewRow.cs: Implemented.
2157 * Localize.cs: Fixed base interface.
2159 * BaseDataBoundControl.cs: In DataBind() call the base class
2160 DataBind method, so the binding context is properly set.
2162 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
2164 * DetailsView.cs: Added some null checks.
2165 * TemplateField.cs: Implemented support for two-way bindings.
2167 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
2169 * DetailsView.cs: Implemented support for Insert operation.
2170 Added header and footer templates. Added missing style
2172 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
2173 to get filter values. Other minor fixes.
2174 * CommandField.cs: Properly render the Insert and New buttons.
2175 * ObjectDataSource.cs: Update the parameter collections after
2176 the page is loaded. This will fire the ParameterChanged event
2178 * DataBoundControl.cs: The OnDataSourceViewChanged method
2179 is called when the view changes, not when the datasource
2182 * DetailsViewInsertedEventArgs.cs:
2183 * DetailsViewInsertEventArgs.cs: Implement Values property.
2186 * AutoGeneratedField.cs
2189 Take into account the Insert mode.
2191 * ParameterCollection.cs: Implemented UpdateValues and fixed
2192 GetValues (values can't be cached because can change).
2193 * Parameter.cs: Detect value changes in GetValue, and fire
2194 the change event if needed. Removed unused ParameterValue
2195 property. Other fixes.
2197 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
2199 * DetailsView.cs: Initial implementation.
2200 * ObjectDataSourceView.cs: Notify changes in the parameters.
2201 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
2202 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
2203 Implemented some properties.
2204 * GridView.cs: Added null check in SelectedValue. Don't return null
2205 for empty DataKeyNames list.
2206 * DetailsViewRowCollection.cs: Implemented.
2207 * DetailsViewRow.cs: Implemented.
2208 * ButtonFieldBase.cs: By default button field don't have headers.
2209 * BoundField.cs: Don't bind header fields.
2211 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
2213 * ButtonField.cs: Get data item properties using TypeDescriptor.
2214 Made OnDataBindField private.
2215 * ObjectDataSourceView.cs: Implemented support for Delete and
2216 Insert operations, support for filtering and sorting,
2217 conflict detection, etc. It's now complete.
2218 * ObjectDataSource.cs: Completed most of functionality. Only
2219 caching support is missing.
2220 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
2221 * TreeNode.cs: Get data item properties using TypeDescriptor.
2222 * PagerSettings.cs: Flush.
2223 * ObjectDataSourceFilteringEventArgs.cs: New event args.
2224 * GridView.cs: Get data item properties using TypeDescriptor
2225 and cache them. Properly set descending order in the sort
2226 expression. In UpdateRow, make sure we get the old values
2227 before the control is bound again.
2228 * ImageField.cs: Implemented.
2229 * AutoGeneratedField.cs: Initialize the field's sort
2230 expression in the constructor.
2231 * MenuItem.cs: Get data item properties using TypeDescriptor.
2232 * BoundField.cs: Get data item properties using TypeDescriptor.
2233 * CheckBoxField.cs: Added missing attributes.
2234 * TemplateField.cs: Implemented.
2236 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2239 * FontUnitConverter.cs: fixed ConvertTo to work with target
2240 InstanceDescriptor and value as a string.
2242 * Unit.cs: culture might be null.
2246 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
2248 * ButtonField.cs: Mostly implemented.
2249 * DataControlFieldHeaderCell.cs: Implemented.
2250 * ObjectDataSourceView.cs: Initial implementation.
2251 * DataControlButton.cs: Added support for real buttons.
2252 * Label.cs, DataControlField.cs: Flush.
2253 * ObjectDataSource.cs: Initial implementation.
2254 * HiddenField.cs: Added class stub.
2255 * GridView.cs: Load autogenerated field properties before
2256 creating the children, to make sure that column info is ready.
2257 * ControlParameter.cs: Implemented Evaluate method.
2258 * ImageField.cs: Added class stub.
2259 * BoundField.cs: Added HtmlEncode property.
2260 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
2262 * CheckBoxField.cs: Mostly implemented.
2263 * TemplateField.cs: Added class stub.
2264 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
2265 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
2266 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
2268 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
2270 * DataControlField.cs: Added missing InsertVisible property.
2271 * AutoGeneratedFieldProperties.cs: Implemented.
2272 * PagerSettings.cs: Minor fix.
2273 * GridView.cs: Implemented support for autogenerated fields, templates,
2274 accessible headers. Implemented paging using PagedDataSource.
2275 Implemented missing overridable methods.
2276 * AutoGeneratedField.cs: Initial implementation.
2277 * BoundField.cs: Added ReadOnly property.
2278 * PagedDataSource.cs: Implemented 2.0 api.
2279 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
2280 cell class to be used by accessible headers.
2281 * TableCell.cs: Removed unneded constructor. If the cell is bound to
2282 a template, call the default RenderContents method.
2284 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
2286 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
2287 event when loading the view state. Fixes #73746.
2289 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
2291 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
2293 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
2295 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
2297 * CommandField.cs: Mostly implemented.
2298 * Menu.cs: Use callback methods moved to ClientScriptManager.
2299 * DataControlButton.cs: Internal control used to implement buttons
2300 for navigating in data bound controls.
2301 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
2302 to render the column headers.
2303 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
2304 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
2305 Don't use Page.GetPostBackClientEvent
2306 since it is deprecated in 2.0.
2307 * GridView.cs: Implemented some several interfaces.
2308 Implemented support client sorting and page navigation (using callbacks).
2309 Implemented the autogenerated command column using the new CommandField
2311 * ButtonFieldBase.cs: Implemented.
2312 * GridView.js: New helper script to support client side sorting and
2313 paging in the grid view.
2315 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
2317 * DataKey.cs: Implemented.
2318 * XmlDataSourceView.cs: Implemented support for row pagging.
2319 * Table.cs: Fixed attribute value.
2320 * DataControlField.cs: Added support for sorting headers.
2321 * ChildTable.cs: Created.
2322 * ListControl.cs: Delay selection assignment, since control state
2323 is now loaded before view state.
2324 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
2325 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
2326 several missing properties.
2327 * PagerSettings.cs: Fully implemented.
2328 * BaseDataList.cs: Added null check.
2329 * GridView.cs: Implemented more functionality.
2330 * BoundField.cs: Added support for cell editing.
2331 * StringArrayConverter.cs: Implemented.
2332 * DataKeyArray.cs: Implemented.
2333 * BaseDataBoundControl.cs: Reset the requires binding flag before
2334 executing the query. This avoids recursive query calls.
2335 * GridViewRow.cs: Handler commands raised from row childs.
2337 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
2339 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
2340 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
2341 it is possible to query for properties fore each data item.
2342 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
2343 when loading its view state.
2344 * DataControlField.cs: Implement properties using a StateBag.
2345 * XmlDataSourcePropertyDescriptor.cs: Implemented.
2346 * PagerSettings.cs: Mostly implemented.
2347 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
2348 * DataBoundControl.cs: Added null check.
2349 * GridView.cs: Initial implementation.
2350 * CompositeDataBoundControl.cs: Implemented.
2351 * BoundField.cs: Initial implementation.
2352 * GridViewRowCollection.cs: Initial implementation.
2353 * DataControlFieldCollection.cs: Initial implementation.
2354 * DataControlFieldCell.cs: Fixed control tag.
2355 * GridViewRow: Initial implementation.
2356 * XmlDataSourceNodeDescriptor.cs: Implemented.
2358 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2360 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
2361 is zero, use the TagName no matter its value. Fixes bug #72415.
2363 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
2365 * Style.cs: Method name fix.
2366 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
2367 * BaseCompareValidator.cs: Method signature fix.
2368 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
2369 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
2370 * BulletedList.cs: Added missing method.
2371 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
2373 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
2375 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
2376 * RadioButton.cs: Added missing 2.0 methods.
2377 * ListItem.cs: Added Enabled property.
2378 * MailMessageEventArgs.cs: Use the correct message class.
2379 * ListControl.cs: Implemented missing properties and support for
2380 control state. Implemented base RenderContents method.
2381 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
2383 * BaseCompareValidator.cs: Implemented methods that support conditional
2384 use of the invariant culture.
2385 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
2386 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
2387 It takes a DbCommand instead of a IDbCommand.
2388 * GridViewSortEventArgs.cs: Added SortDirection property.
2389 * TextBox.cs, CheckBoxList.cs: Added protected version of
2390 IPostBackDataHandler methods.
2391 * RadioButtonList.cs: Added protected version of
2392 IPostBackDataHandler and IRepeatInfoUser methods.
2393 * Repeater.cs: Updated some method names.
2394 * DropDownList.cs: Added protected version of
2395 IPostBackDataHandler methods. Reuse RenderContents from base class.
2396 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
2397 * GridViewUpdatedEventArgs.cs: Fix typo.
2398 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
2399 Reuse RenderContents from base class.
2400 * BaseDataBoundControl.cs: Several fixes.
2401 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
2403 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
2405 * CheckBoxList.cs: Fix build.
2407 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
2409 * Button.cs: Use validation group when validating page.
2410 * XmlDataSourceView.cs: Implemented ExecuteSelect.
2411 * Menu.cs: Minor fix.
2412 * CheckBox.cs: Added 2.0 properties and methods.
2413 * BaseDataList.cs: Always databind the control if view state
2415 * DataList.cs: In 2.0, use control state to save the selected index.
2416 * DetailsViewUpdatedEventArgs.cs: Fix typo.
2417 * CustomValidator.cs: Implement IStaticTextControl interface.
2418 * CheckBoxList.cs: Added missing 2.0 methods.
2419 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
2421 * XmlDataSource.cs: Return childs of DocumentElement, not the root
2423 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
2424 Implemented 2.0 API.
2427 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
2429 * Button.cs: Implemented all missing 2.0 features.
2430 * Table.cs: Render the table caption, when specified.
2431 * Calendar.cs: Implemented most of missing 2.0 features.
2432 * TableCell.cs: Fixed attributes.
2434 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
2436 * ControlPropertyNameConverter.cs: Added file.
2438 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
2440 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
2441 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
2442 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
2443 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
2444 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
2445 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
2446 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
2447 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
2448 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
2449 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
2450 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
2451 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
2452 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
2453 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
2454 DataGridSortCommandEventArgs.cs, Repeater.cs,
2455 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
2456 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
2457 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
2458 CompareValidator.cs, HierarchicalDataBoundControl.cs,
2459 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
2460 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
2461 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
2462 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
2463 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
2464 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
2465 AdCreatedEventArgs.cs:
2467 General 2.0 API fixes: missing attributes, incorrect inheritance,
2468 missing sealed keywords, wrong signatures, etc.
2470 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
2472 * Table.cs: Added some 2.0 properties.
2473 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
2475 * BaseValidator.cs: Fix warning.
2476 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
2478 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
2480 * Menu.cs: Rendering fixes.
2482 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
2484 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
2485 ContentPlaceHolderBuilder.cs: Implemented.
2487 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2489 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
2490 attributes that are meant to be in the input tag in their place.
2492 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
2494 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
2495 generates invalid html).
2497 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
2499 * Menu.cs: Implemented most of missing properties. Added support for
2500 item templates. Implemented menu scrolling.
2501 * MenuItemBinding.cs: Implemented most of missing properties.
2502 * MenuItem.cs: Implemented most of missing properties.
2503 * Menu.js: Implemented scrolling and menu reposition into screen.
2504 * MenuItemTemplateContainer.cs: Implemented.
2505 * SubMenuStyle.cs: Implemented.
2507 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
2509 * Style.cs: Implemented RegisteredCssClass property. Added
2510 CopyTextStylesFrom method, which copies styles that only apply to text.
2511 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
2512 in the page stylesheet. Added support for ItemSpacing property.
2513 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
2515 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
2517 * Style.cs: Generate styles using a CssStyleCollection, so the code can
2518 be reused for the 2.0 FillStyleAttributes method.
2519 * Menu.cs: Implemented more properties and events. Rendering is very
2521 * MenuItem.cs: Added PopOutImageUrl property.
2522 * Menu.js: More work on submenu management.
2524 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
2526 * Menu.cs: Implemented basic rendering. Added some missing properties.
2527 * MenuItem.cs: Improved implementation of Depth.
2528 * Unit.cs: Added serializable attribute.
2529 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
2530 so it can be reused.
2531 * Menu.js: New script to support he Menu control.
2533 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
2535 * MenuEventArgs.cs: Changed to sealed.
2536 * TreeView.cs: Minor fix.
2537 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
2538 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
2539 MenuItemStyleCollection.cs: Initial Menu code.
2541 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
2543 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
2544 Implemented SetDirtyObject.
2545 * Style.cs: Implemented SetDirty().
2546 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
2547 * TreeNode.cs: Added missing attributes added support for
2548 PopulateOnDemand. Added some missing property bindings.
2549 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
2550 to newly added elements to make sure al new data is saved.
2551 * TreeView.js: Implemented support for client population of nodes.
2552 * TreeNodeStyle.cs: Added missing attributes.
2553 * TreeView.cs: Implemented support for PopulateNodesFromClient and
2554 PopulateOnDemand. Improved rendering.
2556 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
2558 * DataControlField.cs:
2559 * DataControlFieldCell.cs: Initial implementation.
2561 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
2563 * TreeNodeBindingCollection.cs: Implemented.
2564 * TreeNodeBinding.cs: Implemented.
2565 * TreeNode.cs: Added support for data binding.
2566 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
2567 TreeView_Default_NoExpand.gif: Moved to resources directory.
2568 * ListControl.cs: Fixed api.
2569 * XmlHierarchicalEnumerable.cs: Made internal.
2570 * DataBoundControl.cs: Modified api to match latest ms.net.
2571 * TreeView.js: New javascript file to support TreeView in the client.
2572 * XmlDataSource.cs: Added missing attributes.
2573 * HierarchicalDataBoundControl.cs: Mostly implemented.
2574 * BaseDataBoundControl.cs: Mostly implemented.
2575 * XmlHierarchyData.cs: Made internal.
2576 * TreeView.cs: Mostly implemented. The major missing feature is
2577 client side tree population.
2579 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
2582 * DataBountControl.cs:
2583 * Repeater.cs: Added SelectArguments property and updated.
2584 * SiteMapDataSourceView.cs:
2585 * SqlDataSourceView.cs:
2586 * XmlDataSourceView.cs: Removed extra method, which was there to
2587 keep things compiling.
2589 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
2591 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
2592 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
2593 TreeView.cs: Initial implementation.
2594 * DataBoundControl.cs: Set the correct base class.
2595 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
2596 * TreeNodeSelectAction.cs: Formatting.
2597 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
2598 TreeView_Default_NoExpand.gif: TreeView images.
2600 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
2602 * SqlDataSourceView.cs: Updated methods and added one property.
2604 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
2606 * AccessDataSource.cs:
2607 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
2608 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
2610 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
2611 * SqlDataSourceView.cs: Updated constructor.
2613 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
2615 * AccessDataSourceView.cs: Added new class.
2617 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
2619 * SqlDataSourceView.cs: Corrected exception handling in
2620 ExecuteSelect method.
2622 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
2624 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
2625 * SiteMapDataSourceView.cs: Minor fix.
2627 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
2629 * SqlDataSourceView.cs: Updated ExecuteSelect method.
2631 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
2633 * SqlDataSource.cs: Corrected Select method.
2635 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
2637 * SqlDataSource.cs: Updated Select method definition.
2638 * SqlDataSourceStatusEventArgs.cs: Updated class.
2640 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
2642 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
2643 from DataSourceView.cs).
2645 2004-11-10 Raja R Harinath <rharinath@novell.com>
2647 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
2649 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
2651 * SqlDataSource.cs: Corrected method calls.
2652 * SqlDataSourceView.cs: Partial implementation of few methods.
2654 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2656 * ListItemCollection.cs: fixed bug when indexing changed elements in
2657 LoadViewState. Patch from Alois BĻlaška.
2659 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
2661 * SiteMapDataSourceView.cs:
2662 * SqlDataSourceView.cs:
2663 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
2664 base class, DataSourceView. Changes are to keep things compiling.
2666 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
2668 * SiteMapDataSourceView.cs: Corrected class definition and updated.
2669 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
2672 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
2674 * AdRotator.cs: Updated.
2676 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
2678 * AccessDataSource.cs: Updated.
2680 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
2682 * ValidatedControlConverter.cs: Updated.
2684 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
2686 * AssociatedControlConverter.cs: Implemented.
2688 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
2690 * ControlIDConverter.cs: Initial implementation.
2692 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
2694 * IButtonControl.cs: Corrected property name.
2696 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
2698 * ParameterCollection.cs: Updated.
2700 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
2702 * Parameter.cs: Updated and completed implementation.
2704 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
2706 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
2709 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
2711 * AccessDataSource.cs: Initial implementation.
2713 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
2715 * DataControlRowState.cs:
2717 * TreeNodeTypes.cs: Added attribute.
2718 * DataControlRowType.cs:
2720 * SortDirection.cs: Corrected enumeration values.
2721 * TableRowSection.cs: Added new enumeration.
2722 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
2724 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2726 * TableStyle.cs: don't render empty 'rules' attribute (again).
2728 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
2730 * FormViewUpdatedEventArgs.cs: Spelling mistake.
2732 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
2734 * Literal.cs: Added new method Focus().
2736 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2738 * RadioButton.cs: fix GroupName when the control is inside a
2739 NamingContainer different from Page. Closes bug #65586.
2741 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
2743 * Localize.cs: Added new class.
2745 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
2747 * CompositeControl.cs : Completed
2748 * Login.cs : Initial implementation.
2750 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2752 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
2753 don't call MapPathSecure on the content itself.
2755 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
2756 document is checked at parse time and will be checked again at run time.
2760 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
2762 * AuthenticateEventHandler.cs:
2763 * CreateUserErrorEventArgs.cs:
2764 * CreateUserErrorEventHandler.cs:
2765 * DetailsViewCommandEventHandler.cs:
2766 * DetailsViewDeleteEventArgs.cs:
2767 * DetailsViewDeleteEventHandler.cs:
2768 * DetailsViewDeletedEventArgs.cs:
2769 * DetailsViewDeletedEventHandler.cs:
2770 * DetailsViewInsertEventArgs.cs:
2771 * DetailsViewInsertEventHandler.cs:
2772 * DetailsViewInsertedEventArgs.cs:
2773 * DetailsViewInsertedEventHandler.cs:
2774 * DetailsViewModeEventArgs.cs:
2775 * DetailsViewModeEventHandler.cs:
2776 * DetailsViewPageEventHandler.cs:
2777 * DetailsViewUpdateEventArgs.cs:
2778 * DetailsViewUpdateEventHandler.cs:
2779 * DetailsViewUpdatedEventArgs.cs:
2780 * DetailsViewUpdatedEventHandler.cs:
2781 * FormViewCommandEventHandler.cs:
2782 * FormViewDeleteEventArgs.cs:
2783 * FormViewDeleteEventHandler.cs:
2784 * FormViewDeletedEventArgs.cs:
2785 * FormViewDeletedEventHandler.cs:
2786 * FormViewInsertEventArgs.cs:
2787 * FormViewInsertEventHandler.cs:
2788 * FormViewInsertedEventArgs.cs:
2789 * FormViewInsertedEventHandler.cs:
2790 * FormViewModeEventHandler.cs:
2791 * FormViewPageEventHandler.cs:
2792 * FormViewUpdateEventArgs.cs:
2793 * FormViewUpdateEventHandler.cs:
2794 * FormViewUpdatedEventArgs.cs:
2795 * FormViewUpdatedEventHandler.cs:
2796 * GridViewCancelEditEventArgs.cs:
2797 * GridViewCancelEditEventHandler.cs:
2798 * GridViewCommandEventHandler.cs:
2799 * GridViewDeleteEventArgs.cs:
2800 * GridViewDeleteEventHandler.cs:
2801 * GridViewDeletedEventArgs.cs:
2802 * GridViewDeletedEventHandler.cs:
2803 * GridViewEditEventHandler.cs:
2804 * GridViewPageEventHandler.cs:
2805 * GridViewRowEventHandler.cs:
2806 * GridViewSelectEventHandler.cs:
2807 * GridViewSortEventArgs.cs:
2808 * GridViewSortEventHandler.cs:
2809 * GridViewUpdateEventArgs.cs:
2810 * GridViewUpdateEventHandler.cs:
2811 * GridViewUpdatedEventArgs.cs:
2812 * GridViewUpdatedEventHandler.cs:
2813 * ImageMapEventHandler.cs:
2814 * MailMessageEventHandler.cs:
2815 * MenuEventHandler.cs:
2816 * ObjectDataSourceDisposingEventHandler.cs:
2817 * ObjectDataSourceEventHandler.cs:
2818 * ObjectDataSourceMethodEventArgs.cs:
2819 * ObjectDataSourceMethodEventHandler.cs:
2820 * ObjectDataSourceSelectingEventArgs.cs:
2821 * ObjectDataSourceSelectingEventHandler.cs:
2822 * ObjectDataSourceStatusEventArgs.cs:
2823 * ObjectDataSourceStatusEventHandler.cs:
2824 * SendMailErrorEventHandler.cs:
2825 * SiteMapNodeItemEventHandler.cs:
2826 * SqlDataSourceSelectingEventArgs.cs:
2827 * SqlDataSourceSelectingEventHandler.cs:
2828 * TreeNodeEventHandler.cs:
2829 * WizardNavigationEventArgs.cs:
2830 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
2831 corrections and removing "sealed" access specifier from *EventHandler.cs
2833 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
2835 * Literal.cs: Added new attributes and property for .Net 2.0
2837 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
2839 * GridViewDeleteEventArgs.cs: Removed extra code.
2841 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
2843 * SendMailErrorEventArgs.cs:
2844 * SendMailErrorEventHandler.cs:
2845 * SiteMapNodeItemEventArgs.cs:
2846 * SiteMapNodeItemEventHandler.cs:
2847 * SqlDataSourceSelectingEventArgs.cs:
2848 * SqlDataSourceSelectingEventHandler.cs:
2849 * TreeNodeEventArgs.cs:
2850 * TreeNodeEventHandler.cs:
2851 * WizardNavigationEventArgs.cs:
2852 * WizardNavigationEventHandler.cs: Added new delegates.
2854 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
2856 * ImageMapEventArgs.cs:
2857 * ImageMapEventHandler.cs:
2858 * MailMessageEventArgs.cs:
2859 * MailMessageEventHandler.cs:
2861 * MenuEventHandler.cs:
2862 * ObjectDataSourceDisposingEventArgs.cs:
2863 * ObjectDataSourceDisposingEventHandler.cs:
2864 * ObjectDataSourceEventArgs.cs:
2865 * ObjectDataSourceEventHandler.cs:
2866 * ObjectDataSourceMethodEventArgs.cs:
2867 * ObjectDataSourceMethodEventHandler.cs:
2868 * ObjectDataSourceSelectingEventArgs.cs:
2869 * ObjectDataSourceSelectingEventHandler.cs:
2870 * ObjectDataSourceStatusEventArgs.cs:
2871 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
2873 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
2875 * DetailsViewCommandEventArgs.cs:
2876 * FormViewCommandEventArgs.cs:
2877 * GridViewCommandEventArgs.cs: Corrected constructor.
2879 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
2881 * GridViewCancelEditEventArgs.cs:
2882 * GridViewCancelEditEventHandler.cs:
2883 * GridViewCommandEventArgs.cs:
2884 * GridViewCommandEventHandler.cs:
2885 * GridViewDeletedEventArgs.cs:
2886 * GridViewDeletedEventHandler.cs:
2887 * GridViewDeleteEventArgs.cs:
2888 * GridViewDeleteEventHandler.cs:
2889 * GridViewEditEventArgs.cs:
2890 * GridViewEditEventHandler.cs:
2891 * GridViewPageEventArgs.cs:
2892 * GridViewPageEventHandler.cs:
2893 * GridViewRowEventArgs.cs:
2894 * GridViewRowEventHandler.cs:
2895 * GridViewSelectEventArgs.cs:
2896 * GridViewSelectEventHandler.cs:
2897 * GridViewSortEventArgs.cs:
2898 * GridViewSortEventHandler.cs:
2899 * GridViewUpdatedEventArgs.cs:
2900 * GridViewUpdatedEventHandler.cs:
2901 * GridViewUpdateEventArgs.cs:
2902 * GridViewUpdateEventHandler.cs: Added new delegates.
2904 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
2906 * FormViewUpdatedEventArgs.cs: Corrected constructor.
2908 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
2910 * FormViewCommandEventArgs.cs: Corrected name of class.
2912 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2914 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
2917 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
2919 * FormViewCommandEventArgs.cs:
2920 * FormViewCommandEventHandler.cs:
2921 * FormViewDeletedEventArgs.cs:
2922 * FormViewDeletedEventHandler.cs:
2923 * FormViewDeleteEventArgs.cs:
2924 * FormViewDeleteEventHandler.cs:
2925 * FormViewInsertedEventArgs.cs:
2926 * FormViewInsertedEventHandler.cs:
2927 * FormViewInsertEventArgs.cs:
2928 * FormViewInsertEventHandler.cs:
2929 * FormViewModeEventArgs.cs:
2930 * FormViewModeEventHandler.cs:
2931 * FormViewPageEventArgs.cs:
2932 * FormViewPageEventHandler.cs:
2933 * FormViewUpdatedEventArgs.cs:
2934 * FormViewUpdatedEventHandler.cs:
2935 * FormViewUpdateEventArgs.cs:
2936 * FormViewUpdateEventHandler.cs: Added new delegates.
2938 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
2940 * DetailsViewCommandEventArgs.cs:
2941 * DetailsViewCommandEventHandler.cs:
2942 * DetailsViewDeletedEventArgs.cs:
2943 * DetailsViewDeletedEventHandler.cs:
2944 * DetailsViewDeleteEventArgs.cs:
2945 * DetailsViewDeleteEventHandler.cs:
2946 * DetailsViewInsertedEventArgs.cs:
2947 * DetailsViewInsertedEventHandler.cs:
2948 * DetailsViewInsertEventArgs.cs:
2949 * DetailsViewInsertEventHandler.cs:
2950 * DetailsViewModeEventArgs.cs:
2951 * DetailsViewModeEventHandler.cs:
2952 * DetailsViewPageEventArgs.cs:
2953 * DetailsViewPageEventHandler.cs:
2954 * DetailsViewUpdatedEventArgs.cs:
2955 * DetailsViewUpdatedEventHandler.cs:
2956 * DetailsViewUpdateEventArgs.cs:
2957 * DetailsViewUpdateEventHandler.cs: Added new delegates.
2959 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
2961 * AuthenticateEventArgs.cs:
2962 * AuthenticateEventHandler.cs:
2963 * CreateUserErrorEventArgs.cs:
2964 * CreateUserErrorEventHandler.cs: Added new delegates.
2966 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
2968 * IButtonControl.cs:
2969 * ICallbackContainer.cs:
2970 * ICompositeControlDesignerAccessor.cs:
2971 * IPostBackContainer.cs: Added new interfaces.
2973 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
2976 * AutoCompleteType.cs:
2977 * ContentDirection.cs:
2978 * DataControlCellType.cs:
2979 * DataControlRowState.cs:
2980 * DataControlRowType.cs:
2981 * DetailsViewMode.cs:
2982 * DynamicImageParameterMode.cs:
2985 * ImageFieldMode.cs:
2992 * SiteMapNodeItemType.cs:
2993 * SiteMapNodeType.cs:
2994 * SiteMapViewType.cs:
2996 * TableCaptionAlign.cs:
2997 * TableHeaderScope.cs:
2999 * TreeNodeSelectAction.cs:
3001 * TreeViewImageSet.cs:
3002 * WizardStepType.cs: Added enumerations
3004 2004-08-02 Duncan Mak <duncan@ximian.com>
3007 * LoginFailureAction.cs:
3008 * LoginTextLayout.cs: Added enumerations.
3010 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3012 * BaseValidator.cs: in Validate(), when the control is not visible or
3013 enabled, return inmediately after setting IsValid to true. Fixes bug
3016 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3018 * DataList.cs: s/HasChildren/HasControls()/.
3020 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3022 * DataList.cs: style.
3024 2004-07-27 Alon Gazit <along@mainsoft.com>
3025 * DataList.cs: Replaced foreach statement with for statement,
3026 in order to improve performence.
3028 2004-07-27 Alon Gazit <along@mainsoft.com>
3029 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
3031 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
3032 switch statements in order to improve performance.
3034 2004-06-10 Alon Gazit <along@mainsoft.com>
3035 * WebControl.cs: fixed LoadViewState().
3036 Creates new attributes state bag only when the current is null.
3038 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3040 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
3042 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3044 * Calendar.cs: set the title class attribute if we have it. Fixes bug
3047 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3049 * Style.cs: added SetBit.
3051 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3054 * CompareValidator.cs:
3057 * WebControl.cs: Added protected missing members and attributes.
3059 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3061 * TextBox.cs: don't save the Text if in ViewState if it's a password.
3062 Save it if the control is not visible or not enabled. Fixes bug #58497.
3064 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3066 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
3069 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
3071 * SqlDataSourceCommandEventArgs:
3072 * XmlDataSource.cs : removed temporary workarounds for CLS
3073 compliance as System.Data is now CLS compliant
3075 2004-05-06 Alon Gazit <along@mainsoft.com>
3076 * WebControl.cs: fixed LoadViewState() and SaveViewState().
3077 Before the change the Enabled property wasn't updated when a postback
3079 * ListControl.cs: fixed SelectedIndex property implementation.
3080 Prevents throwing ArgumentOutOfRangeException (that should not be
3081 thrown), when the list is empty.
3083 2004-04-28 Alon Gazit <along@mainsoft.com>
3084 * WebControl.cs: fixed LoadViewState().
3085 Always loading the saved attributes collection.
3087 2004-04-18 Alon Gazit <along@mainsoft.com>
3088 * Repeater.cs: fixed InstantiateItem() and DataSource property.
3089 The change in DataSource prevents throwing ArgumentException while
3090 setting property value to null.
3091 The change in InstantiateItem() prevents NullReferenceException.
3093 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
3095 * BaseValidator.cs: Store Display property in the correct ViewState
3096 property. Don't render anything if Display is ValidatorDisplay.None.
3098 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
3100 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
3101 since it is already a physical path. Fixes bug #55334.
3103 2004-02-13 Jackson Harper <jackson@ximian.com>
3105 * Calendar.cs: Match MS postback data. This allows sites that
3106 parse the postback data manually to work.
3108 2004-02-04 Alon Gazit <along@mainsoft.com>
3109 * EditCommandColumn.cs: fixed InitializeCell().
3110 The rendered LiteralControl should contain " " and not " ".
3112 2004-02-01 Alon Gazit <along@mainsoft.com>
3114 * DataGrid.cs: fixed a problem in the paging mechanism in the method
3116 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
3117 while clicking the "..." link in the second page.
3119 2004-01-28 Alon Gazit <along@mainsoft.com>
3121 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
3123 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3125 * Calendar.cs: when rendering days, add a LiteralControl containing the
3126 day before OnDayRender is called. Only generate the default links for
3127 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
3129 2004-01-21 Martin Baulig <martin@ximian.com>
3131 * XmlHierarchyData.cs: Make this compile with csc.
3133 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
3134 accessor since the base class doesn't have one.
3136 2004-01-18 Alon Gazit <along@mainsoft.com>
3138 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
3140 2004-01-18 Alon Gazit <along@mainsoft.com>
3142 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
3143 Property default value.
3144 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
3145 Property default value.
3147 2004-01-15 Alon Gazit <along@mainsoft.com>
3149 * RadioButtonList.cs: RepeatLayout property should affect the rendered
3152 2004-01-15 Alon Gazit <along@mainsoft.com>
3153 * FontInfo.cs: Add validation check to Size property.
3155 2004-01-07 Alon Gazit <along@mainsoft.com>
3156 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
3157 merge the column's style to the cell's style and not to
3158 the item's(row) style.
3160 2004-01-04 Alon Gazit <along@mainsoft.com>
3161 * RangeValidator.cs: Fixed ControlPropertiesValid().
3163 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3165 * Xml.cs: mono-stylized and removed warnings.
3167 2004-1-1 Alon Gazit <along@mainsoft.com>
3168 * RadioButtonList.cs: update RenderItem() so that each RadioButton
3169 is enabled or disabled like the RadioButtonList.
3170 * CheckBoxList.cs: update RenderItem() so that each CheckBox
3171 is enabled or disabled like the CheckBoxList.
3173 2004-1-1 Alon Gazit <along@mainsoft.com>
3174 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
3175 The Header or Footer Style shouldn't merge with the cells Style.
3177 2004-1-1 Alon Gazit <along@mainsoft.com>
3178 * DataGridColumn.cs: Headers and Footers are initialized
3179 with the relevant Style object.
3181 2003-12-30 Alon Gazit <along@mainsoft.com>
3182 * RepeatInfo.cs: Fixed DoVerticalRendering () and
3183 DoHorizontalRendering().
3184 Current implementation produces few extra html tags.
3186 2003-12-29 Alon Gazit <along@mainsoft.com>
3188 * CheckBox.cs: change the implementation of LoadPostData.
3189 Currently, while the AutoPostBack property equals true ,
3190 it isn't possible to perform uncheck.
3192 2003-12-19 Jackson Harper <jackson@ximian.com>
3194 * TableCell.cs: Setting a cells text should clear its control
3195 collection as per la specification. This fixes bug #51825.
3197 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3199 * DataGridColumn.cs: stylized LoadViewState.
3200 * DataGridColumnCollection.cs: when TrackViewState is called, also
3201 call it on all the existing columns. Fixes bug #52334.
3203 2003-12-18 Alon Gazit <along@mainsoft.com>
3205 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
3208 2003-12-18 Alon Gazit <along@mainsoft.com>
3210 * TableStyle.cs: merge TableStyle properties when Style is empty.
3212 2003-12-16 Alon Gazit <along@mainsoft.com>
3214 * HyperLink.cs: Change Text property implementation. in MS when the Text
3215 property is set, all the controls in the HyperLink are being deleted.
3216 This fixes bug #52239.
3218 2003-12-15 Alon Gazit <along@mainsoft.com>
3219 * RepeatInfo.cs: Fixed DoVerticalRendering () and
3220 DoHorizontalRendering().
3221 Both methods add additional empty table row in the head of each item
3222 table when the variable named isTable equals true (happenes with the
3223 default instantiation of RepeatInfo). These additional rows should be
3224 added when isTable equals false.
3225 This fixes bug #52225.
3227 2003-12-15 Alon Gazit <along@mainsoft.com>
3229 * RepeatInfo.cs: Fixed DoVerticalRendering() and
3230 DoHorizontalRendering().
3231 Both methods add to rendered Header a colspan attribute according to the
3232 rows count. after the change the colspan is added according to the
3235 2003-12-15 Alon Gazit <along@mainsoft.com>
3236 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
3237 In .NET if the checkbox is disabled ,its text appears disabled too.
3238 In Mono the text appears enabled. the fix is in Render().
3239 This fixes bug #52180.
3241 2003-12-15 Alon Gazit <along@mainsoft.com>
3242 * Repeater.cs: Change the implementation of CreateControlHierarchy().
3243 The current implementation renders extra Header and footer
3244 without Repeater.DataSource assign.
3245 This fixes bug #52179.
3247 2003-12-15 Alon Gazit <along@mainsoft.com>
3248 * DataGrid.cs: Change the implementation of the property
3249 BackImageUrl. The current implementation has no influence
3250 on the rendered Html.
3252 2003-12-15 Alon Gazit <along@mainsoft.com>
3253 * WebControl.cs: Change the implementation of the property
3254 Enabled. Before the change the WebControl also looked at
3255 parent.Enabled . fixed bug #52171.
3257 2003-12-11 Jackson Harper <jackson@ximian.com>
3259 * RepeatInfo.cs: When rendering vertically figure out how many
3260 colmns are not going to be filled in in the last row, and adjust
3261 things accordingly. This fixes bug #51863.
3263 2003-12-10 Alon Gazit <along@mainsoft.com>
3264 * TableRow.cs: Change the implementation of the properties
3265 HorizontalAlign and VerticalAlign. The current implementation
3266 has no influence on the rendered Html.
3268 2003-12-10 Alon Gazit <along@mainsoft.com>
3269 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
3270 property's set method.
3272 2003-12-09 Jackson Harper <jackson@ximian.com>
3274 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
3275 Increment counter when moving to start. Fixes bug #51926.
3277 2003-12-08 Jackson Harper <jackson@ximian.com>
3279 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
3280 Benjamin Jemlich. Fixes bug #51823.
3282 2003-12-07 Alon Gazit <along@mainsoft.com>
3283 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
3284 property is set to false. Fixes bug #58120.
3286 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3288 * TableItemStyle.cs: merge TableItemStyle properties when Style is
3289 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
3291 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3293 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
3296 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3298 * WebControl.cs: don't create the attributes when GetAttribute is
3301 2003-12-01 Jackson Harper <jackson@ximian.com>
3303 * WebControl.cs: Only allow access keys to be null or a single
3304 char. Patch by Alon Gazit <along@mainsoft.com>.
3306 2003-11-30 Jackson Harper <jackson@ximian.com>
3308 * CheckBoxList.cs: A checkbox will have null post data if it is
3309 unselected. This fixes bug #51516.
3311 2003-11-29 Jackson Harper <jackson@ximian.com>
3313 * DataGrid.cs: Display paging controls even when there is no
3314 data. Path by Mohammad DAMT. Fixes bug #51487.
3316 2003-11-29 Jackson Harper <jackson@ximian.com>
3318 * DataGrid.cs: Call TrackViewState when loading bound columns view
3319 state. So that their state is saved. This fixes bug #51424. Also
3322 2003-11-26 Jackson Harper <jackson@ximian.com>
3324 * BaseDataList.cs: Change && to || We will call that a typo so no
3325 one gets embarrased.
3327 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3329 * BaseDataList.cs: allow setting null as Datasource.
3331 * DataGrid.cs: keep autogenerated columns in the ViewState.
3333 Patches by Alon Gazit <along@mainsoft.com>.
3335 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
3337 * SqlDataSource*: Implement almost everything. Data access is
3340 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
3342 * Calendar.cs (SaveViewState):
3343 - We were allocating a 11 item array, we only used 10 items,
3344 so only allocate 10.
3345 - We only need to save the selected dates if there are any.
3346 * DataGrid.cs (SaveViewState):
3347 * DataGridColumn.cs (SaveViewState):
3348 * DataGridColumnCollection.cs (SaveViewState):
3349 - Only return the array if there is anything in it
3350 * Style.cs (SaveViewState):
3351 - Only save the bits if there were changes.
3352 * WebControl.cs (SaveViewState), (LoadViewState):
3353 - Don't save Enabled into the viewstate here, we already
3354 do it in the property. This just caused *EVERY* control
3355 to have a non-null state, taking up lots of extra room
3357 - The style will always be created with this control's
3358 viewstate, so the style will always return null for the
3359 viewstate. As such, we do not need to store it. We can
3360 also reduce the triplet to a pair because of this.
3362 2003-11-22 Jackson Harper <jackson@ximian.com>
3364 * ValidationSummary.cs: Fix number of messages and message array computation.
3366 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3368 * Xml.cs: Corrected attribute
3369 * XmlBuilder.cs: Added
3371 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3373 * Xml.cs: class status based fixes.
3375 2003-11-19 Jackson Harper <jackson@ximian.com>
3377 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
3379 2003-11-19 Jackson Harper <jackson@ximian.com>
3381 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
3382 teh applications base directory. This fixes bug #51092.
3384 2003-11-18 Todd Berman <tberman@gentoo.org>
3386 * ControlParameter.cs:
3387 * CookieParameter.cs:
3389 * QueryStringParameter.cs:
3390 * SessionParameter.cs: added public .ctor ()
3391 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
3392 and handling, as well as internal ParameterValue for easy access.
3393 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
3394 * ParameterCollection.cs: implementation redux.
3396 2003-11-18 Todd Berman <tberman@gentoo.org>
3398 * ParameterCollection.cs: Implemented
3399 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
3400 ToString () now matches asp.net
3402 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
3404 * ControlParameter.cs:
3405 * CookieParameter.cs:
3408 * QueryStringParameter.cs: New v2 files. Mostly
3409 implemented, still need a few methods.
3411 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3413 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
3414 Gazit <along@mainsoft.com>.
3416 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3418 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
3419 Patch by Alon Gazit <along@mainsoft.com>.
3421 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
3423 * DataBoundControl.cs: Implement
3424 * ListControl.cs: inherit from the above.
3425 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
3427 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
3432 * Repeater.cs: add v2 databinding stuff
3433 * XmlDataSource.cs: make it load the xml.
3435 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
3438 * XmlDataSourceView.cs:
3439 * XmlHierarchicalDataSourceView.cs:
3440 * XmlHierarchicalEnumerable.cs:
3441 * XmlHierarchyData.cs: Implement
3443 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
3445 * SiteMapDataSourceView.cs: Implement.
3447 2003-11-07 Jackson Harper <jackson@ximian.com>
3449 * ImageButton.cs: This is a workaround for bug #49819. It appears
3450 that the .x and .y values are not being posted, and only the x
3451 value is being posted with the ctrl's id as the key.
3453 2003-11-07 Jackson Harper <jackson@ximian.com>
3455 * DataGrid.cs (CreateControlHierarchy): Current page index is
3456 alolowed to equal page count. This prevents an exception being
3457 thrown when both are zero.
3459 2003-11-06 Jackson Harper <jackson@ximian.com>
3461 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
3462 * BaseValidator.cs: Disable base control so the isValid flag is
3465 2003-11-03 Jackson Harper <jackson@ximian.com>
3467 * TemplateColumn.cs: Use the same renderer for selected items as
3468 normal items. This fixes bug #49744.
3470 2003-11-03 Jackson Harper <jackson@ximian.com>
3473 * WebControl.cs: Fix argument out of range exceptions on
3474 properties. Patch by Yaron Shkop.
3476 2003-11-03 Jackson Harper <jackson@ximian.com>
3478 * TemplateColumn.cs: If the item is selected but there is no
3479 editItemTemplate use the itemTemplate. This matches MS behvoir.
3481 2003-11-03 Jackson Harper <jackson@ximian.com>
3483 * Repeater.cs: Always set alternating items to the AlternatingItem
3484 type, when instantiating alternating items use the itemTemplate if
3485 the alternatingItem template is null. This matches MS behavoir and
3488 2003-11-03 Jackson Harper <jackson@ximian.com>
3490 * DataGridPagerStyle.cs: Name of view state attribute is
3491 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
3492 visibility is changed. Patch by Yaron Shkop.
3494 2003-11-03 Jackson Harper <jackson@ximian.com>
3496 * RepeatInfo.cs: When doing horizontal rendering use the repeat
3497 columns as the number of columns in a row. This fixes bug #49016.
3499 2003-11-03 Jackson Harper <jackson@ximian.com>
3501 * PagedDataSource.cs (PageCount): Return page count of 1 if there
3502 paging is disabled. Patch by Yaron Shkop.
3503 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
3504 * TableStyle.cs (AddAttributesToRender): Render border style
3505 collapse. Patch by Yaron Shkop.
3507 * TableItemStyle.cs:
3508 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
3509 the wrong type. Patch by Yaron Shkop.
3511 2003-11-03 Jackson Harper <jackson@ximian.com>
3513 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
3515 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
3518 * BulletedListDisplayMode.cs:
3519 * BulletedListEventHandler.cs:
3521 * BulletedListEventArgs.cs: V2 controls (yay!)
3523 2003-10-30 Jackson Harper <jackson@ximian.com>
3525 * Repeater.cs: Throw an exception if the datasource is set to
3526 something that does not implement either IListSource or
3527 IEnumerable. This fixes bug #50155.
3529 2003-10-30 Jackson Harper <jackson@ximian.com>
3531 * DataGridPagerStyle.cs: Do not allow page button counts to be set
3532 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
3534 2003-10-29 Jackson Harper <jackson@ximian.com>
3536 * ButtonColumn.cs: Format string and text to format were
3537 inversed. This fixes bug #50171.
3539 2003-10-29 Jackson Harper <jackson@ximian.com>
3541 * DataGridColumn.cs: If an item style is set apply it to the
3542 cell. This fixes bug #50173.
3544 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
3546 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
3547 old debugging value.
3549 2003-10-29 Jackson Harper <jackson@ximian.com>
3551 * PagedDataSource.cs:
3552 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
3553 end of the last page. Fixes bug #5085.
3555 2003-10-29 Jackson Harper <jackson@ximian.com>
3557 * CheckBox.cs: Do not change the status of a checkbox when there
3558 is no post data. This fixes bug #49091.
3559 * CheckBoxList.cs: Do not change the status of the checkboxes when
3560 there is no post data. This fixes bug #49093.
3562 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
3564 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
3565 RadioButton. Fixes #50132
3567 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
3569 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
3570 paging from working. Fixes #48814.
3572 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
3574 * DataGrid.cs: A few typos kept us from viewing datagrids
3575 that were based on customized collections.
3577 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
3579 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
3581 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
3583 * Calendar.cs: render the next month button so that aligns to the
3586 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3588 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
3589 was just changing && by || after the first Match.
3591 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3593 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
3594 Patch by Yaron Shkop.
3596 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3598 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
3599 that fixes bug #49744. Now the selection doesn't lose its data.
3601 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
3603 * EditCommandColumn.cs: Implement; fix #49736
3605 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
3607 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
3608 the forground color. bug #49738
3610 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3612 * Calendar.cs: fixed bug #49727.
3614 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
3616 * TableStyle.cs: fix #49740.
3618 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3620 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
3621 * ValidationSummary.cs: fixes bug #49669.
3623 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3625 * Calendar.cs: apply the calendar style to the new Table, not to itself.
3628 * CheckBox.cs: render the hidden fields if AutoPostBack.
3630 * Style.cs: don't render empty width/height. Small improvement in
3633 * Table.cs: fixed condition for border width.
3636 (CopyFrom): always call the base class to copy other attributes. Fixes
3637 bug #49408. Don't render empty 'rules' attribute.
3639 * WebControl.cs: track viewstate when enabled. Don't overwrite source
3640 control attributes in CopyBaseAttributes.
3642 * ChangeLog: fixed dates.
3645 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
3647 * WebControl.cs : Attributes { get; } - Is Complete.
3648 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
3651 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
3653 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
3654 : RegisterValidatorCommonScript()
3655 - More code, I need HELP!
3656 : RegisterValidatorDeclaration()
3657 - More code, I need HELP!
3659 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3661 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
3664 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3666 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
3667 ClearViewState only called when no items.
3669 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3671 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
3673 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3675 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
3677 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3679 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
3682 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3684 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
3687 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3689 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
3690 * WebControl.cs: fixed Enabled property and save it in ViewState.
3694 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3696 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
3698 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3700 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
3703 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3705 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
3706 <rich@velvetsea.net>.
3708 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3710 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
3711 Skripsky <juraj@hotfeet.ch>
3713 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3715 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
3716 fixes rendering of the end tag.
3718 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3720 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
3721 (Yaron Shkop). Closes bug #48060.
3723 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3725 * CheckBox.cs: in LoadPostData, only return
3726 true when the new data is different from the one we had. Fixed
3727 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
3730 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3732 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
3734 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3736 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
3737 of Enable in ViewState. Fixes bug #47865.
3739 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3741 * Style.cs: the MARKED bit is not send set in ViewState unless something
3742 is changed. Fixed TrackViewState condition.
3744 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
3745 because it uses the same ViewState as the control. Fixes bug #47725.
3747 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3749 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
3750 that fixes databinding when only DataTextField or DataNavigateUrlField
3753 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3755 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
3756 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
3757 values before assigning a data source and other issues.
3759 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3761 * CheckBox.cs: save viewstate when needed and correctly handle post
3762 data. Fixes bug #47462.
3764 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3766 * ButtonColumn.cs: Removed additional attributes
3767 * CheckBox.cs: Added attribute
3768 * DataGrid.cs: Added attributes
3769 * HyperLinkColumn.cs: Changed attributes, added lamespec
3770 * Style.cs: Removed attributes
3771 * TextBox.cs: Added/ removed attributes
3773 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3775 * AdRotator.cs: Added all attributes
3776 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
3777 * BaseValidator.cs: Added all attributes
3778 * BoundColumn.cs: Added all attributes
3779 * Button.cs: Added all attributes
3780 * ButtonColumn.cs: Added all attributes, added lamespec
3781 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
3782 * CheckBox.cs: Added all attributes
3783 * CheckBoxList.cs: Added all attributes
3784 * CompareValidator.cs: Added all attributes
3785 * CustomValidator.cs: Added all attributes
3786 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
3787 * DataGridColumn.cs: Added all attributes
3788 * DataGridColumnCollection.cs: Added all attributes
3789 * DataGridPagerStyle.cs: Added all attributes
3790 * DataGridTableInternal.cs: Made DataGridTableInternal internal
3791 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
3792 * DropDownList.cs: Added all attributes
3793 * FontInfo.cs: Added all attributes
3794 * HyperLink.cs: Added all attributes
3795 * HyperLinkColumn.cs: Added all attributes
3796 * Image.cs: Added all attributes
3797 * ImageButton.cs: Added all attributes
3798 * Label.cs: Added all attributes
3799 * LinkButton.cs: Added all attributes
3800 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
3801 * ListControl.cs: Added all attributes
3802 * ListItem.cs: Added all attributes
3803 * ListItemCollection.cs: Added attribute
3804 * Literal.cs: Added all attributes
3805 * Panel.cs: Added all attributes
3806 * RadioButton.cs: Added all attributes
3807 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
3808 * RangeValidator.cs: Added all attributes
3809 * RegularExpressionValidator.cs: Added all attributes
3810 * Repeater.cs: Added all attributes
3812 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3814 * RequiredFieldValidator.cs: Added all attributes
3815 * Style.cs: Added all attributes
3816 * Table.cs: Added all attributes
3817 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
3818 * TableCellCollection.cs: Added attribute
3819 * TableRow.cs: Added all attributes
3820 * TableRowCollection: Added attribute
3821 * TableStyle.cs: Added all attributes, improved error messages
3822 * TemplateColumn.cs: Added all attributes
3823 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
3824 * ValidationSummary.cs: Added all attributes
3825 * WebControl.cs: Added all attributes
3826 * Xml.cs: Added all attributes
3828 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3830 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
3831 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
3833 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3835 * CheckBoxList.cs: fixes bug reported on the list about the state of
3836 the CheckButtons not being preserved across posts.
3838 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3840 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
3842 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3844 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
3846 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3848 * ListControl.cs: save viewstate data when any of the 3 values is not
3849 null. Fixed condition to save selection indices. Closes bug #45493.
3851 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3853 * DataGrid.cs: fixed bug #43823.
3855 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3857 * DataGrid.cs: fixed delegate type for SortCommand.
3859 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3861 * DataGridColumnCollection.cs: added missing return in RemoveAt.
3863 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3865 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
3866 Don't save ViewState is the number of columns is 0.
3868 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3870 * DataGrid.cs: get the right item Type for the property we're reading
3871 fromt the data source.
3873 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3876 * TextBox.cs: added control builder attribute.
3878 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3880 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
3882 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
3884 * Unit.cs: Called the correct method to get the Numeric locale for the
3887 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3889 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
3890 correctly the header of the column.
3892 * DataGridTableInternal.cs: don't assign a default ID to this control.
3894 * LinkButton.cs: raise bubble event in OnCommand.
3896 * TableCellCollection.cs: fixed the index returned by Add.
3898 * TableRowCollection.cs: ditto.
3900 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3902 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
3904 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3906 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
3907 for reporting the bug and providing the fix.
3909 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3911 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
3912 CreateColumnSet. Set the owner of the column when auto generated.
3913 In PrepareControlHierarchyForItem, fixed for loop bound.
3915 * LinkButtonInternal.cs: fixed infinite recursion bug.
3919 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
3921 * Xml.cs: a few fixes.
3923 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3925 * DataList.cs: handle the exception when adding new keys to
3928 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3930 * BaseDataList.cs: what can I say for this one? I spent so many time
3931 until I finally found this that I'm gonna miss this f....g bug... ;-).
3932 Farewell. Now we can get events from image buttons inside Data*.
3934 * DataList.cs: now the value stored in ViewState for item count is
3937 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3939 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
3941 * DataGridColumn.cs: added SetOwner method.
3942 * DataGridColumnCollection.cs: set the owner of the column when added.
3944 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3946 * BoundColumn.cs: typo.
3947 * DataGrid.cs: use 'as' instead of casting. Typo.
3948 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
3951 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3953 * HyperLink.cs: fixes bug #36336.
3955 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3957 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
3959 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3961 * BaseValidator.cs: return an empty string in GetControlValidationValue
3962 when GetValue returned null.
3964 * CompareValidator.cs: fixed EvaluateIsValid.
3966 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
3968 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3970 * Xml.cs: use MapPathSecure to get the path of the document.
3972 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3974 * DataList.cs: fixed header & footer.
3976 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3978 * DataList.cs: for header and footer don't use data source.
3979 Instantiate in the DataListItem, not in the DataList.
3980 databind-template.aspx works now.
3982 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3985 (Render): call RenderContents (), not base.RenderContents ().
3987 * DataList.cs: style.
3989 But I still haven't found what i'm looking for....
3991 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3993 * Calendar.cs: fixed loading/saving selected dates.
3994 * SelectedDatesCollection.cs: added internal function to get the
3995 underlying ArrayList.
3997 Calendar navigation works again. Selecting dates too.
3999 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4001 * DataList.cs: added a few attributes and fixed infinite recursion.
4003 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4005 * ListItemCollection.cs: fixed LoadViewState.
4007 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4009 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
4010 Commented out some code until it works.
4012 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
4014 * BaseCompareValidator.cs - Fixed operator bug in
4015 Compare(string, string, ...)
4016 * CompareValidator.cs - EvaluateIsValid() : Implemented.
4018 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
4020 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
4022 - All Properties : Now make use of ViewState.
4024 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
4026 * BaseValidator.cs - Uncomment NotImplementedException.
4028 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
4030 * BaseValidator.cs - Minor changes in TODO comments.
4032 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
4034 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
4035 the NotImplementedException being thrown.
4036 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
4037 * DataGridLinkButton.cs - Added new class (private) : Implemented.
4038 * DataGrid.cs - InitializePager(DataGridItem, int,
4039 PagedDataSource) : Implemented.
4041 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
4043 * DataList.cs - PrepareControlHierarchy() : Implemented.
4045 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
4047 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
4048 - GetItem(ListItemType, int) : Removed TODO.
4049 - CreateControlHierarchy(bool) : Implemented.
4050 - CreateItem(int, ListItemType) : Implemented.
4051 - CreateItem(int, ListItemType,
4052 bool, object) : Implemented.
4053 - InitializeItem(DataItem) : Implemented.
4054 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
4055 The ViewState["_!ItemCount"],
4056 ViewState["_!DataSource_ItemCount"]
4057 are shared by DataList and DataGrid, and hence
4058 should share the same name.
4059 - ResolveDataSource(object, string)
4060 : Removed. Use System.Web.UI.Utils.DataSourceHelper
4061 ::GetResolvedDataSource(object, string).
4064 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4066 * DataGrid.cs: fixed compilation
4068 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
4070 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
4071 * DataGrid.cs - CreateControlHierarchy(bool)
4072 : working towards completion.
4073 - ResolveDataSource(object, string)
4074 : stubbed new method
4076 : stubbed new method
4077 Well. It's almost done.
4078 * DataGridTableInternal.cs
4079 - Added new internal class.
4081 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
4083 * DataSourceInternal.cs - Added new class (internal).
4085 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4088 * HorizontalAlign.cs:
4090 * VerticalAlign.cs: fixes based on class status page.
4092 * HorizontalAlignConverter.cs: implemented.
4093 * VerticalAlignConverter.cs: implemented.
4095 * FontUnitConverter.cs: implemented GetStandardValues ().
4097 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
4099 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
4101 * DataGrid.cs - AutoCreateColumns: Bug fixes.
4103 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
4105 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
4107 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
4109 * DataGrid.cs - Working on the undocumented protected
4110 method CreateColumnSet. AutoCreateColumns method
4111 stubbed. Left CreateControlHierarchy for the time
4112 being, looks like I'm going insane. ;-)
4114 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
4116 * Button.cs - Steffen's OnCommand bug fix.
4118 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
4120 * DataGrid.cs - Added protected method (skeleton)
4121 CreateColumnSet(PagedDataSource, bool)
4122 Still trying to know how will it be used
4125 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4127 * PagedDataSource.cs: fixed compilation.
4129 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
4131 * DataGrid.cs - Added private method
4132 CreatePagedDataSource
4134 CreateControlHierarchy(bool)
4135 * PagedDataSource.cs - Bug fixed.
4136 CurrentPageIndex is writable.
4138 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4140 * DataGrid.cs: fixed typo.
4141 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
4143 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
4145 * DataGridColumn.cs - Added internal methods to get the
4146 various styles (needed in DataGrid.cs)
4147 * DataGrid.cs - Completed the method
4148 PrepareControlHierarchy()
4150 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
4152 * DataGrid.cs - Wokring on PrepareControlHierarchy()
4153 - Added private method
4154 PrepareControlHierarchyForItem()
4156 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
4158 * DataGrid.cs - Completed method
4159 OnBubbleEvent(object, EventArgs)
4161 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4163 * Xml.cs: implemented document/transform load.
4165 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4167 * Calendar.cs: added myself to the list of authors.
4168 * DropDownList.cs: fixed a few properties.
4169 * ListControl.cs: fixed SelectedIndex.
4171 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4173 * Calendar.cs: lots of fixes. Render days. Still left to persist
4174 selected days when changing month.
4176 * Unit.cs: fixed Percentage and Pixel.
4178 * WebControl.cs: a few properties are now using ControlStyle instead
4179 of ViewState to persist.
4181 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4183 * BaseValidator.cs: it works now.
4184 * DataGridColumn.cs: added attribute and made it abstract.
4185 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
4187 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4189 * TextBox.cs: default for Wrap is true.
4190 (OnPreRender): don't save Text if there are no listeners on TextChanged.
4192 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4198 (LoadViewState): fixed.
4200 * ListItemCollection.cs:
4201 (TrackViewState): use items instead of 'this' in foreach.
4204 (LoadViewState): more checking of parameters.
4206 * WebControl.cs: implemented LoadViewState and SaveViewState.
4209 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4211 * ListItem.cs: there was no code to unset the flags!!!
4213 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4215 * FontUnit.cs: use a hashtable for mapping size name to value.
4216 * HyperLink.cs: fixed a bug and a typo.
4217 * Unit.cs: some fixes to internal constructor.
4219 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4221 * ListControl.cs: fixed a couple of range checks.
4222 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
4223 an HtmlForm (p.e., Label).
4225 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4235 * HyperLinkColumn.cs:
4244 * RadioButtonList.cs:
4248 * WebControl.cs: removed attributes added by mistake (i used
4249 GetCustomAttributes (true), d'oh!).
4251 * DataListItem.cs: implemented RenderItem.
4253 * Repeater.cs: implemented CreateItem and InitializeItem.
4255 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4257 * BaseDataList.cs: a couple of fiex and added attributes.
4258 * DataGrid.cs: little fixes.
4260 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4269 * RadioButtonList.cs:
4272 * Xml.cs: forgot to add using System.ComponentModel.
4274 * BaseValidator.cs: use explicitly
4275 System.ComponentModel.AttributeCollection as there is another class
4276 with the same name under System.Web.UI.
4278 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4297 * RadioButtonList.cs:
4302 * Xml.cs: added/fixed all attributes used by xsp.
4304 * BaseValidator.cs: some fixes.
4306 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4309 (AddAttributesToRender): correctly default to border=1.
4311 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4314 (LoadAdFile): make the dictionary null after every iteration.
4318 * ListItem.cs: fixed warnings.
4320 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
4322 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
4324 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4326 * DataGridColumn.cs:
4327 * DataGridPagerStyle.cs:
4334 * ListItemCollection.cs:
4336 * ServerValidateEventArgs.cs:
4340 * Xml.cs: more class status page based changes.
4342 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4345 (.ctor): fixed to render the correct tag.
4346 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
4348 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4351 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
4352 WebControl derived classes should be rendered inside a HtmlForm.
4354 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4356 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
4359 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4361 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
4362 * RepeatInfo.cs: implemented DoHorizontalRendering.
4364 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4366 * System.Web.UI.WebControls/Repeater.cs:
4368 (OnDataBinding): fixed stack overflow.
4370 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4372 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
4373 * RepeatInfo.cs: implemented DoHorizontalRendering.
4375 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4378 (CopyBaseAttributes): copy Attributes and don't throw exception.
4380 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4382 * ListBox.cs: mono-stylized.
4383 (AddAttributesToRender): call parent class method.
4385 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4387 * Style.cs: fixed IsEmpty and Width.
4389 * Table.cs: mono-stylized.
4390 (TableRowControlCollection.AddAt): fixed.
4391 (AddAttributesToRender): fixed.
4393 * TableCell.cs: mono-stylized.
4394 (.ctor): use PreventAutoID.
4395 (AddAttributesToRender): fixed.
4396 (AddParsedSubObject): fixed.
4398 * TableRow.cs: mono-stylized. Added
4399 ParseChildren attribute.
4402 (get_GridLine): fixed.
4404 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4406 * Panel.cs: fixed stack overflow.
4407 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
4408 and SingleConverter.
4410 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4412 * RadioButton.cs: mono-stylized and some little fixes.
4414 * TextBox.cs: mono-stylized.
4415 (MaxLength): fixed typo.
4417 (AddAttributesToRender): don't render the text between the tags for
4418 SingleLine, use value attribute for it. Don't render the text for
4421 (OnPreRender): don't throw exception and call base.OnPreRender.
4423 (Render): for MultiLine, render the text between the opening and
4424 closing tags encoded as HTML.
4426 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4429 (AddAttributesToRender): fixer another stack overflow.
4432 (TagName): modified to use TagKey instead of tagKey as the property
4435 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4437 * LinkButton.cs: mono-stylized.
4438 (AddParsedSubObject):
4439 (RenderControls): little fixes.
4442 (AddAttributesToRender): fixed usage of IEnumerator.
4444 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4446 * Literal.cs: beautified.
4448 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4450 * Label.cs: beautified and fixed a couple of 'classic' bugs.
4452 * WebControl.cs: use Span as default tag when no other provided in
4453 constructor. That is what MS renders.
4455 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4458 (AddAttributesToRender): fixed (classic) stack overflow.
4460 * CheckBox.cs: mono-stylized.
4461 (AutoPostBack): fixed stack overflow.
4462 (Render): fixed alignment issues. Also set the For attribute always
4465 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4467 * AdRotator.cs: GetData does not work as it should, but now it returns
4468 useful data (only the first ad in the file). Set the NavigateUrl
4469 property in the hyperlink if available.
4471 * HyperLink.cs: fixed constructor and a couple of stack overflows.
4473 * Image.cs: added an attribute and fixed stack overflow.
4476 (RenderBeginTag): fixed.
4477 (TagName): don't call Enum.IsDefined twice.
4479 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4481 * WebControl.cs: added attributes PersistChildrenAttribute and
4482 ParseChildrenAttribute.
4484 2002-05-24 Duncan Mak <duncan@ximian.com>
4486 * DataGridItem.cs (SetItemType): Changed function signature to
4489 * ListItemCollection.cs (this): Changes the visibility level of
4492 * Repeater.cs (OnItemCommand):
4494 (OnItemDataBound): Added necessary casts.
4496 2002-05-07 Duncan Mak <duncan@ximian.com>
4498 * Button.cs (AddAttributesToRender):
4499 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
4500 GetClientValidatedEvent method.
4502 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
4504 * Removed extra methods, corrected access modifiers to several
4507 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
4509 * <SeveralFiles>.cs - Added some attributes
4510 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
4511 methods. Will complete them later. Right now, busy with
4512 the attributes part.
4513 * RepeaterItem.cs - Completed.
4515 Oh God! Mercy! I will die applying attributes. I look at the missing
4516 part in the class-status - daemon! Kyrie eleison!
4518 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
4522 * AdRotator.cs - Added definition for Font.
4523 * BaseCompareValidator.cs - Added definition for Controls.
4524 * Calendar.cs - SelectMonthText definition corrected.
4525 * DataList.cs - Added definition for SeparatorTemplate.
4526 * BorderStyle.cs - Namespace correction. It belongs not to UI,
4527 but to UI.WebControls.
4529 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
4531 Finally, I have made it. Today I did a second build for the
4532 System.Web assembly. It compiled 195 classes today.
4533 I am waiting eagerly for the runtime to come up so that the objects
4534 may be tested to their last levels. Several of the methods are still
4535 under the tag of "TODO" throwing NotImplementedException. Well, I
4536 hope to remove them soon, but how far is this soon - even I don't
4537 know, though I am happy to make the build a success even before
4538 the vacations to come.
4540 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
4542 Yesterday and today I tried to do some building of the aseembly,
4543 but was dumped with uncoutably infinite errors. ;-)
4544 I have put the copies of the recent errors on my home page, want
4545 to have a look at them? See:
4546 http://mastergaurav.virtualave.net/mono/
4547 I don't know what to do with these errors. Oh! The buggy me! How
4548 will I overcome myself. Hopefully, by when my vacations over, I
4549 should have made a repository where the build will not fail.
4551 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
4553 I am now going to do a build that will include the
4554 System.Web.UI.WebControls namespace. Hoping that I will make it
4555 soon. My exams are coming near and I have to pack up soon.
4558 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
4561 And with this, ie, today's work, all the objects mentioned in the
4562 namespace appear in the implementation. But it may not be worth
4563 trying to go for a build because of dependence of several of the
4564 internal methods that may clash with already available assembly
4567 Also, the classes lack possible attributes, like those informing
4568 about child-controls etc. But I have to first create the attribute
4569 classes before I attach the attributes to the classes.
4571 * CustomValidator.cs - Completed. In process realized that
4572 I have to complete / rejuvinate BaseValidator class.
4573 * BaseValidator.cs - Complete rejuvination. Completed 80%
4574 of the job. All that is left is Render(HtmlTextWriter),
4575 DetermineRenderUplevel(), RegisterValidatorCommonScript()
4576 RegisterValidatorDeclaration()
4577 * DataGridPagerStyle.cs - Completed. That adds one more missle
4579 * DataKeyCollection.cs - Completed. Petty small.
4580 * Repeater.cs - Work started off. This is a quite
4582 * DataGridItemEventArgs.cs,
4583 * DataGridShortCommandEventArgs.cs,
4584 * DataListItemEventArgs.cs,
4585 * MonthChangedEventArgs.cs,
4586 * RepeaterItemEventArgs.cs,
4587 * ServerValidateEventArgs.cs,
4588 * DataGridPageChangedEventArgs.cs
4589 - Damn, I marked them "*", while they
4591 * Repeater.cs - Done all except for an undocumented
4592 method CreateControlHierarchy(bool). Though the method
4593 is quite clear by its name, but it will take some time
4594 for me to come with some material to flush in.
4596 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
4598 * SelectedDatesCollection.cs - Completed.
4599 * PagedDataSource.cs - Completed. Pathetically nice class.
4600 * RegularExpressionValidator.cs
4601 - Completed. Ridiculously small and
4602 annoyinglyc crazy-driving class, basically the method
4604 * RangeValidator.cs - Completed.
4605 * DataGridColumn.cs - Completed.
4606 * EditCommandColumn.cs - All is complete except for the
4607 InitializeCell(TableCell, int, ListItemType) method.
4608 * DataListItem.cs - All done except for a longish method
4609 RenderItem(HtmlTextWriter, bool, bool)
4611 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
4613 * RepeaterItemCollection.cs - Completed.
4614 I love *Collection classes. I am planning to make a
4615 program that will generate a *Collection class. It's so
4616 simple and the same. ;-)
4617 * DataGridColumnCollection.cs - Completed.
4618 ... except probably for *ColumnCollection classes, where
4619 you have to put in some more effort. Still, these class
4620 generation can be automated.
4621 * DataListItemCollection.cs - Completed.
4622 See, how easily, in less than a quarter of a minute, I
4623 completed this class - manually. Copy-Paste/Cut-Replace.
4625 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
4627 * DataGrid.cs - Following methods implemented:
4628 TrackViewState(), LoadViewState(object), SaveViewState(),
4629 On* -- The event raisers.
4630 OnBubbleEvent(object, EventArgs) is still incomplete.
4631 * DataGridItem.cs - Initial Implementation
4632 * DataGridItemCollection.cs - Completed.
4634 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
4636 * DataGrid.cs - Initial Implementation. Worked
4637 primarily with some properties.
4639 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
4641 * ListBox.cs - Completed. Implemented
4642 LoadPostData(string, NameValueCollection)
4643 * RequiredFieldValidator.cs - Completed. Pretty simple class.
4645 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
4647 * ListBox.cs - Implemented the following:
4648 RaisePostDataChangedEvent()
4650 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
4652 * ListBox.cs - Supports the following properties:
4653 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
4656 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
4657 RenderContents(HtmlTextWriter)
4660 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
4662 * TargetConverter.cs - Completed
4663 * TemplateColumn.cs - Completed
4664 * DataList.cs - Corrected the get-er methods for the
4665 *Style objects. Corrected the get/set-er methods for ViewState
4667 Addded support for properties:
4668 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
4669 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
4670 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
4671 SeparatorStyle, SeparatorItemTemplate.
4673 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
4674 ItemCreated, ItemDataBound, UpdateCommand.
4676 CreateControlStyle(), LoadViewState(object),
4677 SaveViewState(), TrackViewState
4679 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
4680 OnEditCommand, OnItemCommand, OnItemCreated,
4681 OnItemDataBound, OnUpdateCommand
4682 Added dummy methods for some undocumented methods:
4683 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
4684 CreateItem(int, ListItemType, bool, object),
4685 PrepareControlHierarchy(), InitializeItem(DataListItem)
4686 * ListBox.cs - Started working.
4690 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
4692 * RepeaterInfo.cs - Initial Implementation. Done all
4693 except for RepeatDirection.Vertical
4694 * TableStyle.cs - Completed
4696 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
4698 * DropDownList.cs - Completed
4699 * ListItemCollection.cs - Added method FindByValueInternal to
4700 assist in the derived classes.
4701 Discovered bug in FindByValue. Removed
4702 * UnitConverter.cs - Completed
4703 * PlaceHolder.cs - What can be simpler than this?
4704 * PlaceHolderControlBuilder.cs
4705 - Uh! Damn cool one.
4706 * RadioButtonList.cs - Initial Implementation. All is done
4707 except for the implementation of
4708 method IRepeatInfoUser.RenderItem(...)
4709 * ValidatedControlConverter.cs
4710 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
4711 * ValidationSummary.cs - Initial Implementation.
4712 * WebColorConverter.cs - Initial Implementation
4714 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
4716 * FontNamesConverter.cs - Completed
4717 * FontUnitConverter.cs - Partial Implementation
4718 * ListItemControlBuilder.cs - Completed
4720 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
4722 * TextBox.cs - All done except *Render* methods
4723 * TextBoxControlBuilder.cs - Completed
4724 * Xml.cs - Partial Implementation
4726 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
4728 * RadioButton.cs - Completed
4729 * TextBox.cs - Partial Implementation
4731 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
4733 * Panel.cs - Completed
4734 * TableItemStyle.cs - Completed
4736 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
4738 * TableCellCollection.cs - Completed
4739 * TableRowCollection.cs - Completed
4740 * TableHeaderCell.cs - Completed
4741 * TableRow.cs - Completed
4743 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
4745 * TableCellControlBuilder.cs - Completed
4746 * Table.cs - Completed
4747 * TableCell.cs - Completed
4749 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
4751 * CheckBoxList.cs - Completed
4752 * ButtonColumn.cs - Completed
4753 * Button.cs - Completed
4755 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
4757 * HyperLink.cs - Completed
4758 * Image.cs - Completed
4759 * ImageButton.cs - Completed
4760 * Label.cs - Completed
4761 * LabelControlBuilder.cs - Completed
4762 * LinkButton.cs - Completed
4763 * LinkButtonControlBuilder.cs - Completed
4764 * Literal.cs - Completed
4765 * LieteralControlBuilder.cs - Completed
4766 * FontUnit.cs - Completed
4769 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
4771 * Calendar.cs - Completed the functions of Render*,
4772 ViewStates (Track/View/Save),
4774 Left: RenderAllDays (partially)
4776 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
4778 * Calendar.cs - Added some more functions
4779 * Style.cs - Completed
4780 * ListItem.cs - Completed
4781 * ListItemCollection.cs - Completed
4783 Made the first successful build of System.Web.dll that included
4784 System.Web.UI.WebControls!
4786 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
4788 FontInfo.cs - Complete revamp. Completed
4790 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
4792 ListItemCollection.cs - Completed
4793 ListItem.cs - Initial Implementation
4794 Style.cs - Initial Implementation
4796 Right now I am in a total mood to do a successful build. Creating so many
4797 classes, completing classes in System.Web System.Web.UI namespaces.
4799 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
4801 TODO - Properly added
4802 CheckBox.cs - Completed
4803 BaseDataList.cs - Completed
4804 DayRenderEventArgs.cs - Completed
4805 RepeaterItem.cs - Initial implementation
4807 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
4809 BaseCompareValidator.cs - Completed
4810 AdRotator.cs - Completed
4812 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
4814 CommandEventArgs.cs - Completed
4815 DataGridCommandEventArgs.cs - Completed
4816 RepeaterCommandEventArgs.cs - Completed
4817 DataListCommandEventArgs.cs - Completed
4818 CompareValidator.cs - Partial Implementation
4820 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
4822 CheckBoxList.cs - Partial Implementation.
4825 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
4827 ListControl.cs - Completed
4829 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
4831 CheckBox.cs - Completed
4832 ListControl.cs - Initial Implementation
4833 CheckBoxList.cs - Started with it, but first needed
4834 ListControl. Left it.
4836 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
4838 CalendarDay.cs - Making a note that this
4839 has been implemented
4840 Calendar.cs - Making a note that have made some changes.
4841 Unimplmented functions throw
4842 NotImplementedException
4843 CheckBox.cs - Can now "Render" and "LoadPostData"
4846 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
4847 WebControl.cs - Total Revamp, Partial Implementation
4848 AdRotator.cs - Able to load files
4849 AdCreatedEventArgs.cs - Implemented
4851 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
4852 Calendar.cs - Initial Implementation
4853 ButtonColumn.cs - Initial Implementation
4854 Button.cs - Initial Implementation
4855 BoundColumn.cs - Initial Implementation
4856 BaseCompareValidator.cs - Minor Changes
4857 DataList.cs, BaseValidator.cs, BaseDataList.cs
4858 - Added more functions, other changes
4860 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
4861 WebControl.cs - Initial Implementation
4862 DataList.cs - Initial Implementation
4863 BaseValidator.cs - Initial Implementation
4864 BaseDataList.cs - Initial Implementation
4866 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
4868 AdCreatedEventArgs.cs - Initial Implementation
4869 AdCratedEventHandler.cs - Implemented
4870 AdRotator.cs - Initial Implementation
4871 BorderStyle.cs - Implemented
4872 ButtonColumnStyle.cs - Implemented
4873 CalendarSelectionMode.cs - Implemented
4874 DayNameFormat.cs - Implemented
4875 FirstDayOfWeek - Implemented
4876 FontInfo.cs - Partial Implementation
4877 FontSize.cs - Implemented
4878 GridLines.cs - Implemented
4879 HorizontalAlign.cs - Implemented
4880 HyperLink.cs - Initial Implementation
4881 ImageAlign.cs - Implemented
4882 IRepeatInfoUser.cs - Implemented
4883 ListItemType.cs - Implemented
4884 ListSelectionMode.cs - Implemented
4885 NextPrevFormat.cs - Implemented
4886 PagerMode.cs - Implemented
4887 PagerPosition.cs - Implemented
4888 RepeatDirection.cs - Implemented
4889 RepeatLayout.cs - Implemented
4890 TextAlign.cs - Implemented
4891 TextBoxMode.cs - Implemented
4892 TitleFormat.cs - Implemented
4893 UnitType.cs - Implemented
4894 ValidationCompareOperator.cs
4896 ValidationDataType.cs - Implemented
4897 ValidationSummaryDisplayMode.cs
4899 ValidatorDisplay.cs - Implemented
4900 VerticalAlign.cs - Implemented
4904 i/ File Created 2001-11-13