1 2008-07-28 Marek Habersack <mhabersack@novell.com>
3 * TreeView.cs: when TreeView is displaying a site map and there is
4 no node selected by the user, select the node corresponding to the
7 2008-07-24 Marek Habersack <mhabersack@novell.com>
9 * DataGrid.cs: removed the private class TableID and moved its
10 code to ChildTable.cs (see below). 2.0 instantiates teh ChildTable
11 with the owner parameter now. Fixes bug #400377
13 * ChildTable.cs: refactoring - moved code from TableID previously
14 defined in DataGrid.cs to here and made the class available under
15 different names for both 1.x and 2.x profiles. Fixes bug #400377
17 * MailDefinition.cs: look for the mail body file in the correct
18 path. Patch from Jackson Harper <jaharper@novell.com>,
19 thanks! Fixes bug #408699
21 * PasswordRecovery.cs: do not ask password recovery question if
22 it's disabled. Patch from Jackson Harper <jaharper@novell.com>,
23 thanks! Fixes bug #408696
25 2008-07-16 Marek Habersack <mhabersack@novell.com>
27 * XmlDataSource.cs: check if Page isn't null before stringifying
28 it in GetDataKey (), fixes bug #409492
30 2008-07-13 Roei Erez <roeie@mainsoft.com>
32 * GridView.cs: When the RowDataBound event is invoked, the value
33 of GridView1.DataKeys should contains all the keys up untill the
34 current row, and not be empty.
35 I only changed the order of the user event invocation and the addition
38 2008-07-13 Roei Erez <roeie@mainsoft.com>
40 * TreeView.cs: In case of multiple tree node bingings, select
41 The first one and not the last one.
43 2008-07-10 Roei Erez <roeie@mainsoft.com>
45 * HyperlinkField.cs: Changed behavior of HyperLinkField bound field key
46 to be case insensitive.
48 2008-07-03 Marek Habersack <mhabersack@novell.com>
50 * CheckBox.cs: do not render the language="javascript" attribute
53 2008-07-02 Marek Habersack <mhabersack@novell.com>
55 * GridView.cs: minor optimizations (removed a foreach loop,
56 replaced calls to Array.Length with a variable containing the
59 2008-06-30 Marek Habersack <mhabersack@novell.com>
61 * ObjectDataSourceView.cs, Menu.cs, DataList.cs,
62 CustomValidator.cs: hush the warnings
64 2008-06-10 Noam Lampert <noaml@mainsoft.com>
66 * ListItemCollection.cs: Provide viewstate for dirty collection even if it is empty.
68 2008-05-30 Marek Habersack <mhabersack@novell.com>
70 * BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
71 DataControlFieldCollection.cs, DataControlField.cs,
72 PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
73 event accessors (to avoid locks).
75 2008-05-18 Marek Habersack <mhabersack@novell.com>
77 * HierarchicalDataBoundControl.cs: Modified GetData method to check if
78 DataSource implements IHierarchicalEnumerable and if so constructs and
79 returns a new instance of ReadOnlyDataSourceView. This provides functional
80 compatibility with the Microsoft.NET framework. Fixes bug
81 #395209. Patch contributed by James Fitzsimons
82 <james.fitzsimons@gmail.com>, thanks!
84 2008-05-06 Marek Habersack <mhabersack@novell.com>
86 * Calendar.cs: do not create dateInfo in the constructor - culture
87 might be not set yet at this point. Fixes bug #323566
88 Added a private property, DateInfo, which creates the dateInfo
91 2008-05-05 Sebastien Pouliot <sebastien@ximian.com>
93 * BulletedList.cs: Avoid calling ToString on a string.
94 * ButtonField.cs: Throw, not just create, the exceptions.
95 * HyperLinkField.cs: Throw, not just create, the exceptions.
96 * ImageField.cs: Throw, not just create, the exception. Avoid calling
98 * ListControl.cs: Avoid calling ToString on a string.
99 [All issues were found using Gendarme]
101 2008-04-30 Marek Habersack <mhabersack@novell.com>
103 * SiteMapDataSource.cs: when no starting node is found, return
104 null instead of Provider.RootNode. Fixes bug #323994
106 2008-04-24 Marek Habersack <mhabersack@novell.com>
108 * SqlDataSource.cs: raise the DataSourceChangedEvent when setting
109 ConnectionString, ProviderName or DataSourceMode properties only
110 when the new value differs from the old one. Fixes bug #359392
112 2008-04-16 Marek Habersack <mhabersack@novell.com>
114 * ObjectDataSourceView.cs: ExecuteSelect should return an empty
115 aray when no data has been retrieved from the specified source
116 type. Fixes bug #380106
118 2008-04-15 Marek Habersack <mhabersack@novell.com>
120 * MailDefinition.cs: dispose of streams the way it should
123 2008-04-10 Marek Habersack <mhabersack@novell.com>
125 * RadioButton.cs: adjust 'name' and 'value' attribute values to
126 match MS.NET. Fixes bug #378024
128 * CheckBoxList.cs: set the Selected property to the value in POST
129 data only if the item in question was enabled before postback
130 occurred. Fixes bug #377703
132 * ListControl.cs: make sure the owned items' Enabled property is
133 set to the same value what ListControl's. Fixes bug #377703
135 * ListItemCollection.cs: fixed SetDirty to store the index of the
136 last dirtied item properly. Fixes bug #377703
137 For the 2.0 profile, set the ListItem instances Enabled property
138 to the value of the owning ListControl (internal ItemsEnabled
139 property was added to make it possible). Fixes bug #377703
141 2008-04-08 Dean Brettle <dean@brettle.com>
143 * DataBoundControl.cs (InternalPerformDataBinding),
144 HierarchicalDataBoundControl.cs (InternalPerformDataBinding),
145 WebControl.cs (Render): fixed cast errors when a ControlAdapter
146 that wasn't of the type corresponding to the control was used.
148 2008-04-03 Marek Habersack <mhabersack@novell.com>
150 * DataList.cs: use the value of SelectedIndex, not selectedIndex,
151 to return the key value in the SelectedValue property. Fixes bug
152 #376519. Patch from Sergey Kuleshov <svyatogor@gmail.com>, thanks!
154 2008-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
156 * AutoGeneratedField.cs, CheckBoxField.cs: fixed OnDataBindField,
157 should hide checkbox only if DataItem is not defined
159 2008-03-09 Dean Brettle <dean@brettle.com>
161 * DetailsView.cs, ListControl.cs, DataBoundControl.cs,
162 FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs:
163 added support for using ControlAdapters when present.
165 * WebControl.cs: fixed implementation of IsEnabled to match
168 * Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of
169 RenderMenuItem() if an adapter is present. MenuAdapter.RenderItem()
170 calls back to new Menu.RenderItem() internal method which calls
171 RenderMenuItem() with the appropriate parameters.
173 2008-02-25 Igor Zelmanovich <igorz@mainsoft.com>
176 at Update and Delete use not read only coppies of dictionaries
177 in event argumens, that allows user to change them before corresponding
178 DataSource's method is called.
180 2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>
182 * Login.cs: render id attribute of root element correctly.
184 2008-02-18 Marek Habersack <mhabersack@novell.com>
186 * FormView.cs: the ItemCreated must be fired before data is bound
187 to the FormView. Fixes bug #360434
189 2008-02-07 Igor Zelmanovich <igorz@mainsoft.com>
191 * Login.cs: render id attribute of root element correctly.
193 2008-02-05 Marek Habersack <mhabersack@novell.com>
195 * FileUpload.cs: make sure FileContent always returns the input
196 stream positioned at the beginning. Fixes bug #356846
198 2008-01-31 Igor Zelmanovich <igorz@mainsoft.com>
200 * Calendar.cs: resolve Next/Prev. month link date correctly.
202 2008-01-29 Igor Zelmanovich <igorz@mainsoft.com>
204 * TreeView.cs: add XPFileExplorer icon set.
206 2008-01-28 Igor Zelmanovich <igorz@mainsoft.com>
208 * Menu.js: dynamic nodes are positioned after hover style of
209 parent node is applied.
211 2008-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
213 * DataSourceCacheManager.cs: fixed GetKeyFromParameters, incase more
214 than one datasource using the same object with the same select method
216 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
218 * ValidationSummary.cs:
219 refactoring: If page contents instance of IScriptManager, it calls
220 it's API instead Page.ClientScript.
222 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
224 * Menu.cs: fixed rendering.
226 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
229 manage history state on "MovePrevious" action.
231 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
234 resolve BulletImageUrl,
235 register for event validation.
237 2008-01-13 Igor Zelmanovich <igorz@mainsoft.com>
241 upgrade client side script due to changes in webform.js.
243 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
245 * BaseCompareValidator.cs:
247 * CompareValidator.cs:
248 * CustomValidator.cs:
250 * RegularExpressionValidator.cs:
251 * RequiredFieldValidator.cs:
252 refactoring: If page contents instance of IScriptManager, validators call
253 it's API instead Page.ClientScript.
255 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
260 for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
261 in GetPostBackOptions.
263 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
265 * DetailsView.cs: render invisible rows correct.
267 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
269 * DataControlField.cs: prevent infinite recursion
271 2008-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
273 * DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding
276 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
278 * DataSourceCacheManager.cs: fixed SetCachedObject, fixed
281 2007-12-24 Igor Zelmanovich <igorz@mainsoft.com>
283 * TreeView.cs: revert changes from r91230
285 2007-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
287 * ListControl.cs: fixed Load/SaveViewState, removed selected indices
289 * ListItem.cs: fixed Load/SaveViewState, added selected state storing
290 * ListItemCollection.cs: fixed Load/SaveViewState, added flag to not
291 rebuild the collection if was'nt changed
293 2007-12-13 Marek Habersack <mhabersack@novell.com>
295 * Menu.cs, TreeView.cs: optimize use of String.Format in
297 Speed optimization - use String.Concat instead of String.Format in
300 * GridView.cs, DetailsView.cs: optimize use of String.Format in
303 * CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
304 WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
305 ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
306 optimization - use String.Concat instead of String.Format in some cases.
308 2007-12-13 Vladimir Krasnov <vladimirk@mainsoft.com>
310 * Menu.cs: fixed rendering without head tag on page
312 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
314 * Calendar.cs: performance optimizations:
315 BuildLink fixed, StringBuilder used.
316 TodaysDate DateTime.Today call cahced.
318 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
320 * Unit.cs: performance optimization: ToString fixed, string.Concat used
321 instead of string.Format
323 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
325 * Style.cs: performance optimization: suppress finalizer added
327 2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>
331 evaluate bound value using ThisExpession ("!") properly
333 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
335 * WebControl.cs: enabled state restored properly.
337 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
340 refactoring for NET_2_0:
341 Text is removed from view state in case of need at SaveViewState phase.
343 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
346 SelectedValue/SelectedIndex is set during DataBinding always.
348 2007-11-06 Marek Habersack <mhabersack@novell.com>
350 * DataGrid.cs: add RenderTable before the DataGridItems, so that
351 numbering of children is the same what on MS.NET.
352 If there are any data items, require a postback script.
355 * ChildTable.cs: removed DOS EOLs.
357 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
360 does not perform authentication if Page.IsValid returns false;
361 the fix makes control works with disabled client side validation.
363 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
366 state of DataList.Items are restored correct on PostBack
367 such Items.Count and ItemType.
369 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
372 validator is rendered correct if EnabledClientClient is false.
374 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
376 * Image.cs: fixed management state of Enabled property.
377 * WebControl.cs: refactoring in management state of Enabled property.
379 2007-10-23 Marek Habersack <mhabersack@novell.com>
381 * ListBox.cs, Table.cs: use Render{Begin,End}Tag
382 instead of the Write* counterparts when rendering contents.
384 2007-10-18 Marek Habersack <mhabersack@novell.com>
386 * Menu.js: a workaround for an IE bug. IE recalculates element's
387 offsetWidth when the element's _height_ is set - which in case of
388 elements with overflowing content results in a value that's just
389 slightly smaller than the client window width. In effect, a long
390 submenu will also be very wide, which isn't desirable. Fixes bug
393 2007-10-15 Marek Habersack <mhabersack@novell.com>
395 * ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
398 * BulletedList.cs: html encode the item text. Fixes bug #333550.
400 2007-10-01 Marek Habersack <mhabersack@novell.com>
402 * ListItem.cs: make HasAttributes available for the 1.1 profile as
405 * DropDownList.cs: render custom ListItem attributes in the 1.1
406 profile. Fixes bug #326288
408 2007-09-27 Marek Habersack <mhabersack@novell.com>
410 * Button.cs: added missing OnPreRender method.
412 2007-09-25 Marek Habersack <mhabersack@novell.com>
414 * WebControl.cs: added an internal method, BuildScriptAttribute,
415 which merges the specified JavaScript code in an attribute, with
416 the value of that attribute specified by the user.
418 * CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
419 preserve user-specified attribute value, if present.
421 * ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
422 after doing its job. AutoPostBack handling makes sure to preserve
423 user-specified attribute value, if present. Fixes bug #327816.
425 2007-09-21 Marek Habersack <mhabersack@novell.com>
427 * ListItem.cs: don't save StateBag in the control state - the
428 class is not serializable and therefore ObjectStateFormatter
429 cannot convert it. Instead have the sb object save its own state
430 and store the returned value. Fixes bug #326288.
432 2007-09-20 Marek Habersack <mhabersack@novell.com>
434 * LoginView.cs: implemented RoleGroups support. Fixes bug
437 2007-09-19 Marek Habersack <mhabersack@novell.com>
439 * GridView.cs: copy attributes from GridView to the child table,
440 as this is where the rendering takes place. Fixes bug #326309.
442 2007-09-18 Marek Habersack <mhabersack@novell.com>
444 * Calendar.cs: correctly apply day cell style. Fixes bug #315903
446 2007-09-17 Marek Habersack <mhabersack@novell.com>
448 * Calendar.cs: style attribute value must be enclosed in quotes.
450 * TableStyle.cs: do not capitalize the align styles. Fixes bug
453 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
455 * ListControl.cs: partially restored r85314
456 whenever a property that can affect data binding
457 is set, make sure to set RequiresDataBinding.
459 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
461 * DataBoundControl.cs: fixed DataBind flow:
462 prevent double binding when not necessary.
465 2007-08-31 Marek Habersack <mhabersack@novell.com>
467 * GridView.cs: instead of not adding hidden fields to the rows,
468 mark the cells they would contain as invisible. Fixes bug #82615.
470 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
474 make Menu work in multi form environment.
476 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
478 * ListControl.cs: fixed selected items state management.
480 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
482 * BaseCompareValidator.cs:
484 * CompareValidator.cs:
485 * CustomValidator.cs:
487 * RegularExpressionValidator.cs:
488 * RequiredFieldValidator.cs:
489 all Validators use RegisterExpandoAttribute for
490 not XHTML compliant attributes.
492 2007-08-23 Igor Zelmanovich <igorz@mainsoft.com>
494 * Panel.cs: client script consider MultiForm environment.
496 2007-08-21 Marek Habersack <mhabersack@novell.com>
498 * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
501 2007-08-20 Marek Habersack <mhabersack@novell.com>
503 * ContentPlaceHolderBuilder.cs: store place holder id in the
504 parser's internal place holder id list for later reference. Fixes
507 2007-08-19 Vladimir Krasnov <vladimirk@mainsoft.com>
509 * BoundField.cs: FormatDataValue, refactored multiple use of ToString
511 2007-08-14 Marek Habersack <mhabersack@novell.com>
513 * ObjectDataSourceView.cs: remove unused variable.
515 * ChangePassword.cs: remove unused variable.
516 The change password button id changed to
517 "ChangePasswordPushButton", the cancel button id changed to
518 "CancelPushButton". The change makes the generated ids the same
519 what on MS.NET. Fixes bug #82418.
521 * RoleGroupCollection.cs: OnValidate shouldn't be overridden.
523 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
525 * ParameterCollection.cs: fixed IndexOfString, should use ordinal
528 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
530 * Menu.cs: performance refactoring, used AddAttribute overload without
531 encoding on known attribute values, optimized DynamicMenu rendering
533 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
535 * TreeView.cs: refactoring, used AddAttribute overload without encoding
536 on known attribute values,
537 used Page.ClientScript.GetWebResourceUrl call instead of
538 AssemblyResourceLoader.GetResourceUrl
540 2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
542 * AccessDataSource.cs: does not subscribed on view changed event.
543 * ObjectDataSource.cs: fixed state management.
544 * SqlDataSource.cs: fixed state management.
546 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
549 DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs,
550 RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs,
551 TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs,
552 BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs,
553 RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs,
554 ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs,
555 TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs:
556 refactoring, used AddAttribute overload without encoding on known attribute
559 2007-08-01 Igor Zelmanovich <igorz@mainsoft.com>
561 * DropDownList.cs: fixed onchange attibute.
563 2007-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
565 * ListItemCollection.cs: fixed LoadViewState, items restored from
566 viewstate were not saved, fixes bug #82192
568 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
570 * BaseValidator.cs: All client scripts are rendered
571 according IsMultiForm property.
573 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
575 * TreeView.cs: refactoring:
577 used ClientScriptManager.GetCallbackEventReference API instead calling
578 WebForm_DoCallback explicit.
580 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
582 * BaseValidator.cs: for NET_2_0: fixed client side validation.
583 validation is performed in WebForm_DoPostback,
584 and there is no need to do it twice in ValidatorOnSubmit.
586 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
588 * Calendar.cs: fixed: correct 'id' attribute is rendered.
590 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
592 * ListItemCollection.cs: optimized SetDirty method
594 2007-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
598 * ListItemCollection.cs: controls based on ListControl should not save
599 view state before than TrackViewState called
601 2007-07-04 Vladimir Krasnov <vladimirk@mainsoft.com>
603 * WebControl.cs: fixed AddDisplayStyleAttribute, returns if
604 ControlStyle is not created
606 2007-07-02 Marek Habersack <mhabersack@novell.com>
608 * WebControl.cs: Revert r80368, as it wasn't the correct
609 fix. Fixes bug #81945.
611 * ListControl.cs: if there are no items in the collection, do not
612 return an empty ArrayList from GetSelectedIndicesInternal. Fixes
613 bug #81945 and properly fixes bug #78533.
615 * ListItemCollection.cs: if there are no items in collection,
618 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
621 the Pager is created but unvisible for only one page.
622 the Patch submitted by Dumitru Ban [dban@dako.ro]
624 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
629 does not requires data binding if any ITemplate property is set.
631 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
633 * CheckBox.cs: fixed Render, HasAttributes called instead
636 2007-06-24 Igor Zelmanovich <igorz@mainsoft.com>
638 * GridView.cs: fixed AllowPaging feature:
639 When the AllowPaging is true the GridView control should automatically
640 hide the pager row when the data source contains fewer than 2 records.
641 patch Patch submitted by Dumitru Ban [dban@dako.ro]
643 2007-06-20 Marek Habersack <mhabersack@novell.com>
645 * WebControl.cs: if savedState is a Triplet, take the actual state
646 data from savedState.First. Also make sure that the data is a
647 Pair. Fixes bug #78533.
649 * DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
650 to keep private entries.
651 * XmlDataSource.cs: as above
653 2007-05-31 Vladimir Krasnov <vladimirk@mainsoft.com>
655 * BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed
656 to ClientScriptManager
658 2007-05-29 Igor Zelmanovich <igorz@mainsoft.com>
660 * ObjectDataSourceView.cs:
661 * SiteMapDataSource.cs:
663 * SqlDataSourceView.cs:
664 DataSourceChanged and DataSourceViewChanged are raised in right case, when
665 different properties changed their value.
667 2007-05-27 Igor Zelmanovich <igorz@mainsoft.com>
669 * ObjectDataSourceView.cs: fixed SelectMethod and SelectCountMethod properties:
670 when changed, DataSourceViewChanged event is raised.
672 * SqlDataSourceView: fixed SelectCommand property:
673 when changed, DataSourceViewChanged event is raised.
675 2007-05-25 Marek Habersack <mhabersack@novell.com>
677 * ObjectDataSourceView.cs: CreateDataObject must pay attention to
678 TypeConverter attributes on the property being converted.
680 2007-05-24 Igor Zelmanovich <igorz@mainsoft.com>
682 * Menu.cs: fixed: alt attribute is rendered as well.
684 2007-05-16 Marek Habersack <mhabersack@novell.com>
686 * CompareValidator.cs: formatting changes
688 2007-05-15 Marek Habersack <mhabersack@novell.com>
690 * ObjectDataSourceView.cs: refactoring - use
691 HttpApplication.LoadType to look up types.
693 2007-05-10 Marek Habersack <mhabersack@novell.com>
695 * Table.cs: render rows, not controls
697 * HyperLink.cs: RenderContents must check if the render method
698 delegate is present and, if yes, call the base RenderContents.
700 * LinkButton.cs: as above.
702 * Label.cs: as above.
704 * TableCell.cs: as above.
705 This change makes the HeaderTemplate in the Wizard control work.
707 * Wizard.cs: if a next/previous step handler modifies
708 ActiveStepIndex do not, respectively, increase/decrease the
709 current step, but use whatever was set in the handler.
711 2007-05-09 Marek Habersack <mhabersack@novell.com>
713 * TreeNodeStyleCollection.cs: do not set font's underline flag to
714 false, set it to its own value instead.
716 * TreeView.cs: if level style exists and has ChildNodesPadding
717 set, it takes precedence over the node style setting (if any).
719 2007-05-08 Marek Habersack <mhabersack@novell.com>
721 * TreeView.cs: children padding is rendered only before and after
722 the children are rendered, not between them. Also, render padding
723 only if there are any nodes to follow the current one.
725 2007-05-07 Marek Habersack <mhabersack@novell.com>
727 * Wizard.cs: additional checks to see whether the wizard needs to
728 move to a next step or not. Fixes bug #81532. Patch sent by Mike
729 Morano <mmorano@mikeandwan.us>, thanks!
731 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
733 * FormView.cs: fixed:
734 avoid NullReferenceException when used EditTemplate w/o binding
735 directive such Eval or Bind.
737 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
739 * MenuItem.cs: fixed:
740 when 'Value' property is not set, value of 'Text' property is used
741 instead and vice versa.
743 2007-05-06 Igor Zelmanovich <igorz@mainsoft.com>
745 * TreeNode.cs: fixed:
746 when 'Value' property is not set, value of 'Text' property is used
747 instead and vice versa.
749 2007-05-04 Marek Habersack <mhabersack@novell.com>
751 * AdRotator.cs: use the new GetPhysicalFilePath method to look up
752 the physical path of the ad file.
754 2007-05-03 Marek Habersack <mhabersack@novell.com>
756 * TreeView.cs: honor ChildNodesPadding of the NodeStyle.
758 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
760 * ControlPropertyNameConverter.css:
761 * FontUnitConverter.cs:
763 * ValidatedControlConverter.cs:
766 2007-05-03 Marek Habersack <mhabersack@novell.com>
768 * TreeNode.cs: correct version of the fix in r76488. Nodes
769 retrieved from a navigation data source which have empty URL will
772 * TreeView.cs: revert r76488, it wasn't entirely correct. I need
773 to investigate the special cases it solved a bit more.
775 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
777 * SqlDataSourceView.cs:
778 make CancelSelectOnNullParameter property works.
780 2007-05-01 Marek Habersack <mhabersack@novell.com>
782 * BaseValidator.cs: do not use User-Agent directly, we must take
783 ClientTarget into account.
785 2007-04-30 Marek Habersack <mhabersack@novell.com>
787 * TreeView.cs: bring rendering closer to the MS.NET rendering.
789 * SqlDataSource.cs: do not catch the exception if ProviderName is
790 not null or empty (as per docs and what MS.NET does).
792 2007-04-19 Igor Zelmanovich <igorz@mainsoft.com>
795 does not accept invalid new password.
797 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
801 added MonoLimitation attributes
803 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
805 * BaseValidator.cs: for TARGET_J2EE:
806 used Page.Request.Browser to determine RenderUplevel
808 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
811 when databound with AutoGenerateColumns = true,
812 data source enumerator created only once.
814 2007-04-18 Marek Habersack <mhabersack@novell.com>
816 * SiteMapDataSource.cs: query the site map for the current node
817 when configured to use it as the start point. Fixes bug #81376,
818 patch from Mike Morano <mmorano@mikeandwan.us>.
820 * Calendar.cs: change year/month format to be culture aware. Fix
821 for bug #81390. Patch submitted by Atsushi Enomoto
824 2007-04-17 Daniel Nauck <dna@mono-project.de>
826 * PasswordRecovery.cs: fixed typo (AnswerLabel.Text).
828 2007-04-17 Marek Habersack <mhabersack@novell.com>
830 * BaseValidator.cs: use the new uplevel browser detection code.
832 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
834 * SqlDataSourceView.cs: fixed: InitializeParameters:
835 restored flow, broken in r75137.
837 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
839 * Menu.cs: popup menu is posed correctly if menu is placed within
840 container with position=relative
842 2007-04-12 Marek Habersack <mhabersack@novell.com>
844 * LoginView.cs: do not call CreateChildControls directly from the
845 IsAuthenticated setter since that would destroy the controls the
846 user might've configured from their Page_PreRender method.
847 Do not use IsAuthenticated in CreateChildControls since that
848 prevents the _correct_ template from being instantiated before the
849 control is transferred to the user's OnPreRender handler. Fixes
852 2007-04-11 Marek Habersack <mhabersack@novell.com>
854 * ImageButton.cs: implement the Enable property and do not
855 register for post back if the control isn't enabled.
857 2007-04-06 Marek Habersack <mhabersack@novell.com>
859 * GridView.cs: don't render invisible fields. Fixes bug #80061.
861 * DetailsView.cs: don't render invisible fields.
863 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
865 * Menu.cs: resolve selected MenuItem if bounded with SiteMapeDataSource.
867 2007-04-05 Marek Habersack <mhabersack@novell.com>
869 * BaseDataBoundControl.cs: restore the LAMESPEC note and code it
870 describes - tests show this is what's happening on MS.NET as
873 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
876 * BaseDataBoundControl.cs:
877 Break recursion when the property is set from within the OnSelect handler
878 in user's code. fixes bug #81175.
880 2007-04-05 Marek Habersack <mhabersack@novell.com>
882 * SiteMapDataSource.cs: fix GetStartNode for situations when the
883 current URL is not defined in the sitemap file. Fixes bug
884 #81314. Patch from Mike Morano <mmorano@mikeandwan.us>.
886 2007-04-03 Marek Habersack <mhabersack@novell.com>
888 * BaseDataBoundControl.cs: adjust for lame specs on MSDN.
890 2007-04-02 Gert Driesen <drieseng@users.sourceforge.net>
892 * MenuItem.cs: Use INavigateUIData.Description as ToolTip. Fixed line
895 2007-03-29 Adar Wesley <adarw@mainsoft.com>
897 * ObjectDataSourceView.cs: fixed events so they are raized at the
898 right times. Added many tests to verify the correct time.
899 * SqlDataSourceView.cs: fixed events so they are raized at the right
900 times. Added many tests to verify the correct time.
902 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
906 avoid Exception if HierarchicalDataSourceView.Select() returns null.
908 2007-03-22 Igor Zelmanovich <igorz@mainsoft.com>
910 * ObjectDataSource.cs:
911 * ObjectDataSourceView.cs:
913 * SqlDataSourceView.cs:
914 fixed flow: changes in Insert/Update/DeleteParameters does not
915 cause DataSourceViewChanged event.
917 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
919 * BaseDataBoundControl.cs: fix as per MSDN - the property is set
920 only if data binding doesn't occur.
922 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
924 * GridView.cs: fixed: PageIndex considers PageCount.
926 2007-03-20 Marek Habersack <mhabersack@novell.com>
928 * DataBoundControl.cs: avoid endless recursion here. Fixes bug #81175
930 * LoginStatus.cs: render login/logout controls with the CssClass
931 set from the parent control. Fixes bug #81196
933 2007-03-19 Igor Zelmanovich <igorz@mainsoft.com>
935 * DataGrid.cs: fixed Save/Load view state, applying styles.
937 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
939 * Style.cs: optimization: used CssStyleCollection .ctor w/o parameters.
941 2007-03-09 Marek Habersack <mhabersack@novell.com>
943 * Login.cs: Make command name comparison case-insensitive in
944 OnBubbleEvent. Patch from Mike Morano <mmorano@mikeandwan.us>
946 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
948 * DataGrid.cs: fixed:
949 Auto-generated columns are restored properly on postback from view state.
951 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
954 when AddAttributesToRender(System.Web.UI.HtmlTextWriter, WebControl)
955 is called, WebControl parameter is passed as argument to
956 FillStyleAttributes (CssStyleCollection, IUrlResolutionService) method.
958 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
962 fixed applying styles if ExtractTemplateRows=true.
964 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
966 * DropDownList.cs: in 2.0 first item is rendered with selected attribute
967 is Enabled=false and no selected items.
969 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
971 * CheckBoxList.cs: in 2.0 access key attribute is rendered in 'input' tags.
973 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
979 * RadioButtonList.cs:
980 fixed: list controls consider ListItem.Attributes property on render.
982 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
984 * CheckBox.cs: fixed: 'span' tag is not rendered if all attributes
985 are rendered in 'input' tag.
987 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
991 used "ONLY_1_1" instead "!NET_2_0"
993 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
995 * BaseDataBoundControl.cs:
996 * DataBoundControl.cs:
997 * HierarchicalDataBoundControl.cs:
998 refactoring: DataBoundControl and HierarchicalDataBoundControl use internal
999 method in BaseDataBoundControl to find a data source control.
1001 2007-03-05 Marek Habersack <mhabersack@novell.com>
1003 * Unit.cs: Support parsing of units in the form ".9em" etc.
1005 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1007 * TemplateColumn.cs: fixed: if ItemTemplate is null, " " is rendered.
1009 2007-03-05 Marek Habersack <mhabersack@novell.com>
1011 * BaseValidator.cs: make validators work correctly with
1012 ListItems. Patch from Daniel Nauck <dna@informatik.uni-kiel.de>
1014 2007-03-04 Marek Habersack <mhabersack@novell.com>
1016 * HierarchicalDataBoundControl.cs: Use the method described below
1017 to get the data source named in DataSourceID.
1019 * BaseDataBoundControl.cs: add an internal method to find a data
1020 source control within all the naming containers above a given
1021 control. The method makes it possible to find controls that reside
1024 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1026 * Repeater.cs: fixed: data-binding flow for 2.0 features.
1028 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1031 * ParameterCollection.cs:
1032 fixed GetValue/s and UpdateValue/s.
1034 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1036 * TreeNodeCollection.cs:
1037 fixed Save/Load viewstate.
1039 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1041 * MenuItemCollection.cs:
1042 fixed Save/Load viewstate.
1044 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1046 * CreateUserWizard.cs:
1048 fixed CausesValidaion and ValidationGroup for navigation buttons.
1050 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1054 fixed LoadPostData to restore checked state for node's checkboxes.
1056 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1058 * TreeNodeCollection.cs: 'dirty' flag is assigned if 'marked' only
1060 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1062 * BaseDataBoundControl.cs: setting DataSource to null does not
1063 call ValidateDataSource.
1064 * HierarchicalDataBoundControl.cs: ValidateDataSource does not
1065 throw exception if argument is null.
1067 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1069 * WebControl.cs: implemented IsEnabled and HasAttributes.
1071 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1073 * BaseDataList.cs: fixed: data-binding flow for 2.0 features.
1075 2007-02-27 Marek Habersack <grendello@gmail.com>
1077 * FileUpload.cs: HasFile is true only if PostedFile is not null
1078 and it actually has an associated file.
1080 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1082 * LoginView.cs: fixed:
1083 ViewChanging and ViewChanged are fired.
1084 optimized Save/Load control state.
1086 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1088 * CreateUserWizard.cs: fixed: does not attempt to send email if
1089 MailDefinition is not defined.
1091 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1094 considers FormsAuthentication.ReturnUrl only if is placed in
1095 the login page defined in web.config.
1097 2007-02-23 Marek Habersack <grendello@gmail.com>
1099 * ObjectDataSourceView.cs: Fix saving/restoring the view state.
1101 * CreateUserWizard.cs: support for sending mail when a new user is
1102 created. Patch from dban@dako.ro.
1104 2007-02-22 Marek Habersack <grendello@gmail.com>
1106 * LoginStatus.cs: Handle OnLoggedOut properly. Patch from
1109 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1111 * ObjectDataSourceView.cs: fixed ViewState behavior to match MS. Added relevant tests.
1113 2007-02-20 Gert Driesen <drieseng@users.sourceforge.net>
1115 * Calendar.cs: Fixed bug #80881 by using Thread's CurrentCulture
1116 instead of CurrentUICulture for DateFormatInfo.
1118 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1120 * SqlDataSource.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1121 * SqlDataSourceView.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1123 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
1125 * ChangePassword.cs: fixed:
1126 ChangePasswordContainer and SuccessContainer cannot be BindingContainer.
1128 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1130 * SqlDataSourceView.cs: Fixed parameter merging logic and some bug fixing.
1133 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
1138 implemented Form.SubmitDisabledControls feature.
1140 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1142 * GridView.cs: IsBindableType for decimal returns true.
1144 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1146 * Menu.js: client script: support IE6.
1148 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1150 * Menu.cs: fixed: considers item.ToolTip, render image inside 'a' tag.
1152 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
1154 * Button.cs, ImageButton.cs, LinkButton.cs: Hanlding of PostbackOptions for
1155 TARGET_J2EE is now centralized in ClientScriptManager.
1156 * TreeView.cs, DetailsView.cs, GridView.cs, TreeView.js, DetailsView.js,
1157 GridView.js: Added a field to the controls JavaScript 'data' object. The
1158 form is initialized to the page 'theForm'. This is used for J2EE portlets
1161 2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1164 first step is recognized as 'finish' if only two steps
1165 and last step is 'complete'
1167 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1169 * BaseValidator: ControlPropertiesValid is called on PreRender
1170 * CompareValidator.cs:
1171 * RangeValidator.cs: fixed ControlPropertiesValid, EvaluateIsValid.
1173 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1175 * BaseCompareValidator.cs: fixed: support for type=Currency on client side.
1177 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1179 * ParameterCollection.cs: fixed IndexOfString, this indexer should be
1182 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
1184 * TreeView.js: refactoring:
1185 removed TreeView_ErrorCallback, used TreeView_PopulateCallback instead.
1187 2007-02-13 Adar Wesley <adarw@mainsoft.com>
1189 * ObjectDataSourceView.cs: fixed parameter merging and added more tests
1191 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1193 * Literal.cs: implemented 2.0 feature - Mode.
1195 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1197 * ViewCollection.cs: fixed public API.
1199 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1201 * RepeaterItem.cs: implemented IDataItemContainer interface.
1203 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1205 * TreeNodeStyle.cs: fixed public API.
1207 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1209 * MenuItemStyle.cs: fixed public API.
1211 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1214 * DayRenderEventArgs.cs:
1215 implemented 2.0 feature - SelectUrl.
1217 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1219 * GridViewRowCollection.cs: implemented IsReadOnly property.
1221 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1223 * BaseValidator.cs: implemented SetFocusOnError feature.
1225 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1227 * Wizard.cs: refactoring:
1228 used ContainedTable for ID attribute is rendered properly.
1230 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1232 * CreateUserWizard.cs:
1236 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1238 * DataList.cs: fixed: OnBubbleEvent() will return true if event is handled
1240 2007-02-09 Gert Driesen <drieseng@users.sourceforge.net>
1242 * FontUnit.cs: Fixed ToString () to use current locale.
1244 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1246 * BaseValidator.cs: fixed render, works in static mode properly
1247 * CreateUserWizard.cs: fixed display mode for validators.
1249 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1253 implemented FormViewPagerRow class
1255 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1258 header and footer visibility is set at creation.
1260 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1262 * FormView.cs: fixed:
1263 header and footer are not created with empty row.
1265 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1267 * FormView.cs: fixed:
1268 works properly with not ICollection data source.
1270 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1272 * DetailsView.cs: fixed:
1273 PageIndex, CreateChildControls,
1274 works properly with not ICollection data source.
1276 2007-02-06 Eyal Alaluf <eyala@mainsoft.com>
1278 * Menu.cs ImageMap.cs Panel.cs TreeView.cs: Ensure that the NavigateUrl
1279 property is rendered as a RenderURL for J2EE portlets.
1281 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1283 * BaseValidator.cs: refactored RegisterValidatorCommonScript to use
1284 RegisterClientScriptInclude instead of RegisterClientScriptBlock
1286 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1288 * DataBoundControl.cs:
1291 PerformDataBinding is called with RequiresDataBinding was set false
1293 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1296 fixed validation flow.
1298 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1301 fixed validation flow.
1303 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1305 * CustomValidator.cs:
1306 ValidateEmptyText is considered on client side.
1308 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1313 * DataControlButton.cs:
1314 * DataControlField.cs:
1317 Internal classes are used in databound controls for buttons
1318 are derived from right types. It allows to have access to them by casting
1319 to public types. This trick is used in one of starter kits of MS.
1321 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1323 * Panel.cs: fixed: reverted r71441.
1324 * TreeView.cs: used internal RegisterWebFormClientScript API
1325 to cause the relevant script be included.
1327 2007-02-01 Adar Wesley <adarw@mainsoft.com>
1329 * FormView.cs: fixed events ModeChanging and ModeChanged
1330 to be raized in all relevant situations.
1332 2007-02-01 Igor Zelmanovich <igorz@mainsoft.com>
1334 * ValidationSammary.cs: fixed:
1335 control is rendered even if there is no validators on the page.
1336 important if the page contain a client side script that refer to the
1337 id of the validation summary div.
1339 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1344 * RadioButtonList.cs:
1345 EnsureDataBound is called when PostData is processed to restore
1346 'state' of control if EnableViewState is false
1348 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1350 * GridView.cs: fixed:
1351 RowDataBound is fired for PagerRow.
1352 Styles are applied using MergeWith instead CopyFrom
1353 to allow using custom styles for rows in code-behind.
1355 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1357 * GridView.cs: fixed: RowCommand event is fired properly.
1359 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1361 * GridView.cs: fixed: created rows are added in table after initialization.
1364 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1366 * Panel.cs: fixed 'background-image' attribute.
1368 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1370 * BaseDataBoundControl.cs:
1371 * DataBoundControl.cs:
1372 fixed DataBinding flow: RequiresDataBinding is set to false in
1374 * HierarchicalDataBoundControl.cs: implemented MarkAsDataBound().
1376 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1380 fixed DataBinding flow for Insert mode.
1382 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1385 does not RegisterRequiresPostBack if is not enabled.
1387 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1391 fixed PopulateOnDemand: used UniqueID to call WebForms_DoCallBack().
1393 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
1395 * MultyView.cs: OnActiveViewChanged is called.
1397 2007-01-29 Vladimir Krasnov <vladimirk@mainsoft.com>
1399 * Panel.cs: fixed AddAttributesToRender for 2.0, text align should be
1402 2007-01-29 Adar Wesley <adarw@mainsoft.com>
1404 * EditCommandColumn.cs: implemented CausesValidation and
1405 ValidationGroup and coresponding tests.
1406 * DataGrid.cs: fixed generated table to be compatible with MS 2.0
1408 2007-01-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1410 * WebControl.cs: added internal method AddDisplayStyleAttribute for
1411 display:inline-block style attribute
1414 * CheckBox.cs: added call to AddDisplayStyleAttribute on rendering
1416 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
1418 * TreeView.js: Used WebForm_GetFormFromCtrl to lookup the form.
1420 2007-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1422 * TextBox.cs: implemented AutoCompleteType property, fixed
1423 AddAttributesToRender
1425 2007-01-24 Ilya Kharmatsky <ilya -at- decode-systems.com>
1427 * DetailsView.cs: fixed problems with rendering of control, when
1428 empty data source is provided. Respective tests are provided
1429 in DetailsViewTest.cs
1431 2007-01-21 Konstantin Triger <kostat@mainsoft.com>
1433 * TreeView.js, DetailsView.js, Menu.js, GridView.js:
1434 suppress exception if eval() fails.
1436 2007-01-20 Miguel de Icaza <miguel@novell.com>
1438 * DataControlFieldCollection.cs (RemoveAt): remove unused
1441 * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
1444 * RadioButton.cs (RaisePostDataChangedEvent): This method was not
1445 used in 1.0, so put the whole method in 2.0
1447 2007-01-18 Adar Wesley <adarw@mainsoft.com>
1449 * Xml.cs: added support for XPathNavigator, fixed DocumentContent
1450 to be compatible with MS 2.0, implemented EnableTheming, implemented
1451 SkinID, fixed Focus behavior.
1453 2007-01-18 Vladimir Krasnov <vladimirk@mainsoft.com>
1455 * Menu.js, Menu.js: added null reference checking for every getTree or
1458 2007-01-18 Adar Wesley <adarw@mainsoft.com>
1460 * SiteMapDataSource.cs: implemented logic of GetStartNode when
1461 StartingNodeOffset is positive.
1463 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
1465 * BaseValidator.cs: ToString the validating property value or
1466 if null return an empty string.
1468 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1470 * TreeView.cs: fixed RegisterStyle, style names should be without
1471 leading underscore. fixed RenderNode, node icons should be taken also
1474 2007-01-17 Adar Wesley <adarw@mainsoft.com>
1476 * Repeater.cs: refactored GetData to return data both from DataSource
1477 and DataSrouceID, Implemented EnableTheming, updated initialization of
1478 DataBinding according to the pattern of BaseDataBoundControl, fixed
1479 SelectArguments implementation to call the virtual
1480 CreateDataSourceSelectArguments method.
1482 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
1484 * GridView.cs: don't force creating rows collection when SelectedIndex
1485 changes; EnsureDatabound on select.
1487 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1489 * TreeNode.cs: fixed Bind, fixed Value updating
1491 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1493 * DataList.cs: fixed OnBubbleEvent, added SelectedIndex updating
1495 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1497 * DetailsView.cs: fixed CreateChildControls, PageIndex cannot be less
1500 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1502 * DetailsView.cs: fixed CreateChildControls, PageIndex should be less
1503 or equal to PageCount
1505 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
1507 * Menu.cs: added z-index attribute to popup div's.
1509 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1511 * FileUpload.cs: fixed FileName property, should return filename
1512 without full path on client side
1514 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
1519 Implemented the protected net_2_0 method 'VerifyMultiSelect' with
1520 proper overloading in derived types.
1522 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
1525 considers INavigateUIData.NavigateUrl when bound.
1527 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
1529 * CompleteWizardStep.cs
1530 * CreateUserWizard.cs
1531 * CreateUserWizardStep.cs
1532 * TemplatedWizardStep.cs
1534 make the design complied to .NET
1535 build all possible controls at once and manage render by Visible property
1537 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
1538 * Button.cs, HyperLink.cs, DataGrid.cs, ImageButton.cs, LinkButton.cs,
1539 PagedDataSource.cs: Added J2EE Portal support for TARGET_J2EE.
1541 2007-01-14 Ilya Kharmatsky <ilyak-at-mainsoft.com>
1542 * BaseCompareValidator
1544 Added support for CultureInvariantValues property, which should be
1545 counted in new 2.0 methods such as - Compare, Convert etc. The code
1546 has been changed in such way, that the old - 1.1 method implementation
1547 could use the new methods defined for 2.0 version.
1549 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
1551 * XmlDataSource.cs: refactored to use cached collection.
1552 * SqlDataSource.cs: refactored to use cached collection;
1553 don't throw exception on 'DefaultView'.
1554 * ObjectDataSource.cs: refactored to use cached collection.
1556 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
1558 * ObjectDataSourceView.cs: consider parameter names and
1559 DataObjectMethodAttribute during method resolution.
1561 2007-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1563 * SqlDataSourceView.cs: fixed OnUpdating, OnInserting call with
1564 SqlDataSourceCommandEventArgs
1566 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
1568 * ObjectDataSourceView.cs: use case unsensitive comparer for
1569 parameters collection.
1571 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1573 * LoginStatus.cs: fixed: not causes page validation.
1575 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1577 * CreateUserWizard.cs: fixed: resolves ErrorMessage control correct.
1578 * CreateUserWizardStep.cs:
1580 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1582 * TreeView.cs: fixed: SelectedNode, CheckedNodes.
1584 * TreeNodeCollection.cs:
1586 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1588 * GridView.cs: fixed: header and footer does not appear in no items.
1589 * CompositeDataBoundControl.cs:
1591 2007-01-09 Konstantin Triger <kostat@mainsoft.com>
1593 * AdRotator.cs: Backport the fix for AdRotator AbsoluteUri to 1.1.
1595 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
1597 * GridView.cs: fixed: SelectedDataKey.
1599 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
1603 implemented 2.0 features.
1605 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1607 * SqlDataSourceView.cs: fixed parameters init for ExecuteUpdate
1609 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
1611 * DataSourceCacheManager.cs:
1612 * ObjectDataSource.cs:
1614 fixed: cache considers parameters values changes.
1616 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1618 * DetailsView.cs: fixed DeleteItem, excluded keys for new values
1619 * SqlDataSourceView.cs: fixed ExecuteDelete, check cancel in
1622 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
1624 * GridView.cs: fixed: show all rows when AllowPaging=false
1626 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
1628 * SqlDataSourceView.cs: fixed CreateDbParameter, used DBNull for value=null.
1630 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
1632 * ButtonField.cs: fixed: consider its CausesValidation property.
1634 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
1636 * GridView.cs: fixed:
1637 ReadOnly property is false for AutoGeneratedColumn if field is DataKey.
1638 causesValidation parameter is considered properly in UpdateRow.
1639 OldValues contains readonly fields values
1641 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1643 * SqlDataSourceView.cs: fixed InitializeParameters, added
1644 ParameterPrefix when check that param is already in collection
1646 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
1648 * AdRotator.cs: fixed: considers absolute uri such html://......
1650 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1652 * SqlDataSourceView.cs: fixed insert, delete, update methods, added
1653 calls to OnDataSourceViewChanged
1655 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1657 * added ProfileParameter.cs
1659 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
1661 * Label.cs: fixed: according MSDN OnPreRender is not overridden.
1663 2007-01-04 Adar Wesley <adarw@mainsoft.com>
1665 * ImageButton.cs: implemented GenerateEmptyAlternateText
1667 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
1669 * FormView.cs: fixed data binding flow considers Insert mode.
1671 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
1673 * DataBoundControl.cs: fixed Init flow.
1675 2007-01-4 Adar Wesley <adarw@mainsoft.com>
1677 * RadioButtonList.cs: Implemented properties of IRepeatInfoUser as public virtual
1679 2007-01-03 Marek Habersack <grendello@gmail.com>
1681 * ObjectDataSourceView.cs: Look for unqualified type also in the top-level assemblies.
1683 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
1685 * FormView.cs: fixed PageIndex property.
1687 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
1689 * ListControl.cs: fixed SelectedValue and SelectedIndex properties.
1690 set accessor works differently in 2.0.
1692 2007-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
1694 * SqlDataSourceView.cs,ObjectDataSourceView.cs: fixed parameter merge
1695 when values and old values are null
1697 2006-01-02 Igor Zelmanovich <igorz@mainsoft.com>
1699 * ListControl.cs: reverted r70112, fixed in r70319.
1701 2007-01-02 Igor Zelmanovich <igorz@mainsoft.com>
1703 * DetailsView.cs: fixed CreateAutoGeneratedRows.
1705 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
1707 * AutoGeneratedField.cs: is editable in Insest mode.
1708 * BoundField.cs: is editable in Insest mode.
1709 * CheckBoxField.cs: is editable in Insest mode.
1710 * DetailsView.cs: fixed DataBinding flow.
1712 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
1714 * BaseDataBoundControl.cs:
1715 * CompositeDataBoundControl.cs: fixed DataBinding flow.
1717 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1719 * LinkButton.cs: show the validation summary when client validation
1720 and linkbuttons are used. Patch by Juraj Skripsky.
1722 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
1724 * TextBox.cs: consider ToolTip property
1726 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
1728 * ContainedTable.cs:
1729 * DataControlButton.cs:
1730 * DetailsView.cs: fixed EnablePagingCallbacks
1733 * GridView.js: fixed EnableSortingAndPagingCallbacks
1735 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
1738 ResolveClientUrl used with LineImagesFolder, ExpandImageUrl,
1739 CollapseImageUrl and NoExpandImageUrl properties.
1741 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1743 * SqlDataSource.cs: Added parameters update on OnInit
1745 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1747 * LoginView.cs: fixed rendering LoggedInTemplate even after user
1750 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
1755 control's behavior depends on using DataSource or DataSourceID
1756 property for binding
1758 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
1760 * CommandField.cs: fixed:
1761 when ShowEditButton=false Update/Cancel button doesn't appear.
1762 when ShowInsertButton=false Insert/Cancel button doesn't appear.
1764 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
1766 * Login.cs: fixed AuthenticateUser, should redirect to ReturnUrl when
1768 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
1770 * Parameter.cs: fixed ConvertValue to coorect handle TypeCode.Empty
1771 * ObjectDataSourceView.cs: fixed MergeParameterValues,
1772 call Parameter.ConvertValue
1773 fixed ConvertParameter to hanlde TypeCode.Empty
1774 * SqlDataSourceView.cs: fixed InitializeParameters,
1775 call Parameter.ConvertValue
1776 fixed ParameterPrefix property
1777 fixed CreateDbParameter, added usege of ParameterPrefix
1779 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
1781 * ListControl.cs: fixed: when is used with DataSourceID data bind is not
1782 perfomed on PostBack because Items collection is restored from View state.
1784 2006-12-26 Igor Zelmanovich <igorz@mainsoft.com>
1786 * DataGridPagerStyle.cs:
1791 * TableItemStyle.cs:
1796 fixed: Load/Save viewstate of WebControl does not call Load/Save viewstate
1797 for it's ControlStyle, but the shared ViewState is used to manage style's
1800 2006-12-21 Igor Zelmanovich <igorz@mainsoft.com>
1802 * CompleteWizardStep.cs:
1803 * CreateUserWizard.cs:
1804 * CreateUserWizardStep.cs:
1805 * TemplatedWizardStep.cs:
1807 fixed: CreateUserWizard works properly in advanced scenarios
1808 such being used with additional steps or/and with custom templates.
1809 Styles are aplied properly.
1811 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
1813 * SqlDataSourceView.cs: fixed InitializeParameters, parameters order
1814 parameters case insensetive search
1815 * ObjectDataSourceView.cs: fixed MergeParameterValues, parameters
1816 case insensetive search
1818 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
1820 * Menu.cs: fixed: ResolveClientUrl used with src and href attributes
1822 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
1826 TreeNodeCollapsed is not raised for leaf node.
1828 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1830 * DataGrid.cs, RepeatInfo.cs: fixed accessibility features
1832 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
1834 * Calendar.cs: support DayNameFormat.Shortest
1836 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
1838 * HiddenField.cs: implemented
1840 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
1842 * FormView.cs: fixed: FillRowDataKey
1843 * DetailsView.cs: fixed: FillRowDataKey
1845 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
1847 * TreeView.cs: fixed: ResolveClientUrl used with ImageUrl and NavigateUrl
1849 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1851 * Login.cs: refactored rendering, fixed OnAuthenticate event
1853 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
1855 * GridView.cs: fixed: Update works not only for EditRow
1857 * CompositeDataBoundControl.cs:
1859 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
1861 * RadioButton.cs: fixed:
1862 When GroupName is not defined UniqueID is used instead for name attribute.
1863 CheckedChanged is raised only when control is checked.
1865 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
1867 * Menu.cs: fixed: rendering.
1869 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
1871 * Menu.cs: fixed: rendering.
1873 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
1878 fixed rendering for 2.0
1880 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
1882 * DetaisView.cs: fixed: rendering.
1883 * DataControlButton.cs:
1886 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
1888 * FormView.cs: fixed: avoid empty row rendering.
1890 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
1892 * AdRotator.cs: fixed:
1893 MSDN: The ImageUrl and NavigateUrl attributes can be a full URL, a
1894 root-relative path, or a relative path. If you use a root-relative path,
1895 the path is relative to the same Web site. If you use a relative path,
1896 the path is relative to the directory that contains the advertisement file.
1898 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
1900 * BaseCompareValidator.cs: fixed: support for type=Date on client side.
1902 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
1904 * TreeView.cs: fixed: support for event validation.
1906 2006-12-04 Igor Zelmanovich <igorz@mainsoft.com>
1908 * DataGridPagerStyle.cs: chenged values of DataGridPagerStyles flags.
1910 2006-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1912 * CreateUserWizard.cs: implement GeneratePassword based on Membership.
1914 2006-11-27 Vladimir Krasnov <vladimirk@mainsoft.com>
1916 * Wizard.cs: fixed GetStepType method that returned wrong type if the
1917 last step type is Complete.
1918 fixed ProcessEvent method, corrected FinishButtonClick behavior
1920 2006-11-26 Marek Habersack <grendello@gmail.com>
1922 * Calendar.cs: Fixed event validation registration. Now it
1923 registers all the arguments that can be passed by this control to
1926 2006-11-25 Marek Habersack <grendello@gmail.com>
1928 * FileUpload.cs: Implementation of SaveAs
1930 * TreeView.cs: A few optimizations for empty style collections.
1932 * Menu.cs: A few optimizations for empty style collections.
1934 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
1936 * BoundField.cs: fixed: GetDesignTimeValue()
1938 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
1940 * SiteMapDataSource.cs: fixed: GetViewNames()
1942 2006-11-23 Vladimir Krasnov <vladimirk@mainsoft.com>
1944 * ChangePassword.cs: implemented functionality
1945 * MailDefinition.cs: implemented CreateMailMessage method
1946 * PasswordRecovery.cs: implemented functionality
1948 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
1950 * CircleHotSpot.cs: fixed:
1951 setting Radius with value <0 throws ArgumentOutOfRangeException.
1953 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
1955 * CookieParameter.cs: fixed Evaluate method.
1957 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
1959 * Parameter.cs: fixed Evaluate, ToString methods.
1960 * QueryStringParameter.cs: fixed Evaluate method.
1961 * SessionParameter.cs: fixed Evaluate method.
1963 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
1965 * ImageMap.cs: fixed rendering.
1967 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
1969 * HotSpot.cs: fixed: AccessKey and HotSpotMode
1970 throw ArgumentOutOfRangeException.
1972 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
1974 * ControlParameter.cs: fixed: Evaluate method
1975 throws exceptions correctly.
1977 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
1979 * CheckBox.cs: fixed: new 2.0 features such
1980 LabelAttributes and InputAttributes.
1982 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
1984 * GridView.cs: fixed: header, footer and empty rows are databound.
1986 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
1988 * Style.cs: added internal helper method RemoveTextStyles.
1990 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
1992 * Button.cs: fixed: support for event validation.
1993 * CheckBox.cs: fixed: support for event validation.
1994 * FormView.cs: fixed: support for event validation.
1995 * ImageButton.cs: fixed: support for event validation.
1996 * ListBox.cs: fixed: support for event validation.
1997 * TextBox.cs: fixed: support for event validation.
1999 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2001 * DropDownList.cs: fixed: support for event validation.
2003 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2005 * LinkButton.cs: optimized: support for event validation.
2006 * DataControlButton.cs: Added support for event validation.
2007 * DetailsView.cs: fixed: RowIndex for DetailsViewRow.
2009 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2011 * LinkButton.cs: Added support for event validation.
2013 2006-11-17 Marek Habersack <grendello@gmail.com>
2015 * ImageButton.cs: Added support for event validation.
2017 * ListBox.cs: Added support for event validation.
2019 * Calendar.cs: Added support for event validation.
2021 * DropDownList.cs: Added support for event validation.
2023 * FormView.cs: Added support for event validation.
2025 * RadioButtonList.cs: Added support for event validation.
2027 * TextBox.cs: Added support for event validation.
2029 * BulletedList.cs: Added support for event validation.
2031 * CheckBox.cs: Added support for event validation.
2033 * Button.cs: Added support for event validation.
2035 2006-11-16 Igor Zelmanovich <igorz@mainsoft.com>
2037 * CreateUserWizard.cs: fixed: ActiveStepIndex property.
2039 2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>
2041 * ListControl.cs: fixed: DataBinding for 2.0, for 1.x - refactoring only.
2043 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2045 * GridView.cs: fixed: Rows property, DataBinding flow.
2046 * DataBoundControl.cs:
2047 * BaseDataBoundControl.cs:
2049 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2051 * CompositeDataBoundControl.cs: fixed:
2052 DataBind call Controls.Clear().
2054 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
2056 * CompositeDataBoundControl.cs: fixed:
2057 DataBind sets ChildControlsCreated=true.
2059 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2061 * Login.cs: fixed CreateChildControls, throws exception if needed
2063 * LoginView.cs: fixed CreateChildControls, check templates for null
2065 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2067 * Wizard.cs: fixed ActiveStepIndex property, fixed SideBar button
2068 rendering, fixed history updating
2069 * WizardStepCollection.cs: fixed implemented interfaces
2071 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2073 * XmlDataSource.cs: CacheKeyDependency fixed
2075 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
2077 * DetailsView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2079 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2081 * DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.
2083 2006-11-09 Vladimir Krasnov <vladimirk@mainsoft.com>
2085 * ParameterCollection.cs: fixed SetDirtyObject method
2086 * ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState
2087 utilization for control's properties, implemented caching
2088 * SqlDataSource.cs, SqlDataSourceView.cs: implemented caching
2090 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2092 * GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2094 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2096 * DataBoundControl.cs: fixed:
2097 ConfirmInitState method s called by
2098 the DataBoundControl class in its OnLoad method.
2100 2006-11-06 Igor Zelmanovich <igorz@mainsoft.com>
2102 * FormView.cs: fixed: DataBinding flow.
2104 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2106 * CustomValidator.cs: implemented ValidateEmptyText fixture.
2108 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2110 * BaseCompareValidator.cs: fixed: CultureInvariantValues, Type properties.
2112 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2114 * Menu.cs: fixed: RenderEndTag.
2115 Dynamic menu is rendered when StaticDisplayLevels=1
2117 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2119 * GridView.cs: fixed: UpdateRow, DeleteRow, RowCreated.
2121 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2123 * FormView.cs: fixed: UpdateItem, DeleteItem.
2125 2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>
2127 * DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.
2129 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2131 * RadioButtonList.cs: fixed: has no html output when Items.Count=0.
2133 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2135 * ListControl.cs: fixed: setting SelectedVolue for 2.0.
2137 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2139 * DataBoundControl: fixed: ValidateDataSource allows null as dataSource.
2141 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2143 * ListControl.cs: fixed: assigning SelectedIndex with too hight value.
2145 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2147 * ListControl.cs: fixed: DataBinding for 2.0.
2148 for 1.x refactoring only.
2150 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2152 * ChangePassword.cs: new class was implemented.
2154 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2156 * EmbeddedMailObject.cs: new class was implemented.
2157 * EmbeddedMailObjectsCollection.cs: new class was implemented.
2158 * MailDefinition.cs: new class was implemented.
2160 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2162 * PagerSettings.cs: fixed: CreatePagerControl.
2164 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2166 * CommandField.cs: fixed:
2167 considers CaseValidation, ValidationGroup, ButtonType.
2168 * DataControlButton.cs: refactoring:
2170 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2172 * DetailsView.cs: implemented: GetCallbackScript method.
2174 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2176 * FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2178 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2180 * FormFiew.cs: fixed: UpdateItem, InsertItem.
2182 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2184 * FormFiew.cs: fixed: PageIndex, rendering.
2186 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2188 * DropDownList.cs: fixed: rendering "name" attribute".
2190 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2192 * GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2193 * DataControlButton.cs:
2194 * CommandField.cs: CausesValidation feature must be implemented other way
2196 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2198 * CompositeDataBoundControl.cs: fixed: CreateChildControls flow.
2200 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2202 * FormView.cs: fixed: OnBubbleEvent returns true when event is handled.
2204 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2206 * DetailsView.cs: fixed: OnBubbleEvent works properly.
2208 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2210 * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
2212 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2214 * DetailsView.cs: fixed: CurrentMode property.
2216 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2218 * DetailsView.cs: fixed: current state are not changed during paging.
2220 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2222 * DetailsView.cs: fixed:
2223 in Insert mode Select not invoked from DataSource
2225 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
2227 * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
2229 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2231 * FormView.cs: fixed: CreateDataSourceSelectArguments method.
2232 (corresponding test does not work because bug in ObjectDataSourceView)
2234 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2236 * DataBoundControl.cs: fixed: DataBind calls
2237 CreateDataSourceSelectArguments() and stores result in SelectArguments
2239 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2243 fixed: EnablePagingCallbacks feature.
2244 when postback is invoked after callback control state is restored
2247 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2249 * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
2251 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2253 * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
2254 (corresponding test does not work because bug in ObjectDataSourceView)
2256 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2258 * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
2259 when postback is invoked after callback control state is restored
2262 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2264 * GridView.cs: fixed: Sorting feature.
2265 When sorting EditIndex and PageIndex are reseted
2267 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2269 * GridView.cs: fixed: Sorting feature.
2270 CreateDataSourceSelectArguments considers SortExpression and SortDirection.
2271 (corresponding test does not work because bug in ObjectDataSourceView)
2273 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2275 * GridView.cs: fixed:
2276 CreateDataSourceSelectArguments works according to MSDN.
2277 (corresponding test does not work because bug in ObjectDataSourceView)
2279 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2281 * ObjectDataSourceView.cs: fixed:
2282 CanRetrieveTotalRowCount returns true if EnablePaging = false
2284 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
2286 * DataBoundControl.cs: fixed: DataBind flow
2287 CreateDataSourceSelectArguments() is called
2288 each time as DataBind() is called
2290 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2292 * BoundField.cs: implemented ValidateSupportsCallback().
2294 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2296 * CommandField.cs: ValidateSupportsCallback(): exception's message.
2298 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2300 * FormView.cs: fixed: CurrentMode property.
2302 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2308 reverted r66222, problem solved in r66283: command buttons inherit ForeColor
2310 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2312 * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
2315 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2317 * HyperLink.cs: don't render the img tag 'by hand' but use an Image
2318 instead, which takes care of the 0/0px case. Also set the ToolTip
2319 property. Fixes bug #79585.
2321 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2323 * DetailsView.cs: optimization for previous patch
2325 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2327 * FormView.cs: optimization for previous patch
2329 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2332 * DetailsViewRow.cs:
2333 implemented PrepareControlHierarchy()
2334 styles are applied correct
2336 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2339 implemented PrepareControlHierarchy()
2340 styles are applied correct
2342 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2345 * DataControlButton.cs:
2346 * DataControlField.cs:
2347 implemented PrepareControlHierarchy()
2348 styles are applied correct
2349 command buttons inherit ForeColor
2351 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2353 * WebControl.cs: fixed: CreateControlStyle()
2355 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2361 corrected pager rendering: Color style applied to A tag,
2362 Input type="image" used if ImageUrl is not empty.
2364 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2366 * GridView.cs: corrected rendering
2367 * ContainedTable.cs: added new helper class
2369 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2371 * FormView.cs: fixed:
2372 in Insert mode Select not invoked from DataSource
2374 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2376 * FormView.cs: fixed:
2377 Pager is not shown when page count < 1
2378 in Edit mode use EmptyDataTemplate if there is no DataItem
2379 when page changed FormView stays in current state.
2381 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
2383 * FormView.cs: fixed: OnBubbleEvent works properly
2385 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
2387 * DataBoundControl.cs: fixed: DataBind flow
2388 GetData return "empty" DataSourceView when no DataSource and DataSourceID
2389 was assigned to cause PerformDataBinding be called.
2391 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2393 * DataList.cs: use ExtractTemplateRows to determine if the style is
2394 applied to the Table in a template or to its rows. Fixes bug #78058.
2396 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2398 * ListBox.cs: if the list is not enabled, don't require a postback.
2401 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2403 * HyperLink.cs: don't output the nabvigate url if disabled.
2404 * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
2405 the link URL if disabled.
2408 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2410 * RadioButtonList.cs:
2411 make it to consider CausesValidation and ValidationGroup properties
2413 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2416 make it to consider CausesValidation and ValidationGroup properties
2418 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2421 Page.Validate() is called when CausesValidation=true
2423 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2426 make onclick attribute to consider ValidationGroup property.
2428 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2431 make rendering of the href attribute to consider ValidationGroup property.
2432 Page.Validate() is called when CausesValidation=true
2434 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2437 make rendering of the onchange attribute to consider ValidationGroup
2439 Page.Validate() is called when CausesValidation=true
2441 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2444 make rendering of the onclick attribute to consider ValidationGroup property
2445 Page.Validate() is called when CausesValidation=true
2447 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2450 VewState saving and restoring rolled back to 1.1 implementation
2451 (fixed corresponding test), corrected public interface (there are no
2452 overriden methods SaveControlState, LoadControlState and OnInit),
2453 implemented CausesValidation and ValidationGroup properties.
2455 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2458 make rendering of the onclick attribute to consider ValidationGroup property
2459 Page.Validate() is called when CausesValidation=true
2461 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2464 implemented: RaisePostBackEvent,
2465 refactoring: GetPostBackOptions used to build onclick client event
2467 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2469 * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
2471 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2473 * BaseValidator.cs: implemented ValidationGroup feature on client side
2474 * ValidationSummary.cs:
2476 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
2478 * TreeView.cs: corrected rendering
2481 2006-09-11 Konstantin Triger <kostat@mainsoft.com>
2483 * Login.cs: ensure the urls are correctly resolved.
2485 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2487 * TreeView.cs: corrected rendering: styles are applied correct
2491 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2493 * TreeView.cs: corrected rendering: HoverNodeStyle works
2497 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2499 * TreeNodeStyle.cs: fixed: ViewState restored properly
2501 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2505 * TableItemStyle.cs:
2506 * DataGridPagerStyle.cs:
2507 refactoring: makes Style class more flexible for inheriting and reuse
2509 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2511 * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked
2512 state restored correct on PostBack.
2515 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2517 * ObjectDataSourceView.cs: correctly find the type when it is not in the
2518 executing assembly. Fixes bug #78321. Patch by Marek Habersack.
2520 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2522 * ControlParameter.cs: fix search for controls so that they use their
2523 NamingContainer, not the Page. Patch by Marek Habersack that fixes
2526 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2528 * Login.cs: fix problem with the login control and master pages.
2529 Patch by Marek Habersack that fixes bug #78219.
2531 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
2533 * TreeView.cs: fixed: populating nodes.
2536 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
2538 * TreeNode.cs: fixed: ToggleExpandState.
2540 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
2542 * SqlDataSourceView.cs: return DataView from ExecuteSelect when
2543 DataSourceMode is DataSet.
2545 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2547 * TreeView.cs: fixed: populating nodes flow.
2548 * TreeNodeCollection.cs
2551 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2553 * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.
2555 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2557 * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.
2559 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2561 * TreeView.cs: fixed: when specified value is not one of
2562 the TreeNodeTypes values exception is threw.
2564 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2566 * TreeView.cs: fixed: when specified image set is not one of
2567 the TreeViewImageSet values exception is threw.
2569 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
2571 * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.
2573 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
2575 * Style.cs: implemented SetBit().
2577 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
2579 * CompareValidator.cs: fixed controltocompare attribute.
2581 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
2584 when login attempt was not successful FailureText is shown.
2586 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
2588 * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage
2589 is formatted correct.
2591 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
2593 * CreateUserWizard.cs:
2594 * CompleteWizardStep.cs:
2595 * CreateUserWizardStep.cs:
2597 fixed: ContinueButtonClick occurs when the user clicks
2598 the Continue button in the final user account creation step.
2599 ContinueDestinationPageUrl - redirected after clicking
2600 the Continue button on the success page.
2602 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2604 * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
2605 insted internal DataControlButton.
2607 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2609 * Button.cs: implemented GetPostBackOptions + refactoring
2611 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2613 * ImageButton.cs: implemented 2.0 features
2614 OnClientClick attached to onclick attribute.
2615 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
2616 generate onclick attribute.
2618 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2620 * LinkButton.cs: typo fix
2622 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2624 * Button.cs: refactoring
2626 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2628 * LinkButton.cs: implemented 2.0 features
2629 OnClientClick attached to onclick attribute.
2630 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
2633 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
2635 * Button.cs: implemented 2.0 features
2637 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
2639 * Menu.cs: refactoring
2642 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
2644 * TreeView.cs: fixed data binding
2646 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
2648 * TreeNodeBinding.cs: fixed ToString method
2650 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
2652 * MenuItem.cs: typo fix
2654 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2656 * CreateUserWizardStep.cs: fixed validators message display
2658 2006-08-25 Kornél Pál <kornelpal@gmail.com>
2660 * FileUpload.cs: Use assembly name constants.
2662 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2664 * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
2665 always creates ExtractTemplateValuesMethod delegate
2667 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
2669 * TreeNodeBinding.cs: corrected public interface
2672 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2674 * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
2675 case, but there are many others.
2677 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
2679 * Menu.cs: corrected rendering of static and dynamic items
2682 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
2686 fixed: AddAttributesToRender method calls FillStyleAttributes,
2687 text styles applied correct.
2689 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
2692 fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
2693 refactoring: Name and Names properties has same source in bag.
2695 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
2697 * Style.cs: restored r63894: for 1.x is refactoring only
2699 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
2702 fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
2703 added ClearDefaults method for 2.0.
2705 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2707 * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
2710 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
2712 * SubMenuStyle.cs: fixed:
2713 Unit.ToString() already include unit (e.g. "3px")
2715 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2718 * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
2719 submitted for review and it only added tests for the 2.0 profile.
2721 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2723 * FormView.cs: added explicit implementation of
2724 IDataItemContainer.DataItemIndex, as documented
2726 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
2729 When style is registered with StyleSheet AddAttributesToRender method
2730 adds class attribute but not style to writer
2732 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
2735 OnBubleEvent works properly - controls like Button, LinkButton nested into template
2736 can raise MenuItemClick event,
2737 ViewState of Items saved and restored properly.
2739 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
2741 * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
2744 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
2746 * Menu.cs: fixed databinding feature:
2747 ensure that items initialization occurs only once
2749 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
2751 * Menu.cs, MenuItem.cs: fixed databinding feature
2753 2006-08-09 Robert Jordan <robertj@gmx.net>
2755 * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
2756 replace ResolveUrl with ResolveClientUrl to match MS.NET's
2757 behaviour. Fixes bug #77539.
2759 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
2761 * HierarchicalDataBoundControl.cs: fixed DataBind flow
2763 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2769 * WebControl.cs: fixed ParseChildren attribute to be compliant
2772 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
2774 * MultiView.cs: fixed: EnableTheming property
2776 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2780 * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
2782 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
2784 * Style.cs: fixed restoring FontInfo from ViewState
2786 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
2788 * XmlDataSource.cs: implemented caching functionality
2790 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2792 * PagerSettings.cs: Fixed the pager range calculation formula. The old
2793 one didn't work with more than 20 pages. Patch by Marek Habersack that
2796 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
2798 * FormView.cs: fixes to make Render more similar to dotnet.
2800 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
2802 * Wizard.cs: fixed return value of OnBubbleEvent
2804 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
2806 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
2807 handle null result of GetData().
2809 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
2811 * FormView.cs: use TableStyle for ControlStyle.
2813 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
2815 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
2817 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
2819 * FormView.cs: init DataKeys and fix null reference.
2821 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2823 * TreeView.cs: several changes to improve compatibility with MS.
2824 Patch by Marek Habersack that fixes bug #77551.
2826 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2828 * Style.cs: output the text-decoration value even when it is 'none'.
2829 Patch by Marek Habersack that fixes bug #78968.
2831 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
2833 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
2836 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
2838 * DetailsViewRowCollection.cs: returns this in SyncRoot.
2840 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
2842 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
2845 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
2847 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
2849 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
2851 * AutoGeneratedField.cs: fix the internal constructor according to test
2852 DetailsView_CreateAutoGenerateRow.
2854 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
2856 * XmlDataSource.cs: implemented XSLT, removed properties from
2858 * XmlDataSourceView.cs: fixed default xpath
2860 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
2862 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
2864 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
2866 * Wizard.cs: fixed ActiveStep property
2867 fixed templated side bar
2869 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
2871 * ImageField.cs: fix null reference bug.
2873 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
2875 * DetailsView.cs: init DataKey property with empty collection.
2876 * DataKey.cs: fix unexpected exception bug.
2877 * DataControlField.cs: override ToString according to MSDN.
2879 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
2881 * DetailsView.cs: create table style in CreateControlStyle.
2883 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
2885 * DetailsView.cs: don't throw the exception which .Net does not throw.
2887 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
2889 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
2890 to match .Net; fix PageCount to match record count.
2892 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
2894 * Menu.cs: fixed properties default values, fixed rendering
2897 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
2899 * Wizard.cs: implemented SkipLinkText, TagKey
2900 fixed rendering bugs, fixed templated button bar rendering
2901 fixed side bar rendering
2902 * WizardStepBase.cs: fixed Name property
2904 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
2906 * DetailsView.cs: fix the regressions, caused by the previous commit.
2908 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
2910 * DetailsView.cs: correct handling the different default values of
2911 DetailsView.CellSpacing and Table.CellSpacing.
2913 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
2915 * DetailsView.cs: create a pager row when needed.
2917 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2921 * PagedDataSource.cs:
2924 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
2925 support it. The GridView control will no longer throw an exception when
2926 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
2928 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
2930 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
2931 Rows with empty collection; call EnsureChildControls from get Row;
2932 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
2933 implemented IPostBackContainer.GetPostBackOptions.
2935 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
2937 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
2938 and FooterText are empty, to match .NET. Otherwise we have NullReference
2941 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
2943 * DetailsView.cs: Render fix.
2945 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
2947 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
2950 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
2952 * DetailsView.cs: NullReferenceException fix
2954 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
2956 * PagerSettings.cs: implemented PropertyGhanged event
2958 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
2960 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
2961 with .Net; don't throw NotImplemented when base class implementation
2964 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
2966 * DetailsViewPagerRow.cs: add a stub for this class
2968 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2970 * GridView: fixed DataKeyNames property, moved to ControlState
2971 fixed PageCount property, initial PageCount ahould be zero
2972 fixed SelectedDataKey, should throw exception if not initialized
2973 fixed CreateColumns, wrong order of columns
2974 fixed CreateControlStyle,
2975 fixed InitializePager, no columnspan attrib on only one column
2976 fixed LoadControlState, SaveControlState added DataKeyNames
2977 fixed Render, RenderGrid should render within div tag
2978 implemented GetPostBackOptions
2979 * DataControlButton.cs: fixed Render, fixed style for img button
2981 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2983 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
2986 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
2988 * CommandField.cs: fixed ValidateSupportsCallback
2990 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
2992 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
2993 affect the flow yet.
2995 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
2997 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
2999 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3001 * WebControl.cs: fix for AddAttributesToRender - add display
3002 style when appropriate
3004 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3006 * CommandField.cs: fixed InitializeCell, wrong order of command
3008 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
3009 should be rendered as label
3010 * BoundField.cs: empty null value should be rendered as nbsp
3011 * GridViewRowCollection.cs: fixed SyncRoot
3013 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3015 * SiteMapPath.cs: create Literal instead of Label according to the
3016 MSDN and test SiteMapPath_InitializeItem.
3018 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3020 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
3021 * Image.cs: in 2.0 there is no border attribute, but border-width
3024 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3026 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
3028 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3030 * DataList.cs: correctly initialize editable items when there's an
3031 EditItemTemplate. Patch by Jarosław Pawlak.
3033 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
3035 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
3038 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3040 * BulletedList.cs: fixed Render, RenderBulletText, various properties
3041 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
3044 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3046 * MultiView.cs: 'initied' state variable was changed to views count in
3047 the views collection.
3049 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3051 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
3052 checkbox should have tooltip
3053 * HyperLinkField.cs: fixed InitializeCell, should create link control
3054 only in data cell (not in header or footer), initialization of
3056 * ImageField.cs: fixed InitializeDataCell, initialization of
3059 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3061 * MultiView.cs: removed exception throwing from ActiveViewIndex
3063 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
3065 * DataControlFieldCollection.cs: added OnClearComplete override;
3066 refactor to eliminate null reference exception.
3068 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3070 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
3071 * View.cs: fixed Visible property
3073 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
3075 * ImageField.cs: fixing .net compliancy.
3077 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
3079 * SiteMapPath.cs: fix the default PathSeparator value.
3081 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3083 * GridView.cs: always create Header/Fotter rows, but render only when
3084 ShowHeader/Footer is true. Compute Header/Footer rows from rows
3086 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
3087 add ToolTip and Text to the created CheckBox,
3088 wrap exception thrown in OnDataBindField in httpException.
3090 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3092 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
3094 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3096 * DataControlField.cs: correct handling empty header/footer text.
3097 * TemplateField.cs: correct initialization according to
3098 DataControlRowState.
3100 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
3102 * Wizard.cs: added functionality for Templated WizardStep
3103 and CreateUserWizard
3104 * added CompleteWizardStep.cs, CreateUserWizard.cs,
3105 CreateUserWizardStep.cs, TemplatedWizardStep.cs
3107 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3109 * AutoGeneratedField.cs: correcting default dataType.
3111 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3113 * DataControlField.cs: fixed Initialize, should always return false
3115 2006-07-03 Lluis Sanchez <lluis@novell.com>
3117 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
3119 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3121 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
3122 setting RequiresDataBinding in OnLoad event.
3123 * GridView.cs: DataBind rows before other control can access the data.
3124 * BoundField.cs: add unique ID to control for postback parameters.
3126 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3128 * WebControl.cs: fix typo in EnableTheming.
3130 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
3132 * MenuItemCollection.cs: save items if the collection is dirty.
3133 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
3134 Add item to collection before binding to let the state be correctly tracked.
3135 * Menu.cs: Add item to collection before binding to let the state be correctly
3138 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
3140 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
3141 test against with "^...$" if necessary. MS.NET does this too.
3143 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
3145 * WizardStepCollection.cs: Fixed Add methods to initialize
3146 WizardStep.Wizard property
3147 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
3148 Fixed GetStepType, if only one step present, it should be FinishStep
3149 Fixed styles of tables for more accurate rendering, fixed Wizard
3152 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
3154 * FormView.cs: instantiate correct template when the bounding data source is
3157 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
3159 * FormView.cs: disabling setting out of range FormView.PageIndex.
3161 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
3163 * FileUpload.cs: added
3165 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
3167 * FormView.cs: handle CssClass attribute
3169 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3171 * Button.cs: do something in PostBackUrl.
3172 * Repeater.cs: when creating the RepeaterItemCollection, initialize
3173 'items' if it hasn't been done yet. Fixes bug #78417.
3175 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
3177 * BaseDataList.cs: added ConnectToDataSource method that called from
3178 OnLoad, fixed GetData method
3179 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
3182 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
3184 * Menu.cs: add CssStyle value to the rendered class attribute
3186 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
3188 * Calendar.cs: Make sure WebControls.Enabled is respected.
3189 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
3190 to 12:00am as MS.NET does the same.
3193 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3195 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
3196 DataSourceViewChanged, looks for a datasource in its parent control
3197 fixed GetData method, should not get data if datasource is null
3199 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
3201 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
3203 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3205 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
3207 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3209 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
3211 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3213 * DataList.cs: Fixed LoadViewState method
3215 2006-05-04 Lluis Sanchez <lluis@novell.com>
3217 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
3219 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3221 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
3223 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3225 * FormView.cs: fix FormView.PageCount after data binding.
3227 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3229 * CheckBox.cs: certain attributes have to be rendered in the input tag,
3230 not the <span>. Fixes bug #71251.
3232 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3234 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
3237 ensure rebinding when FormView.PageIndex is called.
3238 and bind to the correct PageIndex.
3240 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3242 * MenuItem.cs: when binding to IHierarchyData, check whether
3243 it implements INavigateUIData and retrieve NavigateUrl.
3244 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
3246 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
3247 Provide basic CreateChildControls implementation by ensuring the control is bound.
3248 Ensure the child controls are created when the postback event is raised.
3249 Provide default implementation for SkipLinkText to let the default functionality to work.
3251 2006-04-11 Lluis Sanchez <lluis@novell.com>
3253 * TreeNodeBinding.cs: Added HasPropertyValue property
3254 to check if some properties have a value in the
3256 * TreeNode.cs: Lazily get the dataPath. Instead of getting
3257 bound properties when they are requested, get all of
3258 them when the node is bound and store their values in
3259 the state bag. In this way it won't be necessary to
3260 query every time the datasource to get the values.
3261 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
3262 * TreeView.cs: Call base in OnInit(). Bind nodes after
3263 adding them to the list, to properly keep track of
3264 changes. Don't databind in postbacks.
3266 2006-04-11 Chris Toshok <toshok@ximian.com>
3268 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
3270 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3272 * BaseDataList.cs: Fix searching control by DataSourceID.
3273 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
3276 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3278 * Login.cs: Added LayoutTemplate property support.
3279 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
3280 DataBind: correctly bind child controls.
3281 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
3283 2006-03-29 Robert Jordan <robertj@gmx.net>
3285 * DataGrid.cs: if custom paging is enabled the persisted item count
3286 must be the count of the rendered items, otherwise paging from the
3287 last to a previous page won't work correctly. Fixes bug #77556.
3289 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
3291 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
3292 when rendering disabled list control
3294 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3296 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
3298 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
3300 * FontInfo.cs: Implemented ShouldSerializeNames
3302 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3304 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
3306 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3308 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
3310 in PrepareControlHierarchy fixed style applying to AlternatingItem
3312 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
3314 * DataList.cs: fixed RepeatColumns property, added value validation
3315 in PrepareControlHierarchy method fixed style applying for
3316 AlternatingItem, EditItem and Separator item
3317 fixed RenderContents method, if no items exist, no nned to
3318 render emty table strructure.
3320 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3322 * CompareValidator.cs: when searching for the control to compare, use
3323 NamingContainer instead of Page. Fixes bug #77793.
3325 2006-03-15 Chris Toshok <toshok@ximian.com>
3327 * SiteMapPath.cs (InitializeItem): in the Current and Root node
3328 cases, apply the NodeTemplate if it exists and there isn't a
3329 CurrentNodeTemplate or RootNodeTemplate, respectively.
3331 2006-03-15 Chris Toshok <toshok@ximian.com>
3333 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
3335 * SiteMapDataSource.cs (StartingNodeOffset): new property.
3336 (GetStartNode): add code to handle StartNodeOffset < 0.
3338 * CompositeControl.cs
3339 (ICompositeControlDesignerAccessor.RecreateChildControls): just
3340 call the non-iface method.
3342 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
3343 traverse up the naming container tree looking for our datasource
3344 if we're bound using a DataSourceID. This fixes things in the
3345 sitemap1 test, which uses a mixture of templates and
3346 ContentPlaceholders with the sitemapdatasource and sitemappath at
3347 different levels in the naming container tree (let along the
3350 * SiteMapPath.cs (DataBind): implement this by chaining up to
3351 base.DataBind, then by looping over our children, emitting
3352 OnItemDataBound for each SiteMapNodeItem.
3353 (AddAttributesToRender): remove.
3354 (CreateChildControls): call DataBind as the final step here.. I
3355 have, of course, no idea if this is right.
3356 (CreateControlHierarchy): don't databind our children here, as
3357 they need to be in the Controls collection before we do.
3358 (RenderContents): render our accessibility/screenreader stuff
3359 here, if SkipLinkText != "".
3361 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
3363 * DataGridPagerStyle.cs: fixed PrevPageText property
3365 2006-03-13 Chris Toshok <toshok@ximian.com>
3367 * BaseCompareValidator.cs (Convert): make the
3368 ValidationDataType.String case a bit more compact.
3370 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3373 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
3374 Patch by Hubert Fongarnand.
3376 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3378 * FontInfo.cs: fixed CopyFrom, this method should not reset the
3379 received fontinfo if it is the same instance
3380 fixed ToString, corrected output where only font size specified
3382 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3384 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
3385 if it not set but the border has width
3386 fixes in CopyFrom, MergeWith correct unit compare when it has zero
3389 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3391 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
3392 properties of custom class
3393 fixed InitializeNumericPager, pager numbers should be a Label control
3394 fixed CreateControlHierarchy, corrected dataset index of items if
3397 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
3399 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
3401 fixed CreateControlStyle to set correct cellspacing of table style
3402 fixed InitializeItem to correct applying template to selected and
3405 2006-03-08 Chris Toshok <toshok@ximian.com>
3407 * SiteMapNodeType.cs: nuke.
3409 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
3410 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
3411 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
3412 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
3413 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
3414 ValidationCompareOperator.cs, ValidationDataType.cs,
3415 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
3416 [Serializable] in 2.0.
3418 * DayNameFormat.cs: add "Shortest".
3420 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3422 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
3425 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3427 * TextBox.cs: fixed missing value validations, fixed rendering
3428 of empty value attribute
3430 2006-03-07 Chris Toshok <toshok@ximian.com>
3432 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
3433 by chaining up to base.EnableTheming.
3435 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
3437 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
3439 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
3441 * RadioButton.cs: added ValueAttribute property to store the button
3443 * RadioButtonList.cs: fixed tab index when rendering.
3445 2006-03-02 Chris Toshok <toshok@ximian.com>
3447 * WebControl.cs (SkinID): implement setter/getter, and have them
3448 just chain up to base.SkinID.
3450 2006-02-27 Chris Toshok <toshok@ximian.com>
3452 * SqlDataSource.cs: track change to DataSourceControl's protected
3455 * AccessDataSource.cs: same.
3457 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3459 * ListControl.cs: fixed SelectedIndex property, fixed selection
3460 reset on incorrect value
3462 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3464 * TableStyle.cs: fixed AddAttributesToRender function, style
3465 BorderCollapse:Collapse was added if table's CellSpacing is zero
3467 2006-02-23 Chris Toshok <toshok@ximian.com>
3469 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
3470 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
3471 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
3472 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
3473 ImageButton.cs, ImageField.cs, Literal.cs,
3474 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
3476 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
3477 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
3478 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
3479 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
3480 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
3481 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
3482 errors. most were caused by a property/method being virtual when
3483 it shouldn't be, or vice versa.
3485 2006-02-22 Chris Toshok <toshok@ximian.com>
3487 * ObjectDataSource.cs: corcompare work.
3489 2006-02-22 Chris Toshok <toshok@ximian.com>
3491 * ParameterCollection.cs: add an EditorAttribute to the class.
3493 * Parameter.cs: cleanup, fix the Value property, and implement the
3496 * SqlDataSourceView.cs: clean things up a bit, and add handling
3499 2006-02-22 Chris Toshok <toshok@ximian.com>
3501 * SqlDataSourceFilteringEventArgs.cs: formatting.
3503 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
3504 both the property and ctor arg.
3506 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
3507 not CommandEventArgs. Also, cast the return value of
3508 oleCommand.ExecuteReader.
3510 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
3512 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
3513 (GetPhysicalDataFilePath): implement, again naively. this is
3514 where the NRE is generated when we access ConnectionString in a
3516 (ConnectionString): dynamically generate this based on our
3518 (DataFile): clear the ConnectionString in the setter so we'll
3520 (ProviderName): use base.ProviderName in the getter, not
3521 this.ProviderName, so we don't recurse infinitely.
3523 * SqlDataSourceView.cs: start reworking this class.
3525 * SqlDataSource.cs (GetDbProviderFactory): implement this,
3526 following the MS docs on the matter (if ProviderName is null/"",
3527 return SqlClientFactory.Instance.)
3528 (GetDbProviderFactoryInternal): add an internal method for use by
3530 (TrackViewState): don't invoke View.TrackViewState unless we have
3532 (Selecting): change event handler type to match MS.
3533 (Filtering): add missing event.
3534 (View): call CreateDataSourceView, don't just create an
3537 2006-02-21 Chris Toshok <toshok@ximian.com>
3539 * BoundField.cs: ues the ViewState.Get* pattern with default
3540 instead of the explicit ViewState lookup + null check, and fix the
3541 scope of InitializeDataCell.
3543 * ButtonField.cs: ues the ViewState.Get* pattern with default
3544 instead of the explicit ViewState lookup + null check.
3546 * CommandField.cs: same.
3548 * CheckBox.cs: same.
3550 * AutoGeneratedFieldProperties.cs: same.
3552 * BaseDataList.cs: same.
3554 * CircleHotSpot.cs: same.
3556 * BulletedList.cs: same.
3558 * DataBoundControl.cs: same.
3560 * CookieParameter.cs: same.
3562 * ControlParameter.cs: same.
3564 * CustomValidator.cs: same.
3566 * ButtonFieldBase.cs: same.
3568 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
3570 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
3572 * BaseValidator.cs: same, and clean up the getter/setter formatting.
3574 * CompareValidator.cs: same.
3576 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3578 * ListControl.cs: fixed DataSource property, to throw
3579 ArgumentException on incorrect value
3581 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3583 * Image.cs: fixed missing border="0" attribute, when image has style,
3584 but border width is not specified.
3586 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3588 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
3589 correct the "disabled" attribute in CheckBoxList
3590 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
3591 attribute in CheckBoxList
3593 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3595 * CheckBox.cs: fixed Render function, removed rendering of empty
3596 <span> element if ControlStyleCreated but it's empty.
3597 fixed "disabled" attribute, it should be placed into span element
3599 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3601 * BoundColumn.cs: fixed InitializeCell function, if DataField is
3602 null or empty string, the cell should not be bound.
3604 2006-02-08 Chris Toshok <toshok@ximian.com>
3606 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
3607 AppendDataBoundItems != false. Also, split all the databinding
3608 logic out to DoDataBinding, which we call from here only if
3610 (DoDataBinding): new function. actually perform the binding.
3611 (PerformDataBinding): implement.
3612 (PerformSelect): chain up to base class.
3614 2006-02-07 Chris Toshok <toshok@ximian.com>
3616 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
3618 * Content.cs: use ContentControlBuilderInternal, and add a bunch
3619 of unused (for now) EventHandler's here.
3621 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
3624 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3626 * ListControl.cs: bound checking for Items when loading the control
3627 state, as the number might have been changed on the fly. Patch by
3630 2006-01-22 Chris Toshok <toshok@ximian.com>
3632 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
3634 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
3635 the intended comparison right and quiet mcs.
3637 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
3639 * Button.cs: Add semicolon after client script if does not exist.
3641 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
3643 * Button.cs: preserve user logic when adding client validation.
3645 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
3647 * BaseValidator.cs: fixing visibility bahavior
3649 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3651 * RangeValidator.cs: allow empty data from the control. Patch from Marek
3652 Habersack that fixes bug #77239.
3654 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3656 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
3657 by Cyrille Colin. Closes bug #77184.
3659 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
3661 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
3662 compilation pass with csc 1.1.
3664 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3666 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
3668 2005-12-07 Chris Toshok <toshok@ximian.com>
3670 * BaseValidator.cs: in the uplevel rendering case, don't render
3671 the text if the validator's Display attribute is "None". Should
3674 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3676 * RadioButton.cs: if the 'value' attribute is set explicitly (as
3677 RadioButtonList does now), use that as the 'name' attribute.
3678 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
3683 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3685 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
3686 the 'name' attribute when not aligninng to the right.
3687 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
3688 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
3690 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3692 * DataGrid.cs: clear the control collection on every call to
3693 CreateControlHierarchy. Fixes bug #76732.
3695 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3697 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
3699 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3701 * CheckBox.cs: use the NameAttribute property for setting 'name'.
3702 * RadioButton.cs: get a UniqueID based identifier for 'name'.
3705 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3707 * LinkButton.cs: don't output any javascript when the linkbutton is
3708 disabled. Fixes bug #76713.
3710 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3712 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
3713 UseAccesibleHeader property is true. Patch by Robert Jordan.
3715 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3717 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
3718 control to validate. Fixes bug #76641.
3720 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3722 * BoundColumn.cs: when the column is readonly and we're in edit mode,
3723 keep it as a TextBox. Fixes bug #76714.
3725 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3727 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
3728 enabled. Fixes bug #76608.
3730 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3732 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
3733 the logic to Render and make it render the ID, which fixes bug #76596.
3735 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3737 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
3739 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3741 * Literal.cs: allow LiteralControl as child, but instead of adding it
3742 to the control collection, it just gets the Text out of it.
3744 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3746 * PagedDataSource.cs: fix range when we're at the last page.
3747 * DataGrid.cs: only need to keep the item count in the viewstate.
3750 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3752 * ListControl.cs: made GetSelectedIndices() internal.
3753 * ListBox.cs: html-encode the item text. Fixed single and multiple
3754 selection handling. All the tests pass now. Closes bug #76478.
3756 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3758 * ListControl.cs: throw when the selected value is not in the
3759 items collection. Fixes bug #76415.
3761 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3763 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
3764 throw a nullref, so we have to do it by ourselves here to make
3767 * BaseValidator.cs: render the text of the error message even if
3768 we set IsValid programatically. Don't use 'valid' directly, as
3773 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3775 * CustomValidator.cs: an empty ControlToValidate is valid.
3777 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
3779 * RequiredFieldValidator.cs: Added missing permissions.
3781 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3783 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
3784 Now the items get the attributes from the styles in datalist. Add the
3785 separators after each item, not before. GetItemStyle returns the actual
3786 item style, not the styles in the datalist. Fixes bug #76384 and all
3789 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3791 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
3794 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3796 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
3799 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
3801 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
3802 inheritance demands.
3803 * FontUnit.cs: Structs are sealed so there's no need for inheritance
3805 * Unit.cs: Structs are sealed so there's no need for inheritance
3808 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3810 * PagedDataSource.cs: fix the upper bound for collection and ilist
3813 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3815 * DataGrid.cs: change the ListItemType for the item selected, set
3816 SelectedIndex before calling OnSelectedIndexChanged and set the selected
3817 item type correctly when creating the columns. Fixes bug #76334.
3820 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
3821 selecting the row, the button keep the regular link color.
3823 * DataGridColumn.cs: made the class internal.
3825 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3827 * DataGrid.cs: fix breakaga of alternating item style in one of my
3830 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3832 * Calendar.cs: remove Console.
3833 * ListBox.cs: the name is the UniqueID, not the ClientID.
3834 * WebControl.cs: Attributes is case insensitive.
3836 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3838 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
3839 UniqueID without appending a ".x" or ".y". Fixes several issues in
3840 mojoPortal. Thanks to Joe Audetter for his patience.
3842 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3844 * ButtonColumn.cs: it was lacking databinding, so copied most of it
3847 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3849 * FontInfo.cs: removed useless ctor.
3850 * Style.cs: keep here some commented out debugging code.
3851 * DataGrid.cs: the Items property does not create a new arraylist if
3852 the items_list was already initialized. Add case for Separator.
3853 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
3854 in the header columns has a special ForeColor handling.
3856 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3858 * DataGrid.cs: PageCount must persist in ViewState too and returns the
3859 number of pages in the paged data source once we set that. Fix checks
3860 for visibility of the pager: no more 2 pagers when custom paging is
3863 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3865 * ImageButton.cs: fix a bug reported on the list. We were triggering the
3866 command event on every POST. And the 'name' attribute was not being
3867 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
3868 and we couldn't find the values.
3870 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3872 * DataGrid.cs: fix the links for the numeric pager.
3874 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3876 * DataGrid.cs: when paging is enable, the actual number of items is not
3877 the number of items rendered before the postback, but that number times
3878 the number of pages. Now we store the page count in the viewstate. Also,
3879 as the number might be big, don't allocate an array of objects to fake
3880 the collection for the PagedDataSource, but use the new NCollection
3881 class instead, which provides cheap (memory wise) enumerator for an
3882 arbitrary number of items. Thanks to "Adriano" for the test case.
3884 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3886 * Xml.cs: the show must go on. Removed a few NotImplemented.
3888 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3890 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
3891 existing code in 1.1 (or viceversa). RenderContents() does nothing.
3893 * DataGrid.cs: changed autoid api.
3895 * EditCommandColumn.cs: only 'Update' causes validation.
3897 * TableCell.cs: changed autoid api. RenderContents checks the number
3898 of controls to decide what to do, not the value of Text in the
3901 * TableRow.cs: changed autoid api.
3903 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
3904 event. When we get an EditItem, we need a TextBox to be created and
3905 this one will be the one that gets the event. Changed
3906 ItemDataBinding to deal with a TextBox too.
3908 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3910 * PagedDataSource.cs: fix IsLastPage. All tests pass.
3911 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
3912 need to keep the old one in a field. Now all tests pass here too.
3914 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3916 * PagedDataSource.cs: don't use the properties when they just return a
3917 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
3918 before ICollection (otherwise, an IList will always fall under the
3919 ICollection case). The enumerator for lists will be empty if 'start'
3920 is beyond the list size. All existing tests pass, but one in
3921 DataGridTest that fails because of some problem with the paging.
3923 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3925 * Style.cs: fix the 2.0 build.
3927 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3929 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
3930 instead write the style attributes directly to the HtmlTextWriter.
3932 * CheckBox.cs: adapted to new API.
3934 * DataGrid.cs: handle null data sources. Fixed the contions that make
3935 the table to be added to the Controls collection.
3937 * Calendar.cs: the table needed an ID and the attributes from the
3938 parent. Also don't create the ControlStyleCollection if it has not
3939 already been created.
3941 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3943 * DataGrid.cs: handle null data sources. Fixed the contions that make
3944 the table to be added to the Controls collection.
3946 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3948 * Calendar.cs: TrackViewState should be called upon creation, not on
3949 every get_XXX call. Cleanup.
3951 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3953 * DataGrid.cs: fix another test. The ID of the table generated by the
3954 datagrid is set to the one on the datagrid if no one set the ID for the
3957 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3959 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
3962 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3964 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
3965 converted to string as X{1,2}-.*. All FontUnitTests pass now.
3966 * Unit.cs: throw a format exception when there's not number or minus
3967 sign in the first non-whitespace character.
3969 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3971 * ListControl.cs: SelectedIndex/SelectedValue can be set before
3972 DataBinding () is called on the control, so we have to keep this values
3973 around and use them after the data is read. If both properties are
3974 used, they must refer to the same item.
3976 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3978 * DataList.cs: fill in the data keys from BaseDataList so that the
3979 events can see them. Only assign DataItem when using data binding and
3980 nullify it after all events are raised.
3982 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3984 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
3987 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
3989 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
3991 * DataGrid.cs: Fix TagKey (table) for 2.0.
3992 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
3993 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
3995 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
3997 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
3998 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
4000 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
4002 * TreeView.cs: Added declarative security (Link and Inheritance
4003 demands) for Minimal.
4004 * XmlDataSource.cs: Added declarative security (Link and Inheritance
4005 demands) for Minimal.
4007 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4009 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
4010 Inheritance demands) for Minimal.
4011 * Label.cs: Added declarative security (Link and Inheritance demands)
4013 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
4014 * ListItemCollection.cs: Added declarative security (LinkDemands) for
4016 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
4017 2.0, Inheritance demands) for Minimal.
4018 * PagedDataSource.cs: Added declarative security (LinkDemands) for
4020 * Panel.cs: Added declarative security (Link and Inheritance demands)
4022 * Repeater.cs: Added declarative security (Link and Inheritance
4023 demands) for Minimal.
4024 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
4025 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
4027 * TargetConverter.cs: Added declarative security (Link and Inheritance
4028 demands) for Minimal.
4029 * Unit.cs: Added, but only for 1.x, declarative security (Link and
4030 Inheritance demands) for Minimal.
4031 * ValidatedControlConverter.cs: Added declarative security (Link and
4032 Inheritance demands) for Minimal.
4033 * WebColorConverter.cs: Added declarative security (Link and
4034 Inheritance demands) for Minimal.
4035 * Xml.cs: Added declarative security (Link and Inheritance demands)
4037 * ValidationSummary.cs: Added declarative security (Link and
4038 Inheritance demands) for Minimal.
4040 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4042 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
4044 2005-09-22 Ben Maurer <bmaurer@ximian.com>
4046 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
4047 it took O(height) time, not O(1).
4049 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4051 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
4053 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4055 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
4056 2.0, Inheritance demands) for Minimal.
4057 * BaseCompareValidator.cs: Added declarative security (Link and
4058 Inheritance demands) for Minimal.
4059 * BaseDataBoundControl.cs: Added declarative security (Link and
4060 Inheritance demands) for Minimal.
4061 * BaseValidator.cs: Added declarative security (Link and Inheritance
4062 demands) for Minimal.
4063 * BoundColumn.cs: Added declarative security (Link and Inheritance
4064 demands) for Minimal.
4065 * ButtonColumn.cs: Added declarative security (Link and Inheritance
4066 demands) for Minimal.
4067 * CalendarDay.cs: Added declarative security (Link and Inheritance
4068 demands) for Minimal.
4069 * CheckBoxList.cs: Added declarative security (Link and Inheritance
4070 demands) for Minimal.
4071 * CompareValidator.cs: Added declarative security (Link and
4072 Inheritance demands) for Minimal.
4073 * CustomValidator.cs: Added declarative security (Link and Inheritance
4074 demands) for Minimal.
4075 * DataBoundControl.cs: Added declarative security (Link and
4076 Inheritance demands) for Minimal.
4077 * DataGridItemCollection.cs: Added declarative security (Link and
4078 Inheritance demands) for Minimal.
4079 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
4081 * DataListItemCollection.cs: Added declarative security (LinkDemands)
4083 * DataListItem.cs: Added declarative security (Link and Inheritance
4084 demands) for Minimal.
4085 * FontNamesConverter.cs: Added declarative security (Link and
4086 Inheritance demands) for Minimal.
4087 * HyperLink.cs: Added declarative security (Link and Inheritance
4088 demands) for Minimal.
4089 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
4090 demands) for Minimal.
4091 * Image.cs: Added declarative security (Link and Inheritance demands)
4094 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4096 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
4098 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
4099 a data source, first try reflection, then componentmodel. If we get
4100 an enumerator, keep it around, as MS only calls GetEnumerator once.
4101 Throw an exception if no columns can be created from the given data
4102 source. Tested with DbDataRecord, DataTable, ArrayList and
4103 ICustomTypeDescriptor.
4105 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
4107 * AccessDataSource.cs: Added declarative security (Link and Inheritance
4108 demands) for Minimal. Added [ToolboxBitmap] on class.
4109 * AdRotator.cs: Added declarative security (Link and Inheritance
4110 demands) for Minimal. Removed extra Page and ViewState properties.
4111 * BulletedList.cs: Added declarative security (Link and Inheritance
4112 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4113 * Button.cs: Added declarative security (Link and Inheritance demands)
4114 for Minimal. Added [SupportsEventValidation] on class (2.0).
4115 * Calendar.cs: Added declarative security (Link and Inheritance
4116 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4117 * CheckBox.cs: Added declarative security (Link and Inheritance
4118 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4119 * CompositeControl.cs: Added declarative security (Link and Inheritance
4120 demands) for Minimal. Added new protected RecreateChildControls method.
4121 * DataControlCommands.cs: Added declarative security (LinkDemands) for
4122 Minimal. Added private ctor.
4123 * DataGrid.cs: Added declarative security (Link and Inheritance
4124 demands) for Minimal. Fixed properties for 2.0 (mostly removing
4125 [Bindable]). Added override for TagKey property.
4126 * DataGridColumn.cs: Added declarative security (Link and Inheritance
4127 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
4128 * DataGridItem.cs: Added declarative security (Link and Inheritance
4129 demands) for Minimal. Added IDataItemContainer interface for 2.0.
4130 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
4131 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
4132 * DataList.cs: Removed [Load|Save]ControlState methods.
4133 * DropDownList.cs: Added declarative security (Link and Inheritance
4134 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4135 * EditCommandColumn.cs: Added declarative security (Link and
4136 Inheritance demands) for Minimal. Added missing attributes,
4137 [DefaultValue] and [Localize] for 2.0.
4138 * FontInfo.cs: Added declarative security (Link and Inheritance
4139 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
4141 * Login.cs: Added declarative security (Link and Inheritance demands)
4142 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
4143 * ImageButton.cs: Added declarative security (Link and Inheritance
4144 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4145 * LinkButton.cs: Added declarative security (Link and Inheritance
4146 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4147 * ListBox.cs: Added declarative security (Link and Inheritance demands)
4148 for Minimal. Added [SupportsEventValidation] on class (2.0).
4149 * Literal.cs: Added declarative security (Link and Inheritance demands)
4150 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
4151 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
4152 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
4153 but will be shown as extra).
4154 * RadioButton.cs: Added declarative security (Link and Inheritance
4155 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4156 * RadioButtonList.cs: Added declarative security (Link and Inheritance
4157 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4158 * RangeValidator.cs: Added declarative security (Link and Inheritance
4159 demands) for Minimal. Added missing [Themeable] attributes.
4160 * RegularExpressionValidator.cs: Added declarative security (Link and
4161 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
4163 * RoleGroupCollection.cs: Added declarative security (Link and
4164 Inheritance demands) for Minimal. Fixed base class (changed in RC).
4165 Re-implemented CopyTo. Removed some methods.
4166 * Style.cs: Added declarative security (Link and Inheritance demands)
4167 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
4168 is now public in 2.0.
4169 * Table.cs: Added declarative security (Link and Inheritance demands)
4170 for Minimal. Added [SupportsEventValidation] on class (2.0).
4171 * TableCell.cs: Fixed PersistenceMode for 2.0.
4172 * TextBox.cs: Added declarative security (Link and Inheritance demands)
4173 for Minimal. Added [SupportsEventValidation] on class (2.0).
4174 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
4175 but will be shown as extra).
4176 * WebControl.cs: Added declarative security (Link and Inheritance
4177 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
4180 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4182 * TableStyle.cs: fixed typo that prevented restoring GridLines from
4185 * DataGrid.cs: the table does not get an auto ID. When restoring from
4186 viewstate, use all the saved columns, not just that data bound ones. Set
4187 the owner of the BoundColumns created. Save/restore columns.
4188 OnItemCreated happens after the item is initialized and the data item is
4189 set before the event and nullified after OnItemDataBound.
4190 Add the render_table to the Controls immediately, otherwise we might get
4191 errors from child controls such as "must be rendered inside a form".
4192 Keep the items created in the list waiting for them.
4193 The table uses the attributes from the DataGrid and ControlStyle.
4194 Raise OnItemCommand on all bubble events and don't propagate bubble
4195 event up in the hierarchy
4197 * TableCell.cs: it does not get an automatic ID.
4198 * BoundColumn.cs: FormatDataValue returns an empty string on null input
4199 (there was already a test for this).
4203 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4205 * DataGridColumnCollection.cs: track the view state in the newly added
4208 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4210 * DataGrid.cs: merge column styles too. Fixes bug #76106.
4211 * DataGridColumn.cs: new internal method to retrieve the styles without
4212 creating an instance for them.
4214 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
4216 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
4217 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
4218 StateBag.SetDirty (true).
4220 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
4222 * Menu.cs: Fixed parameter orders for CreateStyleRule.
4224 2005-09-13 Chris Toshok <toshok@ximian.com>
4226 * Style.cs: corcompare stuff.
4228 * RequiredFieldValidator.cs: more corcompare stuff.
4230 * CheckBoxList.cs: clean up some of the interface methods vs
4231 protected virtual 2.0 calls.
4233 * SubMenuStyle.cs: corcompare says this should implement
4234 ICustomTypeDescriptor... sooo, make it.
4236 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4238 * TableCell.cs: do the same as HyperLink and others in
4239 AddParsedSubobject so that adding a literal control does not remove the
4240 existing controls if any. Fixes bug #76078.
4242 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4244 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
4246 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4248 * ImageButton.cs: fix invalid cast exception.
4250 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4252 * ListItem.cs: throw in AddParsedSubObject if the object is not a
4254 * RadioButtonList.cs: implemented LoadPostData and
4255 RaisePostDataChangedEvent.
4257 2005-09-09 Chris Toshok <toshok@ximian.com>
4259 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
4260 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
4261 LoadPostData/RaisePostDataChangedEvent.
4263 2005-09-09 Chris Toshok <toshok@ximian.com>
4265 * FontInfo.cs (IsEmpty): new internal property, used by
4268 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
4271 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4273 * ListItemCollection.cs: remove obsoleted methods.
4274 * ListBox.cs: use IStateManager on the item collection.
4276 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
4278 * Use C# 1.0 style of delegate instantiating. Needed to compile
4279 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
4281 2005-09-07 Chris Toshok <toshok@ximian.com>
4283 * Calendar.cs (WriteDay): always add BackColor=Silver,
4284 ForeColor=White to selected day cells, before copying over the
4285 selectedDayStyle, if it exists.
4286 (WriteDays): fix nunit test - if the first day of the month falls
4287 on the first day of the week, go back one week (effectively adding
4288 a row of dates from the previous month.)
4289 (WriteTitle): don't copy the control style to the tableTitle,
4290 since it might have height specifications, which would make the
4291 title look rather off.
4293 2005-09-07 Chris Toshok <toshok@ximian.com>
4295 * ValidationSummary.cs (AddAttributesToRender): we only set
4296 display=none if there are no errors.
4298 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
4299 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
4301 2005-09-07 Chris Toshok <toshok@ximian.com>
4303 * ListControl.cs (SelectedIndex): add comment about how you'd
4304 think OnSelectedIndexChanged would be called.. and you'd be wrong.
4305 (Text): implement in terms of SelectedValue.
4306 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
4307 (LoadControlState): implement - this is where the selected index
4308 ArrayList gets stuffed in 2.0.
4309 (OnInit): call Page.RegisterRequiresControlState.
4310 (OnTextChanged): implement.
4311 (RenderContents): for now just chain up to base.RenderContents.
4312 (SaveControlState): save our control state properly.
4313 (GetSelectedIndices): split this out from SaveViewState to it can
4314 be used by both that and SaveControlState.
4315 (SaveViewState): mangle this function so it works in both 2.0 and
4317 (LoadViewState): same.
4319 2005-09-06 Chris Toshok <toshok@ximian.com>
4321 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
4322 we weren't assigned an ID.
4324 * ValidationSummary.cs (AddAttributesToRender): same.
4326 2005-09-06 Chris Toshok <toshok@ximian.com>
4328 * WebControl.cs: revert the last change.
4330 2005-09-06 Chris Toshok <toshok@ximian.com>
4332 * WebControl.cs (AddAttributesToRender): always render ClientID.
4334 * ValidationSummary.cs (Render): same.
4336 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
4339 2005-09-06 Chris Toshok <toshok@ximian.com>
4341 * ValidationSummary.cs (Render): only do the JS stuff when the
4342 validators on the page are uplevel.
4344 * BaseValidator.cs (Render): remove unnecessary comment.
4346 2005-09-05 Chris Toshok <toshok@ximian.com>
4348 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
4349 stored in the ViewState.
4351 2005-09-02 Chris Toshok <toshok@ximian.com>
4353 * Repeater.cs (GetData): change this slightly so the Repeater
4354 doesn't keep a ref to the return value of GetData.
4356 2005-09-01 Chris Toshok <toshok@ximian.com>
4358 * ListControl.cs (AppendDataBoundItems): implement (2.0)
4361 2005-09-01 Chris Toshok <toshok@ximian.com>
4363 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
4364 System.Web.UI.WebControls/ValidatedControlConverter.cs,
4365 System.Web.UI.WebControls/Xml.cs,
4366 System.Web.UI.WebControls/RegularExpressionValidator.cs,
4367 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
4368 System.Web.UI.WebControls/Menu.cs,
4369 System.Web.UI.WebControls/MailMessageEventArgs.cs,
4370 System.Web.UI.WebControls/MenuItemStyle.cs,
4371 System.Web.UI.WebControls/RangeValidator.cs,
4372 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
4373 System.Web.UI.WebControls/MenuItem.cs,
4374 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
4375 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
4376 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
4377 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
4378 System.Web.UI.WebControls/XmlBuilder.cs,
4379 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
4382 2005-09-01 Chris Toshok <toshok@ximian.com>
4384 * System.Web.UI.WebControls/Button.cs,
4385 System.Web.UI.WebControls/ButtonField.cs,
4386 System.Web.UI.WebControls/DataControlField.cs,
4387 System.Web.UI.WebControls/BaseCompareValidator.cs,
4388 System.Web.UI.WebControls/AutoGeneratedField.cs,
4389 System.Web.UI.WebControls/CustomValidator.cs,
4390 System.Web.UI.WebControls/Content.cs,
4391 System.Web.UI.WebControls/BoundField.cs,
4392 System.Web.UI.WebControls/AdRotator.cs,
4393 System.Web.UI.WebControls/ButtonColumn.cs,
4394 System.Web.UI.WebControls/CompareValidator.cs,
4395 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
4396 work. Stub things out, and add attributes.
4398 2005-09-01 Chris Toshok <toshok@ximian.com>
4400 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
4401 CommandField.cs, HyperLinkColumn.cs, Table.cs,
4402 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
4403 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
4404 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
4405 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
4406 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
4407 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
4408 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
4409 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
4410 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
4411 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
4412 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
4413 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
4414 TableItemStyle.cs: Add some WebCategory and WebSysDescription
4417 2005-09-01 Chris Toshok <toshok@ximian.com>
4419 * AccessDataSource.cs: corcompare work.
4421 * SqlDataSource.cs: same.
4423 2005-09-01 Miguel de Icaza <miguel@novell.com>
4425 * Various places: make sure that the DefaultValue matches the
4426 type. Thanks to Michael for pointing this out.
4428 In future audits, you might want to use the following awk command:
4430 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
4431 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
4432 print $0; looking = 0; } /public/ && looking { looking = 0; } '
4435 The above skips bools, strings and ints as those were fine as we
4436 set them. The bug was on the other ones.
4438 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4440 * Repeater.cs: fix the build.
4442 2005-08-31 Chris Toshok <toshok@ximian.com>
4444 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
4445 {Base}DataList, and also from debug spew garnered from some
4446 Repeater subclass tests on MS.
4447 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
4448 the IEnumerable by calling GetData().
4449 (DataBind): reset RequiresDataBinding to false (2.0).
4450 (DataMember): copy the set implementation from DataList, and add
4451 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
4452 (DataSource): more c&p.
4453 (DataSourceID); implement (2.0)
4454 (Initialized): implement (2.0)
4455 (IsBoundUsingDataSource): implement (2.0)
4456 (RequiresDataBinding): implement (2.0)
4457 (SelectArguments): implement (2.0)
4458 (CreateDataSourceSelectArguments): implement (2.0)
4459 (EnsureDataBound): implement (2.0)
4460 (GetData): implement.
4461 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
4463 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
4464 leave the MonoTODO. (2.0)
4465 (OnInit): call base.OnInit instead of throwing NIE, but leave the
4467 (OnLoad): implement.
4468 (OnPreRender): implement.
4469 (ConnectToDataSource): new method - look for the right control.
4471 2005-08-31 Chris Toshok <toshok@ximian.com>
4473 * XmlDataSourceView.cs: fix the scope of our select. Don't use
4474 call SelectNodes on the XmlDocument, not on
4475 XmlDocument.DocumentElement.
4477 2005-08-31 Chris Toshok <toshok@ximian.com>
4479 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
4480 (DoXPathSelect): put the xpath selection stuff here.
4481 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
4484 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
4485 select here, the view does it.
4487 2005-08-31 Jackson Harper <jackson@ximian.com>
4489 * DataList.cs: Remove some debugging code that was starting to bug
4492 2005-08-31 Chris Toshok <toshok@ximian.com>
4494 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
4495 create our Navigator by calling node.CreateNavigator().
4497 2005-08-31 Chris Toshok <toshok@ximian.com>
4499 * XmlDataSource.cs (GetXmlDataDocument): rename this to
4500 GetXmlDocument, and change the return value from XmlDataDocument
4502 (LoadXmlDataDocument): similar change.
4503 (Save): xmlDataDocument -> xmlDocument.
4504 (CanBeSaved): there's no ReadOnly attribute.
4505 (LoadViewState, SaveViewState, TrackViewState): nuke.
4506 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
4507 (CacheDuration): stub out with NIE.
4508 (CacheExpirationPolocy): same.
4509 (CacheKeyDependency): same.
4510 (EnableCaching): same.
4512 (Data, DataFile): xmlDataDocument -> xmlDocument.
4513 (Schema, SchemaFile): nuke.
4514 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
4516 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
4518 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
4519 Don't use the obsolete IsSet method.
4520 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
4521 * CheckBox.cs: Implement some 2.0 methods.
4522 * GridView.cs: Removed some "throw new NotImplementedException"
4524 2005-08-29 Chris Toshok <toshok@ximian.com>
4526 * TreeView.cs: Use the StateBag accessors Ben added, and implement
4527 SkipLinkText and Visible.
4529 2005-08-29 Chris Toshok <toshok@ximian.com>
4531 * TreeView.cs: fix typo in an attribute.
4533 2005-08-29 Jackson Harper <jackson@ximian.com>
4535 * PagedDataSource.cs: If it's not a list or collection we don't
4536 use a bounded enumerator.
4538 2005-08-29 Chris Toshok <toshok@ximian.com>
4540 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
4542 * CheckBox.cs: same.
4544 * BaseValidator.cs: same.
4546 * DropDownList.cs: same.
4548 * ValidationSummary.cs: same.
4550 2005-08-28 Chris Toshok <toshok@ximian.com>
4552 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
4554 2005-08-26 Chris Toshok <toshok@ximian.com>
4556 * TextBox.cs: implement ValidationGroup and CausesValidation
4559 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
4561 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
4564 2005-08-26 Chris Toshok <toshok@ximian.com>
4566 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
4568 * FontUnit.cs: add two 2.0 ctors, and the 2.0
4569 ToString(IFormatProvider) method.
4571 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
4573 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
4574 no items are present in the list.
4575 * RoleGroup.cs: Added missing attributes.
4576 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
4577 documented) methods.
4578 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
4579 must be done in the HtmlTextWriter (not in the TableStyle).
4581 2005-08-26 Chris Toshok <toshok@ximian.com>
4583 * Calendar.cs (UseAccessibleHeader): implement.
4584 (RaisePostBackEvent): some #ifdef ugliness to get this all working
4585 propertly between 1.x and 2.0
4586 (WriteDayHeader): if UseAccessibleHeader == true, render header
4587 cells as th's, not td's, and add abbr and scope attributes.
4589 2005-08-25 Chris Toshok <toshok@ximian.com>
4591 * Calendar.cs (Caption, CaptionAlign): implement these properties.
4592 (Render): if we have a non-empty caption, show it.
4593 (WriteCaption): new method, output the caption.
4595 2005-08-25 Chris Toshok <toshok@ximian.com>
4597 * Calendar.cs (Render): Copy the entire style from the Calendar to
4598 the Table, not just the font.
4599 (WriteDay): don't just write the link/text/etc. Create a
4600 LiteralControl as a child of the cell, before the call to
4601 OnDayRender, with its text set to the day number. After
4602 OnDayRender, set the literal's text to either the number again (if
4603 it's not selectable) or the full text of the js __doPostBack
4604 hyperlink (if it is.) Also, use cell.RenderControl here so we can
4605 render child controls with the id's listed properly (and arguably
4607 (ApplyTitleStyleCell): remove.
4608 (WriteTitle): apply the titleStyle to the enclosing table, not the
4609 table cell containing the month name. Also, copy from the
4610 Calendar's ControlStyle to populate tableTitle's style initially.
4611 We end up with more (superfluous) style attributes than MS, but
4612 it's better than having less.
4614 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
4616 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
4619 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
4621 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
4622 and RegisteredCssClass property
4624 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
4626 * LoginView.cs: Fixed attributes.
4627 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
4628 an exception to allow pages to work on 2.x.
4630 2005-08-25 Chris Toshok <toshok@ximian.com>
4632 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
4634 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
4637 * HiddenField.cs: stub out this class and label everything
4640 2005-08-25 Jackson Harper <jackson@ximian.com>
4642 * DataGrid.cs: Disable the pager row if there no paging enabled
4645 2005-08-25 Chris Toshok <toshok@ximian.com>
4647 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
4650 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
4651 add a using statement.
4653 2005-08-25 Chris Toshok <toshok@ximian.com>
4655 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
4658 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
4661 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
4663 * Login.cs: Added rendering and fixed parts of the authentication.
4664 Now using IStateManager to allow compilation in another assembly (e.g.
4665 to test the control under IIS). Needs more tests (error conditions)
4666 once we get a "real" Membership provider running.
4667 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
4670 2005-08-25 Chris Toshok <toshok@ximian.com>
4672 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
4674 2005-08-25 Chris Toshok <toshok@ximian.com>
4676 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
4677 calling base.Foo to get the standalone adrotator (1.0) tests to
4678 run without throwing exceptions.
4680 2005-08-25 Chris Toshok <toshok@ximian.com>
4682 * ValidationSummary.cs (ValidationGroup): implement.
4683 (Render): use Page.GetValidators in .net 2.0, so we can support
4684 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
4687 2005-08-25 Chris Toshok <toshok@ximian.com>
4689 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
4690 2.0 attribute modifiers, and revert back to "override".
4692 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
4693 2.0 attribute modifiers, and revert back to "override".
4694 (BorderStyle): same.
4695 (BorderWidth): same.
4697 * TextBox.cs (SaveViewState): implement naively, calling
4699 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
4700 modifiers, and revert back to "override".
4702 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
4704 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
4705 Load ViewState for derived classes; no public LoadViewState override
4706 exists in those classes
4707 * Style.cs: Added 2.0 IsStyleEmpty method
4709 2005-08-25 Jackson Harper <jackson@ximian.com>
4711 * DataGrid.cs: The number of pages set in the pager is specified
4714 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
4716 * LoginView.cs: New (2.0). Work in progress.
4718 2005-08-24 Chris Toshok <toshok@ximian.com>
4720 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
4721 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
4722 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
4723 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
4724 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
4725 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
4726 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
4727 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
4728 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
4729 Add MonoTODO's for all things that throw NotImplementException.
4731 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
4733 * RoleGroup.cs: New (2.0). Complete implementation.
4734 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
4736 2005-08-23 Chris Toshok <toshok@ximian.com>
4738 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
4739 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
4740 even though they were written for the 1.0 stuff.
4742 2005-08-23 Chris Toshok <toshok@ximian.com>
4744 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
4745 output. Our tests now pass on both mono and ms, with both 1.x and
4748 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
4750 * Login.cs: Throw exception if the specified provider doesn't exists.
4751 * LoginStatus.cs: Complete events.
4753 2005-08-22 Jackson Harper <jackson@ximian.com>
4755 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
4757 (InitializeNumericPager): Now that the pager actually renders
4758 properly I can see that I was computing it incorrectly.
4760 2005-08-22 Jackson Harper <jackson@ximian.com>
4762 * DataGrid.cs (RenderTable): Make sure the new table gets the
4764 (CreateColumnSet): Clear the data source columnbs before adding
4765 new ones regardless of whether or not a property descriptor was
4767 (InitializePager): pager_cell needs to be a member so it isn't
4768 created more then once per a render.
4769 (InitializeNumericPager): Compute start and end more
4771 - Link commands are 1 indexed.
4772 (CreateControlHierarchy): Clear the table before we begin
4774 - Revert patch that made adding the pagers conditional. This is
4775 incorrect, the pagers are always added. Only their visibility is
4776 affected by the pager style.
4777 - Save the entire count in the viewstate, not just the rendered
4778 count. So when paging is enabled the pager's count isn't broken by
4781 2005-08-22 Chris Toshok <toshok@ximian.com>
4783 * LinkButton.cs (ValidationGroup): implement.
4784 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
4785 pass ValidationGroup to Page.Validate.
4787 2005-08-22 Chris Toshok <toshok@ximian.com>
4789 * ImageButton.cs (ValidationGroup): implement.
4790 (IPostBackEventHandler.RaisePostBackEvent): if we cause
4791 validation, call Page.Validate properly (in both profiles).
4793 2005-08-22 Chris Toshok <toshok@ximian.com>
4795 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
4796 case, pass ValidationGroup to Page.Validate.
4797 (ValidationGroup): implement using ViewState.
4799 2005-08-22 Chris Toshok <toshok@ximian.com>
4801 * BaseValidator.cs (Text): 2.0 only. implement naively, just
4803 (OnInit): add 2.0 support for validation groups.
4806 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
4808 * LoginName.cs: New (2.0) web control.
4809 * LoginStatus.cs: New (2.0) web control.
4811 2005-08-19 Chris Toshok <toshok@ximian.com>
4813 * LinkButton.cs (ValidationGroup): implement getter/setter.
4814 (RaisePostBackEvent): implement naively, by c&p'ing the old
4815 implementation of IPostBackEventHandler.RaisePostBackEvent, but
4816 making use of the ValidationGroup in the call to Page.Validate.
4820 * Style.cs (LoadViewState): set our style flags for all the things
4821 we have flags for. Seems like the subclass flags should be
4822 handled in overridden LoadViewState methods, but none of the Style
4823 subclasses seem to override this method.
4825 2005-08-19 Chris Toshok <toshok@ximian.com>
4827 * TableStyle.cs (Merge, MergeWith): make these look a bit more
4828 like Copy/CopyFrom, with the styles checks instead of just
4831 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
4834 2005-08-19 Chris Toshok <toshok@ximian.com>
4836 * DataGrid.cs (InitializePager): don't unconditionally set
4837 pager_cell to the numeric pager (especially after setting it
4838 conditionally to the nextprev pager.)
4839 (InitializeNumericPager): the link buttons don't participate in
4841 (InitializeNextPrevPager): same.
4842 (CreateControlHierarchy): create the top/bottom pagers only if the
4843 PagerStyle says too.
4845 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
4847 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
4849 2005-08-18 Chris Toshok <toshok@ximian.com>
4851 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
4852 the start of this method so templates are created properly.
4854 2005-08-18 Dick Porter <dick@ximian.com>
4856 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
4857 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
4858 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
4859 BaseDataList.cs, DataList.cs, BulletedList.cs,
4860 DataBoundControl.cs, Login.cs, GridView.cs,
4861 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
4862 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
4863 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
4864 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
4865 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
4866 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
4867 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
4868 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
4871 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
4873 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
4875 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
4876 empty array of objects just to get the number of items.
4877 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
4878 but we're missing some bits from the class lib to complete all this...
4880 2005-08-17 Jackson Harper <jackson@ximian.com>
4882 * DataGrid.cs: Only create one pager and add it to both the top
4883 and bottom of the grid, this way all the id numbers stay the same
4884 and we save a bunch of cycles.
4886 2005-08-17 Jackson Harper <jackson@ximian.com>
4888 * DataGrid.cs: The top and bottom pagers are always created. Just
4889 the visibility is changed by the PagerStyle::Position.
4891 2005-08-17 Chris Toshok <toshok@ximian.com>
4893 * CompositeControl.cs (RecreateChildControls): implement naively -
4894 just call CreateChildControls. We might need to call
4895 Controls.Clear() as well, but for the time being, this is ok.
4897 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
4899 * BaseDataList.cs: Completed implementation for 2.0.
4901 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
4903 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
4904 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
4906 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
4908 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
4910 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
4911 Adjusted size and ordering of the ViewState (new element #0 is still
4912 unknown). Properly fixed the TagKey in 2.0.
4913 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
4914 all properties using enums.
4915 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
4916 * TableItemStyle.cs: Fixed attribute rendering to use style to render
4917 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
4919 2005-08-15 Jackson Harper <jackson@ximian.com>
4921 * EditCommandColumn.cs: Use a normal LinkButton.
4923 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
4925 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
4926 viewstate (even if assigned to the default value).
4927 * TableRow.cs: Implement TableSection property (2.0). It has no effect
4928 on the rendering of the table row.
4930 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
4932 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
4933 and removed [Bindable] attributes for 2.0.
4934 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
4935 attributes (for 2.0).
4936 * DataListCommandEventArgs.cs: Not sealed in 2.0.
4937 * DataListItemEventArgs.cs: Not sealed in 2.0.
4938 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
4939 attributes for URLs.
4940 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
4941 attributes for URLs.
4942 * Table.cs: Fixed [Editor] attribute for 2.0.
4943 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
4944 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
4945 AssociatedHeaderCellID and it's [DefaultValue] attribute.
4946 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
4947 and Scope attributes.
4948 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
4949 on TableSection attribute.
4950 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
4952 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
4954 * Image.cs: Fixed attributes for 2.0 profile.
4955 * Login.cs: Fixed some attributes and default values.
4956 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
4957 RaisePostBackEvent (TODO) in 2.0 profile.
4958 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
4959 and added AssociateHeaderCellID property (TODO).
4960 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
4961 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
4962 page (if the device requires to breaks the table into multiple pages).
4963 This seems to be a "flag" class, the real work will be in Table.
4964 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
4965 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
4966 page (if the device requires to breaks the table into multiple pages).
4967 This seems to be a "flag" class, the real work will be in Table.
4968 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
4969 * TableRow.cs: Remove [Bindable (true)] from properties and add
4970 [Bindable (false)] and [Designer] on class. Added new TableSection
4972 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
4973 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
4974 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
4975 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
4976 FillStyleAttributes method (2.0).
4978 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
4980 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
4981 attributes from existing controls.
4982 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
4983 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
4985 2005-08-12 Jackson Harper <jackson@ximian.com>
4987 * TableRow.cs: No AutoID for TableRows.
4989 2005-08-12 Jackson Harper <jackson@ximian.com>
4991 * DataGrid.cs (CreateRenderColumns): If we aren't using data
4992 binding grab the rendercols from the data source columns.
4993 (LoadViewState): Restore the bound columns when reloading the
4995 (InitializeNumericPager): Create elipsised pagers.
4996 (CreateItem): Don't set the item's ID.
4997 (CreateItem): Add the control to the table before it is databound
4998 so that it's value is saved in the viewstate.
4999 (CreateControlHierarchy): Create a fake data source when not using
5000 databinding. Don't add controls to the table as they are added in
5002 (PrepareControlHierarchy): Make footers and header non visible if
5003 they aren't enabled.
5005 2005-08-12 Chris Toshok <toshok@ximian.com>
5007 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
5008 docs says these methods/properties "ensure the child controls are
5009 created" -- so call EnsureChildControls() before invoking the base
5012 2005-08-12 Jackson Harper <jackson@ximian.com>
5014 * BoundColumn.cs: Set the controls text instead of adding a
5015 literal control. So it is saved in the controls viewstate.
5017 2005-08-11 Jackson Harper <jackson@ximian.com>
5019 * CheckBoxList.cs: Set the tabindex on the checkbox control and
5020 don't render it on the main table (Setting it to zero causes it to
5021 not be rendered). Also use the invariant culture on the id.
5023 2005-08-11 Dick Porter <dick@ximian.com>
5025 * CheckBox.cs: Let ViewState manage removals; apply styles and
5026 "style" attributes in a surrounding <span>. Fixes unit tests.
5028 2005-08-10 Chris Toshok <toshok@ximian.com>
5030 * Label.cs (LoadViewState): set the Text attribute from our
5031 ViewState (if it exists) to clear out any child controls. Fixes
5032 jsunit test label/label-child-control-postback.aspx.
5034 2005-08-10 Jackson Harper <jackson@ximian.com>
5036 * PagedDataSource.cs: Respect paging with all data source types.
5038 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
5040 * BaseDataList.cs: Changed Controls property from "virtual new"
5041 (2.0 doc) to "override" (monop) to fix the Visible bug (see
5042 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
5043 any controls (required due to change to Controls). Implemented
5044 DataBind(bool) for 2.0.
5045 * DataListItem.cs: Fix the multiple table when extractRows is used.
5046 Removed extra span tags by rendering contents (not control). Added
5047 support for IDataItemContainer (2.0).
5049 2005-08-08 Jackson Harper <jackson@ximian.com>
5051 * DataGrid.cs: Apply the styles to each item type.
5053 2005-08-08 Jackson Harper <jackson@ximian.com>
5055 * PagedDataSource.cs: If paging is not enabled keep enumerating to
5056 the end of the list.
5058 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
5060 * BaseDataList.cs: Remove old compatibility stuff.
5061 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
5062 * WebControl.cs: Always call CreateControlStyle to create the
5063 ControlStyle. Fix the exception for datalist-style-edit.aspx.
5065 2005-08-05 Jackson Harper <jackson@ximian.com>
5067 * DataGrid.cs: Don't make the current page index a link in the
5070 2005-08-05 Jackson Harper <jackson@ximian.com>
5072 * DataGrid.cs: Honour PagerPosition.
5074 2005-08-05 Jackson Harper <jackson@ximian.com>
5076 * PagedDataSource.cs: Round PageCount properly.
5078 2005-08-05 Dick Porter <dick@ximian.com>
5080 * CheckBox.cs: Shut corcompare up a bit more. Still need to
5081 figure out how to not use AddAttributesToRender to get it
5084 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
5086 * DataGridColumn.cs: Added the duplicate viewstate manipulation
5089 2005-08-05 Chris Toshok <toshok@ximian.com>
5091 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
5092 null when it comes to the format string.
5093 (FormatDataTextValue): same.
5095 2005-08-04 Chris Toshok <toshok@ximian.com>
5097 * BaseValidator.cs (Validate): only test a validator if it's both
5098 enabled and visible.
5100 2005-08-04 Chris Toshok <toshok@ximian.com>
5102 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
5105 2005-08-04 Jackson Harper <jackson@ximian.com>
5107 * DataGrid.cs: Add a new space control for each link. Also make
5108 the link's text 1 indexed. Don't add the space after the last
5111 2005-08-04 Ben Maurer <bmaurer@ximian.com>
5113 * LinkButton.cs: Fix up the test suite here.
5115 * Panel.cs: Fix up nowrap
5117 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5119 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
5120 * ListControl.cs: Clear item list before adding data (again)
5122 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
5124 * Calendar.cs: fixes issues with OnDayRender event and others
5126 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5128 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
5130 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
5131 if DataTextField is bound
5132 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
5133 two controls in edit mode, lets do the same
5135 2005-08-03 Jackson Harper <jackson@ximian.com>
5137 * BoundColumn.cs: Respek for the thisExpr when data binding.
5139 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5141 * EditCommandColumn.cs: No need to offer edit when in edit mode.
5144 2005-08-04 Dick Porter <dick@ximian.com>
5146 * DataGridColumn.cs: New implementation
5149 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
5151 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5153 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
5156 2005-08-03 Ben Maurer <bmaurer@ximian.com>
5158 * RepeatInfo.cs: Finally figured out how to use base control
5160 2005-08-03 Jackson Harper <jackson@ximian.com>
5162 * ButtonColumn.cs: Partial implementation.
5164 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5166 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
5169 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5171 * Calendar.cs: fixes Save/Load state
5173 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5175 * Calendar.cs: bug fixes
5177 2005-08-03 Jackson Harper <jackson@ximian.com>
5179 * DataGrid.cs: Merge the table style with the render table. Some
5180 initial work on the numeric pager. Remove some debugging code.
5182 2005-08-03 Jackson Harper <jackson@ximian.com>
5184 * BoundColumn.cs: Implement Initialize and InitializeCell. When
5185 Data is formated it uses the DataFormatString that was set at the
5186 time Initialize was called (or null if initialize was never
5189 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5191 * RadioButtonList.cs: bug fixes
5193 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5195 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
5196 AddAttributesToRender
5197 * RadioButtonList.cs: Implementation
5199 2005-08-01 Jackson Harper <jackson@ximian.com>
5201 * TableStyle.cs: Copy style bit when copying from another style.
5203 2005-08-01 Jackson Harper <jackson@ximian.com>
5205 * PagedDataSource.cs: Implement missing properties, use yield for
5206 the Enumerator methods. Only allow the enums to return one page at
5209 2005-08-01 Chris Toshok <toshok@ximian.com>
5211 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
5213 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5215 * WebControl.cs: Track enabled state across sessions
5217 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5219 * ListControl.cs(OnDatabinding): Value is equivalent to text if
5222 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
5224 * ImageButton.cs: fixes, complete missing parts
5226 2005-07-31 Ben Maurer <bmaurer@ximian.com>
5228 * TextBox.cs: Html encode for multiline text boxes
5230 * HyperLink.cs: Resolve images
5232 2005-07-30 Chris Toshok <toshok@ximian.com>
5234 * BaseValidator.cs: initial version of 2.0 properties
5235 ValidationGroup and SetFocusOnError.
5237 2005-07-30 Chris Toshok <toshok@ximian.com>
5239 * HyperLinkColumn.cs (InitializeCell): clean this up.
5241 2005-07-30 Chris Toshok <toshok@ximian.com>
5243 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
5244 DataBinder.FormatResult.
5245 (FormatDataTextValue): same.
5246 (Initialize): call base.Initialize.
5247 (ItemDataBinding): new function, get the text/navigateurl and set
5248 them on our HyperLink control.
5249 (InitializeCell): create a hyperlink control in the
5250 Item/EditItem/AlternatingItem case.
5252 2005-07-30 Ben Maurer <bmaurer@ximian.com>
5254 * RepeatInfo.cs: Handle 0 items situations correctly
5256 * HyperLink.cs: Resolve urls correctly
5258 * CheckBox.cs: use the correct ID for the label element.
5260 * Label.cs: Correct AddParsedSubObject impl. See FAQ
5262 2005-07-29 Chris Toshok <toshok@ximian.com>
5264 * BaseCompareValidator.cs (GetDateElementOrder): implement.
5266 2005-07-29 Chris Toshok <toshok@ximian.com>
5268 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
5269 #if'ed out version follows microsoft's docs on msdn, but doesn't
5270 match ms's behavior. The other matches their behavior but not
5271 their docs. we use the latter. go figure.
5272 (get_CutoffYear): implement using
5273 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
5275 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5278 - Name property now throws exception when set to null
5279 - Names now handles situation where our bit tells us we have
5280 a font, but it's not in the StateBag (null removal)
5281 * RangeValidator.cs: Removed unused vars
5283 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5285 * Label.cs: ClientID should be used rather than UniqueID to get
5288 2005-07-29 Chris Toshok <toshok@ximian.com>
5290 * BaseValidator.cs (Validatate): not sure if this is entirely
5291 correct (some fairly deep testing required), but setting Enabled =
5292 false has the effect of setting IsValid = true.
5294 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5296 * RadioButton.cs: The "remove from groupstate" isn't needed any
5297 more, now that statebag is correct.
5299 2005-07-29 Dick Porter <dick@ximian.com>
5301 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
5302 ViewState when it is null.
5304 * CheckBox.cs: Hide nonstandard API
5306 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
5308 * Calendar.cs: fixes exceptions, bug fixes, new features
5309 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
5310 * CalendarDay.cs: fixes default value
5312 2005-07-28 Ben Maurer <bmaurer@ximian.com>
5314 * CompositeControl.cs: Stub
5316 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5318 * EditCommandColumn.cs: Implemented
5320 2005-07-27 Chris Toshok <toshok@ximian.com>
5322 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
5324 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5326 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
5329 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5331 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
5332 for it's constructor, so remove it
5333 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
5335 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5337 * DataGridPagerStyle.cs: Implemented
5338 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
5339 * Style.cs: Added Styles enum values for DataGridPagerStyle
5341 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
5343 * Calendar.cs: get the styles right, honors more properties, fixes, fix
5346 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5348 * DataGridItem.cs: Implemented
5350 2005-07-26 Chris Toshok <toshok@ximian.com>
5352 * LinkButton.cs (AddParsedSubObject): reversed the order of
5353 Controls.Add() and Text = null
5354 (set_Text): call Controls.Clear()
5355 (RenderContents): use HasControls() for the if test instead of
5358 * HyperLink.cs (AddParsedSubObject): reversed the order of
5359 Controls.Add () and Text = null;
5361 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5363 * DataGridItemCollection.cs: Implemented
5365 2005-07-26 Chris Toshok <toshok@ximian.com>
5367 * LinkButton.cs (AddParsedSubObject): copy implementation from
5369 (RenderContents): only call writer.Write(Text) if Text != "".
5370 Otherwise default to base.RenderContents.
5372 2005-07-26 Chris Toshok <toshok@ximian.com>
5374 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5375 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
5376 (Page != null) around my last commit.
5378 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5380 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
5381 Fixed use of literal strings, instead using Consts
5382 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
5383 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
5384 Panel.cs, Literal.cs: Added attributes
5385 * BaseValidator.cs: Added missing override
5387 2005-07-26 Chris Toshok <toshok@ximian.com>
5389 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5390 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
5391 Page.VerifyRenderingInServerFormHere.
5393 2005-07-26 Chris Toshok <toshok@ximian.com>
5395 * BaseValidator.cs: remove some MonoTODO's about the client side
5398 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
5400 * Calendar.cs: selection of dates, state load, save, track, support
5401 for new properties, many fixes.
5403 2005-07-26 Miguel de Icaza <miguel@novell.com>
5405 * Style.cs: Temporary methods to help buliding .NET 2.x
5407 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5409 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
5411 * Xml.cs: Fixed base class, attributes
5412 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
5413 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
5414 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
5415 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
5416 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
5418 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5420 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
5423 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5425 * RepeatInfo.cs: If the repeater has one column, the separators
5426 are rendered on a different line
5428 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5430 * DataGridSortCommandEventArgs: Sealed class
5431 * ButtonColumn.cs, Calendar.cs: Added Attributes
5433 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5435 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
5436 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
5438 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5440 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
5441 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
5443 2005-07-25 Chris Toshok <toshok@ximian.com>
5445 * ValidationSummary.cs (AddAttributesToRender): add client side
5447 (OnPreRender): set the "been here" flag.
5448 (Render): add client side support.
5450 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5452 * RepeatInfo.cs: Split the horiz and vertical cases, because this
5453 class has rules that are beyond strange. Continue working to make
5456 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5458 * RepeatInfo.cs: Misc fixes for my test suite.
5460 2005-07-25 Jackson Harper <jackson@ximian.com>
5462 * DataGrid.cs: Set the command name and args on the link buttons.
5464 2005-07-25 Jackson Harper <jackson@ximian.com>
5466 * DataGrid.cs: Lots o implementation.
5468 2005-07-25 Jackson Harper <jackson@ximian.com>
5470 * BoundColumn.cs: Partial implementation to get the DataGrid tests
5473 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
5475 * Button.cs: fixes events, adds attributes
5477 2005-07-23 Chris Toshok <toshok@ximian.com>
5479 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
5480 prop.GetValue results.
5481 (Render): fix the static non-uplevel case, so that we display text
5482 when there's an error.
5484 2005-07-22 Chris Toshok <toshok@ximian.com>
5486 * RegularExpressionValidator.cs (AddAttributesToRender): only
5487 output ValidationExpression if it's != null.
5489 2005-07-22 Chris Toshok <toshok@ximian.com>
5491 * BaseValidator.cs (AddAttributesToRender): fix up the Display
5492 rendering such it matches MS's output.
5493 (Render): stop using the huge complicated if's for each output
5494 stage and move to boolean flags, and fix the static-nonuplevel
5495 case, where a validator outputs as nothing but
5497 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
5498 * Calendar.cs: Initial implementation
5499 * CalendarSelectionMode.cs: fix enum order
5501 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
5503 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
5504 (or more?) specific cases - including correct support for separators.
5505 Added some (commented) debugging code.
5506 * HyperLink.cs: Only render href and target attributes if they're not
5507 empty. Add "border=0" when rendering <img> tag. Fix Target default
5510 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
5512 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
5514 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
5516 * Style.cs (CopyFrom): Reset our styles and don't set bits from
5517 target explicitly, properties will set them
5519 2005-07-22 Dick Porter <dick@ximian.com>
5522 * ButtonColumn.cs: Initial stubs
5524 2005-07-22 Dick Porter <dick@ximian.com>
5527 * CheckBox.cs: Add assembly attributes
5529 2005-07-22 Ben Maurer <bmaurer@ximian.com>
5531 * HyperLink.cs: Handle non-literal children.
5533 2005-07-21 Ben Maurer <bmaurer@ximian.com>
5535 * Label.cs: SP1 stuff
5537 2005-07-21 Chris Toshok <toshok@ximian.com>
5539 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
5540 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
5541 stuff WebUIValidation.js uses, so we don't support it for uplevel
5544 2005-07-21 Chris Toshok <toshok@ximian.com>
5546 * BaseValidator.cs (DetermineRenderUplevel): include checks for
5547 the EcmaScriptVersion and W3CDomVersion.
5549 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5551 * BaseDataList.cs: Support IEnumerable.
5552 * DataList.cs: Fix alternate items.
5553 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
5554 controls and the Text property.
5556 2005-07-21 Ben Maurer <bmaurer@ximian.com>
5558 * TextBoxMode.cs: Wrong ordering of enum...
5560 2005-07-21 Chris Toshok <toshok@ximian.com>
5562 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
5565 2005-07-21 Chris Toshok <toshok@ximian.com>
5567 * BaseValidator.cs (get_PropertiesValid): use our containing
5568 NamingContainer, not ourselves, to look up controls.
5569 (CheckControlValidationProperty): same.
5570 (GetControlRenderID): same.
5571 (GetControlValidationValue): same.
5572 (AddAttributesToRender): add the display style attribute if
5573 Display != Static, and add the value of IsValid if it's false.
5574 (DetermineRenderUplevel): use a try block around (Page.Request)
5575 since that can raise an exception.
5576 (OnPreRender): set pre_render_called, so we can consult it in
5578 (Render): complicate this method more to handle more of the
5579 Display/pre_render_called permutations.
5581 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
5583 * CustomValidator.cs: Initial implementation, still work in progress
5585 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5587 * DataList.cs: Fix rendering for special items (-1).
5589 2005-07-21 Ben Maurer <bmaurer@ximian.com>
5591 * RepeatInfo.cs: Fix most of the tests.
5593 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5595 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
5596 Add a border=0 attribute if no style is defined.
5597 * TableCell.cs: Use HtmlTextWriterTag (not a string).
5598 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
5599 * TableRow.cs: Use HtmlTextWriterTag (not a string).
5601 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5603 * BaseDataList.cs: Fix attributes.
5604 * HorizontalAlign.cs: Fix attributes.
5605 * Image.cs: Fix attributes and enums checks.
5606 * Table.cs: Fix attributes an enums checks.
5607 * TableCell.cs: Fix attributes.
5608 * TableCellCollection.cs: Fix attributes.
5609 * TableItemStyle.cs: Fix attributes and enums checks.
5610 * TableRowCollection.cs: Fix attributes.
5611 * TableRow.cs: Fix attributes.
5612 * TableStyle.cs: Fix attributes and enums checks.
5613 * VerticalAlign.cs: Fix attributes.
5615 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5617 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
5618 * DataList.cs: Added rendering support when ExtractTemplatesRows
5619 property is true (but RepeatInfo needs to be fixed to see it works).
5620 * DataListItem.cs: Added rendering support when extractRows parameter
5621 is true (but RepeatInfo still needs to be fixed ;-)
5623 2005-07-21 Duncan Mak <duncan@novell.com>
5625 * HyperLinkColumn.cs: Initial implementation.
5626 Todo: Figure out Initialize and InitializeCell.
5628 2005-07-20 Chris Toshok <toshok@ximian.com>
5630 * BaseValidator.cs: don't use Page.FindControl, use this Control's
5631 FindControl, so it'll use the same naming container.
5633 2005-07-21 Duncan Mak <duncan@novell.com>
5635 * DataGridCommandEventArgs.cs:
5636 * DataGridPageChangedEventArgs.cs:
5637 * RepeaterCommandEventArgs.cs: Fixed visibility.
5639 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
5640 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
5642 2005-07-20 Chris Toshok <toshok@ximian.com>
5644 * Button.cs: hook up the client side validation stuff.
5646 * ImageButton.cs: same.
5648 * LinkButton.cs: same, although it's a little more complicated
5651 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
5654 - Implemented RaisePostDataChangedEvent()
5655 - Spewing postback command if AutoPostBack is true
5657 2005-07-20 Chris Toshok <toshok@ximian.com>
5659 * BaseValidator.cs: another Page != null check when uplevel
5662 2005-07-20 Chris Toshok <toshok@ximian.com>
5664 * BaseValidator.cs: check Page != null when determining if we're
5665 rendering uplevel or not.
5667 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
5669 * ListItemCollection.cs: Removed obsolete method that's no longer
5672 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
5674 * DropDownList.cs: Oops. Forgot to implement LoadPostData
5675 * ListItemCollection.cs: Added convenience method to have faster
5678 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
5681 - Automatically select the first item if none are selected
5682 - Throw exception if more than one item is selected
5684 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
5686 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
5687 handled by RepeatInfo).
5689 2005-07-20 Jackson Harper <jackson@ximian.com>
5691 * DataGrid.cs: Store the data source created columns in a
5692 DataGridColumnCollection. This way they can be put in the
5693 view state more easily, and accessed without casting.
5695 2005-07-20 Chris Toshok <toshok@ximian.com>
5697 * BaseValidator.cs (AddAttributesToRender): render the client side
5698 attributes if we're in uplevel mode.
5699 (DetermineRenderUplevel): flesh out a bit - for now basically
5700 return true unless the control has it disabled.
5701 (OnInit): only add the validator to Page's list if there is, in
5703 (OnUnload): same for removal.
5704 (OnPreRender): hook up client scripting stuff here. Only the call
5705 to RegisterValidatorCommonScript is a for sure thing here, the
5706 registering of the submit statement and startup script should
5707 probably go elsewhere, but I don't know where.
5708 (RegisterValidatorCommonScript): register the <script
5709 src=".../WebUIValidation.js"> tag, if it's not already there.
5710 (RegisterValidatorDeclaration): add our span object to the
5711 Page_Validators JS array.
5712 (Render): always render the tags (although this is probably not
5713 right), and call RegisterValidatorDeclaration here.
5715 * BaseCompareValidator.cs (AddAttributesToRender): render the
5716 client side attributes if we're in uplevel mode.
5717 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
5718 call base.DetermineRenderUplevel for now.
5720 * RegularExpressionValidator.cs (AddAttributesToRender): render
5721 the client side attributes if we're in uplevel mode.
5723 * RequiredFieldValidator.cs (AddAttributesToRender): same.
5725 * CompareValidator.cs (AddAttributesToRender): same.
5727 2005-07-20 Jackson Harper <jackson@ximian.com>
5729 * DataGrid.cs: Save the data source created column set in the
5732 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
5734 * DataList.cs: Fix events and properties exceptions. Give the right
5735 informations to RenderItem.
5737 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
5739 * ValidationSummary.cs: Implemented rendering
5741 2005-07-20 Jackson Harper <jackson@ximian.com>
5743 * DataGrid.cs: column names are cached and only regenerated if useDataSource
5744 is set to true. Otherwise they are just fetched from the last set that
5745 was generated from the source.
5747 2005-07-20 Jackson Harper <jackson@ximian.com>
5749 * DataGrid.cs: Assign some properties of newly created BoundColumns.
5751 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
5753 * DataList.cs: Fix viewstate ordering.
5755 2005-07-20 Ben Maurer <bmaurer@ximian.com>
5757 * SelectedDatesCollection.cs: Apprarently, I don't write code well
5760 * Repeater.cs: Uh, actually add stuff to the items collection
5763 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
5765 * BaseDataList.cs: EnsureChildControls on Controls property.
5766 * DataList.cs: Fix rendering and Controls/Items differences.
5767 * DataListItem.cs: Added rendering of controls.
5769 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
5771 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
5773 2005-07-20 Jackson Harper <jackson@ximian.com>
5775 * DataGrid.cs: Add some of the collections. Implement
5778 2005-07-20 Jackson Harper <jackson@ximian.com>
5780 * PagedDataSource.cs: Implement GetItemProperties, this is
5781 needed for the datagrid.
5783 2005-07-20 Ben Maurer <bmaurer@ximian.com>
5785 * DataGridColumnCollection.cs: New impl
5787 * TemplateColumn.cs: New impl
5789 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
5791 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
5792 * DataList.cs: Work in progress... Added attributes, proper
5793 IRepeatInfoUser support and cool things stolen from other classes.
5794 * DataListCommandEventArgs.cs: Class is sealed.
5795 * DataListItem.cs: RenderItem is public.
5797 2005-07-19 Jackson Harper <jackson@ximian.com>
5799 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
5800 a viewstate object if all the viewstate stuff is null.
5802 2005-07-19 Jackson Harper <jackson@ximian.com>
5804 * DataGrid.cs: Implement style properties and viewstate
5805 saving/loading/tracking.
5807 2005-07-19 Chris Toshok <toshok@ximian.com>
5809 * BaseValidator.cs: more fixes from pdb.
5811 2005-07-19 Chris Toshok <toshok@ximian.com>
5813 * BaseValidator.cs: some test-driven fixes.
5815 2005-07-19 Chris Toshok <toshok@ximian.com>
5817 * BaseValidator.cs: Initial implementation.
5819 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
5821 * Repeater.cs: Fix small typo.
5823 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
5825 * ValidationSummaryTest.cs: Started implementation
5826 * RangeValidator.cs: Implemented
5827 * ValidatedControlConverter.cs: Implemented
5828 * DropDownList.cs: Implemented
5830 2005-07-19 Jackson Harper <jackson@ximian.com>
5832 * DataGrid.cs: Implement bubble event.
5834 2005-07-19 Jackson Harper <jackson@ximian.com>
5836 * DataGrid.cs: New implementation. Just properties and events for
5839 2005-07-18 Chris Toshok <toshok@ximian.com>
5841 * BaseCompareValidator.cs: Initial implementation, with some NYI.
5843 2005-07-19 Ben Maurer <bmaurer@ximian.com>
5845 * FontUnit.cs: Corcompare fixes
5847 * UnitConverter.cs: Fix api diffs
5849 2005-07-18 Ben Maurer <bmaurer@ximian.com>
5851 * ListControl.cs: Fix api differences
5853 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
5855 * Table.cs: Fix indentation for caption. Simplify check when adding
5857 * TableRow.cs: Simplify check when adding controls.
5859 2005-07-18 Chris Toshok <toshok@ximian.com>
5861 * CompareValidator.cs: wtf, just use the base class's methods.
5863 2005-07-18 Chris Toshok <toshok@ximian.com>
5865 * CompareValidator.cs: do comparisons based on
5866 BaseCompareValidator.Type.
5868 2005-07-18 Chris Toshok <toshok@ximian.com>
5870 * CompareValidator.cs: initial implementation.
5872 2005-07-18 Chris Toshok <toshok@ximian.com>
5874 * RegularExpressionValidator.cs: initial implementation.
5876 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
5878 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
5880 2005-07-18 Jackson Harper <jackson@ximian.com>
5882 * CheckBoxList.cs: Implement LoadPostBackData. Also register
5883 checkboxes for postback if they are checked so we can find
5884 out when they are unchecked. Copy the AutoPostBack variable
5885 to the to be rendered checkbox when rendering.
5887 2005-07-18 Ben Maurer <bmaurer@ximian.com>
5889 * TextBox.cs: Finish this up.
5891 * AdRotator.cs: Fix issues in the test suite. Minor style
5894 * Repeater.cs: Fix a bug where the datasource is null and we do
5897 * WebColorConverter.cs: Optimize by not doing a concat on a
5900 2005-07-17 Ben Maurer <bmaurer@ximian.com>
5902 * ListItemCollection.cs: Multiple uses of equals rather than
5903 string.compare as below. Remove unreachable code warning.
5905 * WebColorConverter.cs (ConvertTo): Use the == operator on string
5906 rather than an invariant non-case ignoring compare. They are
5907 exactly the same thing. Use proper coding style in this method.
5909 * WebControl.cs: Return null when saving the view state if there
5910 is no state in any of the things we save. This creates a fairly
5911 large savings, because we can avoid saving anything about many
5912 levels of deaply nested controls.
5914 2005-07-15 Jackson Harper <jackson@ximian.com>
5916 * CheckBoxList.cs: Use the index as the ID, the rest of the
5917 id is built by being in the NamingContainer.
5919 2005-07-15 Jackson Harper <jackson@ximian.com>
5921 * ListControl.cs: Use enum instead of string. Saves a lookup.
5923 2005-07-15 Jackson Harper <jackson@ximian.com>
5925 * CheckBoxList.cs: FindControl always returns 'this' according
5928 2005-07-15 Jackson Harper <jackson@ximian.com>
5930 * CheckBoxList.cs: New impl.
5932 2005-07-15 Jackson Harper <jackson@ximian.com>
5934 * WebControl.cs: Use the ClientID when rendering a controls ID
5935 attribute so that naming containers are honoured.
5937 2005-07-15 Jackson Harper <jackson@ximian.com>
5939 * ListControl.cs: use the state manager interface for tracking
5942 2005-07-15 Ben Maurer <bmaurer@ximian.com>
5944 * Repeater.cs (DoItem): Add the DataItem before we call user
5945 methods, as it seems to be there with msft.
5947 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
5949 * BaseDataList.cs: New. (mostly complete) implementation.
5950 * DataKeyCollection.cs: New. Implementation (complete).
5951 * DataList.cs: New. (mostly incomplete) implementation.
5952 * DataListItem.cs: New. (mostly complete) implementation.
5953 * DataListItemCollection.cs: New. Implementation (complete).
5955 2005-07-15 Ben Maurer <bmaurer@ximian.com>
5957 * Repeater.cs (DoItem): We need to .Add the control *before* we
5958 data bind it so that the state gets tracked correctly. Fixes the
5961 2005-07-15 Jackson Harper <jackson@ximian.com>
5963 * ListControl.cs: Simplify comparison.
5965 2005-07-15 Jackson Harper <jackson@ximian.com>
5968 * Repeater.cs: Use new utility class for resolving data sources.
5970 2005-07-15 Jackson Harper <jackson@ximian.com>
5972 * ListControl.cs: Add attributes so the sub items get parsed
5973 properly. Remove old unneeded code for resolving lists.
5975 2005-07-15 Jackson Harper <jackson@ximian.com>
5977 * ListControl.cs: Use the DataSourceHelper so DataMembers are
5980 2005-07-14 Ben Maurer <bmaurer@ximian.com>
5983 - Some optimizations
5984 * Don't use enum formatting stuff, it is 1) expensive 2) does
5985 allocations. Use a new method in HtmlControl to do the right
5987 * Don't use Enum.IsDefined but an explicit check.
5988 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
5989 - Use the correct coding style.
5991 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
5993 * WebColorConverter.cs:
5994 - Alpha of 255 is only set if the hex number is exactly 6 digits
5995 - Ben didn't like the catch { throw; } (even though MS documents to
5997 - Use Invariant Culture for parsing (thanks, Ben)
5999 2005-07-14 Jackson Harper <jackson@ximian.com>
6001 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
6002 code-reuse-arific. Also use the IStateManager interface for loading
6003 data instead of the old internal method.
6005 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6007 * WebColorConverter.cs: Implemented
6009 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6011 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
6013 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6015 * Repeater.cs: Get it working
6017 2005-07-14 Jackson Harper <jackson@ximian.com>
6019 * ListControl.cs: Initial implementation of Databinding. Make sure
6020 that the ListItemCollection is created when we load its ViewState.
6022 2005-07-14 Jackson Harper <jackson@ximian.com>
6024 * ListControl.cs: Fix typo.
6026 2005-07-14 Jackson Harper <jackson@ximian.com>
6028 * ListControl.cs: New Implementation. Lacks databinding support.
6030 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6032 * Repeater.cs: The beginnings of this control
6034 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6036 * TargetConverter.cs: Implemented
6038 2005-07-14 Duncan Mak <duncan@novell.com>
6040 * PagedDataSource.cs: Initial implementation.
6042 Methods that need to be figured out:
6043 CopyTo, GetItemProperties, PageCount, IsLastPage.
6045 To complete: CollectionEnumerator, ListEnumerator.
6047 2005-07-13 Duncan Mak <duncan@novell.com>
6049 * RepeatDirection.cs:
6051 * ValidationCompareOperator.cs:
6052 * ValidationDataType.cs:
6053 * ValidationSummaryDisplayMode.cs:
6054 * ValidatorDisplay.cs: Added remaining enumerations.
6056 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6058 * FontNamesConverter.cs: Implemented
6060 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6062 * RepeaterItem.cs: Compile fix
6064 * RepeaterItemCollection.cs: New file
6066 * RepeaterItem.cs: get OnBubbleEvent right.
6068 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6070 * ListItemCollection.cs: Count can be derived from the array, which
6071 allows us to use a Pair instead of a Triplet and save some space
6073 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6075 * RepeaterItem.cs: Stub
6077 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6079 * ListItemCollection.cs: Implemented
6080 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
6082 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6084 * RepeatInfo.cs: Impl.
6086 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6088 * FirstDayOfWeek.cs: Added
6090 2005-07-13 Jackson Harper <jackson@ximian.com>
6092 * ListBox.cs: Some parameter checking.
6094 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6096 * Image.cs: Added support for DescriptionUrl as this property was
6097 added in Fx 1.1 SP1.
6099 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6101 * Style.cs (AddAttributesToRender): Don't render attributes if they
6102 contain only their default value
6104 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6106 * Table.cs: New. Initial re-implementation.
6107 * TableCell.cs: New. Initial re-implementation.
6108 * TableCellCollection.cs: New. Initial re-implementation.
6109 * TableHeaderCell.cs: New. Initial re-implementation.
6110 * TableItemStyle.cs: New. Initial re-implementation.
6111 * TableRow.cs: New. Initial re-implementation.
6112 * TableRowCollection.cs: New. Initial re-implementation.
6113 * TableStyle.cs: New. Initial re-implementation.
6115 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6117 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
6118 unit tests (for Style) and more tests in Table* classes.
6120 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6122 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
6123 however IsEmpty returns false if any of their properties are set.
6124 Looks ugly but it's compatible with MS implementation (feature and
6127 2005-07-13 Dick Porter <dick@ximian.com>
6129 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
6130 null Text properties from the ViewState, test for TextAlign being
6131 out of range. All to make tests pass on both mono and ms
6134 2005-07-13 Jackson Harper <jackson@ximian.com>
6136 * ListBox.cs: Use invariant culture when doing a ToString,
6137 set value to the item's value, not to its Text.
6139 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6141 * WebControl.cs (AddAttributesToRender): Added ID to rendered
6144 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6146 * Style.cs(MergeWith): Handle null styles
6148 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
6150 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
6151 the #if NET_2_0 on it.
6153 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6155 * Style.cs: Only render font elements if fontinfo object exists
6157 - Implemented SaveViewState()
6158 - Added loading of Style to LoadViewState
6159 - Implemented IAttributeAccessor methods
6161 2005-07-12 Jackson Harper <jackson@ximian.com>
6163 * ListBox.cs: Even track default values in the viewstate. Call
6164 base's RenderContents.
6166 2005-07-12 Jackson Harper <jackson@ximian.com>
6168 * ListBox.cs: New impl.
6170 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6173 - Implemented methods
6176 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6178 * ListItem.cs: New impl.
6180 2005-07-12 Duncan Mak <duncan@novell.com>
6182 * DayNameFormat.cs: Added.
6184 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6186 * WebControl.cs: Implemented properties
6188 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6190 * TextBox.cs: Passwords seem 1) not to be rendered to the client
6191 if set, 2) not kept in view state (for security reasons...)
6194 * Button.cs: Page.Validate () if needed. Gets the validator tests
6197 * TextBox.cs: Properties to get the validator stuff to work.
6199 2005-07-12 Miguel de Icaza <miguel@novell.com>
6201 * Unit.cs: If the units are pixels, then truncate the value.
6203 2005-07-12 Dick Porter <dick@ximian.com>
6205 * RadioButton.cs: New implementation
6207 * CheckBox.cs: Rearrange the attributes rendering to allow
6208 RadioButton to derive from this
6210 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6212 * TitleFormat.cs: Add attribute
6213 * TextBoxMode.cs: Add attribute
6214 * CalendarDay.cs: Initial implementation
6215 * ImageButton.cs: Initial implementation
6216 * CalendarSelectionMode.cs:Initial implementation
6218 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6220 * TextBoxMode.cs: simple enum
6221 * TitleFormat.cs: simple enum
6223 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6225 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
6227 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6229 * FontUnit.cs: Added TypeConverter attribute to class
6230 * FontUnitConverter.cs: Implemented
6232 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6235 * Button.cs: Bubble the Command event.
6237 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6240 - Clean up style (with my wonderful state bag hack!)
6241 - Fix a view state typo.
6242 - Use AddAttributesToRender
6243 - Don't add an extra <span>
6245 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6247 * Style.cs: Handle null constructor argument for bag
6249 2005-07-11 Dick Porter <dick@ximian.com>
6251 * CheckBox.cs: New implementation
6253 * RadioButton.cs: Initial stubbed version that just compiles
6255 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
6257 * Button.cs: Initial Button implementation
6259 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
6261 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
6263 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6265 * HorizontalAlign.cs: Typo in header.
6266 * VerticalAlign.cs: New. Required enum for TableRow control.
6268 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6270 * TextBox.cs: More work on this
6272 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6274 * GridLines.cs: New. Required enum for Table control.
6275 * HorizontalAlign.cs: New. Required enum for Table control.
6277 2005-07-09 Duncan Mak <duncan@novell.com>
6279 * CommandEventHandler.cs:
6280 * DataGridCommandEventHandler.cs:
6281 * DataGridItemEventHandler.cs:
6282 * DataGridPageChangedEventHandler.cs:
6283 * DataGridSortCommandEventHandler.cs:
6284 * DataListCommandEventHandler.cs:
6285 * DayRenderEventHandler.cs:
6286 * RepeaterCommandEventHandler.cs:
6287 * ServerValidateEventHandler.cs: Add delegates.
6290 * ListSelectionMode.cs:
6291 * NextPrevFormat.cs:
6293 * PagerPosition.cs: Add enums.
6295 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6297 * TextBox.cs: Add the work I did on this today. It's not complete
6298 yet, but its a start!
6300 2005-07-09 Duncan Mak <duncan@novell.com>
6302 * CommandEventArgs.cs:
6303 * DataGridCommandEventArgs.cs:
6304 * DataGridItemEventArgs.cs:
6305 * DataGridPageChangedEventArgs.cs:
6306 * DataGridSortCommandEventArgs.cs:
6307 * DataListCommandEventArgs.cs:
6308 * DataListItemEventArgs.cs:
6309 * DayRenderEventArgs.cs:
6310 * RepeaterCommandEventArgs.cs:
6311 * RepeaterItemEventArgs.cs:
6312 * ServerValidateEventArgs.cs: Implemented.
6314 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
6316 * Image.cs: New. Image class implementation.
6317 * ImageAlign.cs: New. ImageAlign enum definitions.
6319 2005-07-08 Jackson Harper <jackson@ximian.com>
6321 * Literal.cs: New implentation.
6322 * MonthChangedEventArgs.cs: new
6323 * MonthChangedEventHandler.cs: new
6325 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6327 * LinkButton.cs: Command impl
6329 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6331 * LinkButton.cs: Initial impl
6333 2005-07-08 Jackson Harper <jackson@ximian.com>
6335 * AdCreatedeventArgs.cs: New implementation.
6337 2005-07-08 Dick Porter <dick@ximian.com>
6340 * BorderStyle.cs: Added
6342 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6344 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
6346 2005-07-07 Miguel de Icaza <miguel@novell.com>
6348 * Xml.cs: New implementation. R00lz.
6350 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6352 * FontInfo.cs: Added and implemented.
6353 * Style.cs: Fixed behaviour discrepancies showed by tests
6355 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6357 * PlaceHolderControlBuilder.cs: new file
6359 * LabelControlBuilder.cs: New file
6361 * HyperLink.cs: use control builder; fix parsing stuff
6363 * HyperLinkControlBuilder.cs: new file
6365 * Panel.cs: misc fixes
6367 2005-07-07 Miguel de Icaza <miguel@novell.com>
6369 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
6371 * UnitConverter.cs: Add new file, learned from the
6372 System.Drawing.ColorConverter.
6374 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6376 * PlaceHolder.cs: New file. Seems to do nothing
6378 * Label.cs: Use my new statebag trick to reduce typing
6380 * HyperLink.cs: New file
6382 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6384 * Style.cs: Added and implemented.
6386 2005-07-06 Miguel de Icaza <miguel@novell.com>
6388 * FontUnit.cs: New file.
6390 * Unit.cs: New file.
6392 Added support for null and empty string constructors.
6394 2005-07-06 Ben Maurer <bmaurer@ximian.com>
6396 * Unit.cs: cctor not needed; static fields are 0 init'd by default
6398 * WebControl.cs: Kothari & Datye's book explains how these work.
6400 * IRepeatInfoUser.cs: Reimpl.
6402 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6404 * WebControl.cs: Added stub
6406 2005-07-05 Miguel de Icaza <miguel@novell.com>
6408 * Label.cs: First control.
6410 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
6412 * DataControlField.cs: Ignore the ShowHeader property when
6413 building the control's content. It is the resposability of
6414 the field container to decide if the header should be shown
6417 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
6420 * ImageFieldMode.cs:
6421 * DynamicImageParameterMode.cs:
6422 * TableViewMode.cs: Removed.
6426 * TableRowSection.cs:
6427 * AutoCompleteType.cs:
6428 * DayNameFormat.cs: Track changes in 2.0 api.
6430 * StringArrayConverter.cs: This class is 2.0 only.
6432 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
6436 * DetailsView.cs: Bind the control after creating all child
6438 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
6439 the correct methods.
6440 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
6441 in this class. This is done in DataBoundControl. All this fixes
6444 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6446 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
6447 FindByText. Closes bug #74205.
6449 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6451 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
6452 1 when there's a datasource and 0 pages. Closes bug #73864.
6454 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
6461 * MenuItemTemplateContainer.cs:
6462 * DetailsView.cs: Track changes in the IDataItemContainer interface.
6464 * CommandField.cs: Added CausesValidation property. Set that
6465 property value to all buttons of the field.
6467 * SqlDataSourceView.cs:
6468 * CollectionDataSource.cs:
6469 * XmlDataSourceView.cs: Properly initialize the base class.
6471 * SiteMapDataSource.cs:
6472 * SiteMapHierarchicalDataSourceView.cs:
6473 * SiteMapNodeItem.cs:
6474 * SiteMapDataSourceView.cs:
6475 * SiteMapPath.cs: Mostly implemented.
6477 * HierarchicalDataBoundControl.cs: Always bind the control when the
6478 page is loaded for the first time.
6480 * TreeView.cs: Properly bind the control when loaded from a callback.
6482 2005-05-21 Ben Maurer <bmaurer@ximian.com>
6484 * BaseDataList.cs: Caption is in 1.1 too, though not
6485 documented. Gonz owes me [more] ice cream. Yummmmm.
6487 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6489 * BaseDataList.cs: implemented 2.0 Caption property.
6491 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
6493 * TreeView.cs: Always render the startup script. This fixes
6496 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
6498 * WizardStepBase.cs:
6499 * WizardStep.cs: Added missing attributes.
6500 * Wizard.cs: Implemented missing methods and properties. It can now
6501 be considered feature complete.
6503 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6505 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
6506 the method if the data source was en empty IEnumerator. Fixes
6509 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
6513 * Menu.cs: Implemented some new properties from beta 2.
6515 * DataControlButton.cs: Render the ControlStyle if it
6519 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
6520 It will now generate an object creation, instead of a Parse call.
6522 * GridViewCommandEventArgs.cs: Added missing property.
6523 * SubMenuStyleCollection.cs: This class is not sealed.
6524 * MultiView.cs: Set Visible=false to all views that are not
6525 shown. This ensures that it's view state is saved.
6527 * BaseDataBoundControl.cs:
6528 * GridViewDeletedEventArgs.cs: Minor api fixes.
6530 * FormViewDeleteEventArgs.cs:
6531 * DetailsViewDeletedEventArgs.cs:
6532 * ListControl.cs: Fix warnings.
6536 * HotSpotCollection.cs
6539 * RectangleHotSpot.cs
6540 * WizardStepCollection.cs : Implemented.
6544 * Wizard.cs: Initial implementation.
6546 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
6548 * DataControlField.cs:
6552 * DataControlCommands.cs:
6553 * DetailsView.cs: Use constants to identify commands.
6555 * SubMenuStyle.cs: Use Unit instead of int for padding.
6556 * SubMenuStyleCollection.cs: Implemented.
6559 * Menu.cs: Added some missing methods and properties.
6562 * DataGridPagerStyle.cs: Fixed default value attributes.
6563 * ListControl.cs: Implemented IEditableTextControl interface.
6565 * MenuItemBinding.cs: Added Selectable property.
6566 * CustomValidator.cs: removed interface.
6568 * MenuItem.cs: Added support for custom binding.
6569 * DropDownList.cs: Moved text properties to base class.
6571 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6573 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
6575 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6577 * Calendar.cs: when the day is active, modify the text of the literal
6578 control that holds the number, not the text of the TableCell. Also call
6579 OnDayRender before updating that text. Fixes bug #74718.
6581 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
6583 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
6585 * DataControlFieldHeaderCell.cs: Save Scope in view state.
6586 Added AbbreviatedText property.
6587 * AutoGeneratedField.cs: The constructor should actually be internal.
6588 * DataGridItem.cs: Added implemented interface in 2.0.
6589 * DataControlFieldCollection.cs: Implemented CloneFields and
6593 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6595 * StringArrayConverter.cs:
6596 * Calendar.cs: warnings.
6598 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
6600 * FormViewDeleteEventArgs.cs:
6601 * FormViewInsertEventArgs.cs:
6602 * FormViewUpdateEventArgs.cs:
6603 * FormViewDeletedEventArgs.cs:
6604 * FormViewUpdatedEventArgs.cs:
6605 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
6608 * IButtonControl.cs:
6609 * Button.cs: Removed SoftKey property.
6611 * CheckBox.cs: Don't try to load post back data if the control
6615 * AutoGeneratedField.cs:
6616 * DataControlField.cs:
6618 * ButtonFieldBase.cs:
6622 * ButtonField.cs: Don't bind fields in Insert state.
6623 Implemented CreateField and CopyProperties.
6626 * DetailsView.cs: Removed some unneeded interfaces. Don't
6627 generate the field rows if there are no items in the data source.
6628 Don't get the current keys until the whole control has been
6631 * DetailsViewInsertedEventArgs.cs:
6632 * DataBoundControl.cs:
6633 * ObjectDataSourceView.cs: Made some methods private.
6636 * Menu.cs: Changed some properties from int to Unit.
6638 * DataControlButton.cs: javascript prefix is needed when raising
6639 the postback event from a link.
6641 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
6642 The result was wrong when the total data source count was 0.
6644 * FormView.cs: Implemented.
6645 * FormViewRow.cs: Implemented.
6648 * Localize.cs: Fixed base interface.
6650 * BaseDataBoundControl.cs: In DataBind() call the base class
6651 DataBind method, so the binding context is properly set.
6653 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
6655 * DetailsView.cs: Added some null checks.
6656 * TemplateField.cs: Implemented support for two-way bindings.
6658 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
6660 * DetailsView.cs: Implemented support for Insert operation.
6661 Added header and footer templates. Added missing style
6663 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
6664 to get filter values. Other minor fixes.
6665 * CommandField.cs: Properly render the Insert and New buttons.
6666 * ObjectDataSource.cs: Update the parameter collections after
6667 the page is loaded. This will fire the ParameterChanged event
6669 * DataBoundControl.cs: The OnDataSourceViewChanged method
6670 is called when the view changes, not when the datasource
6673 * DetailsViewInsertedEventArgs.cs:
6674 * DetailsViewInsertEventArgs.cs: Implement Values property.
6677 * AutoGeneratedField.cs
6680 Take into account the Insert mode.
6682 * ParameterCollection.cs: Implemented UpdateValues and fixed
6683 GetValues (values can't be cached because can change).
6684 * Parameter.cs: Detect value changes in GetValue, and fire
6685 the change event if needed. Removed unused ParameterValue
6686 property. Other fixes.
6688 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
6690 * DetailsView.cs: Initial implementation.
6691 * ObjectDataSourceView.cs: Notify changes in the parameters.
6692 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
6693 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
6694 Implemented some properties.
6695 * GridView.cs: Added null check in SelectedValue. Don't return null
6696 for empty DataKeyNames list.
6697 * DetailsViewRowCollection.cs: Implemented.
6698 * DetailsViewRow.cs: Implemented.
6699 * ButtonFieldBase.cs: By default button field don't have headers.
6700 * BoundField.cs: Don't bind header fields.
6702 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
6704 * ButtonField.cs: Get data item properties using TypeDescriptor.
6705 Made OnDataBindField private.
6706 * ObjectDataSourceView.cs: Implemented support for Delete and
6707 Insert operations, support for filtering and sorting,
6708 conflict detection, etc. It's now complete.
6709 * ObjectDataSource.cs: Completed most of functionality. Only
6710 caching support is missing.
6711 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
6712 * TreeNode.cs: Get data item properties using TypeDescriptor.
6713 * PagerSettings.cs: Flush.
6714 * ObjectDataSourceFilteringEventArgs.cs: New event args.
6715 * GridView.cs: Get data item properties using TypeDescriptor
6716 and cache them. Properly set descending order in the sort
6717 expression. In UpdateRow, make sure we get the old values
6718 before the control is bound again.
6719 * ImageField.cs: Implemented.
6720 * AutoGeneratedField.cs: Initialize the field's sort
6721 expression in the constructor.
6722 * MenuItem.cs: Get data item properties using TypeDescriptor.
6723 * BoundField.cs: Get data item properties using TypeDescriptor.
6724 * CheckBoxField.cs: Added missing attributes.
6725 * TemplateField.cs: Implemented.
6727 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6730 * FontUnitConverter.cs: fixed ConvertTo to work with target
6731 InstanceDescriptor and value as a string.
6733 * Unit.cs: culture might be null.
6737 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
6739 * ButtonField.cs: Mostly implemented.
6740 * DataControlFieldHeaderCell.cs: Implemented.
6741 * ObjectDataSourceView.cs: Initial implementation.
6742 * DataControlButton.cs: Added support for real buttons.
6743 * Label.cs, DataControlField.cs: Flush.
6744 * ObjectDataSource.cs: Initial implementation.
6745 * HiddenField.cs: Added class stub.
6746 * GridView.cs: Load autogenerated field properties before
6747 creating the children, to make sure that column info is ready.
6748 * ControlParameter.cs: Implemented Evaluate method.
6749 * ImageField.cs: Added class stub.
6750 * BoundField.cs: Added HtmlEncode property.
6751 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
6753 * CheckBoxField.cs: Mostly implemented.
6754 * TemplateField.cs: Added class stub.
6755 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
6756 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
6757 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
6759 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
6761 * DataControlField.cs: Added missing InsertVisible property.
6762 * AutoGeneratedFieldProperties.cs: Implemented.
6763 * PagerSettings.cs: Minor fix.
6764 * GridView.cs: Implemented support for autogenerated fields, templates,
6765 accessible headers. Implemented paging using PagedDataSource.
6766 Implemented missing overridable methods.
6767 * AutoGeneratedField.cs: Initial implementation.
6768 * BoundField.cs: Added ReadOnly property.
6769 * PagedDataSource.cs: Implemented 2.0 api.
6770 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
6771 cell class to be used by accessible headers.
6772 * TableCell.cs: Removed unneded constructor. If the cell is bound to
6773 a template, call the default RenderContents method.
6775 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
6777 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
6778 event when loading the view state. Fixes #73746.
6780 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
6782 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
6784 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
6786 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
6788 * CommandField.cs: Mostly implemented.
6789 * Menu.cs: Use callback methods moved to ClientScriptManager.
6790 * DataControlButton.cs: Internal control used to implement buttons
6791 for navigating in data bound controls.
6792 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
6793 to render the column headers.
6794 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
6795 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
6796 Don't use Page.GetPostBackClientEvent
6797 since it is deprecated in 2.0.
6798 * GridView.cs: Implemented some several interfaces.
6799 Implemented support client sorting and page navigation (using callbacks).
6800 Implemented the autogenerated command column using the new CommandField
6802 * ButtonFieldBase.cs: Implemented.
6803 * GridView.js: New helper script to support client side sorting and
6804 paging in the grid view.
6806 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
6808 * DataKey.cs: Implemented.
6809 * XmlDataSourceView.cs: Implemented support for row pagging.
6810 * Table.cs: Fixed attribute value.
6811 * DataControlField.cs: Added support for sorting headers.
6812 * ChildTable.cs: Created.
6813 * ListControl.cs: Delay selection assignment, since control state
6814 is now loaded before view state.
6815 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
6816 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
6817 several missing properties.
6818 * PagerSettings.cs: Fully implemented.
6819 * BaseDataList.cs: Added null check.
6820 * GridView.cs: Implemented more functionality.
6821 * BoundField.cs: Added support for cell editing.
6822 * StringArrayConverter.cs: Implemented.
6823 * DataKeyArray.cs: Implemented.
6824 * BaseDataBoundControl.cs: Reset the requires binding flag before
6825 executing the query. This avoids recursive query calls.
6826 * GridViewRow.cs: Handler commands raised from row childs.
6828 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
6830 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
6831 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
6832 it is possible to query for properties fore each data item.
6833 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
6834 when loading its view state.
6835 * DataControlField.cs: Implement properties using a StateBag.
6836 * XmlDataSourcePropertyDescriptor.cs: Implemented.
6837 * PagerSettings.cs: Mostly implemented.
6838 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
6839 * DataBoundControl.cs: Added null check.
6840 * GridView.cs: Initial implementation.
6841 * CompositeDataBoundControl.cs: Implemented.
6842 * BoundField.cs: Initial implementation.
6843 * GridViewRowCollection.cs: Initial implementation.
6844 * DataControlFieldCollection.cs: Initial implementation.
6845 * DataControlFieldCell.cs: Fixed control tag.
6846 * GridViewRow: Initial implementation.
6847 * XmlDataSourceNodeDescriptor.cs: Implemented.
6849 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6851 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
6852 is zero, use the TagName no matter its value. Fixes bug #72415.
6854 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
6856 * Style.cs: Method name fix.
6857 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
6858 * BaseCompareValidator.cs: Method signature fix.
6859 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
6860 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
6861 * BulletedList.cs: Added missing method.
6862 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
6864 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
6866 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
6867 * RadioButton.cs: Added missing 2.0 methods.
6868 * ListItem.cs: Added Enabled property.
6869 * MailMessageEventArgs.cs: Use the correct message class.
6870 * ListControl.cs: Implemented missing properties and support for
6871 control state. Implemented base RenderContents method.
6872 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
6874 * BaseCompareValidator.cs: Implemented methods that support conditional
6875 use of the invariant culture.
6876 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
6877 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
6878 It takes a DbCommand instead of a IDbCommand.
6879 * GridViewSortEventArgs.cs: Added SortDirection property.
6880 * TextBox.cs, CheckBoxList.cs: Added protected version of
6881 IPostBackDataHandler methods.
6882 * RadioButtonList.cs: Added protected version of
6883 IPostBackDataHandler and IRepeatInfoUser methods.
6884 * Repeater.cs: Updated some method names.
6885 * DropDownList.cs: Added protected version of
6886 IPostBackDataHandler methods. Reuse RenderContents from base class.
6887 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
6888 * GridViewUpdatedEventArgs.cs: Fix typo.
6889 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
6890 Reuse RenderContents from base class.
6891 * BaseDataBoundControl.cs: Several fixes.
6892 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
6894 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
6896 * CheckBoxList.cs: Fix build.
6898 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
6900 * Button.cs: Use validation group when validating page.
6901 * XmlDataSourceView.cs: Implemented ExecuteSelect.
6902 * Menu.cs: Minor fix.
6903 * CheckBox.cs: Added 2.0 properties and methods.
6904 * BaseDataList.cs: Always databind the control if view state
6906 * DataList.cs: In 2.0, use control state to save the selected index.
6907 * DetailsViewUpdatedEventArgs.cs: Fix typo.
6908 * CustomValidator.cs: Implement IStaticTextControl interface.
6909 * CheckBoxList.cs: Added missing 2.0 methods.
6910 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
6912 * XmlDataSource.cs: Return childs of DocumentElement, not the root
6914 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
6915 Implemented 2.0 API.
6918 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
6920 * Button.cs: Implemented all missing 2.0 features.
6921 * Table.cs: Render the table caption, when specified.
6922 * Calendar.cs: Implemented most of missing 2.0 features.
6923 * TableCell.cs: Fixed attributes.
6925 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
6927 * ControlPropertyNameConverter.cs: Added file.
6929 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
6931 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
6932 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
6933 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
6934 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
6935 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
6936 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
6937 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
6938 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
6939 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
6940 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
6941 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
6942 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
6943 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
6944 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
6945 DataGridSortCommandEventArgs.cs, Repeater.cs,
6946 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
6947 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
6948 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
6949 CompareValidator.cs, HierarchicalDataBoundControl.cs,
6950 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
6951 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
6952 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
6953 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
6954 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
6955 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
6956 AdCreatedEventArgs.cs:
6958 General 2.0 API fixes: missing attributes, incorrect inheritance,
6959 missing sealed keywords, wrong signatures, etc.
6961 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
6963 * Table.cs: Added some 2.0 properties.
6964 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
6966 * BaseValidator.cs: Fix warning.
6967 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
6969 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
6971 * Menu.cs: Rendering fixes.
6973 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
6975 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
6976 ContentPlaceHolderBuilder.cs: Implemented.
6978 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6980 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
6981 attributes that are meant to be in the input tag in their place.
6983 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
6985 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
6986 generates invalid html).
6988 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
6990 * Menu.cs: Implemented most of missing properties. Added support for
6991 item templates. Implemented menu scrolling.
6992 * MenuItemBinding.cs: Implemented most of missing properties.
6993 * MenuItem.cs: Implemented most of missing properties.
6994 * Menu.js: Implemented scrolling and menu reposition into screen.
6995 * MenuItemTemplateContainer.cs: Implemented.
6996 * SubMenuStyle.cs: Implemented.
6998 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
7000 * Style.cs: Implemented RegisteredCssClass property. Added
7001 CopyTextStylesFrom method, which copies styles that only apply to text.
7002 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
7003 in the page stylesheet. Added support for ItemSpacing property.
7004 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
7006 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
7008 * Style.cs: Generate styles using a CssStyleCollection, so the code can
7009 be reused for the 2.0 FillStyleAttributes method.
7010 * Menu.cs: Implemented more properties and events. Rendering is very
7012 * MenuItem.cs: Added PopOutImageUrl property.
7013 * Menu.js: More work on submenu management.
7015 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
7017 * Menu.cs: Implemented basic rendering. Added some missing properties.
7018 * MenuItem.cs: Improved implementation of Depth.
7019 * Unit.cs: Added serializable attribute.
7020 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
7021 so it can be reused.
7022 * Menu.js: New script to support he Menu control.
7024 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
7026 * MenuEventArgs.cs: Changed to sealed.
7027 * TreeView.cs: Minor fix.
7028 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
7029 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
7030 MenuItemStyleCollection.cs: Initial Menu code.
7032 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
7034 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
7035 Implemented SetDirtyObject.
7036 * Style.cs: Implemented SetDirty().
7037 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
7038 * TreeNode.cs: Added missing attributes added support for
7039 PopulateOnDemand. Added some missing property bindings.
7040 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
7041 to newly added elements to make sure al new data is saved.
7042 * TreeView.js: Implemented support for client population of nodes.
7043 * TreeNodeStyle.cs: Added missing attributes.
7044 * TreeView.cs: Implemented support for PopulateNodesFromClient and
7045 PopulateOnDemand. Improved rendering.
7047 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
7049 * DataControlField.cs:
7050 * DataControlFieldCell.cs: Initial implementation.
7052 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
7054 * TreeNodeBindingCollection.cs: Implemented.
7055 * TreeNodeBinding.cs: Implemented.
7056 * TreeNode.cs: Added support for data binding.
7057 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
7058 TreeView_Default_NoExpand.gif: Moved to resources directory.
7059 * ListControl.cs: Fixed api.
7060 * XmlHierarchicalEnumerable.cs: Made internal.
7061 * DataBoundControl.cs: Modified api to match latest ms.net.
7062 * TreeView.js: New javascript file to support TreeView in the client.
7063 * XmlDataSource.cs: Added missing attributes.
7064 * HierarchicalDataBoundControl.cs: Mostly implemented.
7065 * BaseDataBoundControl.cs: Mostly implemented.
7066 * XmlHierarchyData.cs: Made internal.
7067 * TreeView.cs: Mostly implemented. The major missing feature is
7068 client side tree population.
7070 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
7073 * DataBountControl.cs:
7074 * Repeater.cs: Added SelectArguments property and updated.
7075 * SiteMapDataSourceView.cs:
7076 * SqlDataSourceView.cs:
7077 * XmlDataSourceView.cs: Removed extra method, which was there to
7078 keep things compiling.
7080 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
7082 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
7083 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
7084 TreeView.cs: Initial implementation.
7085 * DataBoundControl.cs: Set the correct base class.
7086 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
7087 * TreeNodeSelectAction.cs: Formatting.
7088 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
7089 TreeView_Default_NoExpand.gif: TreeView images.
7091 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
7093 * SqlDataSourceView.cs: Updated methods and added one property.
7095 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7097 * AccessDataSource.cs:
7098 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
7099 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7101 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
7102 * SqlDataSourceView.cs: Updated constructor.
7104 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7106 * AccessDataSourceView.cs: Added new class.
7108 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7110 * SqlDataSourceView.cs: Corrected exception handling in
7111 ExecuteSelect method.
7113 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
7115 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
7116 * SiteMapDataSourceView.cs: Minor fix.
7118 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7120 * SqlDataSourceView.cs: Updated ExecuteSelect method.
7122 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7124 * SqlDataSource.cs: Corrected Select method.
7126 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7128 * SqlDataSource.cs: Updated Select method definition.
7129 * SqlDataSourceStatusEventArgs.cs: Updated class.
7131 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
7133 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
7134 from DataSourceView.cs).
7136 2004-11-10 Raja R Harinath <rharinath@novell.com>
7138 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
7140 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
7142 * SqlDataSource.cs: Corrected method calls.
7143 * SqlDataSourceView.cs: Partial implementation of few methods.
7145 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7147 * ListItemCollection.cs: fixed bug when indexing changed elements in
7148 LoadViewState. Patch from Alois Bělaška.
7150 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
7152 * SiteMapDataSourceView.cs:
7153 * SqlDataSourceView.cs:
7154 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
7155 base class, DataSourceView. Changes are to keep things compiling.
7157 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
7159 * SiteMapDataSourceView.cs: Corrected class definition and updated.
7160 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
7163 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
7165 * AdRotator.cs: Updated.
7167 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
7169 * AccessDataSource.cs: Updated.
7171 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7173 * ValidatedControlConverter.cs: Updated.
7175 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7177 * AssociatedControlConverter.cs: Implemented.
7179 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7181 * ControlIDConverter.cs: Initial implementation.
7183 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7185 * IButtonControl.cs: Corrected property name.
7187 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7189 * ParameterCollection.cs: Updated.
7191 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7193 * Parameter.cs: Updated and completed implementation.
7195 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7197 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
7200 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7202 * AccessDataSource.cs: Initial implementation.
7204 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
7206 * DataControlRowState.cs:
7208 * TreeNodeTypes.cs: Added attribute.
7209 * DataControlRowType.cs:
7211 * SortDirection.cs: Corrected enumeration values.
7212 * TableRowSection.cs: Added new enumeration.
7213 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
7215 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7217 * TableStyle.cs: don't render empty 'rules' attribute (again).
7219 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
7221 * FormViewUpdatedEventArgs.cs: Spelling mistake.
7223 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
7225 * Literal.cs: Added new method Focus().
7227 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7229 * RadioButton.cs: fix GroupName when the control is inside a
7230 NamingContainer different from Page. Closes bug #65586.
7232 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
7234 * Localize.cs: Added new class.
7236 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
7238 * CompositeControl.cs : Completed
7239 * Login.cs : Initial implementation.
7241 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7243 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
7244 don't call MapPathSecure on the content itself.
7246 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
7247 document is checked at parse time and will be checked again at run time.
7251 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
7253 * AuthenticateEventHandler.cs:
7254 * CreateUserErrorEventArgs.cs:
7255 * CreateUserErrorEventHandler.cs:
7256 * DetailsViewCommandEventHandler.cs:
7257 * DetailsViewDeleteEventArgs.cs:
7258 * DetailsViewDeleteEventHandler.cs:
7259 * DetailsViewDeletedEventArgs.cs:
7260 * DetailsViewDeletedEventHandler.cs:
7261 * DetailsViewInsertEventArgs.cs:
7262 * DetailsViewInsertEventHandler.cs:
7263 * DetailsViewInsertedEventArgs.cs:
7264 * DetailsViewInsertedEventHandler.cs:
7265 * DetailsViewModeEventArgs.cs:
7266 * DetailsViewModeEventHandler.cs:
7267 * DetailsViewPageEventHandler.cs:
7268 * DetailsViewUpdateEventArgs.cs:
7269 * DetailsViewUpdateEventHandler.cs:
7270 * DetailsViewUpdatedEventArgs.cs:
7271 * DetailsViewUpdatedEventHandler.cs:
7272 * FormViewCommandEventHandler.cs:
7273 * FormViewDeleteEventArgs.cs:
7274 * FormViewDeleteEventHandler.cs:
7275 * FormViewDeletedEventArgs.cs:
7276 * FormViewDeletedEventHandler.cs:
7277 * FormViewInsertEventArgs.cs:
7278 * FormViewInsertEventHandler.cs:
7279 * FormViewInsertedEventArgs.cs:
7280 * FormViewInsertedEventHandler.cs:
7281 * FormViewModeEventHandler.cs:
7282 * FormViewPageEventHandler.cs:
7283 * FormViewUpdateEventArgs.cs:
7284 * FormViewUpdateEventHandler.cs:
7285 * FormViewUpdatedEventArgs.cs:
7286 * FormViewUpdatedEventHandler.cs:
7287 * GridViewCancelEditEventArgs.cs:
7288 * GridViewCancelEditEventHandler.cs:
7289 * GridViewCommandEventHandler.cs:
7290 * GridViewDeleteEventArgs.cs:
7291 * GridViewDeleteEventHandler.cs:
7292 * GridViewDeletedEventArgs.cs:
7293 * GridViewDeletedEventHandler.cs:
7294 * GridViewEditEventHandler.cs:
7295 * GridViewPageEventHandler.cs:
7296 * GridViewRowEventHandler.cs:
7297 * GridViewSelectEventHandler.cs:
7298 * GridViewSortEventArgs.cs:
7299 * GridViewSortEventHandler.cs:
7300 * GridViewUpdateEventArgs.cs:
7301 * GridViewUpdateEventHandler.cs:
7302 * GridViewUpdatedEventArgs.cs:
7303 * GridViewUpdatedEventHandler.cs:
7304 * ImageMapEventHandler.cs:
7305 * MailMessageEventHandler.cs:
7306 * MenuEventHandler.cs:
7307 * ObjectDataSourceDisposingEventHandler.cs:
7308 * ObjectDataSourceEventHandler.cs:
7309 * ObjectDataSourceMethodEventArgs.cs:
7310 * ObjectDataSourceMethodEventHandler.cs:
7311 * ObjectDataSourceSelectingEventArgs.cs:
7312 * ObjectDataSourceSelectingEventHandler.cs:
7313 * ObjectDataSourceStatusEventArgs.cs:
7314 * ObjectDataSourceStatusEventHandler.cs:
7315 * SendMailErrorEventHandler.cs:
7316 * SiteMapNodeItemEventHandler.cs:
7317 * SqlDataSourceSelectingEventArgs.cs:
7318 * SqlDataSourceSelectingEventHandler.cs:
7319 * TreeNodeEventHandler.cs:
7320 * WizardNavigationEventArgs.cs:
7321 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
7322 corrections and removing "sealed" access specifier from *EventHandler.cs
7324 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
7326 * Literal.cs: Added new attributes and property for .Net 2.0
7328 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
7330 * GridViewDeleteEventArgs.cs: Removed extra code.
7332 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
7334 * SendMailErrorEventArgs.cs:
7335 * SendMailErrorEventHandler.cs:
7336 * SiteMapNodeItemEventArgs.cs:
7337 * SiteMapNodeItemEventHandler.cs:
7338 * SqlDataSourceSelectingEventArgs.cs:
7339 * SqlDataSourceSelectingEventHandler.cs:
7340 * TreeNodeEventArgs.cs:
7341 * TreeNodeEventHandler.cs:
7342 * WizardNavigationEventArgs.cs:
7343 * WizardNavigationEventHandler.cs: Added new delegates.
7345 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7347 * ImageMapEventArgs.cs:
7348 * ImageMapEventHandler.cs:
7349 * MailMessageEventArgs.cs:
7350 * MailMessageEventHandler.cs:
7352 * MenuEventHandler.cs:
7353 * ObjectDataSourceDisposingEventArgs.cs:
7354 * ObjectDataSourceDisposingEventHandler.cs:
7355 * ObjectDataSourceEventArgs.cs:
7356 * ObjectDataSourceEventHandler.cs:
7357 * ObjectDataSourceMethodEventArgs.cs:
7358 * ObjectDataSourceMethodEventHandler.cs:
7359 * ObjectDataSourceSelectingEventArgs.cs:
7360 * ObjectDataSourceSelectingEventHandler.cs:
7361 * ObjectDataSourceStatusEventArgs.cs:
7362 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
7364 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7366 * DetailsViewCommandEventArgs.cs:
7367 * FormViewCommandEventArgs.cs:
7368 * GridViewCommandEventArgs.cs: Corrected constructor.
7370 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7372 * GridViewCancelEditEventArgs.cs:
7373 * GridViewCancelEditEventHandler.cs:
7374 * GridViewCommandEventArgs.cs:
7375 * GridViewCommandEventHandler.cs:
7376 * GridViewDeletedEventArgs.cs:
7377 * GridViewDeletedEventHandler.cs:
7378 * GridViewDeleteEventArgs.cs:
7379 * GridViewDeleteEventHandler.cs:
7380 * GridViewEditEventArgs.cs:
7381 * GridViewEditEventHandler.cs:
7382 * GridViewPageEventArgs.cs:
7383 * GridViewPageEventHandler.cs:
7384 * GridViewRowEventArgs.cs:
7385 * GridViewRowEventHandler.cs:
7386 * GridViewSelectEventArgs.cs:
7387 * GridViewSelectEventHandler.cs:
7388 * GridViewSortEventArgs.cs:
7389 * GridViewSortEventHandler.cs:
7390 * GridViewUpdatedEventArgs.cs:
7391 * GridViewUpdatedEventHandler.cs:
7392 * GridViewUpdateEventArgs.cs:
7393 * GridViewUpdateEventHandler.cs: Added new delegates.
7395 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7397 * FormViewUpdatedEventArgs.cs: Corrected constructor.
7399 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7401 * FormViewCommandEventArgs.cs: Corrected name of class.
7403 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7405 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
7408 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7410 * FormViewCommandEventArgs.cs:
7411 * FormViewCommandEventHandler.cs:
7412 * FormViewDeletedEventArgs.cs:
7413 * FormViewDeletedEventHandler.cs:
7414 * FormViewDeleteEventArgs.cs:
7415 * FormViewDeleteEventHandler.cs:
7416 * FormViewInsertedEventArgs.cs:
7417 * FormViewInsertedEventHandler.cs:
7418 * FormViewInsertEventArgs.cs:
7419 * FormViewInsertEventHandler.cs:
7420 * FormViewModeEventArgs.cs:
7421 * FormViewModeEventHandler.cs:
7422 * FormViewPageEventArgs.cs:
7423 * FormViewPageEventHandler.cs:
7424 * FormViewUpdatedEventArgs.cs:
7425 * FormViewUpdatedEventHandler.cs:
7426 * FormViewUpdateEventArgs.cs:
7427 * FormViewUpdateEventHandler.cs: Added new delegates.
7429 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7431 * DetailsViewCommandEventArgs.cs:
7432 * DetailsViewCommandEventHandler.cs:
7433 * DetailsViewDeletedEventArgs.cs:
7434 * DetailsViewDeletedEventHandler.cs:
7435 * DetailsViewDeleteEventArgs.cs:
7436 * DetailsViewDeleteEventHandler.cs:
7437 * DetailsViewInsertedEventArgs.cs:
7438 * DetailsViewInsertedEventHandler.cs:
7439 * DetailsViewInsertEventArgs.cs:
7440 * DetailsViewInsertEventHandler.cs:
7441 * DetailsViewModeEventArgs.cs:
7442 * DetailsViewModeEventHandler.cs:
7443 * DetailsViewPageEventArgs.cs:
7444 * DetailsViewPageEventHandler.cs:
7445 * DetailsViewUpdatedEventArgs.cs:
7446 * DetailsViewUpdatedEventHandler.cs:
7447 * DetailsViewUpdateEventArgs.cs:
7448 * DetailsViewUpdateEventHandler.cs: Added new delegates.
7450 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
7452 * AuthenticateEventArgs.cs:
7453 * AuthenticateEventHandler.cs:
7454 * CreateUserErrorEventArgs.cs:
7455 * CreateUserErrorEventHandler.cs: Added new delegates.
7457 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
7459 * IButtonControl.cs:
7460 * ICallbackContainer.cs:
7461 * ICompositeControlDesignerAccessor.cs:
7462 * IPostBackContainer.cs: Added new interfaces.
7464 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
7467 * AutoCompleteType.cs:
7468 * ContentDirection.cs:
7469 * DataControlCellType.cs:
7470 * DataControlRowState.cs:
7471 * DataControlRowType.cs:
7472 * DetailsViewMode.cs:
7473 * DynamicImageParameterMode.cs:
7476 * ImageFieldMode.cs:
7483 * SiteMapNodeItemType.cs:
7484 * SiteMapNodeType.cs:
7485 * SiteMapViewType.cs:
7487 * TableCaptionAlign.cs:
7488 * TableHeaderScope.cs:
7490 * TreeNodeSelectAction.cs:
7492 * TreeViewImageSet.cs:
7493 * WizardStepType.cs: Added enumerations
7495 2004-08-02 Duncan Mak <duncan@ximian.com>
7498 * LoginFailureAction.cs:
7499 * LoginTextLayout.cs: Added enumerations.
7501 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7503 * BaseValidator.cs: in Validate(), when the control is not visible or
7504 enabled, return inmediately after setting IsValid to true. Fixes bug
7507 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7509 * DataList.cs: s/HasChildren/HasControls()/.
7511 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7513 * DataList.cs: style.
7515 2004-07-27 Alon Gazit <along@mainsoft.com>
7516 * DataList.cs: Replaced foreach statement with for statement,
7517 in order to improve performence.
7519 2004-07-27 Alon Gazit <along@mainsoft.com>
7520 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
7522 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
7523 switch statements in order to improve performance.
7525 2004-06-10 Alon Gazit <along@mainsoft.com>
7526 * WebControl.cs: fixed LoadViewState().
7527 Creates new attributes state bag only when the current is null.
7529 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7531 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
7533 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7535 * Calendar.cs: set the title class attribute if we have it. Fixes bug
7538 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7540 * Style.cs: added SetBit.
7542 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7545 * CompareValidator.cs:
7548 * WebControl.cs: Added protected missing members and attributes.
7550 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7552 * TextBox.cs: don't save the Text if in ViewState if it's a password.
7553 Save it if the control is not visible or not enabled. Fixes bug #58497.
7555 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7557 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
7560 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
7562 * SqlDataSourceCommandEventArgs:
7563 * XmlDataSource.cs : removed temporary workarounds for CLS
7564 compliance as System.Data is now CLS compliant
7566 2004-05-06 Alon Gazit <along@mainsoft.com>
7567 * WebControl.cs: fixed LoadViewState() and SaveViewState().
7568 Before the change the Enabled property wasn't updated when a postback
7570 * ListControl.cs: fixed SelectedIndex property implementation.
7571 Prevents throwing ArgumentOutOfRangeException (that should not be
7572 thrown), when the list is empty.
7574 2004-04-28 Alon Gazit <along@mainsoft.com>
7575 * WebControl.cs: fixed LoadViewState().
7576 Always loading the saved attributes collection.
7578 2004-04-18 Alon Gazit <along@mainsoft.com>
7579 * Repeater.cs: fixed InstantiateItem() and DataSource property.
7580 The change in DataSource prevents throwing ArgumentException while
7581 setting property value to null.
7582 The change in InstantiateItem() prevents NullReferenceException.
7584 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
7586 * BaseValidator.cs: Store Display property in the correct ViewState
7587 property. Don't render anything if Display is ValidatorDisplay.None.
7589 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
7591 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
7592 since it is already a physical path. Fixes bug #55334.
7594 2004-02-13 Jackson Harper <jackson@ximian.com>
7596 * Calendar.cs: Match MS postback data. This allows sites that
7597 parse the postback data manually to work.
7599 2004-02-04 Alon Gazit <along@mainsoft.com>
7600 * EditCommandColumn.cs: fixed InitializeCell().
7601 The rendered LiteralControl should contain " " and not " ".
7603 2004-02-01 Alon Gazit <along@mainsoft.com>
7605 * DataGrid.cs: fixed a problem in the paging mechanism in the method
7607 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
7608 while clicking the "..." link in the second page.
7610 2004-01-28 Alon Gazit <along@mainsoft.com>
7612 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
7614 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7616 * Calendar.cs: when rendering days, add a LiteralControl containing the
7617 day before OnDayRender is called. Only generate the default links for
7618 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
7620 2004-01-21 Martin Baulig <martin@ximian.com>
7622 * XmlHierarchyData.cs: Make this compile with csc.
7624 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
7625 accessor since the base class doesn't have one.
7627 2004-01-18 Alon Gazit <along@mainsoft.com>
7629 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
7631 2004-01-18 Alon Gazit <along@mainsoft.com>
7633 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
7634 Property default value.
7635 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
7636 Property default value.
7638 2004-01-15 Alon Gazit <along@mainsoft.com>
7640 * RadioButtonList.cs: RepeatLayout property should affect the rendered
7643 2004-01-15 Alon Gazit <along@mainsoft.com>
7644 * FontInfo.cs: Add validation check to Size property.
7646 2004-01-07 Alon Gazit <along@mainsoft.com>
7647 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
7648 merge the column's style to the cell's style and not to
7649 the item's(row) style.
7651 2004-01-04 Alon Gazit <along@mainsoft.com>
7652 * RangeValidator.cs: Fixed ControlPropertiesValid().
7654 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7656 * Xml.cs: mono-stylized and removed warnings.
7658 2004-1-1 Alon Gazit <along@mainsoft.com>
7659 * RadioButtonList.cs: update RenderItem() so that each RadioButton
7660 is enabled or disabled like the RadioButtonList.
7661 * CheckBoxList.cs: update RenderItem() so that each CheckBox
7662 is enabled or disabled like the CheckBoxList.
7664 2004-1-1 Alon Gazit <along@mainsoft.com>
7665 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
7666 The Header or Footer Style shouldn't merge with the cells Style.
7668 2004-1-1 Alon Gazit <along@mainsoft.com>
7669 * DataGridColumn.cs: Headers and Footers are initialized
7670 with the relevant Style object.
7672 2003-12-30 Alon Gazit <along@mainsoft.com>
7673 * RepeatInfo.cs: Fixed DoVerticalRendering () and
7674 DoHorizontalRendering().
7675 Current implementation produces few extra html tags.
7677 2003-12-29 Alon Gazit <along@mainsoft.com>
7679 * CheckBox.cs: change the implementation of LoadPostData.
7680 Currently, while the AutoPostBack property equals true ,
7681 it isn't possible to perform uncheck.
7683 2003-12-19 Jackson Harper <jackson@ximian.com>
7685 * TableCell.cs: Setting a cells text should clear its control
7686 collection as per la specification. This fixes bug #51825.
7688 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7690 * DataGridColumn.cs: stylized LoadViewState.
7691 * DataGridColumnCollection.cs: when TrackViewState is called, also
7692 call it on all the existing columns. Fixes bug #52334.
7694 2003-12-18 Alon Gazit <along@mainsoft.com>
7696 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
7699 2003-12-18 Alon Gazit <along@mainsoft.com>
7701 * TableStyle.cs: merge TableStyle properties when Style is empty.
7703 2003-12-16 Alon Gazit <along@mainsoft.com>
7705 * HyperLink.cs: Change Text property implementation. in MS when the Text
7706 property is set, all the controls in the HyperLink are being deleted.
7707 This fixes bug #52239.
7709 2003-12-15 Alon Gazit <along@mainsoft.com>
7710 * RepeatInfo.cs: Fixed DoVerticalRendering () and
7711 DoHorizontalRendering().
7712 Both methods add additional empty table row in the head of each item
7713 table when the variable named isTable equals true (happenes with the
7714 default instantiation of RepeatInfo). These additional rows should be
7715 added when isTable equals false.
7716 This fixes bug #52225.
7718 2003-12-15 Alon Gazit <along@mainsoft.com>
7720 * RepeatInfo.cs: Fixed DoVerticalRendering() and
7721 DoHorizontalRendering().
7722 Both methods add to rendered Header a colspan attribute according to the
7723 rows count. after the change the colspan is added according to the
7726 2003-12-15 Alon Gazit <along@mainsoft.com>
7727 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
7728 In .NET if the checkbox is disabled ,its text appears disabled too.
7729 In Mono the text appears enabled. the fix is in Render().
7730 This fixes bug #52180.
7732 2003-12-15 Alon Gazit <along@mainsoft.com>
7733 * Repeater.cs: Change the implementation of CreateControlHierarchy().
7734 The current implementation renders extra Header and footer
7735 without Repeater.DataSource assign.
7736 This fixes bug #52179.
7738 2003-12-15 Alon Gazit <along@mainsoft.com>
7739 * DataGrid.cs: Change the implementation of the property
7740 BackImageUrl. The current implementation has no influence
7741 on the rendered Html.
7743 2003-12-15 Alon Gazit <along@mainsoft.com>
7744 * WebControl.cs: Change the implementation of the property
7745 Enabled. Before the change the WebControl also looked at
7746 parent.Enabled . fixed bug #52171.
7748 2003-12-11 Jackson Harper <jackson@ximian.com>
7750 * RepeatInfo.cs: When rendering vertically figure out how many
7751 colmns are not going to be filled in in the last row, and adjust
7752 things accordingly. This fixes bug #51863.
7754 2003-12-10 Alon Gazit <along@mainsoft.com>
7755 * TableRow.cs: Change the implementation of the properties
7756 HorizontalAlign and VerticalAlign. The current implementation
7757 has no influence on the rendered Html.
7759 2003-12-10 Alon Gazit <along@mainsoft.com>
7760 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
7761 property's set method.
7763 2003-12-09 Jackson Harper <jackson@ximian.com>
7765 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
7766 Increment counter when moving to start. Fixes bug #51926.
7768 2003-12-08 Jackson Harper <jackson@ximian.com>
7770 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
7771 Benjamin Jemlich. Fixes bug #51823.
7773 2003-12-07 Alon Gazit <along@mainsoft.com>
7774 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
7775 property is set to false. Fixes bug #58120.
7777 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7779 * TableItemStyle.cs: merge TableItemStyle properties when Style is
7780 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
7782 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7784 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
7787 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7789 * WebControl.cs: don't create the attributes when GetAttribute is
7792 2003-12-01 Jackson Harper <jackson@ximian.com>
7794 * WebControl.cs: Only allow access keys to be null or a single
7795 char. Patch by Alon Gazit <along@mainsoft.com>.
7797 2003-11-30 Jackson Harper <jackson@ximian.com>
7799 * CheckBoxList.cs: A checkbox will have null post data if it is
7800 unselected. This fixes bug #51516.
7802 2003-11-29 Jackson Harper <jackson@ximian.com>
7804 * DataGrid.cs: Display paging controls even when there is no
7805 data. Path by Mohammad DAMT. Fixes bug #51487.
7807 2003-11-29 Jackson Harper <jackson@ximian.com>
7809 * DataGrid.cs: Call TrackViewState when loading bound columns view
7810 state. So that their state is saved. This fixes bug #51424. Also
7813 2003-11-26 Jackson Harper <jackson@ximian.com>
7815 * BaseDataList.cs: Change && to || We will call that a typo so no
7816 one gets embarrased.
7818 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7820 * BaseDataList.cs: allow setting null as Datasource.
7822 * DataGrid.cs: keep autogenerated columns in the ViewState.
7824 Patches by Alon Gazit <along@mainsoft.com>.
7826 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
7828 * SqlDataSource*: Implement almost everything. Data access is
7831 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
7833 * Calendar.cs (SaveViewState):
7834 - We were allocating a 11 item array, we only used 10 items,
7835 so only allocate 10.
7836 - We only need to save the selected dates if there are any.
7837 * DataGrid.cs (SaveViewState):
7838 * DataGridColumn.cs (SaveViewState):
7839 * DataGridColumnCollection.cs (SaveViewState):
7840 - Only return the array if there is anything in it
7841 * Style.cs (SaveViewState):
7842 - Only save the bits if there were changes.
7843 * WebControl.cs (SaveViewState), (LoadViewState):
7844 - Don't save Enabled into the viewstate here, we already
7845 do it in the property. This just caused *EVERY* control
7846 to have a non-null state, taking up lots of extra room
7848 - The style will always be created with this control's
7849 viewstate, so the style will always return null for the
7850 viewstate. As such, we do not need to store it. We can
7851 also reduce the triplet to a pair because of this.
7853 2003-11-22 Jackson Harper <jackson@ximian.com>
7855 * ValidationSummary.cs: Fix number of messages and message array computation.
7857 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
7859 * Xml.cs: Corrected attribute
7860 * XmlBuilder.cs: Added
7862 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7864 * Xml.cs: class status based fixes.
7866 2003-11-19 Jackson Harper <jackson@ximian.com>
7868 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
7870 2003-11-19 Jackson Harper <jackson@ximian.com>
7872 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
7873 teh applications base directory. This fixes bug #51092.
7875 2003-11-18 Todd Berman <tberman@gentoo.org>
7877 * ControlParameter.cs:
7878 * CookieParameter.cs:
7880 * QueryStringParameter.cs:
7881 * SessionParameter.cs: added public .ctor ()
7882 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
7883 and handling, as well as internal ParameterValue for easy access.
7884 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
7885 * ParameterCollection.cs: implementation redux.
7887 2003-11-18 Todd Berman <tberman@gentoo.org>
7889 * ParameterCollection.cs: Implemented
7890 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
7891 ToString () now matches asp.net
7893 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
7895 * ControlParameter.cs:
7896 * CookieParameter.cs:
7899 * QueryStringParameter.cs: New v2 files. Mostly
7900 implemented, still need a few methods.
7902 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7904 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
7905 Gazit <along@mainsoft.com>.
7907 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7909 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
7910 Patch by Alon Gazit <along@mainsoft.com>.
7912 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
7914 * DataBoundControl.cs: Implement
7915 * ListControl.cs: inherit from the above.
7916 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
7918 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
7923 * Repeater.cs: add v2 databinding stuff
7924 * XmlDataSource.cs: make it load the xml.
7926 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
7929 * XmlDataSourceView.cs:
7930 * XmlHierarchicalDataSourceView.cs:
7931 * XmlHierarchicalEnumerable.cs:
7932 * XmlHierarchyData.cs: Implement
7934 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
7936 * SiteMapDataSourceView.cs: Implement.
7938 2003-11-07 Jackson Harper <jackson@ximian.com>
7940 * ImageButton.cs: This is a workaround for bug #49819. It appears
7941 that the .x and .y values are not being posted, and only the x
7942 value is being posted with the ctrl's id as the key.
7944 2003-11-07 Jackson Harper <jackson@ximian.com>
7946 * DataGrid.cs (CreateControlHierarchy): Current page index is
7947 alolowed to equal page count. This prevents an exception being
7948 thrown when both are zero.
7950 2003-11-06 Jackson Harper <jackson@ximian.com>
7952 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
7953 * BaseValidator.cs: Disable base control so the isValid flag is
7956 2003-11-03 Jackson Harper <jackson@ximian.com>
7958 * TemplateColumn.cs: Use the same renderer for selected items as
7959 normal items. This fixes bug #49744.
7961 2003-11-03 Jackson Harper <jackson@ximian.com>
7964 * WebControl.cs: Fix argument out of range exceptions on
7965 properties. Patch by Yaron Shkop.
7967 2003-11-03 Jackson Harper <jackson@ximian.com>
7969 * TemplateColumn.cs: If the item is selected but there is no
7970 editItemTemplate use the itemTemplate. This matches MS behvoir.
7972 2003-11-03 Jackson Harper <jackson@ximian.com>
7974 * Repeater.cs: Always set alternating items to the AlternatingItem
7975 type, when instantiating alternating items use the itemTemplate if
7976 the alternatingItem template is null. This matches MS behavoir and
7979 2003-11-03 Jackson Harper <jackson@ximian.com>
7981 * DataGridPagerStyle.cs: Name of view state attribute is
7982 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
7983 visibility is changed. Patch by Yaron Shkop.
7985 2003-11-03 Jackson Harper <jackson@ximian.com>
7987 * RepeatInfo.cs: When doing horizontal rendering use the repeat
7988 columns as the number of columns in a row. This fixes bug #49016.
7990 2003-11-03 Jackson Harper <jackson@ximian.com>
7992 * PagedDataSource.cs (PageCount): Return page count of 1 if there
7993 paging is disabled. Patch by Yaron Shkop.
7994 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
7995 * TableStyle.cs (AddAttributesToRender): Render border style
7996 collapse. Patch by Yaron Shkop.
7998 * TableItemStyle.cs:
7999 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
8000 the wrong type. Patch by Yaron Shkop.
8002 2003-11-03 Jackson Harper <jackson@ximian.com>
8004 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
8006 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
8009 * BulletedListDisplayMode.cs:
8010 * BulletedListEventHandler.cs:
8012 * BulletedListEventArgs.cs: V2 controls (yay!)
8014 2003-10-30 Jackson Harper <jackson@ximian.com>
8016 * Repeater.cs: Throw an exception if the datasource is set to
8017 something that does not implement either IListSource or
8018 IEnumerable. This fixes bug #50155.
8020 2003-10-30 Jackson Harper <jackson@ximian.com>
8022 * DataGridPagerStyle.cs: Do not allow page button counts to be set
8023 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
8025 2003-10-29 Jackson Harper <jackson@ximian.com>
8027 * ButtonColumn.cs: Format string and text to format were
8028 inversed. This fixes bug #50171.
8030 2003-10-29 Jackson Harper <jackson@ximian.com>
8032 * DataGridColumn.cs: If an item style is set apply it to the
8033 cell. This fixes bug #50173.
8035 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
8037 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
8038 old debugging value.
8040 2003-10-29 Jackson Harper <jackson@ximian.com>
8042 * PagedDataSource.cs:
8043 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
8044 end of the last page. Fixes bug #5085.
8046 2003-10-29 Jackson Harper <jackson@ximian.com>
8048 * CheckBox.cs: Do not change the status of a checkbox when there
8049 is no post data. This fixes bug #49091.
8050 * CheckBoxList.cs: Do not change the status of the checkboxes when
8051 there is no post data. This fixes bug #49093.
8053 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
8055 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
8056 RadioButton. Fixes #50132
8058 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8060 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
8061 paging from working. Fixes #48814.
8063 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8065 * DataGrid.cs: A few typos kept us from viewing datagrids
8066 that were based on customized collections.
8068 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
8070 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
8072 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
8074 * Calendar.cs: render the next month button so that aligns to the
8077 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8079 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
8080 was just changing && by || after the first Match.
8082 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8084 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
8085 Patch by Yaron Shkop.
8087 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8089 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
8090 that fixes bug #49744. Now the selection doesn't lose its data.
8092 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8094 * EditCommandColumn.cs: Implement; fix #49736
8096 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8098 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
8099 the forground color. bug #49738
8101 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8103 * Calendar.cs: fixed bug #49727.
8105 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
8107 * TableStyle.cs: fix #49740.
8109 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8111 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
8112 * ValidationSummary.cs: fixes bug #49669.
8114 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8116 * Calendar.cs: apply the calendar style to the new Table, not to itself.
8119 * CheckBox.cs: render the hidden fields if AutoPostBack.
8121 * Style.cs: don't render empty width/height. Small improvement in
8124 * Table.cs: fixed condition for border width.
8127 (CopyFrom): always call the base class to copy other attributes. Fixes
8128 bug #49408. Don't render empty 'rules' attribute.
8130 * WebControl.cs: track viewstate when enabled. Don't overwrite source
8131 control attributes in CopyBaseAttributes.
8133 * ChangeLog: fixed dates.
8136 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8138 * WebControl.cs : Attributes { get; } - Is Complete.
8139 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
8142 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8144 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
8145 : RegisterValidatorCommonScript()
8146 - More code, I need HELP!
8147 : RegisterValidatorDeclaration()
8148 - More code, I need HELP!
8150 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8152 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
8155 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8157 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
8158 ClearViewState only called when no items.
8160 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8162 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
8164 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8166 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
8168 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8170 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
8173 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8175 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
8178 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8180 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
8181 * WebControl.cs: fixed Enabled property and save it in ViewState.
8185 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8187 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
8189 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8191 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
8194 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8196 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
8197 <rich@velvetsea.net>.
8199 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8201 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
8202 Skripsky <juraj@hotfeet.ch>
8204 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8206 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
8207 fixes rendering of the end tag.
8209 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8211 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
8212 (Yaron Shkop). Closes bug #48060.
8214 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8216 * CheckBox.cs: in LoadPostData, only return
8217 true when the new data is different from the one we had. Fixed
8218 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
8221 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8223 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
8225 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8227 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
8228 of Enable in ViewState. Fixes bug #47865.
8230 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8232 * Style.cs: the MARKED bit is not send set in ViewState unless something
8233 is changed. Fixed TrackViewState condition.
8235 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
8236 because it uses the same ViewState as the control. Fixes bug #47725.
8238 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8240 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
8241 that fixes databinding when only DataTextField or DataNavigateUrlField
8244 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8246 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
8247 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
8248 values before assigning a data source and other issues.
8250 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8252 * CheckBox.cs: save viewstate when needed and correctly handle post
8253 data. Fixes bug #47462.
8255 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8257 * ButtonColumn.cs: Removed additional attributes
8258 * CheckBox.cs: Added attribute
8259 * DataGrid.cs: Added attributes
8260 * HyperLinkColumn.cs: Changed attributes, added lamespec
8261 * Style.cs: Removed attributes
8262 * TextBox.cs: Added/ removed attributes
8264 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8266 * AdRotator.cs: Added all attributes
8267 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
8268 * BaseValidator.cs: Added all attributes
8269 * BoundColumn.cs: Added all attributes
8270 * Button.cs: Added all attributes
8271 * ButtonColumn.cs: Added all attributes, added lamespec
8272 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
8273 * CheckBox.cs: Added all attributes
8274 * CheckBoxList.cs: Added all attributes
8275 * CompareValidator.cs: Added all attributes
8276 * CustomValidator.cs: Added all attributes
8277 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
8278 * DataGridColumn.cs: Added all attributes
8279 * DataGridColumnCollection.cs: Added all attributes
8280 * DataGridPagerStyle.cs: Added all attributes
8281 * DataGridTableInternal.cs: Made DataGridTableInternal internal
8282 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
8283 * DropDownList.cs: Added all attributes
8284 * FontInfo.cs: Added all attributes
8285 * HyperLink.cs: Added all attributes
8286 * HyperLinkColumn.cs: Added all attributes
8287 * Image.cs: Added all attributes
8288 * ImageButton.cs: Added all attributes
8289 * Label.cs: Added all attributes
8290 * LinkButton.cs: Added all attributes
8291 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
8292 * ListControl.cs: Added all attributes
8293 * ListItem.cs: Added all attributes
8294 * ListItemCollection.cs: Added attribute
8295 * Literal.cs: Added all attributes
8296 * Panel.cs: Added all attributes
8297 * RadioButton.cs: Added all attributes
8298 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
8299 * RangeValidator.cs: Added all attributes
8300 * RegularExpressionValidator.cs: Added all attributes
8301 * Repeater.cs: Added all attributes
8303 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8305 * RequiredFieldValidator.cs: Added all attributes
8306 * Style.cs: Added all attributes
8307 * Table.cs: Added all attributes
8308 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
8309 * TableCellCollection.cs: Added attribute
8310 * TableRow.cs: Added all attributes
8311 * TableRowCollection: Added attribute
8312 * TableStyle.cs: Added all attributes, improved error messages
8313 * TemplateColumn.cs: Added all attributes
8314 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
8315 * ValidationSummary.cs: Added all attributes
8316 * WebControl.cs: Added all attributes
8317 * Xml.cs: Added all attributes
8319 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8321 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
8322 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
8324 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8326 * CheckBoxList.cs: fixes bug reported on the list about the state of
8327 the CheckButtons not being preserved across posts.
8329 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8331 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
8333 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8335 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
8337 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8339 * ListControl.cs: save viewstate data when any of the 3 values is not
8340 null. Fixed condition to save selection indices. Closes bug #45493.
8342 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8344 * DataGrid.cs: fixed bug #43823.
8346 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8348 * DataGrid.cs: fixed delegate type for SortCommand.
8350 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8352 * DataGridColumnCollection.cs: added missing return in RemoveAt.
8354 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8356 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
8357 Don't save ViewState is the number of columns is 0.
8359 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8361 * DataGrid.cs: get the right item Type for the property we're reading
8362 fromt the data source.
8364 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8367 * TextBox.cs: added control builder attribute.
8369 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8371 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
8373 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
8375 * Unit.cs: Called the correct method to get the Numeric locale for the
8378 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8380 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
8381 correctly the header of the column.
8383 * DataGridTableInternal.cs: don't assign a default ID to this control.
8385 * LinkButton.cs: raise bubble event in OnCommand.
8387 * TableCellCollection.cs: fixed the index returned by Add.
8389 * TableRowCollection.cs: ditto.
8391 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8393 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
8395 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8397 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
8398 for reporting the bug and providing the fix.
8400 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8402 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
8403 CreateColumnSet. Set the owner of the column when auto generated.
8404 In PrepareControlHierarchyForItem, fixed for loop bound.
8406 * LinkButtonInternal.cs: fixed infinite recursion bug.
8410 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
8412 * Xml.cs: a few fixes.
8414 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8416 * DataList.cs: handle the exception when adding new keys to
8419 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8421 * BaseDataList.cs: what can I say for this one? I spent so many time
8422 until I finally found this that I'm gonna miss this f....g bug... ;-).
8423 Farewell. Now we can get events from image buttons inside Data*.
8425 * DataList.cs: now the value stored in ViewState for item count is
8428 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8430 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
8432 * DataGridColumn.cs: added SetOwner method.
8433 * DataGridColumnCollection.cs: set the owner of the column when added.
8435 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8437 * BoundColumn.cs: typo.
8438 * DataGrid.cs: use 'as' instead of casting. Typo.
8439 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
8442 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8444 * HyperLink.cs: fixes bug #36336.
8446 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8448 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
8450 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8452 * BaseValidator.cs: return an empty string in GetControlValidationValue
8453 when GetValue returned null.
8455 * CompareValidator.cs: fixed EvaluateIsValid.
8457 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
8459 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8461 * Xml.cs: use MapPathSecure to get the path of the document.
8463 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8465 * DataList.cs: fixed header & footer.
8467 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8469 * DataList.cs: for header and footer don't use data source.
8470 Instantiate in the DataListItem, not in the DataList.
8471 databind-template.aspx works now.
8473 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8476 (Render): call RenderContents (), not base.RenderContents ().
8478 * DataList.cs: style.
8480 But I still haven't found what i'm looking for....
8482 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8484 * Calendar.cs: fixed loading/saving selected dates.
8485 * SelectedDatesCollection.cs: added internal function to get the
8486 underlying ArrayList.
8488 Calendar navigation works again. Selecting dates too.
8490 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8492 * DataList.cs: added a few attributes and fixed infinite recursion.
8494 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8496 * ListItemCollection.cs: fixed LoadViewState.
8498 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8500 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
8501 Commented out some code until it works.
8503 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
8505 * BaseCompareValidator.cs - Fixed operator bug in
8506 Compare(string, string, ...)
8507 * CompareValidator.cs - EvaluateIsValid() : Implemented.
8509 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8511 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
8513 - All Properties : Now make use of ViewState.
8515 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8517 * BaseValidator.cs - Uncomment NotImplementedException.
8519 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8521 * BaseValidator.cs - Minor changes in TODO comments.
8523 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8525 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
8526 the NotImplementedException being thrown.
8527 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
8528 * DataGridLinkButton.cs - Added new class (private) : Implemented.
8529 * DataGrid.cs - InitializePager(DataGridItem, int,
8530 PagedDataSource) : Implemented.
8532 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8534 * DataList.cs - PrepareControlHierarchy() : Implemented.
8536 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8538 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
8539 - GetItem(ListItemType, int) : Removed TODO.
8540 - CreateControlHierarchy(bool) : Implemented.
8541 - CreateItem(int, ListItemType) : Implemented.
8542 - CreateItem(int, ListItemType,
8543 bool, object) : Implemented.
8544 - InitializeItem(DataItem) : Implemented.
8545 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
8546 The ViewState["_!ItemCount"],
8547 ViewState["_!DataSource_ItemCount"]
8548 are shared by DataList and DataGrid, and hence
8549 should share the same name.
8550 - ResolveDataSource(object, string)
8551 : Removed. Use System.Web.UI.Utils.DataSourceHelper
8552 ::GetResolvedDataSource(object, string).
8555 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8557 * DataGrid.cs: fixed compilation
8559 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
8561 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
8562 * DataGrid.cs - CreateControlHierarchy(bool)
8563 : working towards completion.
8564 - ResolveDataSource(object, string)
8565 : stubbed new method
8567 : stubbed new method
8568 Well. It's almost done.
8569 * DataGridTableInternal.cs
8570 - Added new internal class.
8572 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
8574 * DataSourceInternal.cs - Added new class (internal).
8576 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8579 * HorizontalAlign.cs:
8581 * VerticalAlign.cs: fixes based on class status page.
8583 * HorizontalAlignConverter.cs: implemented.
8584 * VerticalAlignConverter.cs: implemented.
8586 * FontUnitConverter.cs: implemented GetStandardValues ().
8588 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
8590 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
8592 * DataGrid.cs - AutoCreateColumns: Bug fixes.
8594 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
8596 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
8598 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
8600 * DataGrid.cs - Working on the undocumented protected
8601 method CreateColumnSet. AutoCreateColumns method
8602 stubbed. Left CreateControlHierarchy for the time
8603 being, looks like I'm going insane. ;-)
8605 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
8607 * Button.cs - Steffen's OnCommand bug fix.
8609 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
8611 * DataGrid.cs - Added protected method (skeleton)
8612 CreateColumnSet(PagedDataSource, bool)
8613 Still trying to know how will it be used
8616 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8618 * PagedDataSource.cs: fixed compilation.
8620 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
8622 * DataGrid.cs - Added private method
8623 CreatePagedDataSource
8625 CreateControlHierarchy(bool)
8626 * PagedDataSource.cs - Bug fixed.
8627 CurrentPageIndex is writable.
8629 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8631 * DataGrid.cs: fixed typo.
8632 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
8634 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
8636 * DataGridColumn.cs - Added internal methods to get the
8637 various styles (needed in DataGrid.cs)
8638 * DataGrid.cs - Completed the method
8639 PrepareControlHierarchy()
8641 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
8643 * DataGrid.cs - Wokring on PrepareControlHierarchy()
8644 - Added private method
8645 PrepareControlHierarchyForItem()
8647 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
8649 * DataGrid.cs - Completed method
8650 OnBubbleEvent(object, EventArgs)
8652 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8654 * Xml.cs: implemented document/transform load.
8656 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8658 * Calendar.cs: added myself to the list of authors.
8659 * DropDownList.cs: fixed a few properties.
8660 * ListControl.cs: fixed SelectedIndex.
8662 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8664 * Calendar.cs: lots of fixes. Render days. Still left to persist
8665 selected days when changing month.
8667 * Unit.cs: fixed Percentage and Pixel.
8669 * WebControl.cs: a few properties are now using ControlStyle instead
8670 of ViewState to persist.
8672 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8674 * BaseValidator.cs: it works now.
8675 * DataGridColumn.cs: added attribute and made it abstract.
8676 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
8678 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8680 * TextBox.cs: default for Wrap is true.
8681 (OnPreRender): don't save Text if there are no listeners on TextChanged.
8683 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8689 (LoadViewState): fixed.
8691 * ListItemCollection.cs:
8692 (TrackViewState): use items instead of 'this' in foreach.
8695 (LoadViewState): more checking of parameters.
8697 * WebControl.cs: implemented LoadViewState and SaveViewState.
8700 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8702 * ListItem.cs: there was no code to unset the flags!!!
8704 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8706 * FontUnit.cs: use a hashtable for mapping size name to value.
8707 * HyperLink.cs: fixed a bug and a typo.
8708 * Unit.cs: some fixes to internal constructor.
8710 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8712 * ListControl.cs: fixed a couple of range checks.
8713 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
8714 an HtmlForm (p.e., Label).
8716 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8726 * HyperLinkColumn.cs:
8735 * RadioButtonList.cs:
8739 * WebControl.cs: removed attributes added by mistake (i used
8740 GetCustomAttributes (true), d'oh!).
8742 * DataListItem.cs: implemented RenderItem.
8744 * Repeater.cs: implemented CreateItem and InitializeItem.
8746 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8748 * BaseDataList.cs: a couple of fiex and added attributes.
8749 * DataGrid.cs: little fixes.
8751 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8760 * RadioButtonList.cs:
8763 * Xml.cs: forgot to add using System.ComponentModel.
8765 * BaseValidator.cs: use explicitly
8766 System.ComponentModel.AttributeCollection as there is another class
8767 with the same name under System.Web.UI.
8769 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8788 * RadioButtonList.cs:
8793 * Xml.cs: added/fixed all attributes used by xsp.
8795 * BaseValidator.cs: some fixes.
8797 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8800 (AddAttributesToRender): correctly default to border=1.
8802 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8805 (LoadAdFile): make the dictionary null after every iteration.
8809 * ListItem.cs: fixed warnings.
8811 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
8813 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
8815 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8817 * DataGridColumn.cs:
8818 * DataGridPagerStyle.cs:
8825 * ListItemCollection.cs:
8827 * ServerValidateEventArgs.cs:
8831 * Xml.cs: more class status page based changes.
8833 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8836 (.ctor): fixed to render the correct tag.
8837 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
8839 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8842 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
8843 WebControl derived classes should be rendered inside a HtmlForm.
8845 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8847 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
8850 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8852 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
8853 * RepeatInfo.cs: implemented DoHorizontalRendering.
8855 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8857 * System.Web.UI.WebControls/Repeater.cs:
8859 (OnDataBinding): fixed stack overflow.
8861 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8863 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
8864 * RepeatInfo.cs: implemented DoHorizontalRendering.
8866 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8869 (CopyBaseAttributes): copy Attributes and don't throw exception.
8871 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8873 * ListBox.cs: mono-stylized.
8874 (AddAttributesToRender): call parent class method.
8876 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8878 * Style.cs: fixed IsEmpty and Width.
8880 * Table.cs: mono-stylized.
8881 (TableRowControlCollection.AddAt): fixed.
8882 (AddAttributesToRender): fixed.
8884 * TableCell.cs: mono-stylized.
8885 (.ctor): use PreventAutoID.
8886 (AddAttributesToRender): fixed.
8887 (AddParsedSubObject): fixed.
8889 * TableRow.cs: mono-stylized. Added
8890 ParseChildren attribute.
8893 (get_GridLine): fixed.
8895 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8897 * Panel.cs: fixed stack overflow.
8898 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
8899 and SingleConverter.
8901 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8903 * RadioButton.cs: mono-stylized and some little fixes.
8905 * TextBox.cs: mono-stylized.
8906 (MaxLength): fixed typo.
8908 (AddAttributesToRender): don't render the text between the tags for
8909 SingleLine, use value attribute for it. Don't render the text for
8912 (OnPreRender): don't throw exception and call base.OnPreRender.
8914 (Render): for MultiLine, render the text between the opening and
8915 closing tags encoded as HTML.
8917 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8920 (AddAttributesToRender): fixer another stack overflow.
8923 (TagName): modified to use TagKey instead of tagKey as the property
8926 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8928 * LinkButton.cs: mono-stylized.
8929 (AddParsedSubObject):
8930 (RenderControls): little fixes.
8933 (AddAttributesToRender): fixed usage of IEnumerator.
8935 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8937 * Literal.cs: beautified.
8939 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8941 * Label.cs: beautified and fixed a couple of 'classic' bugs.
8943 * WebControl.cs: use Span as default tag when no other provided in
8944 constructor. That is what MS renders.
8946 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8949 (AddAttributesToRender): fixed (classic) stack overflow.
8951 * CheckBox.cs: mono-stylized.
8952 (AutoPostBack): fixed stack overflow.
8953 (Render): fixed alignment issues. Also set the For attribute always
8956 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8958 * AdRotator.cs: GetData does not work as it should, but now it returns
8959 useful data (only the first ad in the file). Set the NavigateUrl
8960 property in the hyperlink if available.
8962 * HyperLink.cs: fixed constructor and a couple of stack overflows.
8964 * Image.cs: added an attribute and fixed stack overflow.
8967 (RenderBeginTag): fixed.
8968 (TagName): don't call Enum.IsDefined twice.
8970 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8972 * WebControl.cs: added attributes PersistChildrenAttribute and
8973 ParseChildrenAttribute.
8975 2002-05-24 Duncan Mak <duncan@ximian.com>
8977 * DataGridItem.cs (SetItemType): Changed function signature to
8980 * ListItemCollection.cs (this): Changes the visibility level of
8983 * Repeater.cs (OnItemCommand):
8985 (OnItemDataBound): Added necessary casts.
8987 2002-05-07 Duncan Mak <duncan@ximian.com>
8989 * Button.cs (AddAttributesToRender):
8990 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
8991 GetClientValidatedEvent method.
8993 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
8995 * Removed extra methods, corrected access modifiers to several
8998 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
9000 * <SeveralFiles>.cs - Added some attributes
9001 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
9002 methods. Will complete them later. Right now, busy with
9003 the attributes part.
9004 * RepeaterItem.cs - Completed.
9006 Oh God! Mercy! I will die applying attributes. I look at the missing
9007 part in the class-status - daemon! Kyrie eleison!
9009 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
9013 * AdRotator.cs - Added definition for Font.
9014 * BaseCompareValidator.cs - Added definition for Controls.
9015 * Calendar.cs - SelectMonthText definition corrected.
9016 * DataList.cs - Added definition for SeparatorTemplate.
9017 * BorderStyle.cs - Namespace correction. It belongs not to UI,
9018 but to UI.WebControls.
9020 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
9022 Finally, I have made it. Today I did a second build for the
9023 System.Web assembly. It compiled 195 classes today.
9024 I am waiting eagerly for the runtime to come up so that the objects
9025 may be tested to their last levels. Several of the methods are still
9026 under the tag of "TODO" throwing NotImplementedException. Well, I
9027 hope to remove them soon, but how far is this soon - even I don't
9028 know, though I am happy to make the build a success even before
9029 the vacations to come.
9031 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
9033 Yesterday and today I tried to do some building of the aseembly,
9034 but was dumped with uncoutably infinite errors. ;-)
9035 I have put the copies of the recent errors on my home page, want
9036 to have a look at them? See:
9037 http://mastergaurav.virtualave.net/mono/
9038 I don't know what to do with these errors. Oh! The buggy me! How
9039 will I overcome myself. Hopefully, by when my vacations over, I
9040 should have made a repository where the build will not fail.
9042 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
9044 I am now going to do a build that will include the
9045 System.Web.UI.WebControls namespace. Hoping that I will make it
9046 soon. My exams are coming near and I have to pack up soon.
9049 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
9052 And with this, ie, today's work, all the objects mentioned in the
9053 namespace appear in the implementation. But it may not be worth
9054 trying to go for a build because of dependence of several of the
9055 internal methods that may clash with already available assembly
9058 Also, the classes lack possible attributes, like those informing
9059 about child-controls etc. But I have to first create the attribute
9060 classes before I attach the attributes to the classes.
9062 * CustomValidator.cs - Completed. In process realized that
9063 I have to complete / rejuvinate BaseValidator class.
9064 * BaseValidator.cs - Complete rejuvination. Completed 80%
9065 of the job. All that is left is Render(HtmlTextWriter),
9066 DetermineRenderUplevel(), RegisterValidatorCommonScript()
9067 RegisterValidatorDeclaration()
9068 * DataGridPagerStyle.cs - Completed. That adds one more missle
9070 * DataKeyCollection.cs - Completed. Petty small.
9071 * Repeater.cs - Work started off. This is a quite
9073 * DataGridItemEventArgs.cs,
9074 * DataGridShortCommandEventArgs.cs,
9075 * DataListItemEventArgs.cs,
9076 * MonthChangedEventArgs.cs,
9077 * RepeaterItemEventArgs.cs,
9078 * ServerValidateEventArgs.cs,
9079 * DataGridPageChangedEventArgs.cs
9080 - Damn, I marked them "*", while they
9082 * Repeater.cs - Done all except for an undocumented
9083 method CreateControlHierarchy(bool). Though the method
9084 is quite clear by its name, but it will take some time
9085 for me to come with some material to flush in.
9087 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
9089 * SelectedDatesCollection.cs - Completed.
9090 * PagedDataSource.cs - Completed. Pathetically nice class.
9091 * RegularExpressionValidator.cs
9092 - Completed. Ridiculously small and
9093 annoyinglyc crazy-driving class, basically the method
9095 * RangeValidator.cs - Completed.
9096 * DataGridColumn.cs - Completed.
9097 * EditCommandColumn.cs - All is complete except for the
9098 InitializeCell(TableCell, int, ListItemType) method.
9099 * DataListItem.cs - All done except for a longish method
9100 RenderItem(HtmlTextWriter, bool, bool)
9102 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
9104 * RepeaterItemCollection.cs - Completed.
9105 I love *Collection classes. I am planning to make a
9106 program that will generate a *Collection class. It's so
9107 simple and the same. ;-)
9108 * DataGridColumnCollection.cs - Completed.
9109 ... except probably for *ColumnCollection classes, where
9110 you have to put in some more effort. Still, these class
9111 generation can be automated.
9112 * DataListItemCollection.cs - Completed.
9113 See, how easily, in less than a quarter of a minute, I
9114 completed this class - manually. Copy-Paste/Cut-Replace.
9116 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
9118 * DataGrid.cs - Following methods implemented:
9119 TrackViewState(), LoadViewState(object), SaveViewState(),
9120 On* -- The event raisers.
9121 OnBubbleEvent(object, EventArgs) is still incomplete.
9122 * DataGridItem.cs - Initial Implementation
9123 * DataGridItemCollection.cs - Completed.
9125 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
9127 * DataGrid.cs - Initial Implementation. Worked
9128 primarily with some properties.
9130 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
9132 * ListBox.cs - Completed. Implemented
9133 LoadPostData(string, NameValueCollection)
9134 * RequiredFieldValidator.cs - Completed. Pretty simple class.
9136 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
9138 * ListBox.cs - Implemented the following:
9139 RaisePostDataChangedEvent()
9141 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
9143 * ListBox.cs - Supports the following properties:
9144 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
9147 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
9148 RenderContents(HtmlTextWriter)
9151 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
9153 * TargetConverter.cs - Completed
9154 * TemplateColumn.cs - Completed
9155 * DataList.cs - Corrected the get-er methods for the
9156 *Style objects. Corrected the get/set-er methods for ViewState
9158 Addded support for properties:
9159 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
9160 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
9161 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
9162 SeparatorStyle, SeparatorItemTemplate.
9164 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
9165 ItemCreated, ItemDataBound, UpdateCommand.
9167 CreateControlStyle(), LoadViewState(object),
9168 SaveViewState(), TrackViewState
9170 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
9171 OnEditCommand, OnItemCommand, OnItemCreated,
9172 OnItemDataBound, OnUpdateCommand
9173 Added dummy methods for some undocumented methods:
9174 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
9175 CreateItem(int, ListItemType, bool, object),
9176 PrepareControlHierarchy(), InitializeItem(DataListItem)
9177 * ListBox.cs - Started working.
9181 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
9183 * RepeaterInfo.cs - Initial Implementation. Done all
9184 except for RepeatDirection.Vertical
9185 * TableStyle.cs - Completed
9187 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
9189 * DropDownList.cs - Completed
9190 * ListItemCollection.cs - Added method FindByValueInternal to
9191 assist in the derived classes.
9192 Discovered bug in FindByValue. Removed
9193 * UnitConverter.cs - Completed
9194 * PlaceHolder.cs - What can be simpler than this?
9195 * PlaceHolderControlBuilder.cs
9196 - Uh! Damn cool one.
9197 * RadioButtonList.cs - Initial Implementation. All is done
9198 except for the implementation of
9199 method IRepeatInfoUser.RenderItem(...)
9200 * ValidatedControlConverter.cs
9201 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
9202 * ValidationSummary.cs - Initial Implementation.
9203 * WebColorConverter.cs - Initial Implementation
9205 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9207 * FontNamesConverter.cs - Completed
9208 * FontUnitConverter.cs - Partial Implementation
9209 * ListItemControlBuilder.cs - Completed
9211 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9213 * TextBox.cs - All done except *Render* methods
9214 * TextBoxControlBuilder.cs - Completed
9215 * Xml.cs - Partial Implementation
9217 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
9219 * RadioButton.cs - Completed
9220 * TextBox.cs - Partial Implementation
9222 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
9224 * Panel.cs - Completed
9225 * TableItemStyle.cs - Completed
9227 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
9229 * TableCellCollection.cs - Completed
9230 * TableRowCollection.cs - Completed
9231 * TableHeaderCell.cs - Completed
9232 * TableRow.cs - Completed
9234 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
9236 * TableCellControlBuilder.cs - Completed
9237 * Table.cs - Completed
9238 * TableCell.cs - Completed
9240 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
9242 * CheckBoxList.cs - Completed
9243 * ButtonColumn.cs - Completed
9244 * Button.cs - Completed
9246 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
9248 * HyperLink.cs - Completed
9249 * Image.cs - Completed
9250 * ImageButton.cs - Completed
9251 * Label.cs - Completed
9252 * LabelControlBuilder.cs - Completed
9253 * LinkButton.cs - Completed
9254 * LinkButtonControlBuilder.cs - Completed
9255 * Literal.cs - Completed
9256 * LieteralControlBuilder.cs - Completed
9257 * FontUnit.cs - Completed
9260 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
9262 * Calendar.cs - Completed the functions of Render*,
9263 ViewStates (Track/View/Save),
9265 Left: RenderAllDays (partially)
9267 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
9269 * Calendar.cs - Added some more functions
9270 * Style.cs - Completed
9271 * ListItem.cs - Completed
9272 * ListItemCollection.cs - Completed
9274 Made the first successful build of System.Web.dll that included
9275 System.Web.UI.WebControls!
9277 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
9279 FontInfo.cs - Complete revamp. Completed
9281 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
9283 ListItemCollection.cs - Completed
9284 ListItem.cs - Initial Implementation
9285 Style.cs - Initial Implementation
9287 Right now I am in a total mood to do a successful build. Creating so many
9288 classes, completing classes in System.Web System.Web.UI namespaces.
9290 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
9292 TODO - Properly added
9293 CheckBox.cs - Completed
9294 BaseDataList.cs - Completed
9295 DayRenderEventArgs.cs - Completed
9296 RepeaterItem.cs - Initial implementation
9298 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
9300 BaseCompareValidator.cs - Completed
9301 AdRotator.cs - Completed
9303 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
9305 CommandEventArgs.cs - Completed
9306 DataGridCommandEventArgs.cs - Completed
9307 RepeaterCommandEventArgs.cs - Completed
9308 DataListCommandEventArgs.cs - Completed
9309 CompareValidator.cs - Partial Implementation
9311 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
9313 CheckBoxList.cs - Partial Implementation.
9316 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
9318 ListControl.cs - Completed
9320 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
9322 CheckBox.cs - Completed
9323 ListControl.cs - Initial Implementation
9324 CheckBoxList.cs - Started with it, but first needed
9325 ListControl. Left it.
9327 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
9329 CalendarDay.cs - Making a note that this
9330 has been implemented
9331 Calendar.cs - Making a note that have made some changes.
9332 Unimplmented functions throw
9333 NotImplementedException
9334 CheckBox.cs - Can now "Render" and "LoadPostData"
9337 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
9338 WebControl.cs - Total Revamp, Partial Implementation
9339 AdRotator.cs - Able to load files
9340 AdCreatedEventArgs.cs - Implemented
9342 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
9343 Calendar.cs - Initial Implementation
9344 ButtonColumn.cs - Initial Implementation
9345 Button.cs - Initial Implementation
9346 BoundColumn.cs - Initial Implementation
9347 BaseCompareValidator.cs - Minor Changes
9348 DataList.cs, BaseValidator.cs, BaseDataList.cs
9349 - Added more functions, other changes
9351 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
9352 WebControl.cs - Initial Implementation
9353 DataList.cs - Initial Implementation
9354 BaseValidator.cs - Initial Implementation
9355 BaseDataList.cs - Initial Implementation
9357 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
9359 AdCreatedEventArgs.cs - Initial Implementation
9360 AdCratedEventHandler.cs - Implemented
9361 AdRotator.cs - Initial Implementation
9362 BorderStyle.cs - Implemented
9363 ButtonColumnStyle.cs - Implemented
9364 CalendarSelectionMode.cs - Implemented
9365 DayNameFormat.cs - Implemented
9366 FirstDayOfWeek - Implemented
9367 FontInfo.cs - Partial Implementation
9368 FontSize.cs - Implemented
9369 GridLines.cs - Implemented
9370 HorizontalAlign.cs - Implemented
9371 HyperLink.cs - Initial Implementation
9372 ImageAlign.cs - Implemented
9373 IRepeatInfoUser.cs - Implemented
9374 ListItemType.cs - Implemented
9375 ListSelectionMode.cs - Implemented
9376 NextPrevFormat.cs - Implemented
9377 PagerMode.cs - Implemented
9378 PagerPosition.cs - Implemented
9379 RepeatDirection.cs - Implemented
9380 RepeatLayout.cs - Implemented
9381 TextAlign.cs - Implemented
9382 TextBoxMode.cs - Implemented
9383 TitleFormat.cs - Implemented
9384 UnitType.cs - Implemented
9385 ValidationCompareOperator.cs
9387 ValidationDataType.cs - Implemented
9388 ValidationSummaryDisplayMode.cs
9390 ValidatorDisplay.cs - Implemented
9391 VerticalAlign.cs - Implemented
9395 i/ File Created 2001-11-13