1 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
3 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
5 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
7 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
8 2.0, Inheritance demands) for Minimal.
9 * BaseCompareValidator.cs: Added declarative security (Link and
10 Inheritance demands) for Minimal.
11 * BaseDataBoundControl.cs: Added declarative security (Link and
12 Inheritance demands) for Minimal.
13 * BaseValidator.cs: Added declarative security (Link and Inheritance
15 * BoundColumn.cs: Added declarative security (Link and Inheritance
17 * ButtonColumn.cs: Added declarative security (Link and Inheritance
19 * CalendarDay.cs: Added declarative security (Link and Inheritance
21 * CheckBoxList.cs: Added declarative security (Link and Inheritance
23 * CompareValidator.cs: Added declarative security (Link and
24 Inheritance demands) for Minimal.
25 * CustomValidator.cs: Added declarative security (Link and Inheritance
27 * DataBoundControl.cs: Added declarative security (Link and
28 Inheritance demands) for Minimal.
29 * DataGridItemCollection.cs: Added declarative security (Link and
30 Inheritance demands) for Minimal.
31 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
33 * DataListItemCollection.cs: Added declarative security (LinkDemands)
35 * DataListItem.cs: Added declarative security (Link and Inheritance
37 * FontNamesConverter.cs: Added declarative security (Link and
38 Inheritance demands) for Minimal.
39 * HyperLink.cs: Added declarative security (Link and Inheritance
41 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
43 * Image.cs: Added declarative security (Link and Inheritance demands)
46 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
48 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
50 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
51 a data source, first try reflection, then componentmodel. If we get
52 an enumerator, keep it around, as MS only calls GetEnumerator once.
53 Throw an exception if no columns can be created from the given data
54 source. Tested with DbDataRecord, DataTable, ArrayList and
55 ICustomTypeDescriptor.
57 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
59 * AccessDataSource.cs: Added declarative security (Link and Inheritance
60 demands) for Minimal. Added [ToolboxBitmap] on class.
61 * AdRotator.cs: Added declarative security (Link and Inheritance
62 demands) for Minimal. Removed extra Page and ViewState properties.
63 * BulletedList.cs: Added declarative security (Link and Inheritance
64 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
65 * Button.cs: Added declarative security (Link and Inheritance demands)
66 for Minimal. Added [SupportsEventValidation] on class (2.0).
67 * Calendar.cs: Added declarative security (Link and Inheritance
68 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
69 * CheckBox.cs: Added declarative security (Link and Inheritance
70 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
71 * CompositeControl.cs: Added declarative security (Link and Inheritance
72 demands) for Minimal. Added new protected RecreateChildControls method.
73 * DataControlCommands.cs: Added declarative security (LinkDemands) for
74 Minimal. Added private ctor.
75 * DataGrid.cs: Added declarative security (Link and Inheritance
76 demands) for Minimal. Fixed properties for 2.0 (mostly removing
77 [Bindable]). Added override for TagKey property.
78 * DataGridColumn.cs: Added declarative security (Link and Inheritance
79 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
80 * DataGridItem.cs: Added declarative security (Link and Inheritance
81 demands) for Minimal. Added IDataItemContainer interface for 2.0.
82 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
83 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
84 * DataList.cs: Removed [Load|Save]ControlState methods.
85 * DropDownList.cs: Added declarative security (Link and Inheritance
86 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
87 * EditCommandColumn.cs: Added declarative security (Link and
88 Inheritance demands) for Minimal. Added missing attributes,
89 [DefaultValue] and [Localize] for 2.0.
90 * FontInfo.cs: Added declarative security (Link and Inheritance
91 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
93 * Login.cs: Added declarative security (Link and Inheritance demands)
94 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
95 * ImageButton.cs: Added declarative security (Link and Inheritance
96 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
97 * LinkButton.cs: Added declarative security (Link and Inheritance
98 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
99 * ListBox.cs: Added declarative security (Link and Inheritance demands)
100 for Minimal. Added [SupportsEventValidation] on class (2.0).
101 * Literal.cs: Added declarative security (Link and Inheritance demands)
102 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
103 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
104 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
105 but will be shown as extra).
106 * RadioButton.cs: Added declarative security (Link and Inheritance
107 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
108 * RadioButtonList.cs: Added declarative security (Link and Inheritance
109 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
110 * RangeValidator.cs: Added declarative security (Link and Inheritance
111 demands) for Minimal. Added missing [Themeable] attributes.
112 * RegularExpressionValidator.cs: Added declarative security (Link and
113 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
115 * RoleGroupCollection.cs: Added declarative security (Link and
116 Inheritance demands) for Minimal. Fixed base class (changed in RC).
117 Re-implemented CopyTo. Removed some methods.
118 * Style.cs: Added declarative security (Link and Inheritance demands)
119 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
120 is now public in 2.0.
121 * Table.cs: Added declarative security (Link and Inheritance demands)
122 for Minimal. Added [SupportsEventValidation] on class (2.0).
123 * TableCell.cs: Fixed PersistenceMode for 2.0.
124 * TextBox.cs: Added declarative security (Link and Inheritance demands)
125 for Minimal. Added [SupportsEventValidation] on class (2.0).
126 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
127 but will be shown as extra).
128 * WebControl.cs: Added declarative security (Link and Inheritance
129 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
133 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
135 * TableStyle.cs: fixed typo that prevented restoring GridLines from
138 * DataGrid.cs: the table does not get an auto ID. When restoring from
139 viewstate, use all the saved columns, not just that data bound ones. Set
140 the owner of the BoundColumns created. Save/restore columns.
141 OnItemCreated happens after the item is initialized and the data item is
142 set before the event and nullified after OnItemDataBound.
143 Add the render_table to the Controls immediately, otherwise we might get
144 errors from child controls such as "must be rendered inside a form".
145 Keep the items created in the list waiting for them.
146 The table uses the attributes from the DataGrid and ControlStyle.
147 Raise OnItemCommand on all bubble events and don't propagate bubble
148 event up in the hierarchy
150 * TableCell.cs: it does not get an automatic ID.
151 * BoundColumn.cs: FormatDataValue returns an empty string on null input
152 (there was already a test for this).
156 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
158 * DataGridColumnCollection.cs: track the view state in the newly added
161 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
163 * DataGrid.cs: merge column styles too. Fixes bug #76106.
164 * DataGridColumn.cs: new internal method to retrieve the styles without
165 creating an instance for them.
167 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
169 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
170 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
171 StateBag.SetDirty (true).
173 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
175 * Menu.cs: Fixed parameter orders for CreateStyleRule.
177 2005-09-13 Chris Toshok <toshok@ximian.com>
179 * Style.cs: corcompare stuff.
181 * RequiredFieldValidator.cs: more corcompare stuff.
183 * CheckBoxList.cs: clean up some of the interface methods vs
184 protected virtual 2.0 calls.
186 * SubMenuStyle.cs: corcompare says this should implement
187 ICustomTypeDescriptor... sooo, make it.
189 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
191 * TableCell.cs: do the same as HyperLink and others in
192 AddParsedSubobject so that adding a literal control does not remove the
193 existing controls if any. Fixes bug #76078.
195 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
197 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
199 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
201 * ImageButton.cs: fix invalid cast exception.
203 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
205 * ListItem.cs: throw in AddParsedSubObject if the object is not a
207 * RadioButtonList.cs: implemented LoadPostData and
208 RaisePostDataChangedEvent.
210 2005-09-09 Chris Toshok <toshok@ximian.com>
212 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
213 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
214 LoadPostData/RaisePostDataChangedEvent.
216 2005-09-09 Chris Toshok <toshok@ximian.com>
218 * FontInfo.cs (IsEmpty): new internal property, used by
221 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
224 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
226 * ListItemCollection.cs: remove obsoleted methods.
227 * ListBox.cs: use IStateManager on the item collection.
229 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
231 * Use C# 1.0 style of delegate instantiating. Needed to compile
232 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
234 2005-09-07 Chris Toshok <toshok@ximian.com>
236 * Calendar.cs (WriteDay): always add BackColor=Silver,
237 ForeColor=White to selected day cells, before copying over the
238 selectedDayStyle, if it exists.
239 (WriteDays): fix nunit test - if the first day of the month falls
240 on the first day of the week, go back one week (effectively adding
241 a row of dates from the previous month.)
242 (WriteTitle): don't copy the control style to the tableTitle,
243 since it might have height specifications, which would make the
244 title look rather off.
246 2005-09-07 Chris Toshok <toshok@ximian.com>
248 * ValidationSummary.cs (AddAttributesToRender): we only set
249 display=none if there are no errors.
251 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
252 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
254 2005-09-07 Chris Toshok <toshok@ximian.com>
256 * ListControl.cs (SelectedIndex): add comment about how you'd
257 think OnSelectedIndexChanged would be called.. and you'd be wrong.
258 (Text): implement in terms of SelectedValue.
259 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
260 (LoadControlState): implement - this is where the selected index
261 ArrayList gets stuffed in 2.0.
262 (OnInit): call Page.RegisterRequiresControlState.
263 (OnTextChanged): implement.
264 (RenderContents): for now just chain up to base.RenderContents.
265 (SaveControlState): save our control state properly.
266 (GetSelectedIndices): split this out from SaveViewState to it can
267 be used by both that and SaveControlState.
268 (SaveViewState): mangle this function so it works in both 2.0 and
270 (LoadViewState): same.
272 2005-09-06 Chris Toshok <toshok@ximian.com>
274 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
275 we weren't assigned an ID.
277 * ValidationSummary.cs (AddAttributesToRender): same.
279 2005-09-06 Chris Toshok <toshok@ximian.com>
281 * WebControl.cs: revert the last change.
283 2005-09-06 Chris Toshok <toshok@ximian.com>
285 * WebControl.cs (AddAttributesToRender): always render ClientID.
287 * ValidationSummary.cs (Render): same.
289 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
292 2005-09-06 Chris Toshok <toshok@ximian.com>
294 * ValidationSummary.cs (Render): only do the JS stuff when the
295 validators on the page are uplevel.
297 * BaseValidator.cs (Render): remove unnecessary comment.
299 2005-09-05 Chris Toshok <toshok@ximian.com>
301 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
302 stored in the ViewState.
304 2005-09-02 Chris Toshok <toshok@ximian.com>
306 * Repeater.cs (GetData): change this slightly so the Repeater
307 doesn't keep a ref to the return value of GetData.
309 2005-09-01 Chris Toshok <toshok@ximian.com>
311 * ListControl.cs (AppendDataBoundItems): implement (2.0)
314 2005-09-01 Chris Toshok <toshok@ximian.com>
316 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
317 System.Web.UI.WebControls/ValidatedControlConverter.cs,
318 System.Web.UI.WebControls/Xml.cs,
319 System.Web.UI.WebControls/RegularExpressionValidator.cs,
320 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
321 System.Web.UI.WebControls/Menu.cs,
322 System.Web.UI.WebControls/MailMessageEventArgs.cs,
323 System.Web.UI.WebControls/MenuItemStyle.cs,
324 System.Web.UI.WebControls/RangeValidator.cs,
325 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
326 System.Web.UI.WebControls/MenuItem.cs,
327 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
328 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
329 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
330 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
331 System.Web.UI.WebControls/XmlBuilder.cs,
332 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
335 2005-09-01 Chris Toshok <toshok@ximian.com>
337 * System.Web.UI.WebControls/Button.cs,
338 System.Web.UI.WebControls/ButtonField.cs,
339 System.Web.UI.WebControls/DataControlField.cs,
340 System.Web.UI.WebControls/BaseCompareValidator.cs,
341 System.Web.UI.WebControls/AutoGeneratedField.cs,
342 System.Web.UI.WebControls/CustomValidator.cs,
343 System.Web.UI.WebControls/Content.cs,
344 System.Web.UI.WebControls/BoundField.cs,
345 System.Web.UI.WebControls/AdRotator.cs,
346 System.Web.UI.WebControls/ButtonColumn.cs,
347 System.Web.UI.WebControls/CompareValidator.cs,
348 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
349 work. Stub things out, and add attributes.
351 2005-09-01 Chris Toshok <toshok@ximian.com>
353 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
354 CommandField.cs, HyperLinkColumn.cs, Table.cs,
355 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
356 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
357 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
358 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
359 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
360 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
361 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
362 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
363 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
364 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
365 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
366 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
367 TableItemStyle.cs: Add some WebCategory and WebSysDescription
370 2005-09-01 Chris Toshok <toshok@ximian.com>
372 * AccessDataSource.cs: corcompare work.
374 * SqlDataSource.cs: same.
376 2005-09-01 Miguel de Icaza <miguel@novell.com>
378 * Various places: make sure that the DefaultValue matches the
379 type. Thanks to Michael for pointing this out.
381 In future audits, you might want to use the following awk command:
383 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
384 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
385 print $0; looking = 0; } /public/ && looking { looking = 0; } '
388 The above skips bools, strings and ints as those were fine as we
389 set them. The bug was on the other ones.
391 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
393 * Repeater.cs: fix the build.
395 2005-08-31 Chris Toshok <toshok@ximian.com>
397 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
398 {Base}DataList, and also from debug spew garnered from some
399 Repeater subclass tests on MS.
400 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
401 the IEnumerable by calling GetData().
402 (DataBind): reset RequiresDataBinding to false (2.0).
403 (DataMember): copy the set implementation from DataList, and add
404 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
405 (DataSource): more c&p.
406 (DataSourceID); implement (2.0)
407 (Initialized): implement (2.0)
408 (IsBoundUsingDataSource): implement (2.0)
409 (RequiresDataBinding): implement (2.0)
410 (SelectArguments): implement (2.0)
411 (CreateDataSourceSelectArguments): implement (2.0)
412 (EnsureDataBound): implement (2.0)
413 (GetData): implement.
414 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
416 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
417 leave the MonoTODO. (2.0)
418 (OnInit): call base.OnInit instead of throwing NIE, but leave the
421 (OnPreRender): implement.
422 (ConnectToDataSource): new method - look for the right control.
424 2005-08-31 Chris Toshok <toshok@ximian.com>
426 * XmlDataSourceView.cs: fix the scope of our select. Don't use
427 call SelectNodes on the XmlDocument, not on
428 XmlDocument.DocumentElement.
430 2005-08-31 Chris Toshok <toshok@ximian.com>
432 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
433 (DoXPathSelect): put the xpath selection stuff here.
434 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
437 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
438 select here, the view does it.
440 2005-08-31 Jackson Harper <jackson@ximian.com>
442 * DataList.cs: Remove some debugging code that was starting to bug
445 2005-08-31 Chris Toshok <toshok@ximian.com>
447 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
448 create our Navigator by calling node.CreateNavigator().
450 2005-08-31 Chris Toshok <toshok@ximian.com>
452 * XmlDataSource.cs (GetXmlDataDocument): rename this to
453 GetXmlDocument, and change the return value from XmlDataDocument
455 (LoadXmlDataDocument): similar change.
456 (Save): xmlDataDocument -> xmlDocument.
457 (CanBeSaved): there's no ReadOnly attribute.
458 (LoadViewState, SaveViewState, TrackViewState): nuke.
459 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
460 (CacheDuration): stub out with NIE.
461 (CacheExpirationPolocy): same.
462 (CacheKeyDependency): same.
463 (EnableCaching): same.
465 (Data, DataFile): xmlDataDocument -> xmlDocument.
466 (Schema, SchemaFile): nuke.
467 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
469 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
471 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
472 Don't use the obsolete IsSet method.
473 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
474 * CheckBox.cs: Implement some 2.0 methods.
475 * GridView.cs: Removed some "throw new NotImplementedException"
477 2005-08-29 Chris Toshok <toshok@ximian.com>
479 * TreeView.cs: Use the StateBag accessors Ben added, and implement
480 SkipLinkText and Visible.
482 2005-08-29 Chris Toshok <toshok@ximian.com>
484 * TreeView.cs: fix typo in an attribute.
486 2005-08-29 Jackson Harper <jackson@ximian.com>
488 * PagedDataSource.cs: If it's not a list or collection we don't
489 use a bounded enumerator.
491 2005-08-29 Chris Toshok <toshok@ximian.com>
493 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
497 * BaseValidator.cs: same.
499 * DropDownList.cs: same.
501 * ValidationSummary.cs: same.
503 2005-08-28 Chris Toshok <toshok@ximian.com>
505 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
507 2005-08-26 Chris Toshok <toshok@ximian.com>
509 * TextBox.cs: implement ValidationGroup and CausesValidation
512 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
514 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
517 2005-08-26 Chris Toshok <toshok@ximian.com>
519 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
521 * FontUnit.cs: add two 2.0 ctors, and the 2.0
522 ToString(IFormatProvider) method.
524 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
526 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
527 no items are present in the list.
528 * RoleGroup.cs: Added missing attributes.
529 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
531 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
532 must be done in the HtmlTextWriter (not in the TableStyle).
534 2005-08-26 Chris Toshok <toshok@ximian.com>
536 * Calendar.cs (UseAccessibleHeader): implement.
537 (RaisePostBackEvent): some #ifdef ugliness to get this all working
538 propertly between 1.x and 2.0
539 (WriteDayHeader): if UseAccessibleHeader == true, render header
540 cells as th's, not td's, and add abbr and scope attributes.
542 2005-08-25 Chris Toshok <toshok@ximian.com>
544 * Calendar.cs (Caption, CaptionAlign): implement these properties.
545 (Render): if we have a non-empty caption, show it.
546 (WriteCaption): new method, output the caption.
548 2005-08-25 Chris Toshok <toshok@ximian.com>
550 * Calendar.cs (Render): Copy the entire style from the Calendar to
551 the Table, not just the font.
552 (WriteDay): don't just write the link/text/etc. Create a
553 LiteralControl as a child of the cell, before the call to
554 OnDayRender, with its text set to the day number. After
555 OnDayRender, set the literal's text to either the number again (if
556 it's not selectable) or the full text of the js __doPostBack
557 hyperlink (if it is.) Also, use cell.RenderControl here so we can
558 render child controls with the id's listed properly (and arguably
560 (ApplyTitleStyleCell): remove.
561 (WriteTitle): apply the titleStyle to the enclosing table, not the
562 table cell containing the month name. Also, copy from the
563 Calendar's ControlStyle to populate tableTitle's style initially.
564 We end up with more (superfluous) style attributes than MS, but
565 it's better than having less.
567 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
569 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
572 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
574 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
575 and RegisteredCssClass property
577 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
579 * LoginView.cs: Fixed attributes.
580 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
581 an exception to allow pages to work on 2.x.
583 2005-08-25 Chris Toshok <toshok@ximian.com>
585 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
587 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
590 * HiddenField.cs: stub out this class and label everything
593 2005-08-25 Jackson Harper <jackson@ximian.com>
595 * DataGrid.cs: Disable the pager row if there no paging enabled
598 2005-08-25 Chris Toshok <toshok@ximian.com>
600 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
603 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
604 add a using statement.
606 2005-08-25 Chris Toshok <toshok@ximian.com>
608 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
611 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
614 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
616 * Login.cs: Added rendering and fixed parts of the authentication.
617 Now using IStateManager to allow compilation in another assembly (e.g.
618 to test the control under IIS). Needs more tests (error conditions)
619 once we get a "real" Membership provider running.
620 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
623 2005-08-25 Chris Toshok <toshok@ximian.com>
625 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
627 2005-08-25 Chris Toshok <toshok@ximian.com>
629 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
630 calling base.Foo to get the standalone adrotator (1.0) tests to
631 run without throwing exceptions.
633 2005-08-25 Chris Toshok <toshok@ximian.com>
635 * ValidationSummary.cs (ValidationGroup): implement.
636 (Render): use Page.GetValidators in .net 2.0, so we can support
637 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
640 2005-08-25 Chris Toshok <toshok@ximian.com>
642 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
643 2.0 attribute modifiers, and revert back to "override".
645 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
646 2.0 attribute modifiers, and revert back to "override".
650 * TextBox.cs (SaveViewState): implement naively, calling
652 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
653 modifiers, and revert back to "override".
655 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
657 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
658 Load ViewState for derived classes; no public LoadViewState override
659 exists in those classes
660 * Style.cs: Added 2.0 IsStyleEmpty method
662 2005-08-25 Jackson Harper <jackson@ximian.com>
664 * DataGrid.cs: The number of pages set in the pager is specified
667 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
669 * LoginView.cs: New (2.0). Work in progress.
671 2005-08-24 Chris Toshok <toshok@ximian.com>
673 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
674 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
675 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
676 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
677 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
678 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
679 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
680 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
681 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
682 Add MonoTODO's for all things that throw NotImplementException.
684 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
686 * RoleGroup.cs: New (2.0). Complete implementation.
687 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
689 2005-08-23 Chris Toshok <toshok@ximian.com>
691 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
692 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
693 even though they were written for the 1.0 stuff.
695 2005-08-23 Chris Toshok <toshok@ximian.com>
697 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
698 output. Our tests now pass on both mono and ms, with both 1.x and
701 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
703 * Login.cs: Throw exception if the specified provider doesn't exists.
704 * LoginStatus.cs: Complete events.
706 2005-08-22 Jackson Harper <jackson@ximian.com>
708 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
710 (InitializeNumericPager): Now that the pager actually renders
711 properly I can see that I was computing it incorrectly.
713 2005-08-22 Jackson Harper <jackson@ximian.com>
715 * DataGrid.cs (RenderTable): Make sure the new table gets the
717 (CreateColumnSet): Clear the data source columnbs before adding
718 new ones regardless of whether or not a property descriptor was
720 (InitializePager): pager_cell needs to be a member so it isn't
721 created more then once per a render.
722 (InitializeNumericPager): Compute start and end more
724 - Link commands are 1 indexed.
725 (CreateControlHierarchy): Clear the table before we begin
727 - Revert patch that made adding the pagers conditional. This is
728 incorrect, the pagers are always added. Only their visibility is
729 affected by the pager style.
730 - Save the entire count in the viewstate, not just the rendered
731 count. So when paging is enabled the pager's count isn't broken by
734 2005-08-22 Chris Toshok <toshok@ximian.com>
736 * LinkButton.cs (ValidationGroup): implement.
737 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
738 pass ValidationGroup to Page.Validate.
740 2005-08-22 Chris Toshok <toshok@ximian.com>
742 * ImageButton.cs (ValidationGroup): implement.
743 (IPostBackEventHandler.RaisePostBackEvent): if we cause
744 validation, call Page.Validate properly (in both profiles).
746 2005-08-22 Chris Toshok <toshok@ximian.com>
748 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
749 case, pass ValidationGroup to Page.Validate.
750 (ValidationGroup): implement using ViewState.
752 2005-08-22 Chris Toshok <toshok@ximian.com>
754 * BaseValidator.cs (Text): 2.0 only. implement naively, just
756 (OnInit): add 2.0 support for validation groups.
759 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
761 * LoginName.cs: New (2.0) web control.
762 * LoginStatus.cs: New (2.0) web control.
764 2005-08-19 Chris Toshok <toshok@ximian.com>
766 * LinkButton.cs (ValidationGroup): implement getter/setter.
767 (RaisePostBackEvent): implement naively, by c&p'ing the old
768 implementation of IPostBackEventHandler.RaisePostBackEvent, but
769 making use of the ValidationGroup in the call to Page.Validate.
773 * Style.cs (LoadViewState): set our style flags for all the things
774 we have flags for. Seems like the subclass flags should be
775 handled in overridden LoadViewState methods, but none of the Style
776 subclasses seem to override this method.
778 2005-08-19 Chris Toshok <toshok@ximian.com>
780 * TableStyle.cs (Merge, MergeWith): make these look a bit more
781 like Copy/CopyFrom, with the styles checks instead of just
784 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
787 2005-08-19 Chris Toshok <toshok@ximian.com>
789 * DataGrid.cs (InitializePager): don't unconditionally set
790 pager_cell to the numeric pager (especially after setting it
791 conditionally to the nextprev pager.)
792 (InitializeNumericPager): the link buttons don't participate in
794 (InitializeNextPrevPager): same.
795 (CreateControlHierarchy): create the top/bottom pagers only if the
798 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
800 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
802 2005-08-18 Chris Toshok <toshok@ximian.com>
804 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
805 the start of this method so templates are created properly.
807 2005-08-18 Dick Porter <dick@ximian.com>
809 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
810 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
811 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
812 BaseDataList.cs, DataList.cs, BulletedList.cs,
813 DataBoundControl.cs, Login.cs, GridView.cs,
814 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
815 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
816 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
817 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
818 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
819 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
820 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
821 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
824 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
826 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
828 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
829 empty array of objects just to get the number of items.
830 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
831 but we're missing some bits from the class lib to complete all this...
833 2005-08-17 Jackson Harper <jackson@ximian.com>
835 * DataGrid.cs: Only create one pager and add it to both the top
836 and bottom of the grid, this way all the id numbers stay the same
837 and we save a bunch of cycles.
839 2005-08-17 Jackson Harper <jackson@ximian.com>
841 * DataGrid.cs: The top and bottom pagers are always created. Just
842 the visibility is changed by the PagerStyle::Position.
844 2005-08-17 Chris Toshok <toshok@ximian.com>
846 * CompositeControl.cs (RecreateChildControls): implement naively -
847 just call CreateChildControls. We might need to call
848 Controls.Clear() as well, but for the time being, this is ok.
850 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
852 * BaseDataList.cs: Completed implementation for 2.0.
854 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
856 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
857 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
859 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
861 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
863 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
864 Adjusted size and ordering of the ViewState (new element #0 is still
865 unknown). Properly fixed the TagKey in 2.0.
866 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
867 all properties using enums.
868 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
869 * TableItemStyle.cs: Fixed attribute rendering to use style to render
870 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
872 2005-08-15 Jackson Harper <jackson@ximian.com>
874 * EditCommandColumn.cs: Use a normal LinkButton.
876 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
878 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
879 viewstate (even if assigned to the default value).
880 * TableRow.cs: Implement TableSection property (2.0). It has no effect
881 on the rendering of the table row.
883 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
885 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
886 and removed [Bindable] attributes for 2.0.
887 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
888 attributes (for 2.0).
889 * DataListCommandEventArgs.cs: Not sealed in 2.0.
890 * DataListItemEventArgs.cs: Not sealed in 2.0.
891 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
893 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
895 * Table.cs: Fixed [Editor] attribute for 2.0.
896 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
897 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
898 AssociatedHeaderCellID and it's [DefaultValue] attribute.
899 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
900 and Scope attributes.
901 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
902 on TableSection attribute.
903 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
905 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
907 * Image.cs: Fixed attributes for 2.0 profile.
908 * Login.cs: Fixed some attributes and default values.
909 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
910 RaisePostBackEvent (TODO) in 2.0 profile.
911 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
912 and added AssociateHeaderCellID property (TODO).
913 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
914 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
915 page (if the device requires to breaks the table into multiple pages).
916 This seems to be a "flag" class, the real work will be in Table.
917 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
918 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
919 page (if the device requires to breaks the table into multiple pages).
920 This seems to be a "flag" class, the real work will be in Table.
921 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
922 * TableRow.cs: Remove [Bindable (true)] from properties and add
923 [Bindable (false)] and [Designer] on class. Added new TableSection
925 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
926 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
927 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
928 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
929 FillStyleAttributes method (2.0).
931 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
933 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
934 attributes from existing controls.
935 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
936 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
938 2005-08-12 Jackson Harper <jackson@ximian.com>
940 * TableRow.cs: No AutoID for TableRows.
942 2005-08-12 Jackson Harper <jackson@ximian.com>
944 * DataGrid.cs (CreateRenderColumns): If we aren't using data
945 binding grab the rendercols from the data source columns.
946 (LoadViewState): Restore the bound columns when reloading the
948 (InitializeNumericPager): Create elipsised pagers.
949 (CreateItem): Don't set the item's ID.
950 (CreateItem): Add the control to the table before it is databound
951 so that it's value is saved in the viewstate.
952 (CreateControlHierarchy): Create a fake data source when not using
953 databinding. Don't add controls to the table as they are added in
955 (PrepareControlHierarchy): Make footers and header non visible if
958 2005-08-12 Chris Toshok <toshok@ximian.com>
960 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
961 docs says these methods/properties "ensure the child controls are
962 created" -- so call EnsureChildControls() before invoking the base
965 2005-08-12 Jackson Harper <jackson@ximian.com>
967 * BoundColumn.cs: Set the controls text instead of adding a
968 literal control. So it is saved in the controls viewstate.
970 2005-08-11 Jackson Harper <jackson@ximian.com>
972 * CheckBoxList.cs: Set the tabindex on the checkbox control and
973 don't render it on the main table (Setting it to zero causes it to
974 not be rendered). Also use the invariant culture on the id.
976 2005-08-11 Dick Porter <dick@ximian.com>
978 * CheckBox.cs: Let ViewState manage removals; apply styles and
979 "style" attributes in a surrounding <span>. Fixes unit tests.
981 2005-08-10 Chris Toshok <toshok@ximian.com>
983 * Label.cs (LoadViewState): set the Text attribute from our
984 ViewState (if it exists) to clear out any child controls. Fixes
985 jsunit test label/label-child-control-postback.aspx.
987 2005-08-10 Jackson Harper <jackson@ximian.com>
989 * PagedDataSource.cs: Respect paging with all data source types.
991 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
993 * BaseDataList.cs: Changed Controls property from "virtual new"
994 (2.0 doc) to "override" (monop) to fix the Visible bug (see
995 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
996 any controls (required due to change to Controls). Implemented
997 DataBind(bool) for 2.0.
998 * DataListItem.cs: Fix the multiple table when extractRows is used.
999 Removed extra span tags by rendering contents (not control). Added
1000 support for IDataItemContainer (2.0).
1002 2005-08-08 Jackson Harper <jackson@ximian.com>
1004 * DataGrid.cs: Apply the styles to each item type.
1006 2005-08-08 Jackson Harper <jackson@ximian.com>
1008 * PagedDataSource.cs: If paging is not enabled keep enumerating to
1009 the end of the list.
1011 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
1013 * BaseDataList.cs: Remove old compatibility stuff.
1014 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
1015 * WebControl.cs: Always call CreateControlStyle to create the
1016 ControlStyle. Fix the exception for datalist-style-edit.aspx.
1018 2005-08-05 Jackson Harper <jackson@ximian.com>
1020 * DataGrid.cs: Don't make the current page index a link in the
1023 2005-08-05 Jackson Harper <jackson@ximian.com>
1025 * DataGrid.cs: Honour PagerPosition.
1027 2005-08-05 Jackson Harper <jackson@ximian.com>
1029 * PagedDataSource.cs: Round PageCount properly.
1031 2005-08-05 Dick Porter <dick@ximian.com>
1033 * CheckBox.cs: Shut corcompare up a bit more. Still need to
1034 figure out how to not use AddAttributesToRender to get it
1037 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
1039 * DataGridColumn.cs: Added the duplicate viewstate manipulation
1042 2005-08-05 Chris Toshok <toshok@ximian.com>
1044 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
1045 null when it comes to the format string.
1046 (FormatDataTextValue): same.
1048 2005-08-04 Chris Toshok <toshok@ximian.com>
1050 * BaseValidator.cs (Validate): only test a validator if it's both
1051 enabled and visible.
1053 2005-08-04 Chris Toshok <toshok@ximian.com>
1055 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
1058 2005-08-04 Jackson Harper <jackson@ximian.com>
1060 * DataGrid.cs: Add a new space control for each link. Also make
1061 the link's text 1 indexed. Don't add the space after the last
1064 2005-08-04 Ben Maurer <bmaurer@ximian.com>
1066 * LinkButton.cs: Fix up the test suite here.
1068 * Panel.cs: Fix up nowrap
1070 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
1072 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
1073 * ListControl.cs: Clear item list before adding data (again)
1075 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
1077 * Calendar.cs: fixes issues with OnDayRender event and others
1079 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
1081 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
1083 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
1084 if DataTextField is bound
1085 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
1086 two controls in edit mode, lets do the same
1088 2005-08-03 Jackson Harper <jackson@ximian.com>
1090 * BoundColumn.cs: Respek for the thisExpr when data binding.
1092 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
1094 * EditCommandColumn.cs: No need to offer edit when in edit mode.
1097 2005-08-04 Dick Porter <dick@ximian.com>
1099 * DataGridColumn.cs: New implementation
1102 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
1104 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
1106 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
1109 2005-08-03 Ben Maurer <bmaurer@ximian.com>
1111 * RepeatInfo.cs: Finally figured out how to use base control
1113 2005-08-03 Jackson Harper <jackson@ximian.com>
1115 * ButtonColumn.cs: Partial implementation.
1117 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
1119 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
1122 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
1124 * Calendar.cs: fixes Save/Load state
1126 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
1128 * Calendar.cs: bug fixes
1130 2005-08-03 Jackson Harper <jackson@ximian.com>
1132 * DataGrid.cs: Merge the table style with the render table. Some
1133 initial work on the numeric pager. Remove some debugging code.
1135 2005-08-03 Jackson Harper <jackson@ximian.com>
1137 * BoundColumn.cs: Implement Initialize and InitializeCell. When
1138 Data is formated it uses the DataFormatString that was set at the
1139 time Initialize was called (or null if initialize was never
1142 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
1144 * RadioButtonList.cs: bug fixes
1146 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
1148 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
1149 AddAttributesToRender
1150 * RadioButtonList.cs: Implementation
1152 2005-08-01 Jackson Harper <jackson@ximian.com>
1154 * TableStyle.cs: Copy style bit when copying from another style.
1156 2005-08-01 Jackson Harper <jackson@ximian.com>
1158 * PagedDataSource.cs: Implement missing properties, use yield for
1159 the Enumerator methods. Only allow the enums to return one page at
1162 2005-08-01 Chris Toshok <toshok@ximian.com>
1164 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
1166 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
1168 * WebControl.cs: Track enabled state across sessions
1170 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
1172 * ListControl.cs(OnDatabinding): Value is equivalent to text if
1175 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
1177 * ImageButton.cs: fixes, complete missing parts
1179 2005-07-31 Ben Maurer <bmaurer@ximian.com>
1181 * TextBox.cs: Html encode for multiline text boxes
1183 * HyperLink.cs: Resolve images
1185 2005-07-30 Chris Toshok <toshok@ximian.com>
1187 * BaseValidator.cs: initial version of 2.0 properties
1188 ValidationGroup and SetFocusOnError.
1190 2005-07-30 Chris Toshok <toshok@ximian.com>
1192 * HyperLinkColumn.cs (InitializeCell): clean this up.
1194 2005-07-30 Chris Toshok <toshok@ximian.com>
1196 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
1197 DataBinder.FormatResult.
1198 (FormatDataTextValue): same.
1199 (Initialize): call base.Initialize.
1200 (ItemDataBinding): new function, get the text/navigateurl and set
1201 them on our HyperLink control.
1202 (InitializeCell): create a hyperlink control in the
1203 Item/EditItem/AlternatingItem case.
1205 2005-07-30 Ben Maurer <bmaurer@ximian.com>
1207 * RepeatInfo.cs: Handle 0 items situations correctly
1209 * HyperLink.cs: Resolve urls correctly
1211 * CheckBox.cs: use the correct ID for the label element.
1213 * Label.cs: Correct AddParsedSubObject impl. See FAQ
1215 2005-07-29 Chris Toshok <toshok@ximian.com>
1217 * BaseCompareValidator.cs (GetDateElementOrder): implement.
1219 2005-07-29 Chris Toshok <toshok@ximian.com>
1221 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
1222 #if'ed out version follows microsoft's docs on msdn, but doesn't
1223 match ms's behavior. The other matches their behavior but not
1224 their docs. we use the latter. go figure.
1225 (get_CutoffYear): implement using
1226 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
1228 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
1231 - Name property now throws exception when set to null
1232 - Names now handles situation where our bit tells us we have
1233 a font, but it's not in the StateBag (null removal)
1234 * RangeValidator.cs: Removed unused vars
1236 2005-07-29 Ben Maurer <bmaurer@ximian.com>
1238 * Label.cs: ClientID should be used rather than UniqueID to get
1241 2005-07-29 Chris Toshok <toshok@ximian.com>
1243 * BaseValidator.cs (Validatate): not sure if this is entirely
1244 correct (some fairly deep testing required), but setting Enabled =
1245 false has the effect of setting IsValid = true.
1247 2005-07-29 Ben Maurer <bmaurer@ximian.com>
1249 * RadioButton.cs: The "remove from groupstate" isn't needed any
1250 more, now that statebag is correct.
1252 2005-07-29 Dick Porter <dick@ximian.com>
1254 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
1255 ViewState when it is null.
1257 * CheckBox.cs: Hide nonstandard API
1259 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
1261 * Calendar.cs: fixes exceptions, bug fixes, new features
1262 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
1263 * CalendarDay.cs: fixes default value
1265 2005-07-28 Ben Maurer <bmaurer@ximian.com>
1267 * CompositeControl.cs: Stub
1269 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
1271 * EditCommandColumn.cs: Implemented
1273 2005-07-27 Chris Toshok <toshok@ximian.com>
1275 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
1277 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
1279 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
1282 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
1284 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
1285 for it's constructor, so remove it
1286 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
1288 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
1290 * DataGridPagerStyle.cs: Implemented
1291 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
1292 * Style.cs: Added Styles enum values for DataGridPagerStyle
1294 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
1296 * Calendar.cs: get the styles right, honors more properties, fixes, fix
1299 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
1301 * DataGridItem.cs: Implemented
1303 2005-07-26 Chris Toshok <toshok@ximian.com>
1305 * LinkButton.cs (AddParsedSubObject): reversed the order of
1306 Controls.Add() and Text = null
1307 (set_Text): call Controls.Clear()
1308 (RenderContents): use HasControls() for the if test instead of
1311 * HyperLink.cs (AddParsedSubObject): reversed the order of
1312 Controls.Add () and Text = null;
1314 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
1316 * DataGridItemCollection.cs: Implemented
1318 2005-07-26 Chris Toshok <toshok@ximian.com>
1320 * LinkButton.cs (AddParsedSubObject): copy implementation from
1322 (RenderContents): only call writer.Write(Text) if Text != "".
1323 Otherwise default to base.RenderContents.
1325 2005-07-26 Chris Toshok <toshok@ximian.com>
1327 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
1328 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
1329 (Page != null) around my last commit.
1331 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
1333 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
1334 Fixed use of literal strings, instead using Consts
1335 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
1336 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
1337 Panel.cs, Literal.cs: Added attributes
1338 * BaseValidator.cs: Added missing override
1340 2005-07-26 Chris Toshok <toshok@ximian.com>
1342 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
1343 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
1344 Page.VerifyRenderingInServerFormHere.
1346 2005-07-26 Chris Toshok <toshok@ximian.com>
1348 * BaseValidator.cs: remove some MonoTODO's about the client side
1351 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
1353 * Calendar.cs: selection of dates, state load, save, track, support
1354 for new properties, many fixes.
1356 2005-07-26 Miguel de Icaza <miguel@novell.com>
1358 * Style.cs: Temporary methods to help buliding .NET 2.x
1360 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
1362 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
1364 * Xml.cs: Fixed base class, attributes
1365 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
1366 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
1367 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
1368 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
1369 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
1371 2005-07-25 Ben Maurer <bmaurer@ximian.com>
1373 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
1376 2005-07-25 Ben Maurer <bmaurer@ximian.com>
1378 * RepeatInfo.cs: If the repeater has one column, the separators
1379 are rendered on a different line
1381 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
1383 * DataGridSortCommandEventArgs: Sealed class
1384 * ButtonColumn.cs, Calendar.cs: Added Attributes
1386 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
1388 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
1389 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
1391 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
1393 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
1394 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
1396 2005-07-25 Chris Toshok <toshok@ximian.com>
1398 * ValidationSummary.cs (AddAttributesToRender): add client side
1400 (OnPreRender): set the "been here" flag.
1401 (Render): add client side support.
1403 2005-07-25 Ben Maurer <bmaurer@ximian.com>
1405 * RepeatInfo.cs: Split the horiz and vertical cases, because this
1406 class has rules that are beyond strange. Continue working to make
1409 2005-07-25 Ben Maurer <bmaurer@ximian.com>
1411 * RepeatInfo.cs: Misc fixes for my test suite.
1413 2005-07-25 Jackson Harper <jackson@ximian.com>
1415 * DataGrid.cs: Set the command name and args on the link buttons.
1417 2005-07-25 Jackson Harper <jackson@ximian.com>
1419 * DataGrid.cs: Lots o implementation.
1421 2005-07-25 Jackson Harper <jackson@ximian.com>
1423 * BoundColumn.cs: Partial implementation to get the DataGrid tests
1426 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
1428 * Button.cs: fixes events, adds attributes
1430 2005-07-23 Chris Toshok <toshok@ximian.com>
1432 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
1433 prop.GetValue results.
1434 (Render): fix the static non-uplevel case, so that we display text
1435 when there's an error.
1437 2005-07-22 Chris Toshok <toshok@ximian.com>
1439 * RegularExpressionValidator.cs (AddAttributesToRender): only
1440 output ValidationExpression if it's != null.
1442 2005-07-22 Chris Toshok <toshok@ximian.com>
1444 * BaseValidator.cs (AddAttributesToRender): fix up the Display
1445 rendering such it matches MS's output.
1446 (Render): stop using the huge complicated if's for each output
1447 stage and move to boolean flags, and fix the static-nonuplevel
1448 case, where a validator outputs as nothing but
1450 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
1451 * Calendar.cs: Initial implementation
1452 * CalendarSelectionMode.cs: fix enum order
1454 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
1456 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
1457 (or more?) specific cases - including correct support for separators.
1458 Added some (commented) debugging code.
1459 * HyperLink.cs: Only render href and target attributes if they're not
1460 empty. Add "border=0" when rendering <img> tag. Fix Target default
1463 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
1465 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
1467 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
1469 * Style.cs (CopyFrom): Reset our styles and don't set bits from
1470 target explicitly, properties will set them
1472 2005-07-22 Dick Porter <dick@ximian.com>
1475 * ButtonColumn.cs: Initial stubs
1477 2005-07-22 Dick Porter <dick@ximian.com>
1480 * CheckBox.cs: Add assembly attributes
1482 2005-07-22 Ben Maurer <bmaurer@ximian.com>
1484 * HyperLink.cs: Handle non-literal children.
1486 2005-07-21 Ben Maurer <bmaurer@ximian.com>
1488 * Label.cs: SP1 stuff
1490 2005-07-21 Chris Toshok <toshok@ximian.com>
1492 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
1493 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
1494 stuff WebUIValidation.js uses, so we don't support it for uplevel
1497 2005-07-21 Chris Toshok <toshok@ximian.com>
1499 * BaseValidator.cs (DetermineRenderUplevel): include checks for
1500 the EcmaScriptVersion and W3CDomVersion.
1502 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
1504 * BaseDataList.cs: Support IEnumerable.
1505 * DataList.cs: Fix alternate items.
1506 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
1507 controls and the Text property.
1509 2005-07-21 Ben Maurer <bmaurer@ximian.com>
1511 * TextBoxMode.cs: Wrong ordering of enum...
1513 2005-07-21 Chris Toshok <toshok@ximian.com>
1515 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
1518 2005-07-21 Chris Toshok <toshok@ximian.com>
1520 * BaseValidator.cs (get_PropertiesValid): use our containing
1521 NamingContainer, not ourselves, to look up controls.
1522 (CheckControlValidationProperty): same.
1523 (GetControlRenderID): same.
1524 (GetControlValidationValue): same.
1525 (AddAttributesToRender): add the display style attribute if
1526 Display != Static, and add the value of IsValid if it's false.
1527 (DetermineRenderUplevel): use a try block around (Page.Request)
1528 since that can raise an exception.
1529 (OnPreRender): set pre_render_called, so we can consult it in
1531 (Render): complicate this method more to handle more of the
1532 Display/pre_render_called permutations.
1534 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
1536 * CustomValidator.cs: Initial implementation, still work in progress
1538 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
1540 * DataList.cs: Fix rendering for special items (-1).
1542 2005-07-21 Ben Maurer <bmaurer@ximian.com>
1544 * RepeatInfo.cs: Fix most of the tests.
1546 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
1548 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
1549 Add a border=0 attribute if no style is defined.
1550 * TableCell.cs: Use HtmlTextWriterTag (not a string).
1551 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
1552 * TableRow.cs: Use HtmlTextWriterTag (not a string).
1554 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
1556 * BaseDataList.cs: Fix attributes.
1557 * HorizontalAlign.cs: Fix attributes.
1558 * Image.cs: Fix attributes and enums checks.
1559 * Table.cs: Fix attributes an enums checks.
1560 * TableCell.cs: Fix attributes.
1561 * TableCellCollection.cs: Fix attributes.
1562 * TableItemStyle.cs: Fix attributes and enums checks.
1563 * TableRowCollection.cs: Fix attributes.
1564 * TableRow.cs: Fix attributes.
1565 * TableStyle.cs: Fix attributes and enums checks.
1566 * VerticalAlign.cs: Fix attributes.
1568 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
1570 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
1571 * DataList.cs: Added rendering support when ExtractTemplatesRows
1572 property is true (but RepeatInfo needs to be fixed to see it works).
1573 * DataListItem.cs: Added rendering support when extractRows parameter
1574 is true (but RepeatInfo still needs to be fixed ;-)
1576 2005-07-21 Duncan Mak <duncan@novell.com>
1578 * HyperLinkColumn.cs: Initial implementation.
1579 Todo: Figure out Initialize and InitializeCell.
1581 2005-07-20 Chris Toshok <toshok@ximian.com>
1583 * BaseValidator.cs: don't use Page.FindControl, use this Control's
1584 FindControl, so it'll use the same naming container.
1586 2005-07-21 Duncan Mak <duncan@novell.com>
1588 * DataGridCommandEventArgs.cs:
1589 * DataGridPageChangedEventArgs.cs:
1590 * RepeaterCommandEventArgs.cs: Fixed visibility.
1592 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
1593 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
1595 2005-07-20 Chris Toshok <toshok@ximian.com>
1597 * Button.cs: hook up the client side validation stuff.
1599 * ImageButton.cs: same.
1601 * LinkButton.cs: same, although it's a little more complicated
1604 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
1607 - Implemented RaisePostDataChangedEvent()
1608 - Spewing postback command if AutoPostBack is true
1610 2005-07-20 Chris Toshok <toshok@ximian.com>
1612 * BaseValidator.cs: another Page != null check when uplevel
1615 2005-07-20 Chris Toshok <toshok@ximian.com>
1617 * BaseValidator.cs: check Page != null when determining if we're
1618 rendering uplevel or not.
1620 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
1622 * ListItemCollection.cs: Removed obsolete method that's no longer
1625 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
1627 * DropDownList.cs: Oops. Forgot to implement LoadPostData
1628 * ListItemCollection.cs: Added convenience method to have faster
1631 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
1634 - Automatically select the first item if none are selected
1635 - Throw exception if more than one item is selected
1637 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
1639 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
1640 handled by RepeatInfo).
1642 2005-07-20 Jackson Harper <jackson@ximian.com>
1644 * DataGrid.cs: Store the data source created columns in a
1645 DataGridColumnCollection. This way they can be put in the
1646 view state more easily, and accessed without casting.
1648 2005-07-20 Chris Toshok <toshok@ximian.com>
1650 * BaseValidator.cs (AddAttributesToRender): render the client side
1651 attributes if we're in uplevel mode.
1652 (DetermineRenderUplevel): flesh out a bit - for now basically
1653 return true unless the control has it disabled.
1654 (OnInit): only add the validator to Page's list if there is, in
1656 (OnUnload): same for removal.
1657 (OnPreRender): hook up client scripting stuff here. Only the call
1658 to RegisterValidatorCommonScript is a for sure thing here, the
1659 registering of the submit statement and startup script should
1660 probably go elsewhere, but I don't know where.
1661 (RegisterValidatorCommonScript): register the <script
1662 src=".../WebUIValidation.js"> tag, if it's not already there.
1663 (RegisterValidatorDeclaration): add our span object to the
1664 Page_Validators JS array.
1665 (Render): always render the tags (although this is probably not
1666 right), and call RegisterValidatorDeclaration here.
1668 * BaseCompareValidator.cs (AddAttributesToRender): render the
1669 client side attributes if we're in uplevel mode.
1670 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
1671 call base.DetermineRenderUplevel for now.
1673 * RegularExpressionValidator.cs (AddAttributesToRender): render
1674 the client side attributes if we're in uplevel mode.
1676 * RequiredFieldValidator.cs (AddAttributesToRender): same.
1678 * CompareValidator.cs (AddAttributesToRender): same.
1680 2005-07-20 Jackson Harper <jackson@ximian.com>
1682 * DataGrid.cs: Save the data source created column set in the
1685 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
1687 * DataList.cs: Fix events and properties exceptions. Give the right
1688 informations to RenderItem.
1690 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
1692 * ValidationSummary.cs: Implemented rendering
1694 2005-07-20 Jackson Harper <jackson@ximian.com>
1696 * DataGrid.cs: column names are cached and only regenerated if useDataSource
1697 is set to true. Otherwise they are just fetched from the last set that
1698 was generated from the source.
1700 2005-07-20 Jackson Harper <jackson@ximian.com>
1702 * DataGrid.cs: Assign some properties of newly created BoundColumns.
1704 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
1706 * DataList.cs: Fix viewstate ordering.
1708 2005-07-20 Ben Maurer <bmaurer@ximian.com>
1710 * SelectedDatesCollection.cs: Apprarently, I don't write code well
1713 * Repeater.cs: Uh, actually add stuff to the items collection
1716 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
1718 * BaseDataList.cs: EnsureChildControls on Controls property.
1719 * DataList.cs: Fix rendering and Controls/Items differences.
1720 * DataListItem.cs: Added rendering of controls.
1722 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
1724 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
1726 2005-07-20 Jackson Harper <jackson@ximian.com>
1728 * DataGrid.cs: Add some of the collections. Implement
1731 2005-07-20 Jackson Harper <jackson@ximian.com>
1733 * PagedDataSource.cs: Implement GetItemProperties, this is
1734 needed for the datagrid.
1736 2005-07-20 Ben Maurer <bmaurer@ximian.com>
1738 * DataGridColumnCollection.cs: New impl
1740 * TemplateColumn.cs: New impl
1742 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
1744 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
1745 * DataList.cs: Work in progress... Added attributes, proper
1746 IRepeatInfoUser support and cool things stolen from other classes.
1747 * DataListCommandEventArgs.cs: Class is sealed.
1748 * DataListItem.cs: RenderItem is public.
1750 2005-07-19 Jackson Harper <jackson@ximian.com>
1752 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
1753 a viewstate object if all the viewstate stuff is null.
1755 2005-07-19 Jackson Harper <jackson@ximian.com>
1757 * DataGrid.cs: Implement style properties and viewstate
1758 saving/loading/tracking.
1760 2005-07-19 Chris Toshok <toshok@ximian.com>
1762 * BaseValidator.cs: more fixes from pdb.
1764 2005-07-19 Chris Toshok <toshok@ximian.com>
1766 * BaseValidator.cs: some test-driven fixes.
1768 2005-07-19 Chris Toshok <toshok@ximian.com>
1770 * BaseValidator.cs: Initial implementation.
1772 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
1774 * Repeater.cs: Fix small typo.
1776 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
1778 * ValidationSummaryTest.cs: Started implementation
1779 * RangeValidator.cs: Implemented
1780 * ValidatedControlConverter.cs: Implemented
1781 * DropDownList.cs: Implemented
1783 2005-07-19 Jackson Harper <jackson@ximian.com>
1785 * DataGrid.cs: Implement bubble event.
1787 2005-07-19 Jackson Harper <jackson@ximian.com>
1789 * DataGrid.cs: New implementation. Just properties and events for
1792 2005-07-18 Chris Toshok <toshok@ximian.com>
1794 * BaseCompareValidator.cs: Initial implementation, with some NYI.
1796 2005-07-19 Ben Maurer <bmaurer@ximian.com>
1798 * FontUnit.cs: Corcompare fixes
1800 * UnitConverter.cs: Fix api diffs
1802 2005-07-18 Ben Maurer <bmaurer@ximian.com>
1804 * ListControl.cs: Fix api differences
1806 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
1808 * Table.cs: Fix indentation for caption. Simplify check when adding
1810 * TableRow.cs: Simplify check when adding controls.
1812 2005-07-18 Chris Toshok <toshok@ximian.com>
1814 * CompareValidator.cs: wtf, just use the base class's methods.
1816 2005-07-18 Chris Toshok <toshok@ximian.com>
1818 * CompareValidator.cs: do comparisons based on
1819 BaseCompareValidator.Type.
1821 2005-07-18 Chris Toshok <toshok@ximian.com>
1823 * CompareValidator.cs: initial implementation.
1825 2005-07-18 Chris Toshok <toshok@ximian.com>
1827 * RegularExpressionValidator.cs: initial implementation.
1829 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
1831 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
1833 2005-07-18 Jackson Harper <jackson@ximian.com>
1835 * CheckBoxList.cs: Implement LoadPostBackData. Also register
1836 checkboxes for postback if they are checked so we can find
1837 out when they are unchecked. Copy the AutoPostBack variable
1838 to the to be rendered checkbox when rendering.
1840 2005-07-18 Ben Maurer <bmaurer@ximian.com>
1842 * TextBox.cs: Finish this up.
1844 * AdRotator.cs: Fix issues in the test suite. Minor style
1847 * Repeater.cs: Fix a bug where the datasource is null and we do
1850 * WebColorConverter.cs: Optimize by not doing a concat on a
1853 2005-07-17 Ben Maurer <bmaurer@ximian.com>
1855 * ListItemCollection.cs: Multiple uses of equals rather than
1856 string.compare as below. Remove unreachable code warning.
1858 * WebColorConverter.cs (ConvertTo): Use the == operator on string
1859 rather than an invariant non-case ignoring compare. They are
1860 exactly the same thing. Use proper coding style in this method.
1862 * WebControl.cs: Return null when saving the view state if there
1863 is no state in any of the things we save. This creates a fairly
1864 large savings, because we can avoid saving anything about many
1865 levels of deaply nested controls.
1867 2005-07-15 Jackson Harper <jackson@ximian.com>
1869 * CheckBoxList.cs: Use the index as the ID, the rest of the
1870 id is built by being in the NamingContainer.
1872 2005-07-15 Jackson Harper <jackson@ximian.com>
1874 * ListControl.cs: Use enum instead of string. Saves a lookup.
1876 2005-07-15 Jackson Harper <jackson@ximian.com>
1878 * CheckBoxList.cs: FindControl always returns 'this' according
1881 2005-07-15 Jackson Harper <jackson@ximian.com>
1883 * CheckBoxList.cs: New impl.
1885 2005-07-15 Jackson Harper <jackson@ximian.com>
1887 * WebControl.cs: Use the ClientID when rendering a controls ID
1888 attribute so that naming containers are honoured.
1890 2005-07-15 Jackson Harper <jackson@ximian.com>
1892 * ListControl.cs: use the state manager interface for tracking
1895 2005-07-15 Ben Maurer <bmaurer@ximian.com>
1897 * Repeater.cs (DoItem): Add the DataItem before we call user
1898 methods, as it seems to be there with msft.
1900 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
1902 * BaseDataList.cs: New. (mostly complete) implementation.
1903 * DataKeyCollection.cs: New. Implementation (complete).
1904 * DataList.cs: New. (mostly incomplete) implementation.
1905 * DataListItem.cs: New. (mostly complete) implementation.
1906 * DataListItemCollection.cs: New. Implementation (complete).
1908 2005-07-15 Ben Maurer <bmaurer@ximian.com>
1910 * Repeater.cs (DoItem): We need to .Add the control *before* we
1911 data bind it so that the state gets tracked correctly. Fixes the
1914 2005-07-15 Jackson Harper <jackson@ximian.com>
1916 * ListControl.cs: Simplify comparison.
1918 2005-07-15 Jackson Harper <jackson@ximian.com>
1921 * Repeater.cs: Use new utility class for resolving data sources.
1923 2005-07-15 Jackson Harper <jackson@ximian.com>
1925 * ListControl.cs: Add attributes so the sub items get parsed
1926 properly. Remove old unneeded code for resolving lists.
1928 2005-07-15 Jackson Harper <jackson@ximian.com>
1930 * ListControl.cs: Use the DataSourceHelper so DataMembers are
1933 2005-07-14 Ben Maurer <bmaurer@ximian.com>
1936 - Some optimizations
1937 * Don't use enum formatting stuff, it is 1) expensive 2) does
1938 allocations. Use a new method in HtmlControl to do the right
1940 * Don't use Enum.IsDefined but an explicit check.
1941 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
1942 - Use the correct coding style.
1944 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
1946 * WebColorConverter.cs:
1947 - Alpha of 255 is only set if the hex number is exactly 6 digits
1948 - Ben didn't like the catch { throw; } (even though MS documents to
1950 - Use Invariant Culture for parsing (thanks, Ben)
1952 2005-07-14 Jackson Harper <jackson@ximian.com>
1954 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
1955 code-reuse-arific. Also use the IStateManager interface for loading
1956 data instead of the old internal method.
1958 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
1960 * WebColorConverter.cs: Implemented
1962 2005-07-14 Ben Maurer <bmaurer@ximian.com>
1964 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
1966 2005-07-14 Ben Maurer <bmaurer@ximian.com>
1968 * Repeater.cs: Get it working
1970 2005-07-14 Jackson Harper <jackson@ximian.com>
1972 * ListControl.cs: Initial implementation of Databinding. Make sure
1973 that the ListItemCollection is created when we load its ViewState.
1975 2005-07-14 Jackson Harper <jackson@ximian.com>
1977 * ListControl.cs: Fix typo.
1979 2005-07-14 Jackson Harper <jackson@ximian.com>
1981 * ListControl.cs: New Implementation. Lacks databinding support.
1983 2005-07-14 Ben Maurer <bmaurer@ximian.com>
1985 * Repeater.cs: The beginnings of this control
1987 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
1989 * TargetConverter.cs: Implemented
1991 2005-07-14 Duncan Mak <duncan@novell.com>
1993 * PagedDataSource.cs: Initial implementation.
1995 Methods that need to be figured out:
1996 CopyTo, GetItemProperties, PageCount, IsLastPage.
1998 To complete: CollectionEnumerator, ListEnumerator.
2000 2005-07-13 Duncan Mak <duncan@novell.com>
2002 * RepeatDirection.cs:
2004 * ValidationCompareOperator.cs:
2005 * ValidationDataType.cs:
2006 * ValidationSummaryDisplayMode.cs:
2007 * ValidatorDisplay.cs: Added remaining enumerations.
2009 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
2011 * FontNamesConverter.cs: Implemented
2013 2005-07-13 Ben Maurer <bmaurer@ximian.com>
2015 * RepeaterItem.cs: Compile fix
2017 * RepeaterItemCollection.cs: New file
2019 * RepeaterItem.cs: get OnBubbleEvent right.
2021 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
2023 * ListItemCollection.cs: Count can be derived from the array, which
2024 allows us to use a Pair instead of a Triplet and save some space
2026 2005-07-13 Ben Maurer <bmaurer@ximian.com>
2028 * RepeaterItem.cs: Stub
2030 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
2032 * ListItemCollection.cs: Implemented
2033 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
2035 2005-07-13 Ben Maurer <bmaurer@ximian.com>
2037 * RepeatInfo.cs: Impl.
2039 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
2041 * FirstDayOfWeek.cs: Added
2043 2005-07-13 Jackson Harper <jackson@ximian.com>
2045 * ListBox.cs: Some parameter checking.
2047 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
2049 * Image.cs: Added support for DescriptionUrl as this property was
2050 added in Fx 1.1 SP1.
2052 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
2054 * Style.cs (AddAttributesToRender): Don't render attributes if they
2055 contain only their default value
2057 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
2059 * Table.cs: New. Initial re-implementation.
2060 * TableCell.cs: New. Initial re-implementation.
2061 * TableCellCollection.cs: New. Initial re-implementation.
2062 * TableHeaderCell.cs: New. Initial re-implementation.
2063 * TableItemStyle.cs: New. Initial re-implementation.
2064 * TableRow.cs: New. Initial re-implementation.
2065 * TableRowCollection.cs: New. Initial re-implementation.
2066 * TableStyle.cs: New. Initial re-implementation.
2068 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
2070 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
2071 unit tests (for Style) and more tests in Table* classes.
2073 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
2075 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
2076 however IsEmpty returns false if any of their properties are set.
2077 Looks ugly but it's compatible with MS implementation (feature and
2080 2005-07-13 Dick Porter <dick@ximian.com>
2082 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
2083 null Text properties from the ViewState, test for TextAlign being
2084 out of range. All to make tests pass on both mono and ms
2087 2005-07-13 Jackson Harper <jackson@ximian.com>
2089 * ListBox.cs: Use invariant culture when doing a ToString,
2090 set value to the item's value, not to its Text.
2092 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
2094 * WebControl.cs (AddAttributesToRender): Added ID to rendered
2097 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
2099 * Style.cs(MergeWith): Handle null styles
2101 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
2103 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
2104 the #if NET_2_0 on it.
2106 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
2108 * Style.cs: Only render font elements if fontinfo object exists
2110 - Implemented SaveViewState()
2111 - Added loading of Style to LoadViewState
2112 - Implemented IAttributeAccessor methods
2114 2005-07-12 Jackson Harper <jackson@ximian.com>
2116 * ListBox.cs: Even track default values in the viewstate. Call
2117 base's RenderContents.
2119 2005-07-12 Jackson Harper <jackson@ximian.com>
2121 * ListBox.cs: New impl.
2123 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
2126 - Implemented methods
2129 2005-07-12 Ben Maurer <bmaurer@ximian.com>
2131 * ListItem.cs: New impl.
2133 2005-07-12 Duncan Mak <duncan@novell.com>
2135 * DayNameFormat.cs: Added.
2137 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
2139 * WebControl.cs: Implemented properties
2141 2005-07-12 Ben Maurer <bmaurer@ximian.com>
2143 * TextBox.cs: Passwords seem 1) not to be rendered to the client
2144 if set, 2) not kept in view state (for security reasons...)
2147 * Button.cs: Page.Validate () if needed. Gets the validator tests
2150 * TextBox.cs: Properties to get the validator stuff to work.
2152 2005-07-12 Miguel de Icaza <miguel@novell.com>
2154 * Unit.cs: If the units are pixels, then truncate the value.
2156 2005-07-12 Dick Porter <dick@ximian.com>
2158 * RadioButton.cs: New implementation
2160 * CheckBox.cs: Rearrange the attributes rendering to allow
2161 RadioButton to derive from this
2163 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
2165 * TitleFormat.cs: Add attribute
2166 * TextBoxMode.cs: Add attribute
2167 * CalendarDay.cs: Initial implementation
2168 * ImageButton.cs: Initial implementation
2169 * CalendarSelectionMode.cs:Initial implementation
2171 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
2173 * TextBoxMode.cs: simple enum
2174 * TitleFormat.cs: simple enum
2176 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
2178 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
2180 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
2182 * FontUnit.cs: Added TypeConverter attribute to class
2183 * FontUnitConverter.cs: Implemented
2185 2005-07-11 Ben Maurer <bmaurer@ximian.com>
2188 * Button.cs: Bubble the Command event.
2190 2005-07-11 Ben Maurer <bmaurer@ximian.com>
2193 - Clean up style (with my wonderful state bag hack!)
2194 - Fix a view state typo.
2195 - Use AddAttributesToRender
2196 - Don't add an extra <span>
2198 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
2200 * Style.cs: Handle null constructor argument for bag
2202 2005-07-11 Dick Porter <dick@ximian.com>
2204 * CheckBox.cs: New implementation
2206 * RadioButton.cs: Initial stubbed version that just compiles
2208 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
2210 * Button.cs: Initial Button implementation
2212 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
2214 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
2216 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
2218 * HorizontalAlign.cs: Typo in header.
2219 * VerticalAlign.cs: New. Required enum for TableRow control.
2221 2005-07-09 Ben Maurer <bmaurer@ximian.com>
2223 * TextBox.cs: More work on this
2225 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
2227 * GridLines.cs: New. Required enum for Table control.
2228 * HorizontalAlign.cs: New. Required enum for Table control.
2230 2005-07-09 Duncan Mak <duncan@novell.com>
2232 * CommandEventHandler.cs:
2233 * DataGridCommandEventHandler.cs:
2234 * DataGridItemEventHandler.cs:
2235 * DataGridPageChangedEventHandler.cs:
2236 * DataGridSortCommandEventHandler.cs:
2237 * DataListCommandEventHandler.cs:
2238 * DayRenderEventHandler.cs:
2239 * RepeaterCommandEventHandler.cs:
2240 * ServerValidateEventHandler.cs: Add delegates.
2243 * ListSelectionMode.cs:
2244 * NextPrevFormat.cs:
2246 * PagerPosition.cs: Add enums.
2248 2005-07-09 Ben Maurer <bmaurer@ximian.com>
2250 * TextBox.cs: Add the work I did on this today. It's not complete
2251 yet, but its a start!
2253 2005-07-09 Duncan Mak <duncan@novell.com>
2255 * CommandEventArgs.cs:
2256 * DataGridCommandEventArgs.cs:
2257 * DataGridItemEventArgs.cs:
2258 * DataGridPageChangedEventArgs.cs:
2259 * DataGridSortCommandEventArgs.cs:
2260 * DataListCommandEventArgs.cs:
2261 * DataListItemEventArgs.cs:
2262 * DayRenderEventArgs.cs:
2263 * RepeaterCommandEventArgs.cs:
2264 * RepeaterItemEventArgs.cs:
2265 * ServerValidateEventArgs.cs: Implemented.
2267 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
2269 * Image.cs: New. Image class implementation.
2270 * ImageAlign.cs: New. ImageAlign enum definitions.
2272 2005-07-08 Jackson Harper <jackson@ximian.com>
2274 * Literal.cs: New implentation.
2275 * MonthChangedEventArgs.cs: new
2276 * MonthChangedEventHandler.cs: new
2278 2005-07-08 Ben Maurer <bmaurer@ximian.com>
2280 * LinkButton.cs: Command impl
2282 2005-07-08 Ben Maurer <bmaurer@ximian.com>
2284 * LinkButton.cs: Initial impl
2286 2005-07-08 Jackson Harper <jackson@ximian.com>
2288 * AdCreatedeventArgs.cs: New implementation.
2290 2005-07-08 Dick Porter <dick@ximian.com>
2293 * BorderStyle.cs: Added
2295 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
2297 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
2299 2005-07-07 Miguel de Icaza <miguel@novell.com>
2301 * Xml.cs: New implementation. R00lz.
2303 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
2305 * FontInfo.cs: Added and implemented.
2306 * Style.cs: Fixed behaviour discrepancies showed by tests
2308 2005-07-07 Ben Maurer <bmaurer@ximian.com>
2310 * PlaceHolderControlBuilder.cs: new file
2312 * LabelControlBuilder.cs: New file
2314 * HyperLink.cs: use control builder; fix parsing stuff
2316 * HyperLinkControlBuilder.cs: new file
2318 * Panel.cs: misc fixes
2320 2005-07-07 Miguel de Icaza <miguel@novell.com>
2322 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
2324 * UnitConverter.cs: Add new file, learned from the
2325 System.Drawing.ColorConverter.
2327 2005-07-07 Ben Maurer <bmaurer@ximian.com>
2329 * PlaceHolder.cs: New file. Seems to do nothing
2331 * Label.cs: Use my new statebag trick to reduce typing
2333 * HyperLink.cs: New file
2335 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
2337 * Style.cs: Added and implemented.
2339 2005-07-06 Miguel de Icaza <miguel@novell.com>
2341 * FontUnit.cs: New file.
2343 * Unit.cs: New file.
2345 Added support for null and empty string constructors.
2347 2005-07-06 Ben Maurer <bmaurer@ximian.com>
2349 * Unit.cs: cctor not needed; static fields are 0 init'd by default
2351 * WebControl.cs: Kothari & Datye's book explains how these work.
2353 * IRepeatInfoUser.cs: Reimpl.
2355 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
2357 * WebControl.cs: Added stub
2359 2005-07-05 Miguel de Icaza <miguel@novell.com>
2361 * Label.cs: First control.
2363 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
2365 * DataControlField.cs: Ignore the ShowHeader property when
2366 building the control's content. It is the resposability of
2367 the field container to decide if the header should be shown
2370 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
2373 * ImageFieldMode.cs:
2374 * DynamicImageParameterMode.cs:
2375 * TableViewMode.cs: Removed.
2379 * TableRowSection.cs:
2380 * AutoCompleteType.cs:
2381 * DayNameFormat.cs: Track changes in 2.0 api.
2383 * StringArrayConverter.cs: This class is 2.0 only.
2385 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
2389 * DetailsView.cs: Bind the control after creating all child
2391 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
2392 the correct methods.
2393 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
2394 in this class. This is done in DataBoundControl. All this fixes
2397 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2399 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
2400 FindByText. Closes bug #74205.
2402 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2404 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
2405 1 when there's a datasource and 0 pages. Closes bug #73864.
2407 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
2414 * MenuItemTemplateContainer.cs:
2415 * DetailsView.cs: Track changes in the IDataItemContainer interface.
2417 * CommandField.cs: Added CausesValidation property. Set that
2418 property value to all buttons of the field.
2420 * SqlDataSourceView.cs:
2421 * CollectionDataSource.cs:
2422 * XmlDataSourceView.cs: Properly initialize the base class.
2424 * SiteMapDataSource.cs:
2425 * SiteMapHierarchicalDataSourceView.cs:
2426 * SiteMapNodeItem.cs:
2427 * SiteMapDataSourceView.cs:
2428 * SiteMapPath.cs: Mostly implemented.
2430 * HierarchicalDataBoundControl.cs: Always bind the control when the
2431 page is loaded for the first time.
2433 * TreeView.cs: Properly bind the control when loaded from a callback.
2435 2005-05-21 Ben Maurer <bmaurer@ximian.com>
2437 * BaseDataList.cs: Caption is in 1.1 too, though not
2438 documented. Gonz owes me [more] ice cream. Yummmmm.
2440 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2442 * BaseDataList.cs: implemented 2.0 Caption property.
2444 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
2446 * TreeView.cs: Always render the startup script. This fixes
2449 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
2451 * WizardStepBase.cs:
2452 * WizardStep.cs: Added missing attributes.
2453 * Wizard.cs: Implemented missing methods and properties. It can now
2454 be considered feature complete.
2456 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2458 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
2459 the method if the data source was en empty IEnumerator. Fixes
2462 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
2466 * Menu.cs: Implemented some new properties from beta 2.
2468 * DataControlButton.cs: Render the ControlStyle if it
2472 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
2473 It will now generate an object creation, instead of a Parse call.
2475 * GridViewCommandEventArgs.cs: Added missing property.
2476 * SubMenuStyleCollection.cs: This class is not sealed.
2477 * MultiView.cs: Set Visible=false to all views that are not
2478 shown. This ensures that it's view state is saved.
2480 * BaseDataBoundControl.cs:
2481 * GridViewDeletedEventArgs.cs: Minor api fixes.
2483 * FormViewDeleteEventArgs.cs:
2484 * DetailsViewDeletedEventArgs.cs:
2485 * ListControl.cs: Fix warnings.
2489 * HotSpotCollection.cs
2492 * RectangleHotSpot.cs
2493 * WizardStepCollection.cs : Implemented.
2497 * Wizard.cs: Initial implementation.
2499 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
2501 * DataControlField.cs:
2505 * DataControlCommands.cs:
2506 * DetailsView.cs: Use constants to identify commands.
2508 * SubMenuStyle.cs: Use Unit instead of int for padding.
2509 * SubMenuStyleCollection.cs: Implemented.
2512 * Menu.cs: Added some missing methods and properties.
2515 * DataGridPagerStyle.cs: Fixed default value attributes.
2516 * ListControl.cs: Implemented IEditableTextControl interface.
2518 * MenuItemBinding.cs: Added Selectable property.
2519 * CustomValidator.cs: removed interface.
2521 * MenuItem.cs: Added support for custom binding.
2522 * DropDownList.cs: Moved text properties to base class.
2524 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2526 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
2528 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2530 * Calendar.cs: when the day is active, modify the text of the literal
2531 control that holds the number, not the text of the TableCell. Also call
2532 OnDayRender before updating that text. Fixes bug #74718.
2534 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
2536 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
2538 * DataControlFieldHeaderCell.cs: Save Scope in view state.
2539 Added AbbreviatedText property.
2540 * AutoGeneratedField.cs: The constructor should actually be internal.
2541 * DataGridItem.cs: Added implemented interface in 2.0.
2542 * DataControlFieldCollection.cs: Implemented CloneFields and
2546 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2548 * StringArrayConverter.cs:
2549 * Calendar.cs: warnings.
2551 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
2553 * FormViewDeleteEventArgs.cs:
2554 * FormViewInsertEventArgs.cs:
2555 * FormViewUpdateEventArgs.cs:
2556 * FormViewDeletedEventArgs.cs:
2557 * FormViewUpdatedEventArgs.cs:
2558 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
2561 * IButtonControl.cs:
2562 * Button.cs: Removed SoftKey property.
2564 * CheckBox.cs: Don't try to load post back data if the control
2568 * AutoGeneratedField.cs:
2569 * DataControlField.cs:
2571 * ButtonFieldBase.cs:
2575 * ButtonField.cs: Don't bind fields in Insert state.
2576 Implemented CreateField and CopyProperties.
2579 * DetailsView.cs: Removed some unneeded interfaces. Don't
2580 generate the field rows if there are no items in the data source.
2581 Don't get the current keys until the whole control has been
2584 * DetailsViewInsertedEventArgs.cs:
2585 * DataBoundControl.cs:
2586 * ObjectDataSourceView.cs: Made some methods private.
2589 * Menu.cs: Changed some properties from int to Unit.
2591 * DataControlButton.cs: javascript prefix is needed when raising
2592 the postback event from a link.
2594 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
2595 The result was wrong when the total data source count was 0.
2597 * FormView.cs: Implemented.
2598 * FormViewRow.cs: Implemented.
2601 * Localize.cs: Fixed base interface.
2603 * BaseDataBoundControl.cs: In DataBind() call the base class
2604 DataBind method, so the binding context is properly set.
2606 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
2608 * DetailsView.cs: Added some null checks.
2609 * TemplateField.cs: Implemented support for two-way bindings.
2611 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
2613 * DetailsView.cs: Implemented support for Insert operation.
2614 Added header and footer templates. Added missing style
2616 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
2617 to get filter values. Other minor fixes.
2618 * CommandField.cs: Properly render the Insert and New buttons.
2619 * ObjectDataSource.cs: Update the parameter collections after
2620 the page is loaded. This will fire the ParameterChanged event
2622 * DataBoundControl.cs: The OnDataSourceViewChanged method
2623 is called when the view changes, not when the datasource
2626 * DetailsViewInsertedEventArgs.cs:
2627 * DetailsViewInsertEventArgs.cs: Implement Values property.
2630 * AutoGeneratedField.cs
2633 Take into account the Insert mode.
2635 * ParameterCollection.cs: Implemented UpdateValues and fixed
2636 GetValues (values can't be cached because can change).
2637 * Parameter.cs: Detect value changes in GetValue, and fire
2638 the change event if needed. Removed unused ParameterValue
2639 property. Other fixes.
2641 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
2643 * DetailsView.cs: Initial implementation.
2644 * ObjectDataSourceView.cs: Notify changes in the parameters.
2645 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
2646 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
2647 Implemented some properties.
2648 * GridView.cs: Added null check in SelectedValue. Don't return null
2649 for empty DataKeyNames list.
2650 * DetailsViewRowCollection.cs: Implemented.
2651 * DetailsViewRow.cs: Implemented.
2652 * ButtonFieldBase.cs: By default button field don't have headers.
2653 * BoundField.cs: Don't bind header fields.
2655 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
2657 * ButtonField.cs: Get data item properties using TypeDescriptor.
2658 Made OnDataBindField private.
2659 * ObjectDataSourceView.cs: Implemented support for Delete and
2660 Insert operations, support for filtering and sorting,
2661 conflict detection, etc. It's now complete.
2662 * ObjectDataSource.cs: Completed most of functionality. Only
2663 caching support is missing.
2664 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
2665 * TreeNode.cs: Get data item properties using TypeDescriptor.
2666 * PagerSettings.cs: Flush.
2667 * ObjectDataSourceFilteringEventArgs.cs: New event args.
2668 * GridView.cs: Get data item properties using TypeDescriptor
2669 and cache them. Properly set descending order in the sort
2670 expression. In UpdateRow, make sure we get the old values
2671 before the control is bound again.
2672 * ImageField.cs: Implemented.
2673 * AutoGeneratedField.cs: Initialize the field's sort
2674 expression in the constructor.
2675 * MenuItem.cs: Get data item properties using TypeDescriptor.
2676 * BoundField.cs: Get data item properties using TypeDescriptor.
2677 * CheckBoxField.cs: Added missing attributes.
2678 * TemplateField.cs: Implemented.
2680 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2683 * FontUnitConverter.cs: fixed ConvertTo to work with target
2684 InstanceDescriptor and value as a string.
2686 * Unit.cs: culture might be null.
2690 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
2692 * ButtonField.cs: Mostly implemented.
2693 * DataControlFieldHeaderCell.cs: Implemented.
2694 * ObjectDataSourceView.cs: Initial implementation.
2695 * DataControlButton.cs: Added support for real buttons.
2696 * Label.cs, DataControlField.cs: Flush.
2697 * ObjectDataSource.cs: Initial implementation.
2698 * HiddenField.cs: Added class stub.
2699 * GridView.cs: Load autogenerated field properties before
2700 creating the children, to make sure that column info is ready.
2701 * ControlParameter.cs: Implemented Evaluate method.
2702 * ImageField.cs: Added class stub.
2703 * BoundField.cs: Added HtmlEncode property.
2704 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
2706 * CheckBoxField.cs: Mostly implemented.
2707 * TemplateField.cs: Added class stub.
2708 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
2709 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
2710 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
2712 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
2714 * DataControlField.cs: Added missing InsertVisible property.
2715 * AutoGeneratedFieldProperties.cs: Implemented.
2716 * PagerSettings.cs: Minor fix.
2717 * GridView.cs: Implemented support for autogenerated fields, templates,
2718 accessible headers. Implemented paging using PagedDataSource.
2719 Implemented missing overridable methods.
2720 * AutoGeneratedField.cs: Initial implementation.
2721 * BoundField.cs: Added ReadOnly property.
2722 * PagedDataSource.cs: Implemented 2.0 api.
2723 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
2724 cell class to be used by accessible headers.
2725 * TableCell.cs: Removed unneded constructor. If the cell is bound to
2726 a template, call the default RenderContents method.
2728 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
2730 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
2731 event when loading the view state. Fixes #73746.
2733 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
2735 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
2737 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
2739 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
2741 * CommandField.cs: Mostly implemented.
2742 * Menu.cs: Use callback methods moved to ClientScriptManager.
2743 * DataControlButton.cs: Internal control used to implement buttons
2744 for navigating in data bound controls.
2745 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
2746 to render the column headers.
2747 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
2748 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
2749 Don't use Page.GetPostBackClientEvent
2750 since it is deprecated in 2.0.
2751 * GridView.cs: Implemented some several interfaces.
2752 Implemented support client sorting and page navigation (using callbacks).
2753 Implemented the autogenerated command column using the new CommandField
2755 * ButtonFieldBase.cs: Implemented.
2756 * GridView.js: New helper script to support client side sorting and
2757 paging in the grid view.
2759 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
2761 * DataKey.cs: Implemented.
2762 * XmlDataSourceView.cs: Implemented support for row pagging.
2763 * Table.cs: Fixed attribute value.
2764 * DataControlField.cs: Added support for sorting headers.
2765 * ChildTable.cs: Created.
2766 * ListControl.cs: Delay selection assignment, since control state
2767 is now loaded before view state.
2768 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
2769 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
2770 several missing properties.
2771 * PagerSettings.cs: Fully implemented.
2772 * BaseDataList.cs: Added null check.
2773 * GridView.cs: Implemented more functionality.
2774 * BoundField.cs: Added support for cell editing.
2775 * StringArrayConverter.cs: Implemented.
2776 * DataKeyArray.cs: Implemented.
2777 * BaseDataBoundControl.cs: Reset the requires binding flag before
2778 executing the query. This avoids recursive query calls.
2779 * GridViewRow.cs: Handler commands raised from row childs.
2781 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
2783 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
2784 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
2785 it is possible to query for properties fore each data item.
2786 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
2787 when loading its view state.
2788 * DataControlField.cs: Implement properties using a StateBag.
2789 * XmlDataSourcePropertyDescriptor.cs: Implemented.
2790 * PagerSettings.cs: Mostly implemented.
2791 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
2792 * DataBoundControl.cs: Added null check.
2793 * GridView.cs: Initial implementation.
2794 * CompositeDataBoundControl.cs: Implemented.
2795 * BoundField.cs: Initial implementation.
2796 * GridViewRowCollection.cs: Initial implementation.
2797 * DataControlFieldCollection.cs: Initial implementation.
2798 * DataControlFieldCell.cs: Fixed control tag.
2799 * GridViewRow: Initial implementation.
2800 * XmlDataSourceNodeDescriptor.cs: Implemented.
2802 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2804 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
2805 is zero, use the TagName no matter its value. Fixes bug #72415.
2807 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
2809 * Style.cs: Method name fix.
2810 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
2811 * BaseCompareValidator.cs: Method signature fix.
2812 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
2813 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
2814 * BulletedList.cs: Added missing method.
2815 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
2817 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
2819 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
2820 * RadioButton.cs: Added missing 2.0 methods.
2821 * ListItem.cs: Added Enabled property.
2822 * MailMessageEventArgs.cs: Use the correct message class.
2823 * ListControl.cs: Implemented missing properties and support for
2824 control state. Implemented base RenderContents method.
2825 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
2827 * BaseCompareValidator.cs: Implemented methods that support conditional
2828 use of the invariant culture.
2829 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
2830 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
2831 It takes a DbCommand instead of a IDbCommand.
2832 * GridViewSortEventArgs.cs: Added SortDirection property.
2833 * TextBox.cs, CheckBoxList.cs: Added protected version of
2834 IPostBackDataHandler methods.
2835 * RadioButtonList.cs: Added protected version of
2836 IPostBackDataHandler and IRepeatInfoUser methods.
2837 * Repeater.cs: Updated some method names.
2838 * DropDownList.cs: Added protected version of
2839 IPostBackDataHandler methods. Reuse RenderContents from base class.
2840 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
2841 * GridViewUpdatedEventArgs.cs: Fix typo.
2842 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
2843 Reuse RenderContents from base class.
2844 * BaseDataBoundControl.cs: Several fixes.
2845 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
2847 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
2849 * CheckBoxList.cs: Fix build.
2851 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
2853 * Button.cs: Use validation group when validating page.
2854 * XmlDataSourceView.cs: Implemented ExecuteSelect.
2855 * Menu.cs: Minor fix.
2856 * CheckBox.cs: Added 2.0 properties and methods.
2857 * BaseDataList.cs: Always databind the control if view state
2859 * DataList.cs: In 2.0, use control state to save the selected index.
2860 * DetailsViewUpdatedEventArgs.cs: Fix typo.
2861 * CustomValidator.cs: Implement IStaticTextControl interface.
2862 * CheckBoxList.cs: Added missing 2.0 methods.
2863 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
2865 * XmlDataSource.cs: Return childs of DocumentElement, not the root
2867 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
2868 Implemented 2.0 API.
2871 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
2873 * Button.cs: Implemented all missing 2.0 features.
2874 * Table.cs: Render the table caption, when specified.
2875 * Calendar.cs: Implemented most of missing 2.0 features.
2876 * TableCell.cs: Fixed attributes.
2878 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
2880 * ControlPropertyNameConverter.cs: Added file.
2882 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
2884 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
2885 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
2886 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
2887 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
2888 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
2889 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
2890 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
2891 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
2892 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
2893 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
2894 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
2895 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
2896 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
2897 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
2898 DataGridSortCommandEventArgs.cs, Repeater.cs,
2899 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
2900 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
2901 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
2902 CompareValidator.cs, HierarchicalDataBoundControl.cs,
2903 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
2904 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
2905 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
2906 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
2907 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
2908 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
2909 AdCreatedEventArgs.cs:
2911 General 2.0 API fixes: missing attributes, incorrect inheritance,
2912 missing sealed keywords, wrong signatures, etc.
2914 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
2916 * Table.cs: Added some 2.0 properties.
2917 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
2919 * BaseValidator.cs: Fix warning.
2920 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
2922 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
2924 * Menu.cs: Rendering fixes.
2926 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
2928 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
2929 ContentPlaceHolderBuilder.cs: Implemented.
2931 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2933 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
2934 attributes that are meant to be in the input tag in their place.
2936 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
2938 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
2939 generates invalid html).
2941 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
2943 * Menu.cs: Implemented most of missing properties. Added support for
2944 item templates. Implemented menu scrolling.
2945 * MenuItemBinding.cs: Implemented most of missing properties.
2946 * MenuItem.cs: Implemented most of missing properties.
2947 * Menu.js: Implemented scrolling and menu reposition into screen.
2948 * MenuItemTemplateContainer.cs: Implemented.
2949 * SubMenuStyle.cs: Implemented.
2951 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
2953 * Style.cs: Implemented RegisteredCssClass property. Added
2954 CopyTextStylesFrom method, which copies styles that only apply to text.
2955 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
2956 in the page stylesheet. Added support for ItemSpacing property.
2957 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
2959 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
2961 * Style.cs: Generate styles using a CssStyleCollection, so the code can
2962 be reused for the 2.0 FillStyleAttributes method.
2963 * Menu.cs: Implemented more properties and events. Rendering is very
2965 * MenuItem.cs: Added PopOutImageUrl property.
2966 * Menu.js: More work on submenu management.
2968 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
2970 * Menu.cs: Implemented basic rendering. Added some missing properties.
2971 * MenuItem.cs: Improved implementation of Depth.
2972 * Unit.cs: Added serializable attribute.
2973 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
2974 so it can be reused.
2975 * Menu.js: New script to support he Menu control.
2977 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
2979 * MenuEventArgs.cs: Changed to sealed.
2980 * TreeView.cs: Minor fix.
2981 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
2982 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
2983 MenuItemStyleCollection.cs: Initial Menu code.
2985 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
2987 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
2988 Implemented SetDirtyObject.
2989 * Style.cs: Implemented SetDirty().
2990 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
2991 * TreeNode.cs: Added missing attributes added support for
2992 PopulateOnDemand. Added some missing property bindings.
2993 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
2994 to newly added elements to make sure al new data is saved.
2995 * TreeView.js: Implemented support for client population of nodes.
2996 * TreeNodeStyle.cs: Added missing attributes.
2997 * TreeView.cs: Implemented support for PopulateNodesFromClient and
2998 PopulateOnDemand. Improved rendering.
3000 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
3002 * DataControlField.cs:
3003 * DataControlFieldCell.cs: Initial implementation.
3005 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
3007 * TreeNodeBindingCollection.cs: Implemented.
3008 * TreeNodeBinding.cs: Implemented.
3009 * TreeNode.cs: Added support for data binding.
3010 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
3011 TreeView_Default_NoExpand.gif: Moved to resources directory.
3012 * ListControl.cs: Fixed api.
3013 * XmlHierarchicalEnumerable.cs: Made internal.
3014 * DataBoundControl.cs: Modified api to match latest ms.net.
3015 * TreeView.js: New javascript file to support TreeView in the client.
3016 * XmlDataSource.cs: Added missing attributes.
3017 * HierarchicalDataBoundControl.cs: Mostly implemented.
3018 * BaseDataBoundControl.cs: Mostly implemented.
3019 * XmlHierarchyData.cs: Made internal.
3020 * TreeView.cs: Mostly implemented. The major missing feature is
3021 client side tree population.
3023 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
3026 * DataBountControl.cs:
3027 * Repeater.cs: Added SelectArguments property and updated.
3028 * SiteMapDataSourceView.cs:
3029 * SqlDataSourceView.cs:
3030 * XmlDataSourceView.cs: Removed extra method, which was there to
3031 keep things compiling.
3033 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
3035 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
3036 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
3037 TreeView.cs: Initial implementation.
3038 * DataBoundControl.cs: Set the correct base class.
3039 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
3040 * TreeNodeSelectAction.cs: Formatting.
3041 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
3042 TreeView_Default_NoExpand.gif: TreeView images.
3044 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
3046 * SqlDataSourceView.cs: Updated methods and added one property.
3048 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
3050 * AccessDataSource.cs:
3051 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
3052 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
3054 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
3055 * SqlDataSourceView.cs: Updated constructor.
3057 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
3059 * AccessDataSourceView.cs: Added new class.
3061 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
3063 * SqlDataSourceView.cs: Corrected exception handling in
3064 ExecuteSelect method.
3066 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
3068 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
3069 * SiteMapDataSourceView.cs: Minor fix.
3071 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
3073 * SqlDataSourceView.cs: Updated ExecuteSelect method.
3075 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
3077 * SqlDataSource.cs: Corrected Select method.
3079 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
3081 * SqlDataSource.cs: Updated Select method definition.
3082 * SqlDataSourceStatusEventArgs.cs: Updated class.
3084 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
3086 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
3087 from DataSourceView.cs).
3089 2004-11-10 Raja R Harinath <rharinath@novell.com>
3091 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
3093 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
3095 * SqlDataSource.cs: Corrected method calls.
3096 * SqlDataSourceView.cs: Partial implementation of few methods.
3098 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3100 * ListItemCollection.cs: fixed bug when indexing changed elements in
3101 LoadViewState. Patch from Alois BĻlaška.
3103 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
3105 * SiteMapDataSourceView.cs:
3106 * SqlDataSourceView.cs:
3107 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
3108 base class, DataSourceView. Changes are to keep things compiling.
3110 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
3112 * SiteMapDataSourceView.cs: Corrected class definition and updated.
3113 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
3116 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
3118 * AdRotator.cs: Updated.
3120 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
3122 * AccessDataSource.cs: Updated.
3124 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
3126 * ValidatedControlConverter.cs: Updated.
3128 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
3130 * AssociatedControlConverter.cs: Implemented.
3132 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
3134 * ControlIDConverter.cs: Initial implementation.
3136 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
3138 * IButtonControl.cs: Corrected property name.
3140 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
3142 * ParameterCollection.cs: Updated.
3144 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
3146 * Parameter.cs: Updated and completed implementation.
3148 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
3150 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
3153 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
3155 * AccessDataSource.cs: Initial implementation.
3157 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
3159 * DataControlRowState.cs:
3161 * TreeNodeTypes.cs: Added attribute.
3162 * DataControlRowType.cs:
3164 * SortDirection.cs: Corrected enumeration values.
3165 * TableRowSection.cs: Added new enumeration.
3166 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
3168 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3170 * TableStyle.cs: don't render empty 'rules' attribute (again).
3172 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
3174 * FormViewUpdatedEventArgs.cs: Spelling mistake.
3176 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
3178 * Literal.cs: Added new method Focus().
3180 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3182 * RadioButton.cs: fix GroupName when the control is inside a
3183 NamingContainer different from Page. Closes bug #65586.
3185 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
3187 * Localize.cs: Added new class.
3189 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
3191 * CompositeControl.cs : Completed
3192 * Login.cs : Initial implementation.
3194 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3196 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
3197 don't call MapPathSecure on the content itself.
3199 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
3200 document is checked at parse time and will be checked again at run time.
3204 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
3206 * AuthenticateEventHandler.cs:
3207 * CreateUserErrorEventArgs.cs:
3208 * CreateUserErrorEventHandler.cs:
3209 * DetailsViewCommandEventHandler.cs:
3210 * DetailsViewDeleteEventArgs.cs:
3211 * DetailsViewDeleteEventHandler.cs:
3212 * DetailsViewDeletedEventArgs.cs:
3213 * DetailsViewDeletedEventHandler.cs:
3214 * DetailsViewInsertEventArgs.cs:
3215 * DetailsViewInsertEventHandler.cs:
3216 * DetailsViewInsertedEventArgs.cs:
3217 * DetailsViewInsertedEventHandler.cs:
3218 * DetailsViewModeEventArgs.cs:
3219 * DetailsViewModeEventHandler.cs:
3220 * DetailsViewPageEventHandler.cs:
3221 * DetailsViewUpdateEventArgs.cs:
3222 * DetailsViewUpdateEventHandler.cs:
3223 * DetailsViewUpdatedEventArgs.cs:
3224 * DetailsViewUpdatedEventHandler.cs:
3225 * FormViewCommandEventHandler.cs:
3226 * FormViewDeleteEventArgs.cs:
3227 * FormViewDeleteEventHandler.cs:
3228 * FormViewDeletedEventArgs.cs:
3229 * FormViewDeletedEventHandler.cs:
3230 * FormViewInsertEventArgs.cs:
3231 * FormViewInsertEventHandler.cs:
3232 * FormViewInsertedEventArgs.cs:
3233 * FormViewInsertedEventHandler.cs:
3234 * FormViewModeEventHandler.cs:
3235 * FormViewPageEventHandler.cs:
3236 * FormViewUpdateEventArgs.cs:
3237 * FormViewUpdateEventHandler.cs:
3238 * FormViewUpdatedEventArgs.cs:
3239 * FormViewUpdatedEventHandler.cs:
3240 * GridViewCancelEditEventArgs.cs:
3241 * GridViewCancelEditEventHandler.cs:
3242 * GridViewCommandEventHandler.cs:
3243 * GridViewDeleteEventArgs.cs:
3244 * GridViewDeleteEventHandler.cs:
3245 * GridViewDeletedEventArgs.cs:
3246 * GridViewDeletedEventHandler.cs:
3247 * GridViewEditEventHandler.cs:
3248 * GridViewPageEventHandler.cs:
3249 * GridViewRowEventHandler.cs:
3250 * GridViewSelectEventHandler.cs:
3251 * GridViewSortEventArgs.cs:
3252 * GridViewSortEventHandler.cs:
3253 * GridViewUpdateEventArgs.cs:
3254 * GridViewUpdateEventHandler.cs:
3255 * GridViewUpdatedEventArgs.cs:
3256 * GridViewUpdatedEventHandler.cs:
3257 * ImageMapEventHandler.cs:
3258 * MailMessageEventHandler.cs:
3259 * MenuEventHandler.cs:
3260 * ObjectDataSourceDisposingEventHandler.cs:
3261 * ObjectDataSourceEventHandler.cs:
3262 * ObjectDataSourceMethodEventArgs.cs:
3263 * ObjectDataSourceMethodEventHandler.cs:
3264 * ObjectDataSourceSelectingEventArgs.cs:
3265 * ObjectDataSourceSelectingEventHandler.cs:
3266 * ObjectDataSourceStatusEventArgs.cs:
3267 * ObjectDataSourceStatusEventHandler.cs:
3268 * SendMailErrorEventHandler.cs:
3269 * SiteMapNodeItemEventHandler.cs:
3270 * SqlDataSourceSelectingEventArgs.cs:
3271 * SqlDataSourceSelectingEventHandler.cs:
3272 * TreeNodeEventHandler.cs:
3273 * WizardNavigationEventArgs.cs:
3274 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
3275 corrections and removing "sealed" access specifier from *EventHandler.cs
3277 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
3279 * Literal.cs: Added new attributes and property for .Net 2.0
3281 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
3283 * GridViewDeleteEventArgs.cs: Removed extra code.
3285 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
3287 * SendMailErrorEventArgs.cs:
3288 * SendMailErrorEventHandler.cs:
3289 * SiteMapNodeItemEventArgs.cs:
3290 * SiteMapNodeItemEventHandler.cs:
3291 * SqlDataSourceSelectingEventArgs.cs:
3292 * SqlDataSourceSelectingEventHandler.cs:
3293 * TreeNodeEventArgs.cs:
3294 * TreeNodeEventHandler.cs:
3295 * WizardNavigationEventArgs.cs:
3296 * WizardNavigationEventHandler.cs: Added new delegates.
3298 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
3300 * ImageMapEventArgs.cs:
3301 * ImageMapEventHandler.cs:
3302 * MailMessageEventArgs.cs:
3303 * MailMessageEventHandler.cs:
3305 * MenuEventHandler.cs:
3306 * ObjectDataSourceDisposingEventArgs.cs:
3307 * ObjectDataSourceDisposingEventHandler.cs:
3308 * ObjectDataSourceEventArgs.cs:
3309 * ObjectDataSourceEventHandler.cs:
3310 * ObjectDataSourceMethodEventArgs.cs:
3311 * ObjectDataSourceMethodEventHandler.cs:
3312 * ObjectDataSourceSelectingEventArgs.cs:
3313 * ObjectDataSourceSelectingEventHandler.cs:
3314 * ObjectDataSourceStatusEventArgs.cs:
3315 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
3317 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
3319 * DetailsViewCommandEventArgs.cs:
3320 * FormViewCommandEventArgs.cs:
3321 * GridViewCommandEventArgs.cs: Corrected constructor.
3323 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
3325 * GridViewCancelEditEventArgs.cs:
3326 * GridViewCancelEditEventHandler.cs:
3327 * GridViewCommandEventArgs.cs:
3328 * GridViewCommandEventHandler.cs:
3329 * GridViewDeletedEventArgs.cs:
3330 * GridViewDeletedEventHandler.cs:
3331 * GridViewDeleteEventArgs.cs:
3332 * GridViewDeleteEventHandler.cs:
3333 * GridViewEditEventArgs.cs:
3334 * GridViewEditEventHandler.cs:
3335 * GridViewPageEventArgs.cs:
3336 * GridViewPageEventHandler.cs:
3337 * GridViewRowEventArgs.cs:
3338 * GridViewRowEventHandler.cs:
3339 * GridViewSelectEventArgs.cs:
3340 * GridViewSelectEventHandler.cs:
3341 * GridViewSortEventArgs.cs:
3342 * GridViewSortEventHandler.cs:
3343 * GridViewUpdatedEventArgs.cs:
3344 * GridViewUpdatedEventHandler.cs:
3345 * GridViewUpdateEventArgs.cs:
3346 * GridViewUpdateEventHandler.cs: Added new delegates.
3348 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
3350 * FormViewUpdatedEventArgs.cs: Corrected constructor.
3352 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
3354 * FormViewCommandEventArgs.cs: Corrected name of class.
3356 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3358 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
3361 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
3363 * FormViewCommandEventArgs.cs:
3364 * FormViewCommandEventHandler.cs:
3365 * FormViewDeletedEventArgs.cs:
3366 * FormViewDeletedEventHandler.cs:
3367 * FormViewDeleteEventArgs.cs:
3368 * FormViewDeleteEventHandler.cs:
3369 * FormViewInsertedEventArgs.cs:
3370 * FormViewInsertedEventHandler.cs:
3371 * FormViewInsertEventArgs.cs:
3372 * FormViewInsertEventHandler.cs:
3373 * FormViewModeEventArgs.cs:
3374 * FormViewModeEventHandler.cs:
3375 * FormViewPageEventArgs.cs:
3376 * FormViewPageEventHandler.cs:
3377 * FormViewUpdatedEventArgs.cs:
3378 * FormViewUpdatedEventHandler.cs:
3379 * FormViewUpdateEventArgs.cs:
3380 * FormViewUpdateEventHandler.cs: Added new delegates.
3382 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
3384 * DetailsViewCommandEventArgs.cs:
3385 * DetailsViewCommandEventHandler.cs:
3386 * DetailsViewDeletedEventArgs.cs:
3387 * DetailsViewDeletedEventHandler.cs:
3388 * DetailsViewDeleteEventArgs.cs:
3389 * DetailsViewDeleteEventHandler.cs:
3390 * DetailsViewInsertedEventArgs.cs:
3391 * DetailsViewInsertedEventHandler.cs:
3392 * DetailsViewInsertEventArgs.cs:
3393 * DetailsViewInsertEventHandler.cs:
3394 * DetailsViewModeEventArgs.cs:
3395 * DetailsViewModeEventHandler.cs:
3396 * DetailsViewPageEventArgs.cs:
3397 * DetailsViewPageEventHandler.cs:
3398 * DetailsViewUpdatedEventArgs.cs:
3399 * DetailsViewUpdatedEventHandler.cs:
3400 * DetailsViewUpdateEventArgs.cs:
3401 * DetailsViewUpdateEventHandler.cs: Added new delegates.
3403 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
3405 * AuthenticateEventArgs.cs:
3406 * AuthenticateEventHandler.cs:
3407 * CreateUserErrorEventArgs.cs:
3408 * CreateUserErrorEventHandler.cs: Added new delegates.
3410 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
3412 * IButtonControl.cs:
3413 * ICallbackContainer.cs:
3414 * ICompositeControlDesignerAccessor.cs:
3415 * IPostBackContainer.cs: Added new interfaces.
3417 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
3420 * AutoCompleteType.cs:
3421 * ContentDirection.cs:
3422 * DataControlCellType.cs:
3423 * DataControlRowState.cs:
3424 * DataControlRowType.cs:
3425 * DetailsViewMode.cs:
3426 * DynamicImageParameterMode.cs:
3429 * ImageFieldMode.cs:
3436 * SiteMapNodeItemType.cs:
3437 * SiteMapNodeType.cs:
3438 * SiteMapViewType.cs:
3440 * TableCaptionAlign.cs:
3441 * TableHeaderScope.cs:
3443 * TreeNodeSelectAction.cs:
3445 * TreeViewImageSet.cs:
3446 * WizardStepType.cs: Added enumerations
3448 2004-08-02 Duncan Mak <duncan@ximian.com>
3451 * LoginFailureAction.cs:
3452 * LoginTextLayout.cs: Added enumerations.
3454 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3456 * BaseValidator.cs: in Validate(), when the control is not visible or
3457 enabled, return inmediately after setting IsValid to true. Fixes bug
3460 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3462 * DataList.cs: s/HasChildren/HasControls()/.
3464 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3466 * DataList.cs: style.
3468 2004-07-27 Alon Gazit <along@mainsoft.com>
3469 * DataList.cs: Replaced foreach statement with for statement,
3470 in order to improve performence.
3472 2004-07-27 Alon Gazit <along@mainsoft.com>
3473 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
3475 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
3476 switch statements in order to improve performance.
3478 2004-06-10 Alon Gazit <along@mainsoft.com>
3479 * WebControl.cs: fixed LoadViewState().
3480 Creates new attributes state bag only when the current is null.
3482 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3484 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
3486 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3488 * Calendar.cs: set the title class attribute if we have it. Fixes bug
3491 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3493 * Style.cs: added SetBit.
3495 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3498 * CompareValidator.cs:
3501 * WebControl.cs: Added protected missing members and attributes.
3503 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3505 * TextBox.cs: don't save the Text if in ViewState if it's a password.
3506 Save it if the control is not visible or not enabled. Fixes bug #58497.
3508 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3510 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
3513 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
3515 * SqlDataSourceCommandEventArgs:
3516 * XmlDataSource.cs : removed temporary workarounds for CLS
3517 compliance as System.Data is now CLS compliant
3519 2004-05-06 Alon Gazit <along@mainsoft.com>
3520 * WebControl.cs: fixed LoadViewState() and SaveViewState().
3521 Before the change the Enabled property wasn't updated when a postback
3523 * ListControl.cs: fixed SelectedIndex property implementation.
3524 Prevents throwing ArgumentOutOfRangeException (that should not be
3525 thrown), when the list is empty.
3527 2004-04-28 Alon Gazit <along@mainsoft.com>
3528 * WebControl.cs: fixed LoadViewState().
3529 Always loading the saved attributes collection.
3531 2004-04-18 Alon Gazit <along@mainsoft.com>
3532 * Repeater.cs: fixed InstantiateItem() and DataSource property.
3533 The change in DataSource prevents throwing ArgumentException while
3534 setting property value to null.
3535 The change in InstantiateItem() prevents NullReferenceException.
3537 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
3539 * BaseValidator.cs: Store Display property in the correct ViewState
3540 property. Don't render anything if Display is ValidatorDisplay.None.
3542 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
3544 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
3545 since it is already a physical path. Fixes bug #55334.
3547 2004-02-13 Jackson Harper <jackson@ximian.com>
3549 * Calendar.cs: Match MS postback data. This allows sites that
3550 parse the postback data manually to work.
3552 2004-02-04 Alon Gazit <along@mainsoft.com>
3553 * EditCommandColumn.cs: fixed InitializeCell().
3554 The rendered LiteralControl should contain " " and not " ".
3556 2004-02-01 Alon Gazit <along@mainsoft.com>
3558 * DataGrid.cs: fixed a problem in the paging mechanism in the method
3560 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
3561 while clicking the "..." link in the second page.
3563 2004-01-28 Alon Gazit <along@mainsoft.com>
3565 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
3567 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3569 * Calendar.cs: when rendering days, add a LiteralControl containing the
3570 day before OnDayRender is called. Only generate the default links for
3571 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
3573 2004-01-21 Martin Baulig <martin@ximian.com>
3575 * XmlHierarchyData.cs: Make this compile with csc.
3577 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
3578 accessor since the base class doesn't have one.
3580 2004-01-18 Alon Gazit <along@mainsoft.com>
3582 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
3584 2004-01-18 Alon Gazit <along@mainsoft.com>
3586 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
3587 Property default value.
3588 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
3589 Property default value.
3591 2004-01-15 Alon Gazit <along@mainsoft.com>
3593 * RadioButtonList.cs: RepeatLayout property should affect the rendered
3596 2004-01-15 Alon Gazit <along@mainsoft.com>
3597 * FontInfo.cs: Add validation check to Size property.
3599 2004-01-07 Alon Gazit <along@mainsoft.com>
3600 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
3601 merge the column's style to the cell's style and not to
3602 the item's(row) style.
3604 2004-01-04 Alon Gazit <along@mainsoft.com>
3605 * RangeValidator.cs: Fixed ControlPropertiesValid().
3607 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3609 * Xml.cs: mono-stylized and removed warnings.
3611 2004-1-1 Alon Gazit <along@mainsoft.com>
3612 * RadioButtonList.cs: update RenderItem() so that each RadioButton
3613 is enabled or disabled like the RadioButtonList.
3614 * CheckBoxList.cs: update RenderItem() so that each CheckBox
3615 is enabled or disabled like the CheckBoxList.
3617 2004-1-1 Alon Gazit <along@mainsoft.com>
3618 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
3619 The Header or Footer Style shouldn't merge with the cells Style.
3621 2004-1-1 Alon Gazit <along@mainsoft.com>
3622 * DataGridColumn.cs: Headers and Footers are initialized
3623 with the relevant Style object.
3625 2003-12-30 Alon Gazit <along@mainsoft.com>
3626 * RepeatInfo.cs: Fixed DoVerticalRendering () and
3627 DoHorizontalRendering().
3628 Current implementation produces few extra html tags.
3630 2003-12-29 Alon Gazit <along@mainsoft.com>
3632 * CheckBox.cs: change the implementation of LoadPostData.
3633 Currently, while the AutoPostBack property equals true ,
3634 it isn't possible to perform uncheck.
3636 2003-12-19 Jackson Harper <jackson@ximian.com>
3638 * TableCell.cs: Setting a cells text should clear its control
3639 collection as per la specification. This fixes bug #51825.
3641 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3643 * DataGridColumn.cs: stylized LoadViewState.
3644 * DataGridColumnCollection.cs: when TrackViewState is called, also
3645 call it on all the existing columns. Fixes bug #52334.
3647 2003-12-18 Alon Gazit <along@mainsoft.com>
3649 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
3652 2003-12-18 Alon Gazit <along@mainsoft.com>
3654 * TableStyle.cs: merge TableStyle properties when Style is empty.
3656 2003-12-16 Alon Gazit <along@mainsoft.com>
3658 * HyperLink.cs: Change Text property implementation. in MS when the Text
3659 property is set, all the controls in the HyperLink are being deleted.
3660 This fixes bug #52239.
3662 2003-12-15 Alon Gazit <along@mainsoft.com>
3663 * RepeatInfo.cs: Fixed DoVerticalRendering () and
3664 DoHorizontalRendering().
3665 Both methods add additional empty table row in the head of each item
3666 table when the variable named isTable equals true (happenes with the
3667 default instantiation of RepeatInfo). These additional rows should be
3668 added when isTable equals false.
3669 This fixes bug #52225.
3671 2003-12-15 Alon Gazit <along@mainsoft.com>
3673 * RepeatInfo.cs: Fixed DoVerticalRendering() and
3674 DoHorizontalRendering().
3675 Both methods add to rendered Header a colspan attribute according to the
3676 rows count. after the change the colspan is added according to the
3679 2003-12-15 Alon Gazit <along@mainsoft.com>
3680 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
3681 In .NET if the checkbox is disabled ,its text appears disabled too.
3682 In Mono the text appears enabled. the fix is in Render().
3683 This fixes bug #52180.
3685 2003-12-15 Alon Gazit <along@mainsoft.com>
3686 * Repeater.cs: Change the implementation of CreateControlHierarchy().
3687 The current implementation renders extra Header and footer
3688 without Repeater.DataSource assign.
3689 This fixes bug #52179.
3691 2003-12-15 Alon Gazit <along@mainsoft.com>
3692 * DataGrid.cs: Change the implementation of the property
3693 BackImageUrl. The current implementation has no influence
3694 on the rendered Html.
3696 2003-12-15 Alon Gazit <along@mainsoft.com>
3697 * WebControl.cs: Change the implementation of the property
3698 Enabled. Before the change the WebControl also looked at
3699 parent.Enabled . fixed bug #52171.
3701 2003-12-11 Jackson Harper <jackson@ximian.com>
3703 * RepeatInfo.cs: When rendering vertically figure out how many
3704 colmns are not going to be filled in in the last row, and adjust
3705 things accordingly. This fixes bug #51863.
3707 2003-12-10 Alon Gazit <along@mainsoft.com>
3708 * TableRow.cs: Change the implementation of the properties
3709 HorizontalAlign and VerticalAlign. The current implementation
3710 has no influence on the rendered Html.
3712 2003-12-10 Alon Gazit <along@mainsoft.com>
3713 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
3714 property's set method.
3716 2003-12-09 Jackson Harper <jackson@ximian.com>
3718 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
3719 Increment counter when moving to start. Fixes bug #51926.
3721 2003-12-08 Jackson Harper <jackson@ximian.com>
3723 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
3724 Benjamin Jemlich. Fixes bug #51823.
3726 2003-12-07 Alon Gazit <along@mainsoft.com>
3727 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
3728 property is set to false. Fixes bug #58120.
3730 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3732 * TableItemStyle.cs: merge TableItemStyle properties when Style is
3733 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
3735 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3737 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
3740 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3742 * WebControl.cs: don't create the attributes when GetAttribute is
3745 2003-12-01 Jackson Harper <jackson@ximian.com>
3747 * WebControl.cs: Only allow access keys to be null or a single
3748 char. Patch by Alon Gazit <along@mainsoft.com>.
3750 2003-11-30 Jackson Harper <jackson@ximian.com>
3752 * CheckBoxList.cs: A checkbox will have null post data if it is
3753 unselected. This fixes bug #51516.
3755 2003-11-29 Jackson Harper <jackson@ximian.com>
3757 * DataGrid.cs: Display paging controls even when there is no
3758 data. Path by Mohammad DAMT. Fixes bug #51487.
3760 2003-11-29 Jackson Harper <jackson@ximian.com>
3762 * DataGrid.cs: Call TrackViewState when loading bound columns view
3763 state. So that their state is saved. This fixes bug #51424. Also
3766 2003-11-26 Jackson Harper <jackson@ximian.com>
3768 * BaseDataList.cs: Change && to || We will call that a typo so no
3769 one gets embarrased.
3771 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3773 * BaseDataList.cs: allow setting null as Datasource.
3775 * DataGrid.cs: keep autogenerated columns in the ViewState.
3777 Patches by Alon Gazit <along@mainsoft.com>.
3779 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
3781 * SqlDataSource*: Implement almost everything. Data access is
3784 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
3786 * Calendar.cs (SaveViewState):
3787 - We were allocating a 11 item array, we only used 10 items,
3788 so only allocate 10.
3789 - We only need to save the selected dates if there are any.
3790 * DataGrid.cs (SaveViewState):
3791 * DataGridColumn.cs (SaveViewState):
3792 * DataGridColumnCollection.cs (SaveViewState):
3793 - Only return the array if there is anything in it
3794 * Style.cs (SaveViewState):
3795 - Only save the bits if there were changes.
3796 * WebControl.cs (SaveViewState), (LoadViewState):
3797 - Don't save Enabled into the viewstate here, we already
3798 do it in the property. This just caused *EVERY* control
3799 to have a non-null state, taking up lots of extra room
3801 - The style will always be created with this control's
3802 viewstate, so the style will always return null for the
3803 viewstate. As such, we do not need to store it. We can
3804 also reduce the triplet to a pair because of this.
3806 2003-11-22 Jackson Harper <jackson@ximian.com>
3808 * ValidationSummary.cs: Fix number of messages and message array computation.
3810 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3812 * Xml.cs: Corrected attribute
3813 * XmlBuilder.cs: Added
3815 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3817 * Xml.cs: class status based fixes.
3819 2003-11-19 Jackson Harper <jackson@ximian.com>
3821 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
3823 2003-11-19 Jackson Harper <jackson@ximian.com>
3825 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
3826 teh applications base directory. This fixes bug #51092.
3828 2003-11-18 Todd Berman <tberman@gentoo.org>
3830 * ControlParameter.cs:
3831 * CookieParameter.cs:
3833 * QueryStringParameter.cs:
3834 * SessionParameter.cs: added public .ctor ()
3835 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
3836 and handling, as well as internal ParameterValue for easy access.
3837 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
3838 * ParameterCollection.cs: implementation redux.
3840 2003-11-18 Todd Berman <tberman@gentoo.org>
3842 * ParameterCollection.cs: Implemented
3843 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
3844 ToString () now matches asp.net
3846 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
3848 * ControlParameter.cs:
3849 * CookieParameter.cs:
3852 * QueryStringParameter.cs: New v2 files. Mostly
3853 implemented, still need a few methods.
3855 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3857 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
3858 Gazit <along@mainsoft.com>.
3860 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3862 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
3863 Patch by Alon Gazit <along@mainsoft.com>.
3865 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
3867 * DataBoundControl.cs: Implement
3868 * ListControl.cs: inherit from the above.
3869 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
3871 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
3876 * Repeater.cs: add v2 databinding stuff
3877 * XmlDataSource.cs: make it load the xml.
3879 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
3882 * XmlDataSourceView.cs:
3883 * XmlHierarchicalDataSourceView.cs:
3884 * XmlHierarchicalEnumerable.cs:
3885 * XmlHierarchyData.cs: Implement
3887 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
3889 * SiteMapDataSourceView.cs: Implement.
3891 2003-11-07 Jackson Harper <jackson@ximian.com>
3893 * ImageButton.cs: This is a workaround for bug #49819. It appears
3894 that the .x and .y values are not being posted, and only the x
3895 value is being posted with the ctrl's id as the key.
3897 2003-11-07 Jackson Harper <jackson@ximian.com>
3899 * DataGrid.cs (CreateControlHierarchy): Current page index is
3900 alolowed to equal page count. This prevents an exception being
3901 thrown when both are zero.
3903 2003-11-06 Jackson Harper <jackson@ximian.com>
3905 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
3906 * BaseValidator.cs: Disable base control so the isValid flag is
3909 2003-11-03 Jackson Harper <jackson@ximian.com>
3911 * TemplateColumn.cs: Use the same renderer for selected items as
3912 normal items. This fixes bug #49744.
3914 2003-11-03 Jackson Harper <jackson@ximian.com>
3917 * WebControl.cs: Fix argument out of range exceptions on
3918 properties. Patch by Yaron Shkop.
3920 2003-11-03 Jackson Harper <jackson@ximian.com>
3922 * TemplateColumn.cs: If the item is selected but there is no
3923 editItemTemplate use the itemTemplate. This matches MS behvoir.
3925 2003-11-03 Jackson Harper <jackson@ximian.com>
3927 * Repeater.cs: Always set alternating items to the AlternatingItem
3928 type, when instantiating alternating items use the itemTemplate if
3929 the alternatingItem template is null. This matches MS behavoir and
3932 2003-11-03 Jackson Harper <jackson@ximian.com>
3934 * DataGridPagerStyle.cs: Name of view state attribute is
3935 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
3936 visibility is changed. Patch by Yaron Shkop.
3938 2003-11-03 Jackson Harper <jackson@ximian.com>
3940 * RepeatInfo.cs: When doing horizontal rendering use the repeat
3941 columns as the number of columns in a row. This fixes bug #49016.
3943 2003-11-03 Jackson Harper <jackson@ximian.com>
3945 * PagedDataSource.cs (PageCount): Return page count of 1 if there
3946 paging is disabled. Patch by Yaron Shkop.
3947 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
3948 * TableStyle.cs (AddAttributesToRender): Render border style
3949 collapse. Patch by Yaron Shkop.
3951 * TableItemStyle.cs:
3952 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
3953 the wrong type. Patch by Yaron Shkop.
3955 2003-11-03 Jackson Harper <jackson@ximian.com>
3957 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
3959 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
3962 * BulletedListDisplayMode.cs:
3963 * BulletedListEventHandler.cs:
3965 * BulletedListEventArgs.cs: V2 controls (yay!)
3967 2003-10-30 Jackson Harper <jackson@ximian.com>
3969 * Repeater.cs: Throw an exception if the datasource is set to
3970 something that does not implement either IListSource or
3971 IEnumerable. This fixes bug #50155.
3973 2003-10-30 Jackson Harper <jackson@ximian.com>
3975 * DataGridPagerStyle.cs: Do not allow page button counts to be set
3976 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
3978 2003-10-29 Jackson Harper <jackson@ximian.com>
3980 * ButtonColumn.cs: Format string and text to format were
3981 inversed. This fixes bug #50171.
3983 2003-10-29 Jackson Harper <jackson@ximian.com>
3985 * DataGridColumn.cs: If an item style is set apply it to the
3986 cell. This fixes bug #50173.
3988 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
3990 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
3991 old debugging value.
3993 2003-10-29 Jackson Harper <jackson@ximian.com>
3995 * PagedDataSource.cs:
3996 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
3997 end of the last page. Fixes bug #5085.
3999 2003-10-29 Jackson Harper <jackson@ximian.com>
4001 * CheckBox.cs: Do not change the status of a checkbox when there
4002 is no post data. This fixes bug #49091.
4003 * CheckBoxList.cs: Do not change the status of the checkboxes when
4004 there is no post data. This fixes bug #49093.
4006 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
4008 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
4009 RadioButton. Fixes #50132
4011 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
4013 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
4014 paging from working. Fixes #48814.
4016 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
4018 * DataGrid.cs: A few typos kept us from viewing datagrids
4019 that were based on customized collections.
4021 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
4023 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
4025 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
4027 * Calendar.cs: render the next month button so that aligns to the
4030 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4032 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
4033 was just changing && by || after the first Match.
4035 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4037 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
4038 Patch by Yaron Shkop.
4040 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4042 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
4043 that fixes bug #49744. Now the selection doesn't lose its data.
4045 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
4047 * EditCommandColumn.cs: Implement; fix #49736
4049 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
4051 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
4052 the forground color. bug #49738
4054 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4056 * Calendar.cs: fixed bug #49727.
4058 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
4060 * TableStyle.cs: fix #49740.
4062 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4064 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
4065 * ValidationSummary.cs: fixes bug #49669.
4067 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4069 * Calendar.cs: apply the calendar style to the new Table, not to itself.
4072 * CheckBox.cs: render the hidden fields if AutoPostBack.
4074 * Style.cs: don't render empty width/height. Small improvement in
4077 * Table.cs: fixed condition for border width.
4080 (CopyFrom): always call the base class to copy other attributes. Fixes
4081 bug #49408. Don't render empty 'rules' attribute.
4083 * WebControl.cs: track viewstate when enabled. Don't overwrite source
4084 control attributes in CopyBaseAttributes.
4086 * ChangeLog: fixed dates.
4089 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
4091 * WebControl.cs : Attributes { get; } - Is Complete.
4092 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
4095 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
4097 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
4098 : RegisterValidatorCommonScript()
4099 - More code, I need HELP!
4100 : RegisterValidatorDeclaration()
4101 - More code, I need HELP!
4103 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4105 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
4108 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4110 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
4111 ClearViewState only called when no items.
4113 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4115 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
4117 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4119 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
4121 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4123 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
4126 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4128 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
4131 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4133 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
4134 * WebControl.cs: fixed Enabled property and save it in ViewState.
4138 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4140 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
4142 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4144 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
4147 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4149 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
4150 <rich@velvetsea.net>.
4152 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4154 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
4155 Skripsky <juraj@hotfeet.ch>
4157 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4159 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
4160 fixes rendering of the end tag.
4162 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4164 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
4165 (Yaron Shkop). Closes bug #48060.
4167 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4169 * CheckBox.cs: in LoadPostData, only return
4170 true when the new data is different from the one we had. Fixed
4171 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
4174 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4176 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
4178 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4180 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
4181 of Enable in ViewState. Fixes bug #47865.
4183 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4185 * Style.cs: the MARKED bit is not send set in ViewState unless something
4186 is changed. Fixed TrackViewState condition.
4188 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
4189 because it uses the same ViewState as the control. Fixes bug #47725.
4191 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4193 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
4194 that fixes databinding when only DataTextField or DataNavigateUrlField
4197 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4199 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
4200 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
4201 values before assigning a data source and other issues.
4203 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4205 * CheckBox.cs: save viewstate when needed and correctly handle post
4206 data. Fixes bug #47462.
4208 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4210 * ButtonColumn.cs: Removed additional attributes
4211 * CheckBox.cs: Added attribute
4212 * DataGrid.cs: Added attributes
4213 * HyperLinkColumn.cs: Changed attributes, added lamespec
4214 * Style.cs: Removed attributes
4215 * TextBox.cs: Added/ removed attributes
4217 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4219 * AdRotator.cs: Added all attributes
4220 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
4221 * BaseValidator.cs: Added all attributes
4222 * BoundColumn.cs: Added all attributes
4223 * Button.cs: Added all attributes
4224 * ButtonColumn.cs: Added all attributes, added lamespec
4225 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
4226 * CheckBox.cs: Added all attributes
4227 * CheckBoxList.cs: Added all attributes
4228 * CompareValidator.cs: Added all attributes
4229 * CustomValidator.cs: Added all attributes
4230 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
4231 * DataGridColumn.cs: Added all attributes
4232 * DataGridColumnCollection.cs: Added all attributes
4233 * DataGridPagerStyle.cs: Added all attributes
4234 * DataGridTableInternal.cs: Made DataGridTableInternal internal
4235 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
4236 * DropDownList.cs: Added all attributes
4237 * FontInfo.cs: Added all attributes
4238 * HyperLink.cs: Added all attributes
4239 * HyperLinkColumn.cs: Added all attributes
4240 * Image.cs: Added all attributes
4241 * ImageButton.cs: Added all attributes
4242 * Label.cs: Added all attributes
4243 * LinkButton.cs: Added all attributes
4244 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
4245 * ListControl.cs: Added all attributes
4246 * ListItem.cs: Added all attributes
4247 * ListItemCollection.cs: Added attribute
4248 * Literal.cs: Added all attributes
4249 * Panel.cs: Added all attributes
4250 * RadioButton.cs: Added all attributes
4251 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
4252 * RangeValidator.cs: Added all attributes
4253 * RegularExpressionValidator.cs: Added all attributes
4254 * Repeater.cs: Added all attributes
4256 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4258 * RequiredFieldValidator.cs: Added all attributes
4259 * Style.cs: Added all attributes
4260 * Table.cs: Added all attributes
4261 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
4262 * TableCellCollection.cs: Added attribute
4263 * TableRow.cs: Added all attributes
4264 * TableRowCollection: Added attribute
4265 * TableStyle.cs: Added all attributes, improved error messages
4266 * TemplateColumn.cs: Added all attributes
4267 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
4268 * ValidationSummary.cs: Added all attributes
4269 * WebControl.cs: Added all attributes
4270 * Xml.cs: Added all attributes
4272 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4274 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
4275 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
4277 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4279 * CheckBoxList.cs: fixes bug reported on the list about the state of
4280 the CheckButtons not being preserved across posts.
4282 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4284 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
4286 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4288 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
4290 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4292 * ListControl.cs: save viewstate data when any of the 3 values is not
4293 null. Fixed condition to save selection indices. Closes bug #45493.
4295 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4297 * DataGrid.cs: fixed bug #43823.
4299 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4301 * DataGrid.cs: fixed delegate type for SortCommand.
4303 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4305 * DataGridColumnCollection.cs: added missing return in RemoveAt.
4307 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4309 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
4310 Don't save ViewState is the number of columns is 0.
4312 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4314 * DataGrid.cs: get the right item Type for the property we're reading
4315 fromt the data source.
4317 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4320 * TextBox.cs: added control builder attribute.
4322 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4324 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
4326 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
4328 * Unit.cs: Called the correct method to get the Numeric locale for the
4331 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4333 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
4334 correctly the header of the column.
4336 * DataGridTableInternal.cs: don't assign a default ID to this control.
4338 * LinkButton.cs: raise bubble event in OnCommand.
4340 * TableCellCollection.cs: fixed the index returned by Add.
4342 * TableRowCollection.cs: ditto.
4344 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4346 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
4348 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4350 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
4351 for reporting the bug and providing the fix.
4353 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4355 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
4356 CreateColumnSet. Set the owner of the column when auto generated.
4357 In PrepareControlHierarchyForItem, fixed for loop bound.
4359 * LinkButtonInternal.cs: fixed infinite recursion bug.
4363 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
4365 * Xml.cs: a few fixes.
4367 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4369 * DataList.cs: handle the exception when adding new keys to
4372 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4374 * BaseDataList.cs: what can I say for this one? I spent so many time
4375 until I finally found this that I'm gonna miss this f....g bug... ;-).
4376 Farewell. Now we can get events from image buttons inside Data*.
4378 * DataList.cs: now the value stored in ViewState for item count is
4381 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4383 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
4385 * DataGridColumn.cs: added SetOwner method.
4386 * DataGridColumnCollection.cs: set the owner of the column when added.
4388 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4390 * BoundColumn.cs: typo.
4391 * DataGrid.cs: use 'as' instead of casting. Typo.
4392 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
4395 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4397 * HyperLink.cs: fixes bug #36336.
4399 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4401 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
4403 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4405 * BaseValidator.cs: return an empty string in GetControlValidationValue
4406 when GetValue returned null.
4408 * CompareValidator.cs: fixed EvaluateIsValid.
4410 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
4412 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4414 * Xml.cs: use MapPathSecure to get the path of the document.
4416 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4418 * DataList.cs: fixed header & footer.
4420 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4422 * DataList.cs: for header and footer don't use data source.
4423 Instantiate in the DataListItem, not in the DataList.
4424 databind-template.aspx works now.
4426 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4429 (Render): call RenderContents (), not base.RenderContents ().
4431 * DataList.cs: style.
4433 But I still haven't found what i'm looking for....
4435 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4437 * Calendar.cs: fixed loading/saving selected dates.
4438 * SelectedDatesCollection.cs: added internal function to get the
4439 underlying ArrayList.
4441 Calendar navigation works again. Selecting dates too.
4443 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4445 * DataList.cs: added a few attributes and fixed infinite recursion.
4447 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4449 * ListItemCollection.cs: fixed LoadViewState.
4451 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4453 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
4454 Commented out some code until it works.
4456 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
4458 * BaseCompareValidator.cs - Fixed operator bug in
4459 Compare(string, string, ...)
4460 * CompareValidator.cs - EvaluateIsValid() : Implemented.
4462 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
4464 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
4466 - All Properties : Now make use of ViewState.
4468 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
4470 * BaseValidator.cs - Uncomment NotImplementedException.
4472 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
4474 * BaseValidator.cs - Minor changes in TODO comments.
4476 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
4478 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
4479 the NotImplementedException being thrown.
4480 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
4481 * DataGridLinkButton.cs - Added new class (private) : Implemented.
4482 * DataGrid.cs - InitializePager(DataGridItem, int,
4483 PagedDataSource) : Implemented.
4485 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
4487 * DataList.cs - PrepareControlHierarchy() : Implemented.
4489 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
4491 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
4492 - GetItem(ListItemType, int) : Removed TODO.
4493 - CreateControlHierarchy(bool) : Implemented.
4494 - CreateItem(int, ListItemType) : Implemented.
4495 - CreateItem(int, ListItemType,
4496 bool, object) : Implemented.
4497 - InitializeItem(DataItem) : Implemented.
4498 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
4499 The ViewState["_!ItemCount"],
4500 ViewState["_!DataSource_ItemCount"]
4501 are shared by DataList and DataGrid, and hence
4502 should share the same name.
4503 - ResolveDataSource(object, string)
4504 : Removed. Use System.Web.UI.Utils.DataSourceHelper
4505 ::GetResolvedDataSource(object, string).
4508 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4510 * DataGrid.cs: fixed compilation
4512 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
4514 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
4515 * DataGrid.cs - CreateControlHierarchy(bool)
4516 : working towards completion.
4517 - ResolveDataSource(object, string)
4518 : stubbed new method
4520 : stubbed new method
4521 Well. It's almost done.
4522 * DataGridTableInternal.cs
4523 - Added new internal class.
4525 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
4527 * DataSourceInternal.cs - Added new class (internal).
4529 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4532 * HorizontalAlign.cs:
4534 * VerticalAlign.cs: fixes based on class status page.
4536 * HorizontalAlignConverter.cs: implemented.
4537 * VerticalAlignConverter.cs: implemented.
4539 * FontUnitConverter.cs: implemented GetStandardValues ().
4541 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
4543 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
4545 * DataGrid.cs - AutoCreateColumns: Bug fixes.
4547 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
4549 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
4551 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
4553 * DataGrid.cs - Working on the undocumented protected
4554 method CreateColumnSet. AutoCreateColumns method
4555 stubbed. Left CreateControlHierarchy for the time
4556 being, looks like I'm going insane. ;-)
4558 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
4560 * Button.cs - Steffen's OnCommand bug fix.
4562 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
4564 * DataGrid.cs - Added protected method (skeleton)
4565 CreateColumnSet(PagedDataSource, bool)
4566 Still trying to know how will it be used
4569 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4571 * PagedDataSource.cs: fixed compilation.
4573 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
4575 * DataGrid.cs - Added private method
4576 CreatePagedDataSource
4578 CreateControlHierarchy(bool)
4579 * PagedDataSource.cs - Bug fixed.
4580 CurrentPageIndex is writable.
4582 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4584 * DataGrid.cs: fixed typo.
4585 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
4587 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
4589 * DataGridColumn.cs - Added internal methods to get the
4590 various styles (needed in DataGrid.cs)
4591 * DataGrid.cs - Completed the method
4592 PrepareControlHierarchy()
4594 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
4596 * DataGrid.cs - Wokring on PrepareControlHierarchy()
4597 - Added private method
4598 PrepareControlHierarchyForItem()
4600 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
4602 * DataGrid.cs - Completed method
4603 OnBubbleEvent(object, EventArgs)
4605 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4607 * Xml.cs: implemented document/transform load.
4609 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4611 * Calendar.cs: added myself to the list of authors.
4612 * DropDownList.cs: fixed a few properties.
4613 * ListControl.cs: fixed SelectedIndex.
4615 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4617 * Calendar.cs: lots of fixes. Render days. Still left to persist
4618 selected days when changing month.
4620 * Unit.cs: fixed Percentage and Pixel.
4622 * WebControl.cs: a few properties are now using ControlStyle instead
4623 of ViewState to persist.
4625 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4627 * BaseValidator.cs: it works now.
4628 * DataGridColumn.cs: added attribute and made it abstract.
4629 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
4631 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4633 * TextBox.cs: default for Wrap is true.
4634 (OnPreRender): don't save Text if there are no listeners on TextChanged.
4636 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4642 (LoadViewState): fixed.
4644 * ListItemCollection.cs:
4645 (TrackViewState): use items instead of 'this' in foreach.
4648 (LoadViewState): more checking of parameters.
4650 * WebControl.cs: implemented LoadViewState and SaveViewState.
4653 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4655 * ListItem.cs: there was no code to unset the flags!!!
4657 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4659 * FontUnit.cs: use a hashtable for mapping size name to value.
4660 * HyperLink.cs: fixed a bug and a typo.
4661 * Unit.cs: some fixes to internal constructor.
4663 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4665 * ListControl.cs: fixed a couple of range checks.
4666 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
4667 an HtmlForm (p.e., Label).
4669 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4679 * HyperLinkColumn.cs:
4688 * RadioButtonList.cs:
4692 * WebControl.cs: removed attributes added by mistake (i used
4693 GetCustomAttributes (true), d'oh!).
4695 * DataListItem.cs: implemented RenderItem.
4697 * Repeater.cs: implemented CreateItem and InitializeItem.
4699 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4701 * BaseDataList.cs: a couple of fiex and added attributes.
4702 * DataGrid.cs: little fixes.
4704 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4713 * RadioButtonList.cs:
4716 * Xml.cs: forgot to add using System.ComponentModel.
4718 * BaseValidator.cs: use explicitly
4719 System.ComponentModel.AttributeCollection as there is another class
4720 with the same name under System.Web.UI.
4722 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4741 * RadioButtonList.cs:
4746 * Xml.cs: added/fixed all attributes used by xsp.
4748 * BaseValidator.cs: some fixes.
4750 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4753 (AddAttributesToRender): correctly default to border=1.
4755 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4758 (LoadAdFile): make the dictionary null after every iteration.
4762 * ListItem.cs: fixed warnings.
4764 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
4766 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
4768 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4770 * DataGridColumn.cs:
4771 * DataGridPagerStyle.cs:
4778 * ListItemCollection.cs:
4780 * ServerValidateEventArgs.cs:
4784 * Xml.cs: more class status page based changes.
4786 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4789 (.ctor): fixed to render the correct tag.
4790 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
4792 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4795 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
4796 WebControl derived classes should be rendered inside a HtmlForm.
4798 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4800 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
4803 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4805 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
4806 * RepeatInfo.cs: implemented DoHorizontalRendering.
4808 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4810 * System.Web.UI.WebControls/Repeater.cs:
4812 (OnDataBinding): fixed stack overflow.
4814 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4816 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
4817 * RepeatInfo.cs: implemented DoHorizontalRendering.
4819 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4822 (CopyBaseAttributes): copy Attributes and don't throw exception.
4824 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4826 * ListBox.cs: mono-stylized.
4827 (AddAttributesToRender): call parent class method.
4829 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4831 * Style.cs: fixed IsEmpty and Width.
4833 * Table.cs: mono-stylized.
4834 (TableRowControlCollection.AddAt): fixed.
4835 (AddAttributesToRender): fixed.
4837 * TableCell.cs: mono-stylized.
4838 (.ctor): use PreventAutoID.
4839 (AddAttributesToRender): fixed.
4840 (AddParsedSubObject): fixed.
4842 * TableRow.cs: mono-stylized. Added
4843 ParseChildren attribute.
4846 (get_GridLine): fixed.
4848 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4850 * Panel.cs: fixed stack overflow.
4851 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
4852 and SingleConverter.
4854 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4856 * RadioButton.cs: mono-stylized and some little fixes.
4858 * TextBox.cs: mono-stylized.
4859 (MaxLength): fixed typo.
4861 (AddAttributesToRender): don't render the text between the tags for
4862 SingleLine, use value attribute for it. Don't render the text for
4865 (OnPreRender): don't throw exception and call base.OnPreRender.
4867 (Render): for MultiLine, render the text between the opening and
4868 closing tags encoded as HTML.
4870 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4873 (AddAttributesToRender): fixer another stack overflow.
4876 (TagName): modified to use TagKey instead of tagKey as the property
4879 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4881 * LinkButton.cs: mono-stylized.
4882 (AddParsedSubObject):
4883 (RenderControls): little fixes.
4886 (AddAttributesToRender): fixed usage of IEnumerator.
4888 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4890 * Literal.cs: beautified.
4892 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4894 * Label.cs: beautified and fixed a couple of 'classic' bugs.
4896 * WebControl.cs: use Span as default tag when no other provided in
4897 constructor. That is what MS renders.
4899 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4902 (AddAttributesToRender): fixed (classic) stack overflow.
4904 * CheckBox.cs: mono-stylized.
4905 (AutoPostBack): fixed stack overflow.
4906 (Render): fixed alignment issues. Also set the For attribute always
4909 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4911 * AdRotator.cs: GetData does not work as it should, but now it returns
4912 useful data (only the first ad in the file). Set the NavigateUrl
4913 property in the hyperlink if available.
4915 * HyperLink.cs: fixed constructor and a couple of stack overflows.
4917 * Image.cs: added an attribute and fixed stack overflow.
4920 (RenderBeginTag): fixed.
4921 (TagName): don't call Enum.IsDefined twice.
4923 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4925 * WebControl.cs: added attributes PersistChildrenAttribute and
4926 ParseChildrenAttribute.
4928 2002-05-24 Duncan Mak <duncan@ximian.com>
4930 * DataGridItem.cs (SetItemType): Changed function signature to
4933 * ListItemCollection.cs (this): Changes the visibility level of
4936 * Repeater.cs (OnItemCommand):
4938 (OnItemDataBound): Added necessary casts.
4940 2002-05-07 Duncan Mak <duncan@ximian.com>
4942 * Button.cs (AddAttributesToRender):
4943 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
4944 GetClientValidatedEvent method.
4946 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
4948 * Removed extra methods, corrected access modifiers to several
4951 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
4953 * <SeveralFiles>.cs - Added some attributes
4954 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
4955 methods. Will complete them later. Right now, busy with
4956 the attributes part.
4957 * RepeaterItem.cs - Completed.
4959 Oh God! Mercy! I will die applying attributes. I look at the missing
4960 part in the class-status - daemon! Kyrie eleison!
4962 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
4966 * AdRotator.cs - Added definition for Font.
4967 * BaseCompareValidator.cs - Added definition for Controls.
4968 * Calendar.cs - SelectMonthText definition corrected.
4969 * DataList.cs - Added definition for SeparatorTemplate.
4970 * BorderStyle.cs - Namespace correction. It belongs not to UI,
4971 but to UI.WebControls.
4973 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
4975 Finally, I have made it. Today I did a second build for the
4976 System.Web assembly. It compiled 195 classes today.
4977 I am waiting eagerly for the runtime to come up so that the objects
4978 may be tested to their last levels. Several of the methods are still
4979 under the tag of "TODO" throwing NotImplementedException. Well, I
4980 hope to remove them soon, but how far is this soon - even I don't
4981 know, though I am happy to make the build a success even before
4982 the vacations to come.
4984 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
4986 Yesterday and today I tried to do some building of the aseembly,
4987 but was dumped with uncoutably infinite errors. ;-)
4988 I have put the copies of the recent errors on my home page, want
4989 to have a look at them? See:
4990 http://mastergaurav.virtualave.net/mono/
4991 I don't know what to do with these errors. Oh! The buggy me! How
4992 will I overcome myself. Hopefully, by when my vacations over, I
4993 should have made a repository where the build will not fail.
4995 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
4997 I am now going to do a build that will include the
4998 System.Web.UI.WebControls namespace. Hoping that I will make it
4999 soon. My exams are coming near and I have to pack up soon.
5002 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
5005 And with this, ie, today's work, all the objects mentioned in the
5006 namespace appear in the implementation. But it may not be worth
5007 trying to go for a build because of dependence of several of the
5008 internal methods that may clash with already available assembly
5011 Also, the classes lack possible attributes, like those informing
5012 about child-controls etc. But I have to first create the attribute
5013 classes before I attach the attributes to the classes.
5015 * CustomValidator.cs - Completed. In process realized that
5016 I have to complete / rejuvinate BaseValidator class.
5017 * BaseValidator.cs - Complete rejuvination. Completed 80%
5018 of the job. All that is left is Render(HtmlTextWriter),
5019 DetermineRenderUplevel(), RegisterValidatorCommonScript()
5020 RegisterValidatorDeclaration()
5021 * DataGridPagerStyle.cs - Completed. That adds one more missle
5023 * DataKeyCollection.cs - Completed. Petty small.
5024 * Repeater.cs - Work started off. This is a quite
5026 * DataGridItemEventArgs.cs,
5027 * DataGridShortCommandEventArgs.cs,
5028 * DataListItemEventArgs.cs,
5029 * MonthChangedEventArgs.cs,
5030 * RepeaterItemEventArgs.cs,
5031 * ServerValidateEventArgs.cs,
5032 * DataGridPageChangedEventArgs.cs
5033 - Damn, I marked them "*", while they
5035 * Repeater.cs - Done all except for an undocumented
5036 method CreateControlHierarchy(bool). Though the method
5037 is quite clear by its name, but it will take some time
5038 for me to come with some material to flush in.
5040 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
5042 * SelectedDatesCollection.cs - Completed.
5043 * PagedDataSource.cs - Completed. Pathetically nice class.
5044 * RegularExpressionValidator.cs
5045 - Completed. Ridiculously small and
5046 annoyinglyc crazy-driving class, basically the method
5048 * RangeValidator.cs - Completed.
5049 * DataGridColumn.cs - Completed.
5050 * EditCommandColumn.cs - All is complete except for the
5051 InitializeCell(TableCell, int, ListItemType) method.
5052 * DataListItem.cs - All done except for a longish method
5053 RenderItem(HtmlTextWriter, bool, bool)
5055 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
5057 * RepeaterItemCollection.cs - Completed.
5058 I love *Collection classes. I am planning to make a
5059 program that will generate a *Collection class. It's so
5060 simple and the same. ;-)
5061 * DataGridColumnCollection.cs - Completed.
5062 ... except probably for *ColumnCollection classes, where
5063 you have to put in some more effort. Still, these class
5064 generation can be automated.
5065 * DataListItemCollection.cs - Completed.
5066 See, how easily, in less than a quarter of a minute, I
5067 completed this class - manually. Copy-Paste/Cut-Replace.
5069 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
5071 * DataGrid.cs - Following methods implemented:
5072 TrackViewState(), LoadViewState(object), SaveViewState(),
5073 On* -- The event raisers.
5074 OnBubbleEvent(object, EventArgs) is still incomplete.
5075 * DataGridItem.cs - Initial Implementation
5076 * DataGridItemCollection.cs - Completed.
5078 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
5080 * DataGrid.cs - Initial Implementation. Worked
5081 primarily with some properties.
5083 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
5085 * ListBox.cs - Completed. Implemented
5086 LoadPostData(string, NameValueCollection)
5087 * RequiredFieldValidator.cs - Completed. Pretty simple class.
5089 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
5091 * ListBox.cs - Implemented the following:
5092 RaisePostDataChangedEvent()
5094 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
5096 * ListBox.cs - Supports the following properties:
5097 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
5100 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
5101 RenderContents(HtmlTextWriter)
5104 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
5106 * TargetConverter.cs - Completed
5107 * TemplateColumn.cs - Completed
5108 * DataList.cs - Corrected the get-er methods for the
5109 *Style objects. Corrected the get/set-er methods for ViewState
5111 Addded support for properties:
5112 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
5113 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
5114 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
5115 SeparatorStyle, SeparatorItemTemplate.
5117 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
5118 ItemCreated, ItemDataBound, UpdateCommand.
5120 CreateControlStyle(), LoadViewState(object),
5121 SaveViewState(), TrackViewState
5123 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
5124 OnEditCommand, OnItemCommand, OnItemCreated,
5125 OnItemDataBound, OnUpdateCommand
5126 Added dummy methods for some undocumented methods:
5127 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
5128 CreateItem(int, ListItemType, bool, object),
5129 PrepareControlHierarchy(), InitializeItem(DataListItem)
5130 * ListBox.cs - Started working.
5134 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
5136 * RepeaterInfo.cs - Initial Implementation. Done all
5137 except for RepeatDirection.Vertical
5138 * TableStyle.cs - Completed
5140 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
5142 * DropDownList.cs - Completed
5143 * ListItemCollection.cs - Added method FindByValueInternal to
5144 assist in the derived classes.
5145 Discovered bug in FindByValue. Removed
5146 * UnitConverter.cs - Completed
5147 * PlaceHolder.cs - What can be simpler than this?
5148 * PlaceHolderControlBuilder.cs
5149 - Uh! Damn cool one.
5150 * RadioButtonList.cs - Initial Implementation. All is done
5151 except for the implementation of
5152 method IRepeatInfoUser.RenderItem(...)
5153 * ValidatedControlConverter.cs
5154 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
5155 * ValidationSummary.cs - Initial Implementation.
5156 * WebColorConverter.cs - Initial Implementation
5158 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
5160 * FontNamesConverter.cs - Completed
5161 * FontUnitConverter.cs - Partial Implementation
5162 * ListItemControlBuilder.cs - Completed
5164 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
5166 * TextBox.cs - All done except *Render* methods
5167 * TextBoxControlBuilder.cs - Completed
5168 * Xml.cs - Partial Implementation
5170 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
5172 * RadioButton.cs - Completed
5173 * TextBox.cs - Partial Implementation
5175 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
5177 * Panel.cs - Completed
5178 * TableItemStyle.cs - Completed
5180 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
5182 * TableCellCollection.cs - Completed
5183 * TableRowCollection.cs - Completed
5184 * TableHeaderCell.cs - Completed
5185 * TableRow.cs - Completed
5187 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
5189 * TableCellControlBuilder.cs - Completed
5190 * Table.cs - Completed
5191 * TableCell.cs - Completed
5193 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
5195 * CheckBoxList.cs - Completed
5196 * ButtonColumn.cs - Completed
5197 * Button.cs - Completed
5199 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
5201 * HyperLink.cs - Completed
5202 * Image.cs - Completed
5203 * ImageButton.cs - Completed
5204 * Label.cs - Completed
5205 * LabelControlBuilder.cs - Completed
5206 * LinkButton.cs - Completed
5207 * LinkButtonControlBuilder.cs - Completed
5208 * Literal.cs - Completed
5209 * LieteralControlBuilder.cs - Completed
5210 * FontUnit.cs - Completed
5213 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
5215 * Calendar.cs - Completed the functions of Render*,
5216 ViewStates (Track/View/Save),
5218 Left: RenderAllDays (partially)
5220 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
5222 * Calendar.cs - Added some more functions
5223 * Style.cs - Completed
5224 * ListItem.cs - Completed
5225 * ListItemCollection.cs - Completed
5227 Made the first successful build of System.Web.dll that included
5228 System.Web.UI.WebControls!
5230 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
5232 FontInfo.cs - Complete revamp. Completed
5234 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
5236 ListItemCollection.cs - Completed
5237 ListItem.cs - Initial Implementation
5238 Style.cs - Initial Implementation
5240 Right now I am in a total mood to do a successful build. Creating so many
5241 classes, completing classes in System.Web System.Web.UI namespaces.
5243 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
5245 TODO - Properly added
5246 CheckBox.cs - Completed
5247 BaseDataList.cs - Completed
5248 DayRenderEventArgs.cs - Completed
5249 RepeaterItem.cs - Initial implementation
5251 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
5253 BaseCompareValidator.cs - Completed
5254 AdRotator.cs - Completed
5256 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
5258 CommandEventArgs.cs - Completed
5259 DataGridCommandEventArgs.cs - Completed
5260 RepeaterCommandEventArgs.cs - Completed
5261 DataListCommandEventArgs.cs - Completed
5262 CompareValidator.cs - Partial Implementation
5264 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
5266 CheckBoxList.cs - Partial Implementation.
5269 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
5271 ListControl.cs - Completed
5273 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
5275 CheckBox.cs - Completed
5276 ListControl.cs - Initial Implementation
5277 CheckBoxList.cs - Started with it, but first needed
5278 ListControl. Left it.
5280 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
5282 CalendarDay.cs - Making a note that this
5283 has been implemented
5284 Calendar.cs - Making a note that have made some changes.
5285 Unimplmented functions throw
5286 NotImplementedException
5287 CheckBox.cs - Can now "Render" and "LoadPostData"
5290 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
5291 WebControl.cs - Total Revamp, Partial Implementation
5292 AdRotator.cs - Able to load files
5293 AdCreatedEventArgs.cs - Implemented
5295 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
5296 Calendar.cs - Initial Implementation
5297 ButtonColumn.cs - Initial Implementation
5298 Button.cs - Initial Implementation
5299 BoundColumn.cs - Initial Implementation
5300 BaseCompareValidator.cs - Minor Changes
5301 DataList.cs, BaseValidator.cs, BaseDataList.cs
5302 - Added more functions, other changes
5304 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
5305 WebControl.cs - Initial Implementation
5306 DataList.cs - Initial Implementation
5307 BaseValidator.cs - Initial Implementation
5308 BaseDataList.cs - Initial Implementation
5310 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
5312 AdCreatedEventArgs.cs - Initial Implementation
5313 AdCratedEventHandler.cs - Implemented
5314 AdRotator.cs - Initial Implementation
5315 BorderStyle.cs - Implemented
5316 ButtonColumnStyle.cs - Implemented
5317 CalendarSelectionMode.cs - Implemented
5318 DayNameFormat.cs - Implemented
5319 FirstDayOfWeek - Implemented
5320 FontInfo.cs - Partial Implementation
5321 FontSize.cs - Implemented
5322 GridLines.cs - Implemented
5323 HorizontalAlign.cs - Implemented
5324 HyperLink.cs - Initial Implementation
5325 ImageAlign.cs - Implemented
5326 IRepeatInfoUser.cs - Implemented
5327 ListItemType.cs - Implemented
5328 ListSelectionMode.cs - Implemented
5329 NextPrevFormat.cs - Implemented
5330 PagerMode.cs - Implemented
5331 PagerPosition.cs - Implemented
5332 RepeatDirection.cs - Implemented
5333 RepeatLayout.cs - Implemented
5334 TextAlign.cs - Implemented
5335 TextBoxMode.cs - Implemented
5336 TitleFormat.cs - Implemented
5337 UnitType.cs - Implemented
5338 ValidationCompareOperator.cs
5340 ValidationDataType.cs - Implemented
5341 ValidationSummaryDisplayMode.cs
5343 ValidatorDisplay.cs - Implemented
5344 VerticalAlign.cs - Implemented
5348 i/ File Created 2001-11-13