1 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3 * Calendar.cs: TrackViewState should be called upon creation, not on
4 every get_XXX call. Cleanup.
6 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8 * DataGrid.cs: fix another test. The ID of the table generated by the
9 datagrid is set to the one on the datagrid if no one set the ID for the
12 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
14 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
17 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
19 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
20 converted to string as X{1,2}-.*. All FontUnitTests pass now.
21 * Unit.cs: throw a format exception when there's not number or minus
22 sign in the first non-whitespace character.
24 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
26 * ListControl.cs: SelectedIndex/SelectedValue can be set before
27 DataBinding () is called on the control, so we have to keep this values
28 around and use them after the data is read. If both properties are
29 used, they must refer to the same item.
31 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
33 * DataList.cs: fill in the data keys from BaseDataList so that the
34 events can see them. Only assign DataItem when using data binding and
35 nullify it after all events are raised.
37 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
39 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
42 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
44 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
46 * DataGrid.cs: Fix TagKey (table) for 2.0.
47 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
48 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
50 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
52 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
53 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
55 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
57 * TreeView.cs: Added declarative security (Link and Inheritance
59 * XmlDataSource.cs: Added declarative security (Link and Inheritance
62 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
64 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
65 Inheritance demands) for Minimal.
66 * Label.cs: Added declarative security (Link and Inheritance demands)
68 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
69 * ListItemCollection.cs: Added declarative security (LinkDemands) for
71 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
72 2.0, Inheritance demands) for Minimal.
73 * PagedDataSource.cs: Added declarative security (LinkDemands) for
75 * Panel.cs: Added declarative security (Link and Inheritance demands)
77 * Repeater.cs: Added declarative security (Link and Inheritance
79 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
80 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
82 * TargetConverter.cs: Added declarative security (Link and Inheritance
84 * Unit.cs: Added, but only for 1.x, declarative security (Link and
85 Inheritance demands) for Minimal.
86 * ValidatedControlConverter.cs: Added declarative security (Link and
87 Inheritance demands) for Minimal.
88 * WebColorConverter.cs: Added declarative security (Link and
89 Inheritance demands) for Minimal.
90 * Xml.cs: Added declarative security (Link and Inheritance demands)
92 * ValidationSummary.cs: Added declarative security (Link and
93 Inheritance demands) for Minimal.
95 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
97 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
99 2005-09-22 Ben Maurer <bmaurer@ximian.com>
101 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
102 it took O(height) time, not O(1).
104 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
106 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
108 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
110 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
111 2.0, Inheritance demands) for Minimal.
112 * BaseCompareValidator.cs: Added declarative security (Link and
113 Inheritance demands) for Minimal.
114 * BaseDataBoundControl.cs: Added declarative security (Link and
115 Inheritance demands) for Minimal.
116 * BaseValidator.cs: Added declarative security (Link and Inheritance
117 demands) for Minimal.
118 * BoundColumn.cs: Added declarative security (Link and Inheritance
119 demands) for Minimal.
120 * ButtonColumn.cs: Added declarative security (Link and Inheritance
121 demands) for Minimal.
122 * CalendarDay.cs: Added declarative security (Link and Inheritance
123 demands) for Minimal.
124 * CheckBoxList.cs: Added declarative security (Link and Inheritance
125 demands) for Minimal.
126 * CompareValidator.cs: Added declarative security (Link and
127 Inheritance demands) for Minimal.
128 * CustomValidator.cs: Added declarative security (Link and Inheritance
129 demands) for Minimal.
130 * DataBoundControl.cs: Added declarative security (Link and
131 Inheritance demands) for Minimal.
132 * DataGridItemCollection.cs: Added declarative security (Link and
133 Inheritance demands) for Minimal.
134 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
136 * DataListItemCollection.cs: Added declarative security (LinkDemands)
138 * DataListItem.cs: Added declarative security (Link and Inheritance
139 demands) for Minimal.
140 * FontNamesConverter.cs: Added declarative security (Link and
141 Inheritance demands) for Minimal.
142 * HyperLink.cs: Added declarative security (Link and Inheritance
143 demands) for Minimal.
144 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
145 demands) for Minimal.
146 * Image.cs: Added declarative security (Link and Inheritance demands)
149 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
151 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
153 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
154 a data source, first try reflection, then componentmodel. If we get
155 an enumerator, keep it around, as MS only calls GetEnumerator once.
156 Throw an exception if no columns can be created from the given data
157 source. Tested with DbDataRecord, DataTable, ArrayList and
158 ICustomTypeDescriptor.
160 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
162 * AccessDataSource.cs: Added declarative security (Link and Inheritance
163 demands) for Minimal. Added [ToolboxBitmap] on class.
164 * AdRotator.cs: Added declarative security (Link and Inheritance
165 demands) for Minimal. Removed extra Page and ViewState properties.
166 * BulletedList.cs: Added declarative security (Link and Inheritance
167 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
168 * Button.cs: Added declarative security (Link and Inheritance demands)
169 for Minimal. Added [SupportsEventValidation] on class (2.0).
170 * Calendar.cs: Added declarative security (Link and Inheritance
171 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
172 * CheckBox.cs: Added declarative security (Link and Inheritance
173 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
174 * CompositeControl.cs: Added declarative security (Link and Inheritance
175 demands) for Minimal. Added new protected RecreateChildControls method.
176 * DataControlCommands.cs: Added declarative security (LinkDemands) for
177 Minimal. Added private ctor.
178 * DataGrid.cs: Added declarative security (Link and Inheritance
179 demands) for Minimal. Fixed properties for 2.0 (mostly removing
180 [Bindable]). Added override for TagKey property.
181 * DataGridColumn.cs: Added declarative security (Link and Inheritance
182 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
183 * DataGridItem.cs: Added declarative security (Link and Inheritance
184 demands) for Minimal. Added IDataItemContainer interface for 2.0.
185 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
186 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
187 * DataList.cs: Removed [Load|Save]ControlState methods.
188 * DropDownList.cs: Added declarative security (Link and Inheritance
189 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
190 * EditCommandColumn.cs: Added declarative security (Link and
191 Inheritance demands) for Minimal. Added missing attributes,
192 [DefaultValue] and [Localize] for 2.0.
193 * FontInfo.cs: Added declarative security (Link and Inheritance
194 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
196 * Login.cs: Added declarative security (Link and Inheritance demands)
197 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
198 * ImageButton.cs: Added declarative security (Link and Inheritance
199 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
200 * LinkButton.cs: Added declarative security (Link and Inheritance
201 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
202 * ListBox.cs: Added declarative security (Link and Inheritance demands)
203 for Minimal. Added [SupportsEventValidation] on class (2.0).
204 * Literal.cs: Added declarative security (Link and Inheritance demands)
205 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
206 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
207 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
208 but will be shown as extra).
209 * RadioButton.cs: Added declarative security (Link and Inheritance
210 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
211 * RadioButtonList.cs: Added declarative security (Link and Inheritance
212 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
213 * RangeValidator.cs: Added declarative security (Link and Inheritance
214 demands) for Minimal. Added missing [Themeable] attributes.
215 * RegularExpressionValidator.cs: Added declarative security (Link and
216 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
218 * RoleGroupCollection.cs: Added declarative security (Link and
219 Inheritance demands) for Minimal. Fixed base class (changed in RC).
220 Re-implemented CopyTo. Removed some methods.
221 * Style.cs: Added declarative security (Link and Inheritance demands)
222 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
223 is now public in 2.0.
224 * Table.cs: Added declarative security (Link and Inheritance demands)
225 for Minimal. Added [SupportsEventValidation] on class (2.0).
226 * TableCell.cs: Fixed PersistenceMode for 2.0.
227 * TextBox.cs: Added declarative security (Link and Inheritance demands)
228 for Minimal. Added [SupportsEventValidation] on class (2.0).
229 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
230 but will be shown as extra).
231 * WebControl.cs: Added declarative security (Link and Inheritance
232 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
235 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
237 * TableStyle.cs: fixed typo that prevented restoring GridLines from
240 * DataGrid.cs: the table does not get an auto ID. When restoring from
241 viewstate, use all the saved columns, not just that data bound ones. Set
242 the owner of the BoundColumns created. Save/restore columns.
243 OnItemCreated happens after the item is initialized and the data item is
244 set before the event and nullified after OnItemDataBound.
245 Add the render_table to the Controls immediately, otherwise we might get
246 errors from child controls such as "must be rendered inside a form".
247 Keep the items created in the list waiting for them.
248 The table uses the attributes from the DataGrid and ControlStyle.
249 Raise OnItemCommand on all bubble events and don't propagate bubble
250 event up in the hierarchy
252 * TableCell.cs: it does not get an automatic ID.
253 * BoundColumn.cs: FormatDataValue returns an empty string on null input
254 (there was already a test for this).
258 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
260 * DataGridColumnCollection.cs: track the view state in the newly added
263 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
265 * DataGrid.cs: merge column styles too. Fixes bug #76106.
266 * DataGridColumn.cs: new internal method to retrieve the styles without
267 creating an instance for them.
269 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
271 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
272 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
273 StateBag.SetDirty (true).
275 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
277 * Menu.cs: Fixed parameter orders for CreateStyleRule.
279 2005-09-13 Chris Toshok <toshok@ximian.com>
281 * Style.cs: corcompare stuff.
283 * RequiredFieldValidator.cs: more corcompare stuff.
285 * CheckBoxList.cs: clean up some of the interface methods vs
286 protected virtual 2.0 calls.
288 * SubMenuStyle.cs: corcompare says this should implement
289 ICustomTypeDescriptor... sooo, make it.
291 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
293 * TableCell.cs: do the same as HyperLink and others in
294 AddParsedSubobject so that adding a literal control does not remove the
295 existing controls if any. Fixes bug #76078.
297 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
299 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
301 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
303 * ImageButton.cs: fix invalid cast exception.
305 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
307 * ListItem.cs: throw in AddParsedSubObject if the object is not a
309 * RadioButtonList.cs: implemented LoadPostData and
310 RaisePostDataChangedEvent.
312 2005-09-09 Chris Toshok <toshok@ximian.com>
314 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
315 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
316 LoadPostData/RaisePostDataChangedEvent.
318 2005-09-09 Chris Toshok <toshok@ximian.com>
320 * FontInfo.cs (IsEmpty): new internal property, used by
323 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
326 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
328 * ListItemCollection.cs: remove obsoleted methods.
329 * ListBox.cs: use IStateManager on the item collection.
331 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
333 * Use C# 1.0 style of delegate instantiating. Needed to compile
334 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
336 2005-09-07 Chris Toshok <toshok@ximian.com>
338 * Calendar.cs (WriteDay): always add BackColor=Silver,
339 ForeColor=White to selected day cells, before copying over the
340 selectedDayStyle, if it exists.
341 (WriteDays): fix nunit test - if the first day of the month falls
342 on the first day of the week, go back one week (effectively adding
343 a row of dates from the previous month.)
344 (WriteTitle): don't copy the control style to the tableTitle,
345 since it might have height specifications, which would make the
346 title look rather off.
348 2005-09-07 Chris Toshok <toshok@ximian.com>
350 * ValidationSummary.cs (AddAttributesToRender): we only set
351 display=none if there are no errors.
353 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
354 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
356 2005-09-07 Chris Toshok <toshok@ximian.com>
358 * ListControl.cs (SelectedIndex): add comment about how you'd
359 think OnSelectedIndexChanged would be called.. and you'd be wrong.
360 (Text): implement in terms of SelectedValue.
361 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
362 (LoadControlState): implement - this is where the selected index
363 ArrayList gets stuffed in 2.0.
364 (OnInit): call Page.RegisterRequiresControlState.
365 (OnTextChanged): implement.
366 (RenderContents): for now just chain up to base.RenderContents.
367 (SaveControlState): save our control state properly.
368 (GetSelectedIndices): split this out from SaveViewState to it can
369 be used by both that and SaveControlState.
370 (SaveViewState): mangle this function so it works in both 2.0 and
372 (LoadViewState): same.
374 2005-09-06 Chris Toshok <toshok@ximian.com>
376 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
377 we weren't assigned an ID.
379 * ValidationSummary.cs (AddAttributesToRender): same.
381 2005-09-06 Chris Toshok <toshok@ximian.com>
383 * WebControl.cs: revert the last change.
385 2005-09-06 Chris Toshok <toshok@ximian.com>
387 * WebControl.cs (AddAttributesToRender): always render ClientID.
389 * ValidationSummary.cs (Render): same.
391 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
394 2005-09-06 Chris Toshok <toshok@ximian.com>
396 * ValidationSummary.cs (Render): only do the JS stuff when the
397 validators on the page are uplevel.
399 * BaseValidator.cs (Render): remove unnecessary comment.
401 2005-09-05 Chris Toshok <toshok@ximian.com>
403 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
404 stored in the ViewState.
406 2005-09-02 Chris Toshok <toshok@ximian.com>
408 * Repeater.cs (GetData): change this slightly so the Repeater
409 doesn't keep a ref to the return value of GetData.
411 2005-09-01 Chris Toshok <toshok@ximian.com>
413 * ListControl.cs (AppendDataBoundItems): implement (2.0)
416 2005-09-01 Chris Toshok <toshok@ximian.com>
418 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
419 System.Web.UI.WebControls/ValidatedControlConverter.cs,
420 System.Web.UI.WebControls/Xml.cs,
421 System.Web.UI.WebControls/RegularExpressionValidator.cs,
422 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
423 System.Web.UI.WebControls/Menu.cs,
424 System.Web.UI.WebControls/MailMessageEventArgs.cs,
425 System.Web.UI.WebControls/MenuItemStyle.cs,
426 System.Web.UI.WebControls/RangeValidator.cs,
427 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
428 System.Web.UI.WebControls/MenuItem.cs,
429 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
430 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
431 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
432 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
433 System.Web.UI.WebControls/XmlBuilder.cs,
434 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
437 2005-09-01 Chris Toshok <toshok@ximian.com>
439 * System.Web.UI.WebControls/Button.cs,
440 System.Web.UI.WebControls/ButtonField.cs,
441 System.Web.UI.WebControls/DataControlField.cs,
442 System.Web.UI.WebControls/BaseCompareValidator.cs,
443 System.Web.UI.WebControls/AutoGeneratedField.cs,
444 System.Web.UI.WebControls/CustomValidator.cs,
445 System.Web.UI.WebControls/Content.cs,
446 System.Web.UI.WebControls/BoundField.cs,
447 System.Web.UI.WebControls/AdRotator.cs,
448 System.Web.UI.WebControls/ButtonColumn.cs,
449 System.Web.UI.WebControls/CompareValidator.cs,
450 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
451 work. Stub things out, and add attributes.
453 2005-09-01 Chris Toshok <toshok@ximian.com>
455 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
456 CommandField.cs, HyperLinkColumn.cs, Table.cs,
457 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
458 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
459 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
460 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
461 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
462 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
463 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
464 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
465 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
466 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
467 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
468 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
469 TableItemStyle.cs: Add some WebCategory and WebSysDescription
472 2005-09-01 Chris Toshok <toshok@ximian.com>
474 * AccessDataSource.cs: corcompare work.
476 * SqlDataSource.cs: same.
478 2005-09-01 Miguel de Icaza <miguel@novell.com>
480 * Various places: make sure that the DefaultValue matches the
481 type. Thanks to Michael for pointing this out.
483 In future audits, you might want to use the following awk command:
485 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
486 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
487 print $0; looking = 0; } /public/ && looking { looking = 0; } '
490 The above skips bools, strings and ints as those were fine as we
491 set them. The bug was on the other ones.
493 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
495 * Repeater.cs: fix the build.
497 2005-08-31 Chris Toshok <toshok@ximian.com>
499 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
500 {Base}DataList, and also from debug spew garnered from some
501 Repeater subclass tests on MS.
502 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
503 the IEnumerable by calling GetData().
504 (DataBind): reset RequiresDataBinding to false (2.0).
505 (DataMember): copy the set implementation from DataList, and add
506 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
507 (DataSource): more c&p.
508 (DataSourceID); implement (2.0)
509 (Initialized): implement (2.0)
510 (IsBoundUsingDataSource): implement (2.0)
511 (RequiresDataBinding): implement (2.0)
512 (SelectArguments): implement (2.0)
513 (CreateDataSourceSelectArguments): implement (2.0)
514 (EnsureDataBound): implement (2.0)
515 (GetData): implement.
516 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
518 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
519 leave the MonoTODO. (2.0)
520 (OnInit): call base.OnInit instead of throwing NIE, but leave the
523 (OnPreRender): implement.
524 (ConnectToDataSource): new method - look for the right control.
526 2005-08-31 Chris Toshok <toshok@ximian.com>
528 * XmlDataSourceView.cs: fix the scope of our select. Don't use
529 call SelectNodes on the XmlDocument, not on
530 XmlDocument.DocumentElement.
532 2005-08-31 Chris Toshok <toshok@ximian.com>
534 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
535 (DoXPathSelect): put the xpath selection stuff here.
536 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
539 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
540 select here, the view does it.
542 2005-08-31 Jackson Harper <jackson@ximian.com>
544 * DataList.cs: Remove some debugging code that was starting to bug
547 2005-08-31 Chris Toshok <toshok@ximian.com>
549 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
550 create our Navigator by calling node.CreateNavigator().
552 2005-08-31 Chris Toshok <toshok@ximian.com>
554 * XmlDataSource.cs (GetXmlDataDocument): rename this to
555 GetXmlDocument, and change the return value from XmlDataDocument
557 (LoadXmlDataDocument): similar change.
558 (Save): xmlDataDocument -> xmlDocument.
559 (CanBeSaved): there's no ReadOnly attribute.
560 (LoadViewState, SaveViewState, TrackViewState): nuke.
561 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
562 (CacheDuration): stub out with NIE.
563 (CacheExpirationPolocy): same.
564 (CacheKeyDependency): same.
565 (EnableCaching): same.
567 (Data, DataFile): xmlDataDocument -> xmlDocument.
568 (Schema, SchemaFile): nuke.
569 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
571 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
573 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
574 Don't use the obsolete IsSet method.
575 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
576 * CheckBox.cs: Implement some 2.0 methods.
577 * GridView.cs: Removed some "throw new NotImplementedException"
579 2005-08-29 Chris Toshok <toshok@ximian.com>
581 * TreeView.cs: Use the StateBag accessors Ben added, and implement
582 SkipLinkText and Visible.
584 2005-08-29 Chris Toshok <toshok@ximian.com>
586 * TreeView.cs: fix typo in an attribute.
588 2005-08-29 Jackson Harper <jackson@ximian.com>
590 * PagedDataSource.cs: If it's not a list or collection we don't
591 use a bounded enumerator.
593 2005-08-29 Chris Toshok <toshok@ximian.com>
595 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
599 * BaseValidator.cs: same.
601 * DropDownList.cs: same.
603 * ValidationSummary.cs: same.
605 2005-08-28 Chris Toshok <toshok@ximian.com>
607 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
609 2005-08-26 Chris Toshok <toshok@ximian.com>
611 * TextBox.cs: implement ValidationGroup and CausesValidation
614 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
616 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
619 2005-08-26 Chris Toshok <toshok@ximian.com>
621 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
623 * FontUnit.cs: add two 2.0 ctors, and the 2.0
624 ToString(IFormatProvider) method.
626 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
628 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
629 no items are present in the list.
630 * RoleGroup.cs: Added missing attributes.
631 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
633 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
634 must be done in the HtmlTextWriter (not in the TableStyle).
636 2005-08-26 Chris Toshok <toshok@ximian.com>
638 * Calendar.cs (UseAccessibleHeader): implement.
639 (RaisePostBackEvent): some #ifdef ugliness to get this all working
640 propertly between 1.x and 2.0
641 (WriteDayHeader): if UseAccessibleHeader == true, render header
642 cells as th's, not td's, and add abbr and scope attributes.
644 2005-08-25 Chris Toshok <toshok@ximian.com>
646 * Calendar.cs (Caption, CaptionAlign): implement these properties.
647 (Render): if we have a non-empty caption, show it.
648 (WriteCaption): new method, output the caption.
650 2005-08-25 Chris Toshok <toshok@ximian.com>
652 * Calendar.cs (Render): Copy the entire style from the Calendar to
653 the Table, not just the font.
654 (WriteDay): don't just write the link/text/etc. Create a
655 LiteralControl as a child of the cell, before the call to
656 OnDayRender, with its text set to the day number. After
657 OnDayRender, set the literal's text to either the number again (if
658 it's not selectable) or the full text of the js __doPostBack
659 hyperlink (if it is.) Also, use cell.RenderControl here so we can
660 render child controls with the id's listed properly (and arguably
662 (ApplyTitleStyleCell): remove.
663 (WriteTitle): apply the titleStyle to the enclosing table, not the
664 table cell containing the month name. Also, copy from the
665 Calendar's ControlStyle to populate tableTitle's style initially.
666 We end up with more (superfluous) style attributes than MS, but
667 it's better than having less.
669 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
671 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
674 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
676 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
677 and RegisteredCssClass property
679 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
681 * LoginView.cs: Fixed attributes.
682 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
683 an exception to allow pages to work on 2.x.
685 2005-08-25 Chris Toshok <toshok@ximian.com>
687 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
689 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
692 * HiddenField.cs: stub out this class and label everything
695 2005-08-25 Jackson Harper <jackson@ximian.com>
697 * DataGrid.cs: Disable the pager row if there no paging enabled
700 2005-08-25 Chris Toshok <toshok@ximian.com>
702 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
705 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
706 add a using statement.
708 2005-08-25 Chris Toshok <toshok@ximian.com>
710 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
713 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
716 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
718 * Login.cs: Added rendering and fixed parts of the authentication.
719 Now using IStateManager to allow compilation in another assembly (e.g.
720 to test the control under IIS). Needs more tests (error conditions)
721 once we get a "real" Membership provider running.
722 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
725 2005-08-25 Chris Toshok <toshok@ximian.com>
727 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
729 2005-08-25 Chris Toshok <toshok@ximian.com>
731 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
732 calling base.Foo to get the standalone adrotator (1.0) tests to
733 run without throwing exceptions.
735 2005-08-25 Chris Toshok <toshok@ximian.com>
737 * ValidationSummary.cs (ValidationGroup): implement.
738 (Render): use Page.GetValidators in .net 2.0, so we can support
739 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
742 2005-08-25 Chris Toshok <toshok@ximian.com>
744 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
745 2.0 attribute modifiers, and revert back to "override".
747 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
748 2.0 attribute modifiers, and revert back to "override".
752 * TextBox.cs (SaveViewState): implement naively, calling
754 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
755 modifiers, and revert back to "override".
757 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
759 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
760 Load ViewState for derived classes; no public LoadViewState override
761 exists in those classes
762 * Style.cs: Added 2.0 IsStyleEmpty method
764 2005-08-25 Jackson Harper <jackson@ximian.com>
766 * DataGrid.cs: The number of pages set in the pager is specified
769 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
771 * LoginView.cs: New (2.0). Work in progress.
773 2005-08-24 Chris Toshok <toshok@ximian.com>
775 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
776 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
777 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
778 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
779 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
780 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
781 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
782 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
783 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
784 Add MonoTODO's for all things that throw NotImplementException.
786 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
788 * RoleGroup.cs: New (2.0). Complete implementation.
789 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
791 2005-08-23 Chris Toshok <toshok@ximian.com>
793 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
794 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
795 even though they were written for the 1.0 stuff.
797 2005-08-23 Chris Toshok <toshok@ximian.com>
799 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
800 output. Our tests now pass on both mono and ms, with both 1.x and
803 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
805 * Login.cs: Throw exception if the specified provider doesn't exists.
806 * LoginStatus.cs: Complete events.
808 2005-08-22 Jackson Harper <jackson@ximian.com>
810 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
812 (InitializeNumericPager): Now that the pager actually renders
813 properly I can see that I was computing it incorrectly.
815 2005-08-22 Jackson Harper <jackson@ximian.com>
817 * DataGrid.cs (RenderTable): Make sure the new table gets the
819 (CreateColumnSet): Clear the data source columnbs before adding
820 new ones regardless of whether or not a property descriptor was
822 (InitializePager): pager_cell needs to be a member so it isn't
823 created more then once per a render.
824 (InitializeNumericPager): Compute start and end more
826 - Link commands are 1 indexed.
827 (CreateControlHierarchy): Clear the table before we begin
829 - Revert patch that made adding the pagers conditional. This is
830 incorrect, the pagers are always added. Only their visibility is
831 affected by the pager style.
832 - Save the entire count in the viewstate, not just the rendered
833 count. So when paging is enabled the pager's count isn't broken by
836 2005-08-22 Chris Toshok <toshok@ximian.com>
838 * LinkButton.cs (ValidationGroup): implement.
839 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
840 pass ValidationGroup to Page.Validate.
842 2005-08-22 Chris Toshok <toshok@ximian.com>
844 * ImageButton.cs (ValidationGroup): implement.
845 (IPostBackEventHandler.RaisePostBackEvent): if we cause
846 validation, call Page.Validate properly (in both profiles).
848 2005-08-22 Chris Toshok <toshok@ximian.com>
850 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
851 case, pass ValidationGroup to Page.Validate.
852 (ValidationGroup): implement using ViewState.
854 2005-08-22 Chris Toshok <toshok@ximian.com>
856 * BaseValidator.cs (Text): 2.0 only. implement naively, just
858 (OnInit): add 2.0 support for validation groups.
861 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
863 * LoginName.cs: New (2.0) web control.
864 * LoginStatus.cs: New (2.0) web control.
866 2005-08-19 Chris Toshok <toshok@ximian.com>
868 * LinkButton.cs (ValidationGroup): implement getter/setter.
869 (RaisePostBackEvent): implement naively, by c&p'ing the old
870 implementation of IPostBackEventHandler.RaisePostBackEvent, but
871 making use of the ValidationGroup in the call to Page.Validate.
875 * Style.cs (LoadViewState): set our style flags for all the things
876 we have flags for. Seems like the subclass flags should be
877 handled in overridden LoadViewState methods, but none of the Style
878 subclasses seem to override this method.
880 2005-08-19 Chris Toshok <toshok@ximian.com>
882 * TableStyle.cs (Merge, MergeWith): make these look a bit more
883 like Copy/CopyFrom, with the styles checks instead of just
886 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
889 2005-08-19 Chris Toshok <toshok@ximian.com>
891 * DataGrid.cs (InitializePager): don't unconditionally set
892 pager_cell to the numeric pager (especially after setting it
893 conditionally to the nextprev pager.)
894 (InitializeNumericPager): the link buttons don't participate in
896 (InitializeNextPrevPager): same.
897 (CreateControlHierarchy): create the top/bottom pagers only if the
900 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
902 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
904 2005-08-18 Chris Toshok <toshok@ximian.com>
906 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
907 the start of this method so templates are created properly.
909 2005-08-18 Dick Porter <dick@ximian.com>
911 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
912 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
913 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
914 BaseDataList.cs, DataList.cs, BulletedList.cs,
915 DataBoundControl.cs, Login.cs, GridView.cs,
916 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
917 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
918 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
919 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
920 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
921 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
922 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
923 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
926 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
928 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
930 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
931 empty array of objects just to get the number of items.
932 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
933 but we're missing some bits from the class lib to complete all this...
935 2005-08-17 Jackson Harper <jackson@ximian.com>
937 * DataGrid.cs: Only create one pager and add it to both the top
938 and bottom of the grid, this way all the id numbers stay the same
939 and we save a bunch of cycles.
941 2005-08-17 Jackson Harper <jackson@ximian.com>
943 * DataGrid.cs: The top and bottom pagers are always created. Just
944 the visibility is changed by the PagerStyle::Position.
946 2005-08-17 Chris Toshok <toshok@ximian.com>
948 * CompositeControl.cs (RecreateChildControls): implement naively -
949 just call CreateChildControls. We might need to call
950 Controls.Clear() as well, but for the time being, this is ok.
952 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
954 * BaseDataList.cs: Completed implementation for 2.0.
956 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
958 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
959 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
961 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
963 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
965 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
966 Adjusted size and ordering of the ViewState (new element #0 is still
967 unknown). Properly fixed the TagKey in 2.0.
968 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
969 all properties using enums.
970 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
971 * TableItemStyle.cs: Fixed attribute rendering to use style to render
972 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
974 2005-08-15 Jackson Harper <jackson@ximian.com>
976 * EditCommandColumn.cs: Use a normal LinkButton.
978 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
980 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
981 viewstate (even if assigned to the default value).
982 * TableRow.cs: Implement TableSection property (2.0). It has no effect
983 on the rendering of the table row.
985 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
987 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
988 and removed [Bindable] attributes for 2.0.
989 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
990 attributes (for 2.0).
991 * DataListCommandEventArgs.cs: Not sealed in 2.0.
992 * DataListItemEventArgs.cs: Not sealed in 2.0.
993 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
995 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
997 * Table.cs: Fixed [Editor] attribute for 2.0.
998 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
999 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
1000 AssociatedHeaderCellID and it's [DefaultValue] attribute.
1001 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
1002 and Scope attributes.
1003 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
1004 on TableSection attribute.
1005 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
1007 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
1009 * Image.cs: Fixed attributes for 2.0 profile.
1010 * Login.cs: Fixed some attributes and default values.
1011 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
1012 RaisePostBackEvent (TODO) in 2.0 profile.
1013 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
1014 and added AssociateHeaderCellID property (TODO).
1015 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
1016 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
1017 page (if the device requires to breaks the table into multiple pages).
1018 This seems to be a "flag" class, the real work will be in Table.
1019 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
1020 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
1021 page (if the device requires to breaks the table into multiple pages).
1022 This seems to be a "flag" class, the real work will be in Table.
1023 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
1024 * TableRow.cs: Remove [Bindable (true)] from properties and add
1025 [Bindable (false)] and [Designer] on class. Added new TableSection
1027 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
1028 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
1029 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
1030 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
1031 FillStyleAttributes method (2.0).
1033 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
1035 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
1036 attributes from existing controls.
1037 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
1038 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
1040 2005-08-12 Jackson Harper <jackson@ximian.com>
1042 * TableRow.cs: No AutoID for TableRows.
1044 2005-08-12 Jackson Harper <jackson@ximian.com>
1046 * DataGrid.cs (CreateRenderColumns): If we aren't using data
1047 binding grab the rendercols from the data source columns.
1048 (LoadViewState): Restore the bound columns when reloading the
1050 (InitializeNumericPager): Create elipsised pagers.
1051 (CreateItem): Don't set the item's ID.
1052 (CreateItem): Add the control to the table before it is databound
1053 so that it's value is saved in the viewstate.
1054 (CreateControlHierarchy): Create a fake data source when not using
1055 databinding. Don't add controls to the table as they are added in
1057 (PrepareControlHierarchy): Make footers and header non visible if
1058 they aren't enabled.
1060 2005-08-12 Chris Toshok <toshok@ximian.com>
1062 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
1063 docs says these methods/properties "ensure the child controls are
1064 created" -- so call EnsureChildControls() before invoking the base
1067 2005-08-12 Jackson Harper <jackson@ximian.com>
1069 * BoundColumn.cs: Set the controls text instead of adding a
1070 literal control. So it is saved in the controls viewstate.
1072 2005-08-11 Jackson Harper <jackson@ximian.com>
1074 * CheckBoxList.cs: Set the tabindex on the checkbox control and
1075 don't render it on the main table (Setting it to zero causes it to
1076 not be rendered). Also use the invariant culture on the id.
1078 2005-08-11 Dick Porter <dick@ximian.com>
1080 * CheckBox.cs: Let ViewState manage removals; apply styles and
1081 "style" attributes in a surrounding <span>. Fixes unit tests.
1083 2005-08-10 Chris Toshok <toshok@ximian.com>
1085 * Label.cs (LoadViewState): set the Text attribute from our
1086 ViewState (if it exists) to clear out any child controls. Fixes
1087 jsunit test label/label-child-control-postback.aspx.
1089 2005-08-10 Jackson Harper <jackson@ximian.com>
1091 * PagedDataSource.cs: Respect paging with all data source types.
1093 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
1095 * BaseDataList.cs: Changed Controls property from "virtual new"
1096 (2.0 doc) to "override" (monop) to fix the Visible bug (see
1097 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
1098 any controls (required due to change to Controls). Implemented
1099 DataBind(bool) for 2.0.
1100 * DataListItem.cs: Fix the multiple table when extractRows is used.
1101 Removed extra span tags by rendering contents (not control). Added
1102 support for IDataItemContainer (2.0).
1104 2005-08-08 Jackson Harper <jackson@ximian.com>
1106 * DataGrid.cs: Apply the styles to each item type.
1108 2005-08-08 Jackson Harper <jackson@ximian.com>
1110 * PagedDataSource.cs: If paging is not enabled keep enumerating to
1111 the end of the list.
1113 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
1115 * BaseDataList.cs: Remove old compatibility stuff.
1116 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
1117 * WebControl.cs: Always call CreateControlStyle to create the
1118 ControlStyle. Fix the exception for datalist-style-edit.aspx.
1120 2005-08-05 Jackson Harper <jackson@ximian.com>
1122 * DataGrid.cs: Don't make the current page index a link in the
1125 2005-08-05 Jackson Harper <jackson@ximian.com>
1127 * DataGrid.cs: Honour PagerPosition.
1129 2005-08-05 Jackson Harper <jackson@ximian.com>
1131 * PagedDataSource.cs: Round PageCount properly.
1133 2005-08-05 Dick Porter <dick@ximian.com>
1135 * CheckBox.cs: Shut corcompare up a bit more. Still need to
1136 figure out how to not use AddAttributesToRender to get it
1139 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
1141 * DataGridColumn.cs: Added the duplicate viewstate manipulation
1144 2005-08-05 Chris Toshok <toshok@ximian.com>
1146 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
1147 null when it comes to the format string.
1148 (FormatDataTextValue): same.
1150 2005-08-04 Chris Toshok <toshok@ximian.com>
1152 * BaseValidator.cs (Validate): only test a validator if it's both
1153 enabled and visible.
1155 2005-08-04 Chris Toshok <toshok@ximian.com>
1157 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
1160 2005-08-04 Jackson Harper <jackson@ximian.com>
1162 * DataGrid.cs: Add a new space control for each link. Also make
1163 the link's text 1 indexed. Don't add the space after the last
1166 2005-08-04 Ben Maurer <bmaurer@ximian.com>
1168 * LinkButton.cs: Fix up the test suite here.
1170 * Panel.cs: Fix up nowrap
1172 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
1174 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
1175 * ListControl.cs: Clear item list before adding data (again)
1177 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
1179 * Calendar.cs: fixes issues with OnDayRender event and others
1181 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
1183 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
1185 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
1186 if DataTextField is bound
1187 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
1188 two controls in edit mode, lets do the same
1190 2005-08-03 Jackson Harper <jackson@ximian.com>
1192 * BoundColumn.cs: Respek for the thisExpr when data binding.
1194 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
1196 * EditCommandColumn.cs: No need to offer edit when in edit mode.
1199 2005-08-04 Dick Porter <dick@ximian.com>
1201 * DataGridColumn.cs: New implementation
1204 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
1206 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
1208 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
1211 2005-08-03 Ben Maurer <bmaurer@ximian.com>
1213 * RepeatInfo.cs: Finally figured out how to use base control
1215 2005-08-03 Jackson Harper <jackson@ximian.com>
1217 * ButtonColumn.cs: Partial implementation.
1219 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
1221 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
1224 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
1226 * Calendar.cs: fixes Save/Load state
1228 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
1230 * Calendar.cs: bug fixes
1232 2005-08-03 Jackson Harper <jackson@ximian.com>
1234 * DataGrid.cs: Merge the table style with the render table. Some
1235 initial work on the numeric pager. Remove some debugging code.
1237 2005-08-03 Jackson Harper <jackson@ximian.com>
1239 * BoundColumn.cs: Implement Initialize and InitializeCell. When
1240 Data is formated it uses the DataFormatString that was set at the
1241 time Initialize was called (or null if initialize was never
1244 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
1246 * RadioButtonList.cs: bug fixes
1248 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
1250 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
1251 AddAttributesToRender
1252 * RadioButtonList.cs: Implementation
1254 2005-08-01 Jackson Harper <jackson@ximian.com>
1256 * TableStyle.cs: Copy style bit when copying from another style.
1258 2005-08-01 Jackson Harper <jackson@ximian.com>
1260 * PagedDataSource.cs: Implement missing properties, use yield for
1261 the Enumerator methods. Only allow the enums to return one page at
1264 2005-08-01 Chris Toshok <toshok@ximian.com>
1266 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
1268 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
1270 * WebControl.cs: Track enabled state across sessions
1272 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
1274 * ListControl.cs(OnDatabinding): Value is equivalent to text if
1277 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
1279 * ImageButton.cs: fixes, complete missing parts
1281 2005-07-31 Ben Maurer <bmaurer@ximian.com>
1283 * TextBox.cs: Html encode for multiline text boxes
1285 * HyperLink.cs: Resolve images
1287 2005-07-30 Chris Toshok <toshok@ximian.com>
1289 * BaseValidator.cs: initial version of 2.0 properties
1290 ValidationGroup and SetFocusOnError.
1292 2005-07-30 Chris Toshok <toshok@ximian.com>
1294 * HyperLinkColumn.cs (InitializeCell): clean this up.
1296 2005-07-30 Chris Toshok <toshok@ximian.com>
1298 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
1299 DataBinder.FormatResult.
1300 (FormatDataTextValue): same.
1301 (Initialize): call base.Initialize.
1302 (ItemDataBinding): new function, get the text/navigateurl and set
1303 them on our HyperLink control.
1304 (InitializeCell): create a hyperlink control in the
1305 Item/EditItem/AlternatingItem case.
1307 2005-07-30 Ben Maurer <bmaurer@ximian.com>
1309 * RepeatInfo.cs: Handle 0 items situations correctly
1311 * HyperLink.cs: Resolve urls correctly
1313 * CheckBox.cs: use the correct ID for the label element.
1315 * Label.cs: Correct AddParsedSubObject impl. See FAQ
1317 2005-07-29 Chris Toshok <toshok@ximian.com>
1319 * BaseCompareValidator.cs (GetDateElementOrder): implement.
1321 2005-07-29 Chris Toshok <toshok@ximian.com>
1323 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
1324 #if'ed out version follows microsoft's docs on msdn, but doesn't
1325 match ms's behavior. The other matches their behavior but not
1326 their docs. we use the latter. go figure.
1327 (get_CutoffYear): implement using
1328 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
1330 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
1333 - Name property now throws exception when set to null
1334 - Names now handles situation where our bit tells us we have
1335 a font, but it's not in the StateBag (null removal)
1336 * RangeValidator.cs: Removed unused vars
1338 2005-07-29 Ben Maurer <bmaurer@ximian.com>
1340 * Label.cs: ClientID should be used rather than UniqueID to get
1343 2005-07-29 Chris Toshok <toshok@ximian.com>
1345 * BaseValidator.cs (Validatate): not sure if this is entirely
1346 correct (some fairly deep testing required), but setting Enabled =
1347 false has the effect of setting IsValid = true.
1349 2005-07-29 Ben Maurer <bmaurer@ximian.com>
1351 * RadioButton.cs: The "remove from groupstate" isn't needed any
1352 more, now that statebag is correct.
1354 2005-07-29 Dick Porter <dick@ximian.com>
1356 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
1357 ViewState when it is null.
1359 * CheckBox.cs: Hide nonstandard API
1361 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
1363 * Calendar.cs: fixes exceptions, bug fixes, new features
1364 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
1365 * CalendarDay.cs: fixes default value
1367 2005-07-28 Ben Maurer <bmaurer@ximian.com>
1369 * CompositeControl.cs: Stub
1371 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
1373 * EditCommandColumn.cs: Implemented
1375 2005-07-27 Chris Toshok <toshok@ximian.com>
1377 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
1379 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
1381 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
1384 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
1386 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
1387 for it's constructor, so remove it
1388 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
1390 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
1392 * DataGridPagerStyle.cs: Implemented
1393 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
1394 * Style.cs: Added Styles enum values for DataGridPagerStyle
1396 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
1398 * Calendar.cs: get the styles right, honors more properties, fixes, fix
1401 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
1403 * DataGridItem.cs: Implemented
1405 2005-07-26 Chris Toshok <toshok@ximian.com>
1407 * LinkButton.cs (AddParsedSubObject): reversed the order of
1408 Controls.Add() and Text = null
1409 (set_Text): call Controls.Clear()
1410 (RenderContents): use HasControls() for the if test instead of
1413 * HyperLink.cs (AddParsedSubObject): reversed the order of
1414 Controls.Add () and Text = null;
1416 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
1418 * DataGridItemCollection.cs: Implemented
1420 2005-07-26 Chris Toshok <toshok@ximian.com>
1422 * LinkButton.cs (AddParsedSubObject): copy implementation from
1424 (RenderContents): only call writer.Write(Text) if Text != "".
1425 Otherwise default to base.RenderContents.
1427 2005-07-26 Chris Toshok <toshok@ximian.com>
1429 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
1430 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
1431 (Page != null) around my last commit.
1433 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
1435 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
1436 Fixed use of literal strings, instead using Consts
1437 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
1438 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
1439 Panel.cs, Literal.cs: Added attributes
1440 * BaseValidator.cs: Added missing override
1442 2005-07-26 Chris Toshok <toshok@ximian.com>
1444 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
1445 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
1446 Page.VerifyRenderingInServerFormHere.
1448 2005-07-26 Chris Toshok <toshok@ximian.com>
1450 * BaseValidator.cs: remove some MonoTODO's about the client side
1453 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
1455 * Calendar.cs: selection of dates, state load, save, track, support
1456 for new properties, many fixes.
1458 2005-07-26 Miguel de Icaza <miguel@novell.com>
1460 * Style.cs: Temporary methods to help buliding .NET 2.x
1462 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
1464 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
1466 * Xml.cs: Fixed base class, attributes
1467 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
1468 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
1469 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
1470 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
1471 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
1473 2005-07-25 Ben Maurer <bmaurer@ximian.com>
1475 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
1478 2005-07-25 Ben Maurer <bmaurer@ximian.com>
1480 * RepeatInfo.cs: If the repeater has one column, the separators
1481 are rendered on a different line
1483 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
1485 * DataGridSortCommandEventArgs: Sealed class
1486 * ButtonColumn.cs, Calendar.cs: Added Attributes
1488 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
1490 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
1491 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
1493 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
1495 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
1496 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
1498 2005-07-25 Chris Toshok <toshok@ximian.com>
1500 * ValidationSummary.cs (AddAttributesToRender): add client side
1502 (OnPreRender): set the "been here" flag.
1503 (Render): add client side support.
1505 2005-07-25 Ben Maurer <bmaurer@ximian.com>
1507 * RepeatInfo.cs: Split the horiz and vertical cases, because this
1508 class has rules that are beyond strange. Continue working to make
1511 2005-07-25 Ben Maurer <bmaurer@ximian.com>
1513 * RepeatInfo.cs: Misc fixes for my test suite.
1515 2005-07-25 Jackson Harper <jackson@ximian.com>
1517 * DataGrid.cs: Set the command name and args on the link buttons.
1519 2005-07-25 Jackson Harper <jackson@ximian.com>
1521 * DataGrid.cs: Lots o implementation.
1523 2005-07-25 Jackson Harper <jackson@ximian.com>
1525 * BoundColumn.cs: Partial implementation to get the DataGrid tests
1528 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
1530 * Button.cs: fixes events, adds attributes
1532 2005-07-23 Chris Toshok <toshok@ximian.com>
1534 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
1535 prop.GetValue results.
1536 (Render): fix the static non-uplevel case, so that we display text
1537 when there's an error.
1539 2005-07-22 Chris Toshok <toshok@ximian.com>
1541 * RegularExpressionValidator.cs (AddAttributesToRender): only
1542 output ValidationExpression if it's != null.
1544 2005-07-22 Chris Toshok <toshok@ximian.com>
1546 * BaseValidator.cs (AddAttributesToRender): fix up the Display
1547 rendering such it matches MS's output.
1548 (Render): stop using the huge complicated if's for each output
1549 stage and move to boolean flags, and fix the static-nonuplevel
1550 case, where a validator outputs as nothing but
1552 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
1553 * Calendar.cs: Initial implementation
1554 * CalendarSelectionMode.cs: fix enum order
1556 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
1558 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
1559 (or more?) specific cases - including correct support for separators.
1560 Added some (commented) debugging code.
1561 * HyperLink.cs: Only render href and target attributes if they're not
1562 empty. Add "border=0" when rendering <img> tag. Fix Target default
1565 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
1567 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
1569 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
1571 * Style.cs (CopyFrom): Reset our styles and don't set bits from
1572 target explicitly, properties will set them
1574 2005-07-22 Dick Porter <dick@ximian.com>
1577 * ButtonColumn.cs: Initial stubs
1579 2005-07-22 Dick Porter <dick@ximian.com>
1582 * CheckBox.cs: Add assembly attributes
1584 2005-07-22 Ben Maurer <bmaurer@ximian.com>
1586 * HyperLink.cs: Handle non-literal children.
1588 2005-07-21 Ben Maurer <bmaurer@ximian.com>
1590 * Label.cs: SP1 stuff
1592 2005-07-21 Chris Toshok <toshok@ximian.com>
1594 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
1595 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
1596 stuff WebUIValidation.js uses, so we don't support it for uplevel
1599 2005-07-21 Chris Toshok <toshok@ximian.com>
1601 * BaseValidator.cs (DetermineRenderUplevel): include checks for
1602 the EcmaScriptVersion and W3CDomVersion.
1604 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
1606 * BaseDataList.cs: Support IEnumerable.
1607 * DataList.cs: Fix alternate items.
1608 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
1609 controls and the Text property.
1611 2005-07-21 Ben Maurer <bmaurer@ximian.com>
1613 * TextBoxMode.cs: Wrong ordering of enum...
1615 2005-07-21 Chris Toshok <toshok@ximian.com>
1617 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
1620 2005-07-21 Chris Toshok <toshok@ximian.com>
1622 * BaseValidator.cs (get_PropertiesValid): use our containing
1623 NamingContainer, not ourselves, to look up controls.
1624 (CheckControlValidationProperty): same.
1625 (GetControlRenderID): same.
1626 (GetControlValidationValue): same.
1627 (AddAttributesToRender): add the display style attribute if
1628 Display != Static, and add the value of IsValid if it's false.
1629 (DetermineRenderUplevel): use a try block around (Page.Request)
1630 since that can raise an exception.
1631 (OnPreRender): set pre_render_called, so we can consult it in
1633 (Render): complicate this method more to handle more of the
1634 Display/pre_render_called permutations.
1636 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
1638 * CustomValidator.cs: Initial implementation, still work in progress
1640 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
1642 * DataList.cs: Fix rendering for special items (-1).
1644 2005-07-21 Ben Maurer <bmaurer@ximian.com>
1646 * RepeatInfo.cs: Fix most of the tests.
1648 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
1650 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
1651 Add a border=0 attribute if no style is defined.
1652 * TableCell.cs: Use HtmlTextWriterTag (not a string).
1653 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
1654 * TableRow.cs: Use HtmlTextWriterTag (not a string).
1656 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
1658 * BaseDataList.cs: Fix attributes.
1659 * HorizontalAlign.cs: Fix attributes.
1660 * Image.cs: Fix attributes and enums checks.
1661 * Table.cs: Fix attributes an enums checks.
1662 * TableCell.cs: Fix attributes.
1663 * TableCellCollection.cs: Fix attributes.
1664 * TableItemStyle.cs: Fix attributes and enums checks.
1665 * TableRowCollection.cs: Fix attributes.
1666 * TableRow.cs: Fix attributes.
1667 * TableStyle.cs: Fix attributes and enums checks.
1668 * VerticalAlign.cs: Fix attributes.
1670 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
1672 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
1673 * DataList.cs: Added rendering support when ExtractTemplatesRows
1674 property is true (but RepeatInfo needs to be fixed to see it works).
1675 * DataListItem.cs: Added rendering support when extractRows parameter
1676 is true (but RepeatInfo still needs to be fixed ;-)
1678 2005-07-21 Duncan Mak <duncan@novell.com>
1680 * HyperLinkColumn.cs: Initial implementation.
1681 Todo: Figure out Initialize and InitializeCell.
1683 2005-07-20 Chris Toshok <toshok@ximian.com>
1685 * BaseValidator.cs: don't use Page.FindControl, use this Control's
1686 FindControl, so it'll use the same naming container.
1688 2005-07-21 Duncan Mak <duncan@novell.com>
1690 * DataGridCommandEventArgs.cs:
1691 * DataGridPageChangedEventArgs.cs:
1692 * RepeaterCommandEventArgs.cs: Fixed visibility.
1694 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
1695 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
1697 2005-07-20 Chris Toshok <toshok@ximian.com>
1699 * Button.cs: hook up the client side validation stuff.
1701 * ImageButton.cs: same.
1703 * LinkButton.cs: same, although it's a little more complicated
1706 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
1709 - Implemented RaisePostDataChangedEvent()
1710 - Spewing postback command if AutoPostBack is true
1712 2005-07-20 Chris Toshok <toshok@ximian.com>
1714 * BaseValidator.cs: another Page != null check when uplevel
1717 2005-07-20 Chris Toshok <toshok@ximian.com>
1719 * BaseValidator.cs: check Page != null when determining if we're
1720 rendering uplevel or not.
1722 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
1724 * ListItemCollection.cs: Removed obsolete method that's no longer
1727 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
1729 * DropDownList.cs: Oops. Forgot to implement LoadPostData
1730 * ListItemCollection.cs: Added convenience method to have faster
1733 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
1736 - Automatically select the first item if none are selected
1737 - Throw exception if more than one item is selected
1739 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
1741 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
1742 handled by RepeatInfo).
1744 2005-07-20 Jackson Harper <jackson@ximian.com>
1746 * DataGrid.cs: Store the data source created columns in a
1747 DataGridColumnCollection. This way they can be put in the
1748 view state more easily, and accessed without casting.
1750 2005-07-20 Chris Toshok <toshok@ximian.com>
1752 * BaseValidator.cs (AddAttributesToRender): render the client side
1753 attributes if we're in uplevel mode.
1754 (DetermineRenderUplevel): flesh out a bit - for now basically
1755 return true unless the control has it disabled.
1756 (OnInit): only add the validator to Page's list if there is, in
1758 (OnUnload): same for removal.
1759 (OnPreRender): hook up client scripting stuff here. Only the call
1760 to RegisterValidatorCommonScript is a for sure thing here, the
1761 registering of the submit statement and startup script should
1762 probably go elsewhere, but I don't know where.
1763 (RegisterValidatorCommonScript): register the <script
1764 src=".../WebUIValidation.js"> tag, if it's not already there.
1765 (RegisterValidatorDeclaration): add our span object to the
1766 Page_Validators JS array.
1767 (Render): always render the tags (although this is probably not
1768 right), and call RegisterValidatorDeclaration here.
1770 * BaseCompareValidator.cs (AddAttributesToRender): render the
1771 client side attributes if we're in uplevel mode.
1772 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
1773 call base.DetermineRenderUplevel for now.
1775 * RegularExpressionValidator.cs (AddAttributesToRender): render
1776 the client side attributes if we're in uplevel mode.
1778 * RequiredFieldValidator.cs (AddAttributesToRender): same.
1780 * CompareValidator.cs (AddAttributesToRender): same.
1782 2005-07-20 Jackson Harper <jackson@ximian.com>
1784 * DataGrid.cs: Save the data source created column set in the
1787 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
1789 * DataList.cs: Fix events and properties exceptions. Give the right
1790 informations to RenderItem.
1792 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
1794 * ValidationSummary.cs: Implemented rendering
1796 2005-07-20 Jackson Harper <jackson@ximian.com>
1798 * DataGrid.cs: column names are cached and only regenerated if useDataSource
1799 is set to true. Otherwise they are just fetched from the last set that
1800 was generated from the source.
1802 2005-07-20 Jackson Harper <jackson@ximian.com>
1804 * DataGrid.cs: Assign some properties of newly created BoundColumns.
1806 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
1808 * DataList.cs: Fix viewstate ordering.
1810 2005-07-20 Ben Maurer <bmaurer@ximian.com>
1812 * SelectedDatesCollection.cs: Apprarently, I don't write code well
1815 * Repeater.cs: Uh, actually add stuff to the items collection
1818 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
1820 * BaseDataList.cs: EnsureChildControls on Controls property.
1821 * DataList.cs: Fix rendering and Controls/Items differences.
1822 * DataListItem.cs: Added rendering of controls.
1824 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
1826 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
1828 2005-07-20 Jackson Harper <jackson@ximian.com>
1830 * DataGrid.cs: Add some of the collections. Implement
1833 2005-07-20 Jackson Harper <jackson@ximian.com>
1835 * PagedDataSource.cs: Implement GetItemProperties, this is
1836 needed for the datagrid.
1838 2005-07-20 Ben Maurer <bmaurer@ximian.com>
1840 * DataGridColumnCollection.cs: New impl
1842 * TemplateColumn.cs: New impl
1844 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
1846 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
1847 * DataList.cs: Work in progress... Added attributes, proper
1848 IRepeatInfoUser support and cool things stolen from other classes.
1849 * DataListCommandEventArgs.cs: Class is sealed.
1850 * DataListItem.cs: RenderItem is public.
1852 2005-07-19 Jackson Harper <jackson@ximian.com>
1854 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
1855 a viewstate object if all the viewstate stuff is null.
1857 2005-07-19 Jackson Harper <jackson@ximian.com>
1859 * DataGrid.cs: Implement style properties and viewstate
1860 saving/loading/tracking.
1862 2005-07-19 Chris Toshok <toshok@ximian.com>
1864 * BaseValidator.cs: more fixes from pdb.
1866 2005-07-19 Chris Toshok <toshok@ximian.com>
1868 * BaseValidator.cs: some test-driven fixes.
1870 2005-07-19 Chris Toshok <toshok@ximian.com>
1872 * BaseValidator.cs: Initial implementation.
1874 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
1876 * Repeater.cs: Fix small typo.
1878 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
1880 * ValidationSummaryTest.cs: Started implementation
1881 * RangeValidator.cs: Implemented
1882 * ValidatedControlConverter.cs: Implemented
1883 * DropDownList.cs: Implemented
1885 2005-07-19 Jackson Harper <jackson@ximian.com>
1887 * DataGrid.cs: Implement bubble event.
1889 2005-07-19 Jackson Harper <jackson@ximian.com>
1891 * DataGrid.cs: New implementation. Just properties and events for
1894 2005-07-18 Chris Toshok <toshok@ximian.com>
1896 * BaseCompareValidator.cs: Initial implementation, with some NYI.
1898 2005-07-19 Ben Maurer <bmaurer@ximian.com>
1900 * FontUnit.cs: Corcompare fixes
1902 * UnitConverter.cs: Fix api diffs
1904 2005-07-18 Ben Maurer <bmaurer@ximian.com>
1906 * ListControl.cs: Fix api differences
1908 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
1910 * Table.cs: Fix indentation for caption. Simplify check when adding
1912 * TableRow.cs: Simplify check when adding controls.
1914 2005-07-18 Chris Toshok <toshok@ximian.com>
1916 * CompareValidator.cs: wtf, just use the base class's methods.
1918 2005-07-18 Chris Toshok <toshok@ximian.com>
1920 * CompareValidator.cs: do comparisons based on
1921 BaseCompareValidator.Type.
1923 2005-07-18 Chris Toshok <toshok@ximian.com>
1925 * CompareValidator.cs: initial implementation.
1927 2005-07-18 Chris Toshok <toshok@ximian.com>
1929 * RegularExpressionValidator.cs: initial implementation.
1931 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
1933 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
1935 2005-07-18 Jackson Harper <jackson@ximian.com>
1937 * CheckBoxList.cs: Implement LoadPostBackData. Also register
1938 checkboxes for postback if they are checked so we can find
1939 out when they are unchecked. Copy the AutoPostBack variable
1940 to the to be rendered checkbox when rendering.
1942 2005-07-18 Ben Maurer <bmaurer@ximian.com>
1944 * TextBox.cs: Finish this up.
1946 * AdRotator.cs: Fix issues in the test suite. Minor style
1949 * Repeater.cs: Fix a bug where the datasource is null and we do
1952 * WebColorConverter.cs: Optimize by not doing a concat on a
1955 2005-07-17 Ben Maurer <bmaurer@ximian.com>
1957 * ListItemCollection.cs: Multiple uses of equals rather than
1958 string.compare as below. Remove unreachable code warning.
1960 * WebColorConverter.cs (ConvertTo): Use the == operator on string
1961 rather than an invariant non-case ignoring compare. They are
1962 exactly the same thing. Use proper coding style in this method.
1964 * WebControl.cs: Return null when saving the view state if there
1965 is no state in any of the things we save. This creates a fairly
1966 large savings, because we can avoid saving anything about many
1967 levels of deaply nested controls.
1969 2005-07-15 Jackson Harper <jackson@ximian.com>
1971 * CheckBoxList.cs: Use the index as the ID, the rest of the
1972 id is built by being in the NamingContainer.
1974 2005-07-15 Jackson Harper <jackson@ximian.com>
1976 * ListControl.cs: Use enum instead of string. Saves a lookup.
1978 2005-07-15 Jackson Harper <jackson@ximian.com>
1980 * CheckBoxList.cs: FindControl always returns 'this' according
1983 2005-07-15 Jackson Harper <jackson@ximian.com>
1985 * CheckBoxList.cs: New impl.
1987 2005-07-15 Jackson Harper <jackson@ximian.com>
1989 * WebControl.cs: Use the ClientID when rendering a controls ID
1990 attribute so that naming containers are honoured.
1992 2005-07-15 Jackson Harper <jackson@ximian.com>
1994 * ListControl.cs: use the state manager interface for tracking
1997 2005-07-15 Ben Maurer <bmaurer@ximian.com>
1999 * Repeater.cs (DoItem): Add the DataItem before we call user
2000 methods, as it seems to be there with msft.
2002 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
2004 * BaseDataList.cs: New. (mostly complete) implementation.
2005 * DataKeyCollection.cs: New. Implementation (complete).
2006 * DataList.cs: New. (mostly incomplete) implementation.
2007 * DataListItem.cs: New. (mostly complete) implementation.
2008 * DataListItemCollection.cs: New. Implementation (complete).
2010 2005-07-15 Ben Maurer <bmaurer@ximian.com>
2012 * Repeater.cs (DoItem): We need to .Add the control *before* we
2013 data bind it so that the state gets tracked correctly. Fixes the
2016 2005-07-15 Jackson Harper <jackson@ximian.com>
2018 * ListControl.cs: Simplify comparison.
2020 2005-07-15 Jackson Harper <jackson@ximian.com>
2023 * Repeater.cs: Use new utility class for resolving data sources.
2025 2005-07-15 Jackson Harper <jackson@ximian.com>
2027 * ListControl.cs: Add attributes so the sub items get parsed
2028 properly. Remove old unneeded code for resolving lists.
2030 2005-07-15 Jackson Harper <jackson@ximian.com>
2032 * ListControl.cs: Use the DataSourceHelper so DataMembers are
2035 2005-07-14 Ben Maurer <bmaurer@ximian.com>
2038 - Some optimizations
2039 * Don't use enum formatting stuff, it is 1) expensive 2) does
2040 allocations. Use a new method in HtmlControl to do the right
2042 * Don't use Enum.IsDefined but an explicit check.
2043 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
2044 - Use the correct coding style.
2046 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
2048 * WebColorConverter.cs:
2049 - Alpha of 255 is only set if the hex number is exactly 6 digits
2050 - Ben didn't like the catch { throw; } (even though MS documents to
2052 - Use Invariant Culture for parsing (thanks, Ben)
2054 2005-07-14 Jackson Harper <jackson@ximian.com>
2056 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
2057 code-reuse-arific. Also use the IStateManager interface for loading
2058 data instead of the old internal method.
2060 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
2062 * WebColorConverter.cs: Implemented
2064 2005-07-14 Ben Maurer <bmaurer@ximian.com>
2066 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
2068 2005-07-14 Ben Maurer <bmaurer@ximian.com>
2070 * Repeater.cs: Get it working
2072 2005-07-14 Jackson Harper <jackson@ximian.com>
2074 * ListControl.cs: Initial implementation of Databinding. Make sure
2075 that the ListItemCollection is created when we load its ViewState.
2077 2005-07-14 Jackson Harper <jackson@ximian.com>
2079 * ListControl.cs: Fix typo.
2081 2005-07-14 Jackson Harper <jackson@ximian.com>
2083 * ListControl.cs: New Implementation. Lacks databinding support.
2085 2005-07-14 Ben Maurer <bmaurer@ximian.com>
2087 * Repeater.cs: The beginnings of this control
2089 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
2091 * TargetConverter.cs: Implemented
2093 2005-07-14 Duncan Mak <duncan@novell.com>
2095 * PagedDataSource.cs: Initial implementation.
2097 Methods that need to be figured out:
2098 CopyTo, GetItemProperties, PageCount, IsLastPage.
2100 To complete: CollectionEnumerator, ListEnumerator.
2102 2005-07-13 Duncan Mak <duncan@novell.com>
2104 * RepeatDirection.cs:
2106 * ValidationCompareOperator.cs:
2107 * ValidationDataType.cs:
2108 * ValidationSummaryDisplayMode.cs:
2109 * ValidatorDisplay.cs: Added remaining enumerations.
2111 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
2113 * FontNamesConverter.cs: Implemented
2115 2005-07-13 Ben Maurer <bmaurer@ximian.com>
2117 * RepeaterItem.cs: Compile fix
2119 * RepeaterItemCollection.cs: New file
2121 * RepeaterItem.cs: get OnBubbleEvent right.
2123 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
2125 * ListItemCollection.cs: Count can be derived from the array, which
2126 allows us to use a Pair instead of a Triplet and save some space
2128 2005-07-13 Ben Maurer <bmaurer@ximian.com>
2130 * RepeaterItem.cs: Stub
2132 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
2134 * ListItemCollection.cs: Implemented
2135 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
2137 2005-07-13 Ben Maurer <bmaurer@ximian.com>
2139 * RepeatInfo.cs: Impl.
2141 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
2143 * FirstDayOfWeek.cs: Added
2145 2005-07-13 Jackson Harper <jackson@ximian.com>
2147 * ListBox.cs: Some parameter checking.
2149 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
2151 * Image.cs: Added support for DescriptionUrl as this property was
2152 added in Fx 1.1 SP1.
2154 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
2156 * Style.cs (AddAttributesToRender): Don't render attributes if they
2157 contain only their default value
2159 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
2161 * Table.cs: New. Initial re-implementation.
2162 * TableCell.cs: New. Initial re-implementation.
2163 * TableCellCollection.cs: New. Initial re-implementation.
2164 * TableHeaderCell.cs: New. Initial re-implementation.
2165 * TableItemStyle.cs: New. Initial re-implementation.
2166 * TableRow.cs: New. Initial re-implementation.
2167 * TableRowCollection.cs: New. Initial re-implementation.
2168 * TableStyle.cs: New. Initial re-implementation.
2170 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
2172 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
2173 unit tests (for Style) and more tests in Table* classes.
2175 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
2177 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
2178 however IsEmpty returns false if any of their properties are set.
2179 Looks ugly but it's compatible with MS implementation (feature and
2182 2005-07-13 Dick Porter <dick@ximian.com>
2184 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
2185 null Text properties from the ViewState, test for TextAlign being
2186 out of range. All to make tests pass on both mono and ms
2189 2005-07-13 Jackson Harper <jackson@ximian.com>
2191 * ListBox.cs: Use invariant culture when doing a ToString,
2192 set value to the item's value, not to its Text.
2194 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
2196 * WebControl.cs (AddAttributesToRender): Added ID to rendered
2199 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
2201 * Style.cs(MergeWith): Handle null styles
2203 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
2205 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
2206 the #if NET_2_0 on it.
2208 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
2210 * Style.cs: Only render font elements if fontinfo object exists
2212 - Implemented SaveViewState()
2213 - Added loading of Style to LoadViewState
2214 - Implemented IAttributeAccessor methods
2216 2005-07-12 Jackson Harper <jackson@ximian.com>
2218 * ListBox.cs: Even track default values in the viewstate. Call
2219 base's RenderContents.
2221 2005-07-12 Jackson Harper <jackson@ximian.com>
2223 * ListBox.cs: New impl.
2225 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
2228 - Implemented methods
2231 2005-07-12 Ben Maurer <bmaurer@ximian.com>
2233 * ListItem.cs: New impl.
2235 2005-07-12 Duncan Mak <duncan@novell.com>
2237 * DayNameFormat.cs: Added.
2239 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
2241 * WebControl.cs: Implemented properties
2243 2005-07-12 Ben Maurer <bmaurer@ximian.com>
2245 * TextBox.cs: Passwords seem 1) not to be rendered to the client
2246 if set, 2) not kept in view state (for security reasons...)
2249 * Button.cs: Page.Validate () if needed. Gets the validator tests
2252 * TextBox.cs: Properties to get the validator stuff to work.
2254 2005-07-12 Miguel de Icaza <miguel@novell.com>
2256 * Unit.cs: If the units are pixels, then truncate the value.
2258 2005-07-12 Dick Porter <dick@ximian.com>
2260 * RadioButton.cs: New implementation
2262 * CheckBox.cs: Rearrange the attributes rendering to allow
2263 RadioButton to derive from this
2265 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
2267 * TitleFormat.cs: Add attribute
2268 * TextBoxMode.cs: Add attribute
2269 * CalendarDay.cs: Initial implementation
2270 * ImageButton.cs: Initial implementation
2271 * CalendarSelectionMode.cs:Initial implementation
2273 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
2275 * TextBoxMode.cs: simple enum
2276 * TitleFormat.cs: simple enum
2278 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
2280 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
2282 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
2284 * FontUnit.cs: Added TypeConverter attribute to class
2285 * FontUnitConverter.cs: Implemented
2287 2005-07-11 Ben Maurer <bmaurer@ximian.com>
2290 * Button.cs: Bubble the Command event.
2292 2005-07-11 Ben Maurer <bmaurer@ximian.com>
2295 - Clean up style (with my wonderful state bag hack!)
2296 - Fix a view state typo.
2297 - Use AddAttributesToRender
2298 - Don't add an extra <span>
2300 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
2302 * Style.cs: Handle null constructor argument for bag
2304 2005-07-11 Dick Porter <dick@ximian.com>
2306 * CheckBox.cs: New implementation
2308 * RadioButton.cs: Initial stubbed version that just compiles
2310 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
2312 * Button.cs: Initial Button implementation
2314 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
2316 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
2318 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
2320 * HorizontalAlign.cs: Typo in header.
2321 * VerticalAlign.cs: New. Required enum for TableRow control.
2323 2005-07-09 Ben Maurer <bmaurer@ximian.com>
2325 * TextBox.cs: More work on this
2327 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
2329 * GridLines.cs: New. Required enum for Table control.
2330 * HorizontalAlign.cs: New. Required enum for Table control.
2332 2005-07-09 Duncan Mak <duncan@novell.com>
2334 * CommandEventHandler.cs:
2335 * DataGridCommandEventHandler.cs:
2336 * DataGridItemEventHandler.cs:
2337 * DataGridPageChangedEventHandler.cs:
2338 * DataGridSortCommandEventHandler.cs:
2339 * DataListCommandEventHandler.cs:
2340 * DayRenderEventHandler.cs:
2341 * RepeaterCommandEventHandler.cs:
2342 * ServerValidateEventHandler.cs: Add delegates.
2345 * ListSelectionMode.cs:
2346 * NextPrevFormat.cs:
2348 * PagerPosition.cs: Add enums.
2350 2005-07-09 Ben Maurer <bmaurer@ximian.com>
2352 * TextBox.cs: Add the work I did on this today. It's not complete
2353 yet, but its a start!
2355 2005-07-09 Duncan Mak <duncan@novell.com>
2357 * CommandEventArgs.cs:
2358 * DataGridCommandEventArgs.cs:
2359 * DataGridItemEventArgs.cs:
2360 * DataGridPageChangedEventArgs.cs:
2361 * DataGridSortCommandEventArgs.cs:
2362 * DataListCommandEventArgs.cs:
2363 * DataListItemEventArgs.cs:
2364 * DayRenderEventArgs.cs:
2365 * RepeaterCommandEventArgs.cs:
2366 * RepeaterItemEventArgs.cs:
2367 * ServerValidateEventArgs.cs: Implemented.
2369 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
2371 * Image.cs: New. Image class implementation.
2372 * ImageAlign.cs: New. ImageAlign enum definitions.
2374 2005-07-08 Jackson Harper <jackson@ximian.com>
2376 * Literal.cs: New implentation.
2377 * MonthChangedEventArgs.cs: new
2378 * MonthChangedEventHandler.cs: new
2380 2005-07-08 Ben Maurer <bmaurer@ximian.com>
2382 * LinkButton.cs: Command impl
2384 2005-07-08 Ben Maurer <bmaurer@ximian.com>
2386 * LinkButton.cs: Initial impl
2388 2005-07-08 Jackson Harper <jackson@ximian.com>
2390 * AdCreatedeventArgs.cs: New implementation.
2392 2005-07-08 Dick Porter <dick@ximian.com>
2395 * BorderStyle.cs: Added
2397 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
2399 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
2401 2005-07-07 Miguel de Icaza <miguel@novell.com>
2403 * Xml.cs: New implementation. R00lz.
2405 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
2407 * FontInfo.cs: Added and implemented.
2408 * Style.cs: Fixed behaviour discrepancies showed by tests
2410 2005-07-07 Ben Maurer <bmaurer@ximian.com>
2412 * PlaceHolderControlBuilder.cs: new file
2414 * LabelControlBuilder.cs: New file
2416 * HyperLink.cs: use control builder; fix parsing stuff
2418 * HyperLinkControlBuilder.cs: new file
2420 * Panel.cs: misc fixes
2422 2005-07-07 Miguel de Icaza <miguel@novell.com>
2424 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
2426 * UnitConverter.cs: Add new file, learned from the
2427 System.Drawing.ColorConverter.
2429 2005-07-07 Ben Maurer <bmaurer@ximian.com>
2431 * PlaceHolder.cs: New file. Seems to do nothing
2433 * Label.cs: Use my new statebag trick to reduce typing
2435 * HyperLink.cs: New file
2437 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
2439 * Style.cs: Added and implemented.
2441 2005-07-06 Miguel de Icaza <miguel@novell.com>
2443 * FontUnit.cs: New file.
2445 * Unit.cs: New file.
2447 Added support for null and empty string constructors.
2449 2005-07-06 Ben Maurer <bmaurer@ximian.com>
2451 * Unit.cs: cctor not needed; static fields are 0 init'd by default
2453 * WebControl.cs: Kothari & Datye's book explains how these work.
2455 * IRepeatInfoUser.cs: Reimpl.
2457 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
2459 * WebControl.cs: Added stub
2461 2005-07-05 Miguel de Icaza <miguel@novell.com>
2463 * Label.cs: First control.
2465 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
2467 * DataControlField.cs: Ignore the ShowHeader property when
2468 building the control's content. It is the resposability of
2469 the field container to decide if the header should be shown
2472 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
2475 * ImageFieldMode.cs:
2476 * DynamicImageParameterMode.cs:
2477 * TableViewMode.cs: Removed.
2481 * TableRowSection.cs:
2482 * AutoCompleteType.cs:
2483 * DayNameFormat.cs: Track changes in 2.0 api.
2485 * StringArrayConverter.cs: This class is 2.0 only.
2487 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
2491 * DetailsView.cs: Bind the control after creating all child
2493 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
2494 the correct methods.
2495 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
2496 in this class. This is done in DataBoundControl. All this fixes
2499 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2501 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
2502 FindByText. Closes bug #74205.
2504 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2506 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
2507 1 when there's a datasource and 0 pages. Closes bug #73864.
2509 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
2516 * MenuItemTemplateContainer.cs:
2517 * DetailsView.cs: Track changes in the IDataItemContainer interface.
2519 * CommandField.cs: Added CausesValidation property. Set that
2520 property value to all buttons of the field.
2522 * SqlDataSourceView.cs:
2523 * CollectionDataSource.cs:
2524 * XmlDataSourceView.cs: Properly initialize the base class.
2526 * SiteMapDataSource.cs:
2527 * SiteMapHierarchicalDataSourceView.cs:
2528 * SiteMapNodeItem.cs:
2529 * SiteMapDataSourceView.cs:
2530 * SiteMapPath.cs: Mostly implemented.
2532 * HierarchicalDataBoundControl.cs: Always bind the control when the
2533 page is loaded for the first time.
2535 * TreeView.cs: Properly bind the control when loaded from a callback.
2537 2005-05-21 Ben Maurer <bmaurer@ximian.com>
2539 * BaseDataList.cs: Caption is in 1.1 too, though not
2540 documented. Gonz owes me [more] ice cream. Yummmmm.
2542 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2544 * BaseDataList.cs: implemented 2.0 Caption property.
2546 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
2548 * TreeView.cs: Always render the startup script. This fixes
2551 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
2553 * WizardStepBase.cs:
2554 * WizardStep.cs: Added missing attributes.
2555 * Wizard.cs: Implemented missing methods and properties. It can now
2556 be considered feature complete.
2558 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2560 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
2561 the method if the data source was en empty IEnumerator. Fixes
2564 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
2568 * Menu.cs: Implemented some new properties from beta 2.
2570 * DataControlButton.cs: Render the ControlStyle if it
2574 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
2575 It will now generate an object creation, instead of a Parse call.
2577 * GridViewCommandEventArgs.cs: Added missing property.
2578 * SubMenuStyleCollection.cs: This class is not sealed.
2579 * MultiView.cs: Set Visible=false to all views that are not
2580 shown. This ensures that it's view state is saved.
2582 * BaseDataBoundControl.cs:
2583 * GridViewDeletedEventArgs.cs: Minor api fixes.
2585 * FormViewDeleteEventArgs.cs:
2586 * DetailsViewDeletedEventArgs.cs:
2587 * ListControl.cs: Fix warnings.
2591 * HotSpotCollection.cs
2594 * RectangleHotSpot.cs
2595 * WizardStepCollection.cs : Implemented.
2599 * Wizard.cs: Initial implementation.
2601 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
2603 * DataControlField.cs:
2607 * DataControlCommands.cs:
2608 * DetailsView.cs: Use constants to identify commands.
2610 * SubMenuStyle.cs: Use Unit instead of int for padding.
2611 * SubMenuStyleCollection.cs: Implemented.
2614 * Menu.cs: Added some missing methods and properties.
2617 * DataGridPagerStyle.cs: Fixed default value attributes.
2618 * ListControl.cs: Implemented IEditableTextControl interface.
2620 * MenuItemBinding.cs: Added Selectable property.
2621 * CustomValidator.cs: removed interface.
2623 * MenuItem.cs: Added support for custom binding.
2624 * DropDownList.cs: Moved text properties to base class.
2626 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2628 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
2630 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2632 * Calendar.cs: when the day is active, modify the text of the literal
2633 control that holds the number, not the text of the TableCell. Also call
2634 OnDayRender before updating that text. Fixes bug #74718.
2636 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
2638 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
2640 * DataControlFieldHeaderCell.cs: Save Scope in view state.
2641 Added AbbreviatedText property.
2642 * AutoGeneratedField.cs: The constructor should actually be internal.
2643 * DataGridItem.cs: Added implemented interface in 2.0.
2644 * DataControlFieldCollection.cs: Implemented CloneFields and
2648 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2650 * StringArrayConverter.cs:
2651 * Calendar.cs: warnings.
2653 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
2655 * FormViewDeleteEventArgs.cs:
2656 * FormViewInsertEventArgs.cs:
2657 * FormViewUpdateEventArgs.cs:
2658 * FormViewDeletedEventArgs.cs:
2659 * FormViewUpdatedEventArgs.cs:
2660 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
2663 * IButtonControl.cs:
2664 * Button.cs: Removed SoftKey property.
2666 * CheckBox.cs: Don't try to load post back data if the control
2670 * AutoGeneratedField.cs:
2671 * DataControlField.cs:
2673 * ButtonFieldBase.cs:
2677 * ButtonField.cs: Don't bind fields in Insert state.
2678 Implemented CreateField and CopyProperties.
2681 * DetailsView.cs: Removed some unneeded interfaces. Don't
2682 generate the field rows if there are no items in the data source.
2683 Don't get the current keys until the whole control has been
2686 * DetailsViewInsertedEventArgs.cs:
2687 * DataBoundControl.cs:
2688 * ObjectDataSourceView.cs: Made some methods private.
2691 * Menu.cs: Changed some properties from int to Unit.
2693 * DataControlButton.cs: javascript prefix is needed when raising
2694 the postback event from a link.
2696 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
2697 The result was wrong when the total data source count was 0.
2699 * FormView.cs: Implemented.
2700 * FormViewRow.cs: Implemented.
2703 * Localize.cs: Fixed base interface.
2705 * BaseDataBoundControl.cs: In DataBind() call the base class
2706 DataBind method, so the binding context is properly set.
2708 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
2710 * DetailsView.cs: Added some null checks.
2711 * TemplateField.cs: Implemented support for two-way bindings.
2713 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
2715 * DetailsView.cs: Implemented support for Insert operation.
2716 Added header and footer templates. Added missing style
2718 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
2719 to get filter values. Other minor fixes.
2720 * CommandField.cs: Properly render the Insert and New buttons.
2721 * ObjectDataSource.cs: Update the parameter collections after
2722 the page is loaded. This will fire the ParameterChanged event
2724 * DataBoundControl.cs: The OnDataSourceViewChanged method
2725 is called when the view changes, not when the datasource
2728 * DetailsViewInsertedEventArgs.cs:
2729 * DetailsViewInsertEventArgs.cs: Implement Values property.
2732 * AutoGeneratedField.cs
2735 Take into account the Insert mode.
2737 * ParameterCollection.cs: Implemented UpdateValues and fixed
2738 GetValues (values can't be cached because can change).
2739 * Parameter.cs: Detect value changes in GetValue, and fire
2740 the change event if needed. Removed unused ParameterValue
2741 property. Other fixes.
2743 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
2745 * DetailsView.cs: Initial implementation.
2746 * ObjectDataSourceView.cs: Notify changes in the parameters.
2747 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
2748 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
2749 Implemented some properties.
2750 * GridView.cs: Added null check in SelectedValue. Don't return null
2751 for empty DataKeyNames list.
2752 * DetailsViewRowCollection.cs: Implemented.
2753 * DetailsViewRow.cs: Implemented.
2754 * ButtonFieldBase.cs: By default button field don't have headers.
2755 * BoundField.cs: Don't bind header fields.
2757 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
2759 * ButtonField.cs: Get data item properties using TypeDescriptor.
2760 Made OnDataBindField private.
2761 * ObjectDataSourceView.cs: Implemented support for Delete and
2762 Insert operations, support for filtering and sorting,
2763 conflict detection, etc. It's now complete.
2764 * ObjectDataSource.cs: Completed most of functionality. Only
2765 caching support is missing.
2766 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
2767 * TreeNode.cs: Get data item properties using TypeDescriptor.
2768 * PagerSettings.cs: Flush.
2769 * ObjectDataSourceFilteringEventArgs.cs: New event args.
2770 * GridView.cs: Get data item properties using TypeDescriptor
2771 and cache them. Properly set descending order in the sort
2772 expression. In UpdateRow, make sure we get the old values
2773 before the control is bound again.
2774 * ImageField.cs: Implemented.
2775 * AutoGeneratedField.cs: Initialize the field's sort
2776 expression in the constructor.
2777 * MenuItem.cs: Get data item properties using TypeDescriptor.
2778 * BoundField.cs: Get data item properties using TypeDescriptor.
2779 * CheckBoxField.cs: Added missing attributes.
2780 * TemplateField.cs: Implemented.
2782 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2785 * FontUnitConverter.cs: fixed ConvertTo to work with target
2786 InstanceDescriptor and value as a string.
2788 * Unit.cs: culture might be null.
2792 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
2794 * ButtonField.cs: Mostly implemented.
2795 * DataControlFieldHeaderCell.cs: Implemented.
2796 * ObjectDataSourceView.cs: Initial implementation.
2797 * DataControlButton.cs: Added support for real buttons.
2798 * Label.cs, DataControlField.cs: Flush.
2799 * ObjectDataSource.cs: Initial implementation.
2800 * HiddenField.cs: Added class stub.
2801 * GridView.cs: Load autogenerated field properties before
2802 creating the children, to make sure that column info is ready.
2803 * ControlParameter.cs: Implemented Evaluate method.
2804 * ImageField.cs: Added class stub.
2805 * BoundField.cs: Added HtmlEncode property.
2806 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
2808 * CheckBoxField.cs: Mostly implemented.
2809 * TemplateField.cs: Added class stub.
2810 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
2811 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
2812 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
2814 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
2816 * DataControlField.cs: Added missing InsertVisible property.
2817 * AutoGeneratedFieldProperties.cs: Implemented.
2818 * PagerSettings.cs: Minor fix.
2819 * GridView.cs: Implemented support for autogenerated fields, templates,
2820 accessible headers. Implemented paging using PagedDataSource.
2821 Implemented missing overridable methods.
2822 * AutoGeneratedField.cs: Initial implementation.
2823 * BoundField.cs: Added ReadOnly property.
2824 * PagedDataSource.cs: Implemented 2.0 api.
2825 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
2826 cell class to be used by accessible headers.
2827 * TableCell.cs: Removed unneded constructor. If the cell is bound to
2828 a template, call the default RenderContents method.
2830 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
2832 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
2833 event when loading the view state. Fixes #73746.
2835 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
2837 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
2839 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
2841 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
2843 * CommandField.cs: Mostly implemented.
2844 * Menu.cs: Use callback methods moved to ClientScriptManager.
2845 * DataControlButton.cs: Internal control used to implement buttons
2846 for navigating in data bound controls.
2847 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
2848 to render the column headers.
2849 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
2850 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
2851 Don't use Page.GetPostBackClientEvent
2852 since it is deprecated in 2.0.
2853 * GridView.cs: Implemented some several interfaces.
2854 Implemented support client sorting and page navigation (using callbacks).
2855 Implemented the autogenerated command column using the new CommandField
2857 * ButtonFieldBase.cs: Implemented.
2858 * GridView.js: New helper script to support client side sorting and
2859 paging in the grid view.
2861 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
2863 * DataKey.cs: Implemented.
2864 * XmlDataSourceView.cs: Implemented support for row pagging.
2865 * Table.cs: Fixed attribute value.
2866 * DataControlField.cs: Added support for sorting headers.
2867 * ChildTable.cs: Created.
2868 * ListControl.cs: Delay selection assignment, since control state
2869 is now loaded before view state.
2870 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
2871 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
2872 several missing properties.
2873 * PagerSettings.cs: Fully implemented.
2874 * BaseDataList.cs: Added null check.
2875 * GridView.cs: Implemented more functionality.
2876 * BoundField.cs: Added support for cell editing.
2877 * StringArrayConverter.cs: Implemented.
2878 * DataKeyArray.cs: Implemented.
2879 * BaseDataBoundControl.cs: Reset the requires binding flag before
2880 executing the query. This avoids recursive query calls.
2881 * GridViewRow.cs: Handler commands raised from row childs.
2883 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
2885 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
2886 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
2887 it is possible to query for properties fore each data item.
2888 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
2889 when loading its view state.
2890 * DataControlField.cs: Implement properties using a StateBag.
2891 * XmlDataSourcePropertyDescriptor.cs: Implemented.
2892 * PagerSettings.cs: Mostly implemented.
2893 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
2894 * DataBoundControl.cs: Added null check.
2895 * GridView.cs: Initial implementation.
2896 * CompositeDataBoundControl.cs: Implemented.
2897 * BoundField.cs: Initial implementation.
2898 * GridViewRowCollection.cs: Initial implementation.
2899 * DataControlFieldCollection.cs: Initial implementation.
2900 * DataControlFieldCell.cs: Fixed control tag.
2901 * GridViewRow: Initial implementation.
2902 * XmlDataSourceNodeDescriptor.cs: Implemented.
2904 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2906 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
2907 is zero, use the TagName no matter its value. Fixes bug #72415.
2909 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
2911 * Style.cs: Method name fix.
2912 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
2913 * BaseCompareValidator.cs: Method signature fix.
2914 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
2915 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
2916 * BulletedList.cs: Added missing method.
2917 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
2919 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
2921 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
2922 * RadioButton.cs: Added missing 2.0 methods.
2923 * ListItem.cs: Added Enabled property.
2924 * MailMessageEventArgs.cs: Use the correct message class.
2925 * ListControl.cs: Implemented missing properties and support for
2926 control state. Implemented base RenderContents method.
2927 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
2929 * BaseCompareValidator.cs: Implemented methods that support conditional
2930 use of the invariant culture.
2931 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
2932 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
2933 It takes a DbCommand instead of a IDbCommand.
2934 * GridViewSortEventArgs.cs: Added SortDirection property.
2935 * TextBox.cs, CheckBoxList.cs: Added protected version of
2936 IPostBackDataHandler methods.
2937 * RadioButtonList.cs: Added protected version of
2938 IPostBackDataHandler and IRepeatInfoUser methods.
2939 * Repeater.cs: Updated some method names.
2940 * DropDownList.cs: Added protected version of
2941 IPostBackDataHandler methods. Reuse RenderContents from base class.
2942 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
2943 * GridViewUpdatedEventArgs.cs: Fix typo.
2944 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
2945 Reuse RenderContents from base class.
2946 * BaseDataBoundControl.cs: Several fixes.
2947 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
2949 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
2951 * CheckBoxList.cs: Fix build.
2953 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
2955 * Button.cs: Use validation group when validating page.
2956 * XmlDataSourceView.cs: Implemented ExecuteSelect.
2957 * Menu.cs: Minor fix.
2958 * CheckBox.cs: Added 2.0 properties and methods.
2959 * BaseDataList.cs: Always databind the control if view state
2961 * DataList.cs: In 2.0, use control state to save the selected index.
2962 * DetailsViewUpdatedEventArgs.cs: Fix typo.
2963 * CustomValidator.cs: Implement IStaticTextControl interface.
2964 * CheckBoxList.cs: Added missing 2.0 methods.
2965 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
2967 * XmlDataSource.cs: Return childs of DocumentElement, not the root
2969 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
2970 Implemented 2.0 API.
2973 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
2975 * Button.cs: Implemented all missing 2.0 features.
2976 * Table.cs: Render the table caption, when specified.
2977 * Calendar.cs: Implemented most of missing 2.0 features.
2978 * TableCell.cs: Fixed attributes.
2980 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
2982 * ControlPropertyNameConverter.cs: Added file.
2984 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
2986 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
2987 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
2988 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
2989 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
2990 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
2991 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
2992 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
2993 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
2994 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
2995 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
2996 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
2997 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
2998 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
2999 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
3000 DataGridSortCommandEventArgs.cs, Repeater.cs,
3001 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
3002 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
3003 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
3004 CompareValidator.cs, HierarchicalDataBoundControl.cs,
3005 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
3006 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
3007 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
3008 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
3009 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
3010 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
3011 AdCreatedEventArgs.cs:
3013 General 2.0 API fixes: missing attributes, incorrect inheritance,
3014 missing sealed keywords, wrong signatures, etc.
3016 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
3018 * Table.cs: Added some 2.0 properties.
3019 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
3021 * BaseValidator.cs: Fix warning.
3022 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
3024 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
3026 * Menu.cs: Rendering fixes.
3028 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
3030 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
3031 ContentPlaceHolderBuilder.cs: Implemented.
3033 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3035 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
3036 attributes that are meant to be in the input tag in their place.
3038 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
3040 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
3041 generates invalid html).
3043 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
3045 * Menu.cs: Implemented most of missing properties. Added support for
3046 item templates. Implemented menu scrolling.
3047 * MenuItemBinding.cs: Implemented most of missing properties.
3048 * MenuItem.cs: Implemented most of missing properties.
3049 * Menu.js: Implemented scrolling and menu reposition into screen.
3050 * MenuItemTemplateContainer.cs: Implemented.
3051 * SubMenuStyle.cs: Implemented.
3053 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
3055 * Style.cs: Implemented RegisteredCssClass property. Added
3056 CopyTextStylesFrom method, which copies styles that only apply to text.
3057 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
3058 in the page stylesheet. Added support for ItemSpacing property.
3059 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
3061 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
3063 * Style.cs: Generate styles using a CssStyleCollection, so the code can
3064 be reused for the 2.0 FillStyleAttributes method.
3065 * Menu.cs: Implemented more properties and events. Rendering is very
3067 * MenuItem.cs: Added PopOutImageUrl property.
3068 * Menu.js: More work on submenu management.
3070 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
3072 * Menu.cs: Implemented basic rendering. Added some missing properties.
3073 * MenuItem.cs: Improved implementation of Depth.
3074 * Unit.cs: Added serializable attribute.
3075 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
3076 so it can be reused.
3077 * Menu.js: New script to support he Menu control.
3079 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
3081 * MenuEventArgs.cs: Changed to sealed.
3082 * TreeView.cs: Minor fix.
3083 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
3084 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
3085 MenuItemStyleCollection.cs: Initial Menu code.
3087 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
3089 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
3090 Implemented SetDirtyObject.
3091 * Style.cs: Implemented SetDirty().
3092 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
3093 * TreeNode.cs: Added missing attributes added support for
3094 PopulateOnDemand. Added some missing property bindings.
3095 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
3096 to newly added elements to make sure al new data is saved.
3097 * TreeView.js: Implemented support for client population of nodes.
3098 * TreeNodeStyle.cs: Added missing attributes.
3099 * TreeView.cs: Implemented support for PopulateNodesFromClient and
3100 PopulateOnDemand. Improved rendering.
3102 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
3104 * DataControlField.cs:
3105 * DataControlFieldCell.cs: Initial implementation.
3107 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
3109 * TreeNodeBindingCollection.cs: Implemented.
3110 * TreeNodeBinding.cs: Implemented.
3111 * TreeNode.cs: Added support for data binding.
3112 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
3113 TreeView_Default_NoExpand.gif: Moved to resources directory.
3114 * ListControl.cs: Fixed api.
3115 * XmlHierarchicalEnumerable.cs: Made internal.
3116 * DataBoundControl.cs: Modified api to match latest ms.net.
3117 * TreeView.js: New javascript file to support TreeView in the client.
3118 * XmlDataSource.cs: Added missing attributes.
3119 * HierarchicalDataBoundControl.cs: Mostly implemented.
3120 * BaseDataBoundControl.cs: Mostly implemented.
3121 * XmlHierarchyData.cs: Made internal.
3122 * TreeView.cs: Mostly implemented. The major missing feature is
3123 client side tree population.
3125 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
3128 * DataBountControl.cs:
3129 * Repeater.cs: Added SelectArguments property and updated.
3130 * SiteMapDataSourceView.cs:
3131 * SqlDataSourceView.cs:
3132 * XmlDataSourceView.cs: Removed extra method, which was there to
3133 keep things compiling.
3135 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
3137 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
3138 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
3139 TreeView.cs: Initial implementation.
3140 * DataBoundControl.cs: Set the correct base class.
3141 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
3142 * TreeNodeSelectAction.cs: Formatting.
3143 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
3144 TreeView_Default_NoExpand.gif: TreeView images.
3146 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
3148 * SqlDataSourceView.cs: Updated methods and added one property.
3150 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
3152 * AccessDataSource.cs:
3153 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
3154 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
3156 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
3157 * SqlDataSourceView.cs: Updated constructor.
3159 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
3161 * AccessDataSourceView.cs: Added new class.
3163 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
3165 * SqlDataSourceView.cs: Corrected exception handling in
3166 ExecuteSelect method.
3168 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
3170 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
3171 * SiteMapDataSourceView.cs: Minor fix.
3173 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
3175 * SqlDataSourceView.cs: Updated ExecuteSelect method.
3177 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
3179 * SqlDataSource.cs: Corrected Select method.
3181 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
3183 * SqlDataSource.cs: Updated Select method definition.
3184 * SqlDataSourceStatusEventArgs.cs: Updated class.
3186 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
3188 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
3189 from DataSourceView.cs).
3191 2004-11-10 Raja R Harinath <rharinath@novell.com>
3193 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
3195 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
3197 * SqlDataSource.cs: Corrected method calls.
3198 * SqlDataSourceView.cs: Partial implementation of few methods.
3200 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3202 * ListItemCollection.cs: fixed bug when indexing changed elements in
3203 LoadViewState. Patch from Alois BĻlaška.
3205 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
3207 * SiteMapDataSourceView.cs:
3208 * SqlDataSourceView.cs:
3209 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
3210 base class, DataSourceView. Changes are to keep things compiling.
3212 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
3214 * SiteMapDataSourceView.cs: Corrected class definition and updated.
3215 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
3218 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
3220 * AdRotator.cs: Updated.
3222 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
3224 * AccessDataSource.cs: Updated.
3226 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
3228 * ValidatedControlConverter.cs: Updated.
3230 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
3232 * AssociatedControlConverter.cs: Implemented.
3234 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
3236 * ControlIDConverter.cs: Initial implementation.
3238 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
3240 * IButtonControl.cs: Corrected property name.
3242 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
3244 * ParameterCollection.cs: Updated.
3246 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
3248 * Parameter.cs: Updated and completed implementation.
3250 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
3252 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
3255 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
3257 * AccessDataSource.cs: Initial implementation.
3259 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
3261 * DataControlRowState.cs:
3263 * TreeNodeTypes.cs: Added attribute.
3264 * DataControlRowType.cs:
3266 * SortDirection.cs: Corrected enumeration values.
3267 * TableRowSection.cs: Added new enumeration.
3268 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
3270 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3272 * TableStyle.cs: don't render empty 'rules' attribute (again).
3274 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
3276 * FormViewUpdatedEventArgs.cs: Spelling mistake.
3278 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
3280 * Literal.cs: Added new method Focus().
3282 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3284 * RadioButton.cs: fix GroupName when the control is inside a
3285 NamingContainer different from Page. Closes bug #65586.
3287 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
3289 * Localize.cs: Added new class.
3291 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
3293 * CompositeControl.cs : Completed
3294 * Login.cs : Initial implementation.
3296 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3298 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
3299 don't call MapPathSecure on the content itself.
3301 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
3302 document is checked at parse time and will be checked again at run time.
3306 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
3308 * AuthenticateEventHandler.cs:
3309 * CreateUserErrorEventArgs.cs:
3310 * CreateUserErrorEventHandler.cs:
3311 * DetailsViewCommandEventHandler.cs:
3312 * DetailsViewDeleteEventArgs.cs:
3313 * DetailsViewDeleteEventHandler.cs:
3314 * DetailsViewDeletedEventArgs.cs:
3315 * DetailsViewDeletedEventHandler.cs:
3316 * DetailsViewInsertEventArgs.cs:
3317 * DetailsViewInsertEventHandler.cs:
3318 * DetailsViewInsertedEventArgs.cs:
3319 * DetailsViewInsertedEventHandler.cs:
3320 * DetailsViewModeEventArgs.cs:
3321 * DetailsViewModeEventHandler.cs:
3322 * DetailsViewPageEventHandler.cs:
3323 * DetailsViewUpdateEventArgs.cs:
3324 * DetailsViewUpdateEventHandler.cs:
3325 * DetailsViewUpdatedEventArgs.cs:
3326 * DetailsViewUpdatedEventHandler.cs:
3327 * FormViewCommandEventHandler.cs:
3328 * FormViewDeleteEventArgs.cs:
3329 * FormViewDeleteEventHandler.cs:
3330 * FormViewDeletedEventArgs.cs:
3331 * FormViewDeletedEventHandler.cs:
3332 * FormViewInsertEventArgs.cs:
3333 * FormViewInsertEventHandler.cs:
3334 * FormViewInsertedEventArgs.cs:
3335 * FormViewInsertedEventHandler.cs:
3336 * FormViewModeEventHandler.cs:
3337 * FormViewPageEventHandler.cs:
3338 * FormViewUpdateEventArgs.cs:
3339 * FormViewUpdateEventHandler.cs:
3340 * FormViewUpdatedEventArgs.cs:
3341 * FormViewUpdatedEventHandler.cs:
3342 * GridViewCancelEditEventArgs.cs:
3343 * GridViewCancelEditEventHandler.cs:
3344 * GridViewCommandEventHandler.cs:
3345 * GridViewDeleteEventArgs.cs:
3346 * GridViewDeleteEventHandler.cs:
3347 * GridViewDeletedEventArgs.cs:
3348 * GridViewDeletedEventHandler.cs:
3349 * GridViewEditEventHandler.cs:
3350 * GridViewPageEventHandler.cs:
3351 * GridViewRowEventHandler.cs:
3352 * GridViewSelectEventHandler.cs:
3353 * GridViewSortEventArgs.cs:
3354 * GridViewSortEventHandler.cs:
3355 * GridViewUpdateEventArgs.cs:
3356 * GridViewUpdateEventHandler.cs:
3357 * GridViewUpdatedEventArgs.cs:
3358 * GridViewUpdatedEventHandler.cs:
3359 * ImageMapEventHandler.cs:
3360 * MailMessageEventHandler.cs:
3361 * MenuEventHandler.cs:
3362 * ObjectDataSourceDisposingEventHandler.cs:
3363 * ObjectDataSourceEventHandler.cs:
3364 * ObjectDataSourceMethodEventArgs.cs:
3365 * ObjectDataSourceMethodEventHandler.cs:
3366 * ObjectDataSourceSelectingEventArgs.cs:
3367 * ObjectDataSourceSelectingEventHandler.cs:
3368 * ObjectDataSourceStatusEventArgs.cs:
3369 * ObjectDataSourceStatusEventHandler.cs:
3370 * SendMailErrorEventHandler.cs:
3371 * SiteMapNodeItemEventHandler.cs:
3372 * SqlDataSourceSelectingEventArgs.cs:
3373 * SqlDataSourceSelectingEventHandler.cs:
3374 * TreeNodeEventHandler.cs:
3375 * WizardNavigationEventArgs.cs:
3376 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
3377 corrections and removing "sealed" access specifier from *EventHandler.cs
3379 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
3381 * Literal.cs: Added new attributes and property for .Net 2.0
3383 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
3385 * GridViewDeleteEventArgs.cs: Removed extra code.
3387 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
3389 * SendMailErrorEventArgs.cs:
3390 * SendMailErrorEventHandler.cs:
3391 * SiteMapNodeItemEventArgs.cs:
3392 * SiteMapNodeItemEventHandler.cs:
3393 * SqlDataSourceSelectingEventArgs.cs:
3394 * SqlDataSourceSelectingEventHandler.cs:
3395 * TreeNodeEventArgs.cs:
3396 * TreeNodeEventHandler.cs:
3397 * WizardNavigationEventArgs.cs:
3398 * WizardNavigationEventHandler.cs: Added new delegates.
3400 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
3402 * ImageMapEventArgs.cs:
3403 * ImageMapEventHandler.cs:
3404 * MailMessageEventArgs.cs:
3405 * MailMessageEventHandler.cs:
3407 * MenuEventHandler.cs:
3408 * ObjectDataSourceDisposingEventArgs.cs:
3409 * ObjectDataSourceDisposingEventHandler.cs:
3410 * ObjectDataSourceEventArgs.cs:
3411 * ObjectDataSourceEventHandler.cs:
3412 * ObjectDataSourceMethodEventArgs.cs:
3413 * ObjectDataSourceMethodEventHandler.cs:
3414 * ObjectDataSourceSelectingEventArgs.cs:
3415 * ObjectDataSourceSelectingEventHandler.cs:
3416 * ObjectDataSourceStatusEventArgs.cs:
3417 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
3419 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
3421 * DetailsViewCommandEventArgs.cs:
3422 * FormViewCommandEventArgs.cs:
3423 * GridViewCommandEventArgs.cs: Corrected constructor.
3425 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
3427 * GridViewCancelEditEventArgs.cs:
3428 * GridViewCancelEditEventHandler.cs:
3429 * GridViewCommandEventArgs.cs:
3430 * GridViewCommandEventHandler.cs:
3431 * GridViewDeletedEventArgs.cs:
3432 * GridViewDeletedEventHandler.cs:
3433 * GridViewDeleteEventArgs.cs:
3434 * GridViewDeleteEventHandler.cs:
3435 * GridViewEditEventArgs.cs:
3436 * GridViewEditEventHandler.cs:
3437 * GridViewPageEventArgs.cs:
3438 * GridViewPageEventHandler.cs:
3439 * GridViewRowEventArgs.cs:
3440 * GridViewRowEventHandler.cs:
3441 * GridViewSelectEventArgs.cs:
3442 * GridViewSelectEventHandler.cs:
3443 * GridViewSortEventArgs.cs:
3444 * GridViewSortEventHandler.cs:
3445 * GridViewUpdatedEventArgs.cs:
3446 * GridViewUpdatedEventHandler.cs:
3447 * GridViewUpdateEventArgs.cs:
3448 * GridViewUpdateEventHandler.cs: Added new delegates.
3450 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
3452 * FormViewUpdatedEventArgs.cs: Corrected constructor.
3454 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
3456 * FormViewCommandEventArgs.cs: Corrected name of class.
3458 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3460 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
3463 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
3465 * FormViewCommandEventArgs.cs:
3466 * FormViewCommandEventHandler.cs:
3467 * FormViewDeletedEventArgs.cs:
3468 * FormViewDeletedEventHandler.cs:
3469 * FormViewDeleteEventArgs.cs:
3470 * FormViewDeleteEventHandler.cs:
3471 * FormViewInsertedEventArgs.cs:
3472 * FormViewInsertedEventHandler.cs:
3473 * FormViewInsertEventArgs.cs:
3474 * FormViewInsertEventHandler.cs:
3475 * FormViewModeEventArgs.cs:
3476 * FormViewModeEventHandler.cs:
3477 * FormViewPageEventArgs.cs:
3478 * FormViewPageEventHandler.cs:
3479 * FormViewUpdatedEventArgs.cs:
3480 * FormViewUpdatedEventHandler.cs:
3481 * FormViewUpdateEventArgs.cs:
3482 * FormViewUpdateEventHandler.cs: Added new delegates.
3484 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
3486 * DetailsViewCommandEventArgs.cs:
3487 * DetailsViewCommandEventHandler.cs:
3488 * DetailsViewDeletedEventArgs.cs:
3489 * DetailsViewDeletedEventHandler.cs:
3490 * DetailsViewDeleteEventArgs.cs:
3491 * DetailsViewDeleteEventHandler.cs:
3492 * DetailsViewInsertedEventArgs.cs:
3493 * DetailsViewInsertedEventHandler.cs:
3494 * DetailsViewInsertEventArgs.cs:
3495 * DetailsViewInsertEventHandler.cs:
3496 * DetailsViewModeEventArgs.cs:
3497 * DetailsViewModeEventHandler.cs:
3498 * DetailsViewPageEventArgs.cs:
3499 * DetailsViewPageEventHandler.cs:
3500 * DetailsViewUpdatedEventArgs.cs:
3501 * DetailsViewUpdatedEventHandler.cs:
3502 * DetailsViewUpdateEventArgs.cs:
3503 * DetailsViewUpdateEventHandler.cs: Added new delegates.
3505 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
3507 * AuthenticateEventArgs.cs:
3508 * AuthenticateEventHandler.cs:
3509 * CreateUserErrorEventArgs.cs:
3510 * CreateUserErrorEventHandler.cs: Added new delegates.
3512 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
3514 * IButtonControl.cs:
3515 * ICallbackContainer.cs:
3516 * ICompositeControlDesignerAccessor.cs:
3517 * IPostBackContainer.cs: Added new interfaces.
3519 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
3522 * AutoCompleteType.cs:
3523 * ContentDirection.cs:
3524 * DataControlCellType.cs:
3525 * DataControlRowState.cs:
3526 * DataControlRowType.cs:
3527 * DetailsViewMode.cs:
3528 * DynamicImageParameterMode.cs:
3531 * ImageFieldMode.cs:
3538 * SiteMapNodeItemType.cs:
3539 * SiteMapNodeType.cs:
3540 * SiteMapViewType.cs:
3542 * TableCaptionAlign.cs:
3543 * TableHeaderScope.cs:
3545 * TreeNodeSelectAction.cs:
3547 * TreeViewImageSet.cs:
3548 * WizardStepType.cs: Added enumerations
3550 2004-08-02 Duncan Mak <duncan@ximian.com>
3553 * LoginFailureAction.cs:
3554 * LoginTextLayout.cs: Added enumerations.
3556 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3558 * BaseValidator.cs: in Validate(), when the control is not visible or
3559 enabled, return inmediately after setting IsValid to true. Fixes bug
3562 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3564 * DataList.cs: s/HasChildren/HasControls()/.
3566 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3568 * DataList.cs: style.
3570 2004-07-27 Alon Gazit <along@mainsoft.com>
3571 * DataList.cs: Replaced foreach statement with for statement,
3572 in order to improve performence.
3574 2004-07-27 Alon Gazit <along@mainsoft.com>
3575 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
3577 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
3578 switch statements in order to improve performance.
3580 2004-06-10 Alon Gazit <along@mainsoft.com>
3581 * WebControl.cs: fixed LoadViewState().
3582 Creates new attributes state bag only when the current is null.
3584 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3586 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
3588 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3590 * Calendar.cs: set the title class attribute if we have it. Fixes bug
3593 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3595 * Style.cs: added SetBit.
3597 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3600 * CompareValidator.cs:
3603 * WebControl.cs: Added protected missing members and attributes.
3605 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3607 * TextBox.cs: don't save the Text if in ViewState if it's a password.
3608 Save it if the control is not visible or not enabled. Fixes bug #58497.
3610 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3612 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
3615 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
3617 * SqlDataSourceCommandEventArgs:
3618 * XmlDataSource.cs : removed temporary workarounds for CLS
3619 compliance as System.Data is now CLS compliant
3621 2004-05-06 Alon Gazit <along@mainsoft.com>
3622 * WebControl.cs: fixed LoadViewState() and SaveViewState().
3623 Before the change the Enabled property wasn't updated when a postback
3625 * ListControl.cs: fixed SelectedIndex property implementation.
3626 Prevents throwing ArgumentOutOfRangeException (that should not be
3627 thrown), when the list is empty.
3629 2004-04-28 Alon Gazit <along@mainsoft.com>
3630 * WebControl.cs: fixed LoadViewState().
3631 Always loading the saved attributes collection.
3633 2004-04-18 Alon Gazit <along@mainsoft.com>
3634 * Repeater.cs: fixed InstantiateItem() and DataSource property.
3635 The change in DataSource prevents throwing ArgumentException while
3636 setting property value to null.
3637 The change in InstantiateItem() prevents NullReferenceException.
3639 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
3641 * BaseValidator.cs: Store Display property in the correct ViewState
3642 property. Don't render anything if Display is ValidatorDisplay.None.
3644 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
3646 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
3647 since it is already a physical path. Fixes bug #55334.
3649 2004-02-13 Jackson Harper <jackson@ximian.com>
3651 * Calendar.cs: Match MS postback data. This allows sites that
3652 parse the postback data manually to work.
3654 2004-02-04 Alon Gazit <along@mainsoft.com>
3655 * EditCommandColumn.cs: fixed InitializeCell().
3656 The rendered LiteralControl should contain " " and not " ".
3658 2004-02-01 Alon Gazit <along@mainsoft.com>
3660 * DataGrid.cs: fixed a problem in the paging mechanism in the method
3662 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
3663 while clicking the "..." link in the second page.
3665 2004-01-28 Alon Gazit <along@mainsoft.com>
3667 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
3669 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3671 * Calendar.cs: when rendering days, add a LiteralControl containing the
3672 day before OnDayRender is called. Only generate the default links for
3673 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
3675 2004-01-21 Martin Baulig <martin@ximian.com>
3677 * XmlHierarchyData.cs: Make this compile with csc.
3679 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
3680 accessor since the base class doesn't have one.
3682 2004-01-18 Alon Gazit <along@mainsoft.com>
3684 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
3686 2004-01-18 Alon Gazit <along@mainsoft.com>
3688 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
3689 Property default value.
3690 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
3691 Property default value.
3693 2004-01-15 Alon Gazit <along@mainsoft.com>
3695 * RadioButtonList.cs: RepeatLayout property should affect the rendered
3698 2004-01-15 Alon Gazit <along@mainsoft.com>
3699 * FontInfo.cs: Add validation check to Size property.
3701 2004-01-07 Alon Gazit <along@mainsoft.com>
3702 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
3703 merge the column's style to the cell's style and not to
3704 the item's(row) style.
3706 2004-01-04 Alon Gazit <along@mainsoft.com>
3707 * RangeValidator.cs: Fixed ControlPropertiesValid().
3709 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3711 * Xml.cs: mono-stylized and removed warnings.
3713 2004-1-1 Alon Gazit <along@mainsoft.com>
3714 * RadioButtonList.cs: update RenderItem() so that each RadioButton
3715 is enabled or disabled like the RadioButtonList.
3716 * CheckBoxList.cs: update RenderItem() so that each CheckBox
3717 is enabled or disabled like the CheckBoxList.
3719 2004-1-1 Alon Gazit <along@mainsoft.com>
3720 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
3721 The Header or Footer Style shouldn't merge with the cells Style.
3723 2004-1-1 Alon Gazit <along@mainsoft.com>
3724 * DataGridColumn.cs: Headers and Footers are initialized
3725 with the relevant Style object.
3727 2003-12-30 Alon Gazit <along@mainsoft.com>
3728 * RepeatInfo.cs: Fixed DoVerticalRendering () and
3729 DoHorizontalRendering().
3730 Current implementation produces few extra html tags.
3732 2003-12-29 Alon Gazit <along@mainsoft.com>
3734 * CheckBox.cs: change the implementation of LoadPostData.
3735 Currently, while the AutoPostBack property equals true ,
3736 it isn't possible to perform uncheck.
3738 2003-12-19 Jackson Harper <jackson@ximian.com>
3740 * TableCell.cs: Setting a cells text should clear its control
3741 collection as per la specification. This fixes bug #51825.
3743 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3745 * DataGridColumn.cs: stylized LoadViewState.
3746 * DataGridColumnCollection.cs: when TrackViewState is called, also
3747 call it on all the existing columns. Fixes bug #52334.
3749 2003-12-18 Alon Gazit <along@mainsoft.com>
3751 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
3754 2003-12-18 Alon Gazit <along@mainsoft.com>
3756 * TableStyle.cs: merge TableStyle properties when Style is empty.
3758 2003-12-16 Alon Gazit <along@mainsoft.com>
3760 * HyperLink.cs: Change Text property implementation. in MS when the Text
3761 property is set, all the controls in the HyperLink are being deleted.
3762 This fixes bug #52239.
3764 2003-12-15 Alon Gazit <along@mainsoft.com>
3765 * RepeatInfo.cs: Fixed DoVerticalRendering () and
3766 DoHorizontalRendering().
3767 Both methods add additional empty table row in the head of each item
3768 table when the variable named isTable equals true (happenes with the
3769 default instantiation of RepeatInfo). These additional rows should be
3770 added when isTable equals false.
3771 This fixes bug #52225.
3773 2003-12-15 Alon Gazit <along@mainsoft.com>
3775 * RepeatInfo.cs: Fixed DoVerticalRendering() and
3776 DoHorizontalRendering().
3777 Both methods add to rendered Header a colspan attribute according to the
3778 rows count. after the change the colspan is added according to the
3781 2003-12-15 Alon Gazit <along@mainsoft.com>
3782 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
3783 In .NET if the checkbox is disabled ,its text appears disabled too.
3784 In Mono the text appears enabled. the fix is in Render().
3785 This fixes bug #52180.
3787 2003-12-15 Alon Gazit <along@mainsoft.com>
3788 * Repeater.cs: Change the implementation of CreateControlHierarchy().
3789 The current implementation renders extra Header and footer
3790 without Repeater.DataSource assign.
3791 This fixes bug #52179.
3793 2003-12-15 Alon Gazit <along@mainsoft.com>
3794 * DataGrid.cs: Change the implementation of the property
3795 BackImageUrl. The current implementation has no influence
3796 on the rendered Html.
3798 2003-12-15 Alon Gazit <along@mainsoft.com>
3799 * WebControl.cs: Change the implementation of the property
3800 Enabled. Before the change the WebControl also looked at
3801 parent.Enabled . fixed bug #52171.
3803 2003-12-11 Jackson Harper <jackson@ximian.com>
3805 * RepeatInfo.cs: When rendering vertically figure out how many
3806 colmns are not going to be filled in in the last row, and adjust
3807 things accordingly. This fixes bug #51863.
3809 2003-12-10 Alon Gazit <along@mainsoft.com>
3810 * TableRow.cs: Change the implementation of the properties
3811 HorizontalAlign and VerticalAlign. The current implementation
3812 has no influence on the rendered Html.
3814 2003-12-10 Alon Gazit <along@mainsoft.com>
3815 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
3816 property's set method.
3818 2003-12-09 Jackson Harper <jackson@ximian.com>
3820 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
3821 Increment counter when moving to start. Fixes bug #51926.
3823 2003-12-08 Jackson Harper <jackson@ximian.com>
3825 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
3826 Benjamin Jemlich. Fixes bug #51823.
3828 2003-12-07 Alon Gazit <along@mainsoft.com>
3829 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
3830 property is set to false. Fixes bug #58120.
3832 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3834 * TableItemStyle.cs: merge TableItemStyle properties when Style is
3835 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
3837 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3839 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
3842 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3844 * WebControl.cs: don't create the attributes when GetAttribute is
3847 2003-12-01 Jackson Harper <jackson@ximian.com>
3849 * WebControl.cs: Only allow access keys to be null or a single
3850 char. Patch by Alon Gazit <along@mainsoft.com>.
3852 2003-11-30 Jackson Harper <jackson@ximian.com>
3854 * CheckBoxList.cs: A checkbox will have null post data if it is
3855 unselected. This fixes bug #51516.
3857 2003-11-29 Jackson Harper <jackson@ximian.com>
3859 * DataGrid.cs: Display paging controls even when there is no
3860 data. Path by Mohammad DAMT. Fixes bug #51487.
3862 2003-11-29 Jackson Harper <jackson@ximian.com>
3864 * DataGrid.cs: Call TrackViewState when loading bound columns view
3865 state. So that their state is saved. This fixes bug #51424. Also
3868 2003-11-26 Jackson Harper <jackson@ximian.com>
3870 * BaseDataList.cs: Change && to || We will call that a typo so no
3871 one gets embarrased.
3873 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3875 * BaseDataList.cs: allow setting null as Datasource.
3877 * DataGrid.cs: keep autogenerated columns in the ViewState.
3879 Patches by Alon Gazit <along@mainsoft.com>.
3881 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
3883 * SqlDataSource*: Implement almost everything. Data access is
3886 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
3888 * Calendar.cs (SaveViewState):
3889 - We were allocating a 11 item array, we only used 10 items,
3890 so only allocate 10.
3891 - We only need to save the selected dates if there are any.
3892 * DataGrid.cs (SaveViewState):
3893 * DataGridColumn.cs (SaveViewState):
3894 * DataGridColumnCollection.cs (SaveViewState):
3895 - Only return the array if there is anything in it
3896 * Style.cs (SaveViewState):
3897 - Only save the bits if there were changes.
3898 * WebControl.cs (SaveViewState), (LoadViewState):
3899 - Don't save Enabled into the viewstate here, we already
3900 do it in the property. This just caused *EVERY* control
3901 to have a non-null state, taking up lots of extra room
3903 - The style will always be created with this control's
3904 viewstate, so the style will always return null for the
3905 viewstate. As such, we do not need to store it. We can
3906 also reduce the triplet to a pair because of this.
3908 2003-11-22 Jackson Harper <jackson@ximian.com>
3910 * ValidationSummary.cs: Fix number of messages and message array computation.
3912 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3914 * Xml.cs: Corrected attribute
3915 * XmlBuilder.cs: Added
3917 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3919 * Xml.cs: class status based fixes.
3921 2003-11-19 Jackson Harper <jackson@ximian.com>
3923 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
3925 2003-11-19 Jackson Harper <jackson@ximian.com>
3927 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
3928 teh applications base directory. This fixes bug #51092.
3930 2003-11-18 Todd Berman <tberman@gentoo.org>
3932 * ControlParameter.cs:
3933 * CookieParameter.cs:
3935 * QueryStringParameter.cs:
3936 * SessionParameter.cs: added public .ctor ()
3937 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
3938 and handling, as well as internal ParameterValue for easy access.
3939 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
3940 * ParameterCollection.cs: implementation redux.
3942 2003-11-18 Todd Berman <tberman@gentoo.org>
3944 * ParameterCollection.cs: Implemented
3945 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
3946 ToString () now matches asp.net
3948 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
3950 * ControlParameter.cs:
3951 * CookieParameter.cs:
3954 * QueryStringParameter.cs: New v2 files. Mostly
3955 implemented, still need a few methods.
3957 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3959 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
3960 Gazit <along@mainsoft.com>.
3962 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3964 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
3965 Patch by Alon Gazit <along@mainsoft.com>.
3967 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
3969 * DataBoundControl.cs: Implement
3970 * ListControl.cs: inherit from the above.
3971 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
3973 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
3978 * Repeater.cs: add v2 databinding stuff
3979 * XmlDataSource.cs: make it load the xml.
3981 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
3984 * XmlDataSourceView.cs:
3985 * XmlHierarchicalDataSourceView.cs:
3986 * XmlHierarchicalEnumerable.cs:
3987 * XmlHierarchyData.cs: Implement
3989 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
3991 * SiteMapDataSourceView.cs: Implement.
3993 2003-11-07 Jackson Harper <jackson@ximian.com>
3995 * ImageButton.cs: This is a workaround for bug #49819. It appears
3996 that the .x and .y values are not being posted, and only the x
3997 value is being posted with the ctrl's id as the key.
3999 2003-11-07 Jackson Harper <jackson@ximian.com>
4001 * DataGrid.cs (CreateControlHierarchy): Current page index is
4002 alolowed to equal page count. This prevents an exception being
4003 thrown when both are zero.
4005 2003-11-06 Jackson Harper <jackson@ximian.com>
4007 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
4008 * BaseValidator.cs: Disable base control so the isValid flag is
4011 2003-11-03 Jackson Harper <jackson@ximian.com>
4013 * TemplateColumn.cs: Use the same renderer for selected items as
4014 normal items. This fixes bug #49744.
4016 2003-11-03 Jackson Harper <jackson@ximian.com>
4019 * WebControl.cs: Fix argument out of range exceptions on
4020 properties. Patch by Yaron Shkop.
4022 2003-11-03 Jackson Harper <jackson@ximian.com>
4024 * TemplateColumn.cs: If the item is selected but there is no
4025 editItemTemplate use the itemTemplate. This matches MS behvoir.
4027 2003-11-03 Jackson Harper <jackson@ximian.com>
4029 * Repeater.cs: Always set alternating items to the AlternatingItem
4030 type, when instantiating alternating items use the itemTemplate if
4031 the alternatingItem template is null. This matches MS behavoir and
4034 2003-11-03 Jackson Harper <jackson@ximian.com>
4036 * DataGridPagerStyle.cs: Name of view state attribute is
4037 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
4038 visibility is changed. Patch by Yaron Shkop.
4040 2003-11-03 Jackson Harper <jackson@ximian.com>
4042 * RepeatInfo.cs: When doing horizontal rendering use the repeat
4043 columns as the number of columns in a row. This fixes bug #49016.
4045 2003-11-03 Jackson Harper <jackson@ximian.com>
4047 * PagedDataSource.cs (PageCount): Return page count of 1 if there
4048 paging is disabled. Patch by Yaron Shkop.
4049 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
4050 * TableStyle.cs (AddAttributesToRender): Render border style
4051 collapse. Patch by Yaron Shkop.
4053 * TableItemStyle.cs:
4054 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
4055 the wrong type. Patch by Yaron Shkop.
4057 2003-11-03 Jackson Harper <jackson@ximian.com>
4059 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
4061 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
4064 * BulletedListDisplayMode.cs:
4065 * BulletedListEventHandler.cs:
4067 * BulletedListEventArgs.cs: V2 controls (yay!)
4069 2003-10-30 Jackson Harper <jackson@ximian.com>
4071 * Repeater.cs: Throw an exception if the datasource is set to
4072 something that does not implement either IListSource or
4073 IEnumerable. This fixes bug #50155.
4075 2003-10-30 Jackson Harper <jackson@ximian.com>
4077 * DataGridPagerStyle.cs: Do not allow page button counts to be set
4078 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
4080 2003-10-29 Jackson Harper <jackson@ximian.com>
4082 * ButtonColumn.cs: Format string and text to format were
4083 inversed. This fixes bug #50171.
4085 2003-10-29 Jackson Harper <jackson@ximian.com>
4087 * DataGridColumn.cs: If an item style is set apply it to the
4088 cell. This fixes bug #50173.
4090 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
4092 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
4093 old debugging value.
4095 2003-10-29 Jackson Harper <jackson@ximian.com>
4097 * PagedDataSource.cs:
4098 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
4099 end of the last page. Fixes bug #5085.
4101 2003-10-29 Jackson Harper <jackson@ximian.com>
4103 * CheckBox.cs: Do not change the status of a checkbox when there
4104 is no post data. This fixes bug #49091.
4105 * CheckBoxList.cs: Do not change the status of the checkboxes when
4106 there is no post data. This fixes bug #49093.
4108 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
4110 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
4111 RadioButton. Fixes #50132
4113 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
4115 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
4116 paging from working. Fixes #48814.
4118 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
4120 * DataGrid.cs: A few typos kept us from viewing datagrids
4121 that were based on customized collections.
4123 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
4125 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
4127 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
4129 * Calendar.cs: render the next month button so that aligns to the
4132 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4134 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
4135 was just changing && by || after the first Match.
4137 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4139 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
4140 Patch by Yaron Shkop.
4142 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4144 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
4145 that fixes bug #49744. Now the selection doesn't lose its data.
4147 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
4149 * EditCommandColumn.cs: Implement; fix #49736
4151 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
4153 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
4154 the forground color. bug #49738
4156 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4158 * Calendar.cs: fixed bug #49727.
4160 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
4162 * TableStyle.cs: fix #49740.
4164 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4166 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
4167 * ValidationSummary.cs: fixes bug #49669.
4169 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4171 * Calendar.cs: apply the calendar style to the new Table, not to itself.
4174 * CheckBox.cs: render the hidden fields if AutoPostBack.
4176 * Style.cs: don't render empty width/height. Small improvement in
4179 * Table.cs: fixed condition for border width.
4182 (CopyFrom): always call the base class to copy other attributes. Fixes
4183 bug #49408. Don't render empty 'rules' attribute.
4185 * WebControl.cs: track viewstate when enabled. Don't overwrite source
4186 control attributes in CopyBaseAttributes.
4188 * ChangeLog: fixed dates.
4191 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
4193 * WebControl.cs : Attributes { get; } - Is Complete.
4194 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
4197 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
4199 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
4200 : RegisterValidatorCommonScript()
4201 - More code, I need HELP!
4202 : RegisterValidatorDeclaration()
4203 - More code, I need HELP!
4205 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4207 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
4210 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4212 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
4213 ClearViewState only called when no items.
4215 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4217 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
4219 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4221 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
4223 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4225 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
4228 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4230 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
4233 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4235 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
4236 * WebControl.cs: fixed Enabled property and save it in ViewState.
4240 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4242 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
4244 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4246 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
4249 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4251 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
4252 <rich@velvetsea.net>.
4254 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4256 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
4257 Skripsky <juraj@hotfeet.ch>
4259 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4261 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
4262 fixes rendering of the end tag.
4264 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4266 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
4267 (Yaron Shkop). Closes bug #48060.
4269 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4271 * CheckBox.cs: in LoadPostData, only return
4272 true when the new data is different from the one we had. Fixed
4273 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
4276 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4278 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
4280 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4282 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
4283 of Enable in ViewState. Fixes bug #47865.
4285 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4287 * Style.cs: the MARKED bit is not send set in ViewState unless something
4288 is changed. Fixed TrackViewState condition.
4290 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
4291 because it uses the same ViewState as the control. Fixes bug #47725.
4293 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4295 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
4296 that fixes databinding when only DataTextField or DataNavigateUrlField
4299 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4301 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
4302 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
4303 values before assigning a data source and other issues.
4305 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4307 * CheckBox.cs: save viewstate when needed and correctly handle post
4308 data. Fixes bug #47462.
4310 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4312 * ButtonColumn.cs: Removed additional attributes
4313 * CheckBox.cs: Added attribute
4314 * DataGrid.cs: Added attributes
4315 * HyperLinkColumn.cs: Changed attributes, added lamespec
4316 * Style.cs: Removed attributes
4317 * TextBox.cs: Added/ removed attributes
4319 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4321 * AdRotator.cs: Added all attributes
4322 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
4323 * BaseValidator.cs: Added all attributes
4324 * BoundColumn.cs: Added all attributes
4325 * Button.cs: Added all attributes
4326 * ButtonColumn.cs: Added all attributes, added lamespec
4327 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
4328 * CheckBox.cs: Added all attributes
4329 * CheckBoxList.cs: Added all attributes
4330 * CompareValidator.cs: Added all attributes
4331 * CustomValidator.cs: Added all attributes
4332 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
4333 * DataGridColumn.cs: Added all attributes
4334 * DataGridColumnCollection.cs: Added all attributes
4335 * DataGridPagerStyle.cs: Added all attributes
4336 * DataGridTableInternal.cs: Made DataGridTableInternal internal
4337 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
4338 * DropDownList.cs: Added all attributes
4339 * FontInfo.cs: Added all attributes
4340 * HyperLink.cs: Added all attributes
4341 * HyperLinkColumn.cs: Added all attributes
4342 * Image.cs: Added all attributes
4343 * ImageButton.cs: Added all attributes
4344 * Label.cs: Added all attributes
4345 * LinkButton.cs: Added all attributes
4346 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
4347 * ListControl.cs: Added all attributes
4348 * ListItem.cs: Added all attributes
4349 * ListItemCollection.cs: Added attribute
4350 * Literal.cs: Added all attributes
4351 * Panel.cs: Added all attributes
4352 * RadioButton.cs: Added all attributes
4353 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
4354 * RangeValidator.cs: Added all attributes
4355 * RegularExpressionValidator.cs: Added all attributes
4356 * Repeater.cs: Added all attributes
4358 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4360 * RequiredFieldValidator.cs: Added all attributes
4361 * Style.cs: Added all attributes
4362 * Table.cs: Added all attributes
4363 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
4364 * TableCellCollection.cs: Added attribute
4365 * TableRow.cs: Added all attributes
4366 * TableRowCollection: Added attribute
4367 * TableStyle.cs: Added all attributes, improved error messages
4368 * TemplateColumn.cs: Added all attributes
4369 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
4370 * ValidationSummary.cs: Added all attributes
4371 * WebControl.cs: Added all attributes
4372 * Xml.cs: Added all attributes
4374 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4376 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
4377 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
4379 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4381 * CheckBoxList.cs: fixes bug reported on the list about the state of
4382 the CheckButtons not being preserved across posts.
4384 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4386 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
4388 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4390 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
4392 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4394 * ListControl.cs: save viewstate data when any of the 3 values is not
4395 null. Fixed condition to save selection indices. Closes bug #45493.
4397 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4399 * DataGrid.cs: fixed bug #43823.
4401 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4403 * DataGrid.cs: fixed delegate type for SortCommand.
4405 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4407 * DataGridColumnCollection.cs: added missing return in RemoveAt.
4409 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4411 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
4412 Don't save ViewState is the number of columns is 0.
4414 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4416 * DataGrid.cs: get the right item Type for the property we're reading
4417 fromt the data source.
4419 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4422 * TextBox.cs: added control builder attribute.
4424 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4426 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
4428 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
4430 * Unit.cs: Called the correct method to get the Numeric locale for the
4433 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4435 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
4436 correctly the header of the column.
4438 * DataGridTableInternal.cs: don't assign a default ID to this control.
4440 * LinkButton.cs: raise bubble event in OnCommand.
4442 * TableCellCollection.cs: fixed the index returned by Add.
4444 * TableRowCollection.cs: ditto.
4446 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4448 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
4450 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4452 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
4453 for reporting the bug and providing the fix.
4455 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4457 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
4458 CreateColumnSet. Set the owner of the column when auto generated.
4459 In PrepareControlHierarchyForItem, fixed for loop bound.
4461 * LinkButtonInternal.cs: fixed infinite recursion bug.
4465 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
4467 * Xml.cs: a few fixes.
4469 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4471 * DataList.cs: handle the exception when adding new keys to
4474 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4476 * BaseDataList.cs: what can I say for this one? I spent so many time
4477 until I finally found this that I'm gonna miss this f....g bug... ;-).
4478 Farewell. Now we can get events from image buttons inside Data*.
4480 * DataList.cs: now the value stored in ViewState for item count is
4483 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4485 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
4487 * DataGridColumn.cs: added SetOwner method.
4488 * DataGridColumnCollection.cs: set the owner of the column when added.
4490 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4492 * BoundColumn.cs: typo.
4493 * DataGrid.cs: use 'as' instead of casting. Typo.
4494 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
4497 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4499 * HyperLink.cs: fixes bug #36336.
4501 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4503 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
4505 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4507 * BaseValidator.cs: return an empty string in GetControlValidationValue
4508 when GetValue returned null.
4510 * CompareValidator.cs: fixed EvaluateIsValid.
4512 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
4514 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4516 * Xml.cs: use MapPathSecure to get the path of the document.
4518 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4520 * DataList.cs: fixed header & footer.
4522 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4524 * DataList.cs: for header and footer don't use data source.
4525 Instantiate in the DataListItem, not in the DataList.
4526 databind-template.aspx works now.
4528 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4531 (Render): call RenderContents (), not base.RenderContents ().
4533 * DataList.cs: style.
4535 But I still haven't found what i'm looking for....
4537 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4539 * Calendar.cs: fixed loading/saving selected dates.
4540 * SelectedDatesCollection.cs: added internal function to get the
4541 underlying ArrayList.
4543 Calendar navigation works again. Selecting dates too.
4545 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4547 * DataList.cs: added a few attributes and fixed infinite recursion.
4549 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4551 * ListItemCollection.cs: fixed LoadViewState.
4553 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4555 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
4556 Commented out some code until it works.
4558 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
4560 * BaseCompareValidator.cs - Fixed operator bug in
4561 Compare(string, string, ...)
4562 * CompareValidator.cs - EvaluateIsValid() : Implemented.
4564 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
4566 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
4568 - All Properties : Now make use of ViewState.
4570 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
4572 * BaseValidator.cs - Uncomment NotImplementedException.
4574 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
4576 * BaseValidator.cs - Minor changes in TODO comments.
4578 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
4580 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
4581 the NotImplementedException being thrown.
4582 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
4583 * DataGridLinkButton.cs - Added new class (private) : Implemented.
4584 * DataGrid.cs - InitializePager(DataGridItem, int,
4585 PagedDataSource) : Implemented.
4587 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
4589 * DataList.cs - PrepareControlHierarchy() : Implemented.
4591 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
4593 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
4594 - GetItem(ListItemType, int) : Removed TODO.
4595 - CreateControlHierarchy(bool) : Implemented.
4596 - CreateItem(int, ListItemType) : Implemented.
4597 - CreateItem(int, ListItemType,
4598 bool, object) : Implemented.
4599 - InitializeItem(DataItem) : Implemented.
4600 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
4601 The ViewState["_!ItemCount"],
4602 ViewState["_!DataSource_ItemCount"]
4603 are shared by DataList and DataGrid, and hence
4604 should share the same name.
4605 - ResolveDataSource(object, string)
4606 : Removed. Use System.Web.UI.Utils.DataSourceHelper
4607 ::GetResolvedDataSource(object, string).
4610 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4612 * DataGrid.cs: fixed compilation
4614 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
4616 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
4617 * DataGrid.cs - CreateControlHierarchy(bool)
4618 : working towards completion.
4619 - ResolveDataSource(object, string)
4620 : stubbed new method
4622 : stubbed new method
4623 Well. It's almost done.
4624 * DataGridTableInternal.cs
4625 - Added new internal class.
4627 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
4629 * DataSourceInternal.cs - Added new class (internal).
4631 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4634 * HorizontalAlign.cs:
4636 * VerticalAlign.cs: fixes based on class status page.
4638 * HorizontalAlignConverter.cs: implemented.
4639 * VerticalAlignConverter.cs: implemented.
4641 * FontUnitConverter.cs: implemented GetStandardValues ().
4643 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
4645 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
4647 * DataGrid.cs - AutoCreateColumns: Bug fixes.
4649 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
4651 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
4653 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
4655 * DataGrid.cs - Working on the undocumented protected
4656 method CreateColumnSet. AutoCreateColumns method
4657 stubbed. Left CreateControlHierarchy for the time
4658 being, looks like I'm going insane. ;-)
4660 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
4662 * Button.cs - Steffen's OnCommand bug fix.
4664 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
4666 * DataGrid.cs - Added protected method (skeleton)
4667 CreateColumnSet(PagedDataSource, bool)
4668 Still trying to know how will it be used
4671 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4673 * PagedDataSource.cs: fixed compilation.
4675 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
4677 * DataGrid.cs - Added private method
4678 CreatePagedDataSource
4680 CreateControlHierarchy(bool)
4681 * PagedDataSource.cs - Bug fixed.
4682 CurrentPageIndex is writable.
4684 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4686 * DataGrid.cs: fixed typo.
4687 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
4689 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
4691 * DataGridColumn.cs - Added internal methods to get the
4692 various styles (needed in DataGrid.cs)
4693 * DataGrid.cs - Completed the method
4694 PrepareControlHierarchy()
4696 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
4698 * DataGrid.cs - Wokring on PrepareControlHierarchy()
4699 - Added private method
4700 PrepareControlHierarchyForItem()
4702 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
4704 * DataGrid.cs - Completed method
4705 OnBubbleEvent(object, EventArgs)
4707 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4709 * Xml.cs: implemented document/transform load.
4711 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4713 * Calendar.cs: added myself to the list of authors.
4714 * DropDownList.cs: fixed a few properties.
4715 * ListControl.cs: fixed SelectedIndex.
4717 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4719 * Calendar.cs: lots of fixes. Render days. Still left to persist
4720 selected days when changing month.
4722 * Unit.cs: fixed Percentage and Pixel.
4724 * WebControl.cs: a few properties are now using ControlStyle instead
4725 of ViewState to persist.
4727 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4729 * BaseValidator.cs: it works now.
4730 * DataGridColumn.cs: added attribute and made it abstract.
4731 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
4733 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4735 * TextBox.cs: default for Wrap is true.
4736 (OnPreRender): don't save Text if there are no listeners on TextChanged.
4738 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4744 (LoadViewState): fixed.
4746 * ListItemCollection.cs:
4747 (TrackViewState): use items instead of 'this' in foreach.
4750 (LoadViewState): more checking of parameters.
4752 * WebControl.cs: implemented LoadViewState and SaveViewState.
4755 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4757 * ListItem.cs: there was no code to unset the flags!!!
4759 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4761 * FontUnit.cs: use a hashtable for mapping size name to value.
4762 * HyperLink.cs: fixed a bug and a typo.
4763 * Unit.cs: some fixes to internal constructor.
4765 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4767 * ListControl.cs: fixed a couple of range checks.
4768 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
4769 an HtmlForm (p.e., Label).
4771 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4781 * HyperLinkColumn.cs:
4790 * RadioButtonList.cs:
4794 * WebControl.cs: removed attributes added by mistake (i used
4795 GetCustomAttributes (true), d'oh!).
4797 * DataListItem.cs: implemented RenderItem.
4799 * Repeater.cs: implemented CreateItem and InitializeItem.
4801 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4803 * BaseDataList.cs: a couple of fiex and added attributes.
4804 * DataGrid.cs: little fixes.
4806 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4815 * RadioButtonList.cs:
4818 * Xml.cs: forgot to add using System.ComponentModel.
4820 * BaseValidator.cs: use explicitly
4821 System.ComponentModel.AttributeCollection as there is another class
4822 with the same name under System.Web.UI.
4824 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4843 * RadioButtonList.cs:
4848 * Xml.cs: added/fixed all attributes used by xsp.
4850 * BaseValidator.cs: some fixes.
4852 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4855 (AddAttributesToRender): correctly default to border=1.
4857 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4860 (LoadAdFile): make the dictionary null after every iteration.
4864 * ListItem.cs: fixed warnings.
4866 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
4868 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
4870 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4872 * DataGridColumn.cs:
4873 * DataGridPagerStyle.cs:
4880 * ListItemCollection.cs:
4882 * ServerValidateEventArgs.cs:
4886 * Xml.cs: more class status page based changes.
4888 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4891 (.ctor): fixed to render the correct tag.
4892 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
4894 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4897 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
4898 WebControl derived classes should be rendered inside a HtmlForm.
4900 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4902 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
4905 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4907 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
4908 * RepeatInfo.cs: implemented DoHorizontalRendering.
4910 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4912 * System.Web.UI.WebControls/Repeater.cs:
4914 (OnDataBinding): fixed stack overflow.
4916 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4918 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
4919 * RepeatInfo.cs: implemented DoHorizontalRendering.
4921 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4924 (CopyBaseAttributes): copy Attributes and don't throw exception.
4926 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4928 * ListBox.cs: mono-stylized.
4929 (AddAttributesToRender): call parent class method.
4931 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4933 * Style.cs: fixed IsEmpty and Width.
4935 * Table.cs: mono-stylized.
4936 (TableRowControlCollection.AddAt): fixed.
4937 (AddAttributesToRender): fixed.
4939 * TableCell.cs: mono-stylized.
4940 (.ctor): use PreventAutoID.
4941 (AddAttributesToRender): fixed.
4942 (AddParsedSubObject): fixed.
4944 * TableRow.cs: mono-stylized. Added
4945 ParseChildren attribute.
4948 (get_GridLine): fixed.
4950 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4952 * Panel.cs: fixed stack overflow.
4953 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
4954 and SingleConverter.
4956 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4958 * RadioButton.cs: mono-stylized and some little fixes.
4960 * TextBox.cs: mono-stylized.
4961 (MaxLength): fixed typo.
4963 (AddAttributesToRender): don't render the text between the tags for
4964 SingleLine, use value attribute for it. Don't render the text for
4967 (OnPreRender): don't throw exception and call base.OnPreRender.
4969 (Render): for MultiLine, render the text between the opening and
4970 closing tags encoded as HTML.
4972 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4975 (AddAttributesToRender): fixer another stack overflow.
4978 (TagName): modified to use TagKey instead of tagKey as the property
4981 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4983 * LinkButton.cs: mono-stylized.
4984 (AddParsedSubObject):
4985 (RenderControls): little fixes.
4988 (AddAttributesToRender): fixed usage of IEnumerator.
4990 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4992 * Literal.cs: beautified.
4994 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4996 * Label.cs: beautified and fixed a couple of 'classic' bugs.
4998 * WebControl.cs: use Span as default tag when no other provided in
4999 constructor. That is what MS renders.
5001 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5004 (AddAttributesToRender): fixed (classic) stack overflow.
5006 * CheckBox.cs: mono-stylized.
5007 (AutoPostBack): fixed stack overflow.
5008 (Render): fixed alignment issues. Also set the For attribute always
5011 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5013 * AdRotator.cs: GetData does not work as it should, but now it returns
5014 useful data (only the first ad in the file). Set the NavigateUrl
5015 property in the hyperlink if available.
5017 * HyperLink.cs: fixed constructor and a couple of stack overflows.
5019 * Image.cs: added an attribute and fixed stack overflow.
5022 (RenderBeginTag): fixed.
5023 (TagName): don't call Enum.IsDefined twice.
5025 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5027 * WebControl.cs: added attributes PersistChildrenAttribute and
5028 ParseChildrenAttribute.
5030 2002-05-24 Duncan Mak <duncan@ximian.com>
5032 * DataGridItem.cs (SetItemType): Changed function signature to
5035 * ListItemCollection.cs (this): Changes the visibility level of
5038 * Repeater.cs (OnItemCommand):
5040 (OnItemDataBound): Added necessary casts.
5042 2002-05-07 Duncan Mak <duncan@ximian.com>
5044 * Button.cs (AddAttributesToRender):
5045 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
5046 GetClientValidatedEvent method.
5048 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
5050 * Removed extra methods, corrected access modifiers to several
5053 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
5055 * <SeveralFiles>.cs - Added some attributes
5056 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
5057 methods. Will complete them later. Right now, busy with
5058 the attributes part.
5059 * RepeaterItem.cs - Completed.
5061 Oh God! Mercy! I will die applying attributes. I look at the missing
5062 part in the class-status - daemon! Kyrie eleison!
5064 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
5068 * AdRotator.cs - Added definition for Font.
5069 * BaseCompareValidator.cs - Added definition for Controls.
5070 * Calendar.cs - SelectMonthText definition corrected.
5071 * DataList.cs - Added definition for SeparatorTemplate.
5072 * BorderStyle.cs - Namespace correction. It belongs not to UI,
5073 but to UI.WebControls.
5075 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
5077 Finally, I have made it. Today I did a second build for the
5078 System.Web assembly. It compiled 195 classes today.
5079 I am waiting eagerly for the runtime to come up so that the objects
5080 may be tested to their last levels. Several of the methods are still
5081 under the tag of "TODO" throwing NotImplementedException. Well, I
5082 hope to remove them soon, but how far is this soon - even I don't
5083 know, though I am happy to make the build a success even before
5084 the vacations to come.
5086 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
5088 Yesterday and today I tried to do some building of the aseembly,
5089 but was dumped with uncoutably infinite errors. ;-)
5090 I have put the copies of the recent errors on my home page, want
5091 to have a look at them? See:
5092 http://mastergaurav.virtualave.net/mono/
5093 I don't know what to do with these errors. Oh! The buggy me! How
5094 will I overcome myself. Hopefully, by when my vacations over, I
5095 should have made a repository where the build will not fail.
5097 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
5099 I am now going to do a build that will include the
5100 System.Web.UI.WebControls namespace. Hoping that I will make it
5101 soon. My exams are coming near and I have to pack up soon.
5104 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
5107 And with this, ie, today's work, all the objects mentioned in the
5108 namespace appear in the implementation. But it may not be worth
5109 trying to go for a build because of dependence of several of the
5110 internal methods that may clash with already available assembly
5113 Also, the classes lack possible attributes, like those informing
5114 about child-controls etc. But I have to first create the attribute
5115 classes before I attach the attributes to the classes.
5117 * CustomValidator.cs - Completed. In process realized that
5118 I have to complete / rejuvinate BaseValidator class.
5119 * BaseValidator.cs - Complete rejuvination. Completed 80%
5120 of the job. All that is left is Render(HtmlTextWriter),
5121 DetermineRenderUplevel(), RegisterValidatorCommonScript()
5122 RegisterValidatorDeclaration()
5123 * DataGridPagerStyle.cs - Completed. That adds one more missle
5125 * DataKeyCollection.cs - Completed. Petty small.
5126 * Repeater.cs - Work started off. This is a quite
5128 * DataGridItemEventArgs.cs,
5129 * DataGridShortCommandEventArgs.cs,
5130 * DataListItemEventArgs.cs,
5131 * MonthChangedEventArgs.cs,
5132 * RepeaterItemEventArgs.cs,
5133 * ServerValidateEventArgs.cs,
5134 * DataGridPageChangedEventArgs.cs
5135 - Damn, I marked them "*", while they
5137 * Repeater.cs - Done all except for an undocumented
5138 method CreateControlHierarchy(bool). Though the method
5139 is quite clear by its name, but it will take some time
5140 for me to come with some material to flush in.
5142 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
5144 * SelectedDatesCollection.cs - Completed.
5145 * PagedDataSource.cs - Completed. Pathetically nice class.
5146 * RegularExpressionValidator.cs
5147 - Completed. Ridiculously small and
5148 annoyinglyc crazy-driving class, basically the method
5150 * RangeValidator.cs - Completed.
5151 * DataGridColumn.cs - Completed.
5152 * EditCommandColumn.cs - All is complete except for the
5153 InitializeCell(TableCell, int, ListItemType) method.
5154 * DataListItem.cs - All done except for a longish method
5155 RenderItem(HtmlTextWriter, bool, bool)
5157 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
5159 * RepeaterItemCollection.cs - Completed.
5160 I love *Collection classes. I am planning to make a
5161 program that will generate a *Collection class. It's so
5162 simple and the same. ;-)
5163 * DataGridColumnCollection.cs - Completed.
5164 ... except probably for *ColumnCollection classes, where
5165 you have to put in some more effort. Still, these class
5166 generation can be automated.
5167 * DataListItemCollection.cs - Completed.
5168 See, how easily, in less than a quarter of a minute, I
5169 completed this class - manually. Copy-Paste/Cut-Replace.
5171 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
5173 * DataGrid.cs - Following methods implemented:
5174 TrackViewState(), LoadViewState(object), SaveViewState(),
5175 On* -- The event raisers.
5176 OnBubbleEvent(object, EventArgs) is still incomplete.
5177 * DataGridItem.cs - Initial Implementation
5178 * DataGridItemCollection.cs - Completed.
5180 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
5182 * DataGrid.cs - Initial Implementation. Worked
5183 primarily with some properties.
5185 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
5187 * ListBox.cs - Completed. Implemented
5188 LoadPostData(string, NameValueCollection)
5189 * RequiredFieldValidator.cs - Completed. Pretty simple class.
5191 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
5193 * ListBox.cs - Implemented the following:
5194 RaisePostDataChangedEvent()
5196 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
5198 * ListBox.cs - Supports the following properties:
5199 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
5202 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
5203 RenderContents(HtmlTextWriter)
5206 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
5208 * TargetConverter.cs - Completed
5209 * TemplateColumn.cs - Completed
5210 * DataList.cs - Corrected the get-er methods for the
5211 *Style objects. Corrected the get/set-er methods for ViewState
5213 Addded support for properties:
5214 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
5215 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
5216 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
5217 SeparatorStyle, SeparatorItemTemplate.
5219 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
5220 ItemCreated, ItemDataBound, UpdateCommand.
5222 CreateControlStyle(), LoadViewState(object),
5223 SaveViewState(), TrackViewState
5225 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
5226 OnEditCommand, OnItemCommand, OnItemCreated,
5227 OnItemDataBound, OnUpdateCommand
5228 Added dummy methods for some undocumented methods:
5229 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
5230 CreateItem(int, ListItemType, bool, object),
5231 PrepareControlHierarchy(), InitializeItem(DataListItem)
5232 * ListBox.cs - Started working.
5236 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
5238 * RepeaterInfo.cs - Initial Implementation. Done all
5239 except for RepeatDirection.Vertical
5240 * TableStyle.cs - Completed
5242 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
5244 * DropDownList.cs - Completed
5245 * ListItemCollection.cs - Added method FindByValueInternal to
5246 assist in the derived classes.
5247 Discovered bug in FindByValue. Removed
5248 * UnitConverter.cs - Completed
5249 * PlaceHolder.cs - What can be simpler than this?
5250 * PlaceHolderControlBuilder.cs
5251 - Uh! Damn cool one.
5252 * RadioButtonList.cs - Initial Implementation. All is done
5253 except for the implementation of
5254 method IRepeatInfoUser.RenderItem(...)
5255 * ValidatedControlConverter.cs
5256 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
5257 * ValidationSummary.cs - Initial Implementation.
5258 * WebColorConverter.cs - Initial Implementation
5260 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
5262 * FontNamesConverter.cs - Completed
5263 * FontUnitConverter.cs - Partial Implementation
5264 * ListItemControlBuilder.cs - Completed
5266 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
5268 * TextBox.cs - All done except *Render* methods
5269 * TextBoxControlBuilder.cs - Completed
5270 * Xml.cs - Partial Implementation
5272 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
5274 * RadioButton.cs - Completed
5275 * TextBox.cs - Partial Implementation
5277 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
5279 * Panel.cs - Completed
5280 * TableItemStyle.cs - Completed
5282 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
5284 * TableCellCollection.cs - Completed
5285 * TableRowCollection.cs - Completed
5286 * TableHeaderCell.cs - Completed
5287 * TableRow.cs - Completed
5289 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
5291 * TableCellControlBuilder.cs - Completed
5292 * Table.cs - Completed
5293 * TableCell.cs - Completed
5295 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
5297 * CheckBoxList.cs - Completed
5298 * ButtonColumn.cs - Completed
5299 * Button.cs - Completed
5301 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
5303 * HyperLink.cs - Completed
5304 * Image.cs - Completed
5305 * ImageButton.cs - Completed
5306 * Label.cs - Completed
5307 * LabelControlBuilder.cs - Completed
5308 * LinkButton.cs - Completed
5309 * LinkButtonControlBuilder.cs - Completed
5310 * Literal.cs - Completed
5311 * LieteralControlBuilder.cs - Completed
5312 * FontUnit.cs - Completed
5315 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
5317 * Calendar.cs - Completed the functions of Render*,
5318 ViewStates (Track/View/Save),
5320 Left: RenderAllDays (partially)
5322 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
5324 * Calendar.cs - Added some more functions
5325 * Style.cs - Completed
5326 * ListItem.cs - Completed
5327 * ListItemCollection.cs - Completed
5329 Made the first successful build of System.Web.dll that included
5330 System.Web.UI.WebControls!
5332 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
5334 FontInfo.cs - Complete revamp. Completed
5336 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
5338 ListItemCollection.cs - Completed
5339 ListItem.cs - Initial Implementation
5340 Style.cs - Initial Implementation
5342 Right now I am in a total mood to do a successful build. Creating so many
5343 classes, completing classes in System.Web System.Web.UI namespaces.
5345 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
5347 TODO - Properly added
5348 CheckBox.cs - Completed
5349 BaseDataList.cs - Completed
5350 DayRenderEventArgs.cs - Completed
5351 RepeaterItem.cs - Initial implementation
5353 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
5355 BaseCompareValidator.cs - Completed
5356 AdRotator.cs - Completed
5358 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
5360 CommandEventArgs.cs - Completed
5361 DataGridCommandEventArgs.cs - Completed
5362 RepeaterCommandEventArgs.cs - Completed
5363 DataListCommandEventArgs.cs - Completed
5364 CompareValidator.cs - Partial Implementation
5366 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
5368 CheckBoxList.cs - Partial Implementation.
5371 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
5373 ListControl.cs - Completed
5375 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
5377 CheckBox.cs - Completed
5378 ListControl.cs - Initial Implementation
5379 CheckBoxList.cs - Started with it, but first needed
5380 ListControl. Left it.
5382 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
5384 CalendarDay.cs - Making a note that this
5385 has been implemented
5386 Calendar.cs - Making a note that have made some changes.
5387 Unimplmented functions throw
5388 NotImplementedException
5389 CheckBox.cs - Can now "Render" and "LoadPostData"
5392 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
5393 WebControl.cs - Total Revamp, Partial Implementation
5394 AdRotator.cs - Able to load files
5395 AdCreatedEventArgs.cs - Implemented
5397 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
5398 Calendar.cs - Initial Implementation
5399 ButtonColumn.cs - Initial Implementation
5400 Button.cs - Initial Implementation
5401 BoundColumn.cs - Initial Implementation
5402 BaseCompareValidator.cs - Minor Changes
5403 DataList.cs, BaseValidator.cs, BaseDataList.cs
5404 - Added more functions, other changes
5406 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
5407 WebControl.cs - Initial Implementation
5408 DataList.cs - Initial Implementation
5409 BaseValidator.cs - Initial Implementation
5410 BaseDataList.cs - Initial Implementation
5412 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
5414 AdCreatedEventArgs.cs - Initial Implementation
5415 AdCratedEventHandler.cs - Implemented
5416 AdRotator.cs - Initial Implementation
5417 BorderStyle.cs - Implemented
5418 ButtonColumnStyle.cs - Implemented
5419 CalendarSelectionMode.cs - Implemented
5420 DayNameFormat.cs - Implemented
5421 FirstDayOfWeek - Implemented
5422 FontInfo.cs - Partial Implementation
5423 FontSize.cs - Implemented
5424 GridLines.cs - Implemented
5425 HorizontalAlign.cs - Implemented
5426 HyperLink.cs - Initial Implementation
5427 ImageAlign.cs - Implemented
5428 IRepeatInfoUser.cs - Implemented
5429 ListItemType.cs - Implemented
5430 ListSelectionMode.cs - Implemented
5431 NextPrevFormat.cs - Implemented
5432 PagerMode.cs - Implemented
5433 PagerPosition.cs - Implemented
5434 RepeatDirection.cs - Implemented
5435 RepeatLayout.cs - Implemented
5436 TextAlign.cs - Implemented
5437 TextBoxMode.cs - Implemented
5438 TitleFormat.cs - Implemented
5439 UnitType.cs - Implemented
5440 ValidationCompareOperator.cs
5442 ValidationDataType.cs - Implemented
5443 ValidationSummaryDisplayMode.cs
5445 ValidatorDisplay.cs - Implemented
5446 VerticalAlign.cs - Implemented
5450 i/ File Created 2001-11-13