1 2008-07-16 Marek Habersack <mhabersack@novell.com>
3 * XmlDataSource.cs: check if Page isn't null before stringifying
4 it in GetDataKey (), fixes bug #409492
6 2008-07-13 Roei Erez <roeie@mainsoft.com>
8 * GridView.cs: When the RowDataBound event is invoked, the value
9 of GridView1.DataKeys should contains all the keys up untill the
10 current row, and not be empty.
11 I only changed the order of the user event invocation and the addition
14 2008-07-13 Roei Erez <roeie@mainsoft.com>
16 * TreeView.cs: In case of multiple tree node bingings, select
17 The first one and not the last one.
19 2008-07-10 Roei Erez <roeie@mainsoft.com>
21 * HyperlinkField.cs: Changed behavior of HyperLinkField bound field key
22 to be case insensitive.
24 2008-07-03 Marek Habersack <mhabersack@novell.com>
26 * CheckBox.cs: do not render the language="javascript" attribute
29 2008-07-02 Marek Habersack <mhabersack@novell.com>
31 * GridView.cs: minor optimizations (removed a foreach loop,
32 replaced calls to Array.Length with a variable containing the
35 2008-06-30 Marek Habersack <mhabersack@novell.com>
37 * ObjectDataSourceView.cs, Menu.cs, DataList.cs,
38 CustomValidator.cs: hush the warnings
40 2008-06-10 Noam Lampert <noaml@mainsoft.com>
42 * ListItemCollection.cs: Provide viewstate for dirty collection even if it is empty.
44 2008-05-30 Marek Habersack <mhabersack@novell.com>
46 * BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
47 DataControlFieldCollection.cs, DataControlField.cs,
48 PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
49 event accessors (to avoid locks).
51 2008-05-18 Marek Habersack <mhabersack@novell.com>
53 * HierarchicalDataBoundControl.cs: Modified GetData method to check if
54 DataSource implements IHierarchicalEnumerable and if so constructs and
55 returns a new instance of ReadOnlyDataSourceView. This provides functional
56 compatibility with the Microsoft.NET framework. Fixes bug
57 #395209. Patch contributed by James Fitzsimons
58 <james.fitzsimons@gmail.com>, thanks!
60 2008-05-06 Marek Habersack <mhabersack@novell.com>
62 * Calendar.cs: do not create dateInfo in the constructor - culture
63 might be not set yet at this point. Fixes bug #323566
64 Added a private property, DateInfo, which creates the dateInfo
67 2008-05-05 Sebastien Pouliot <sebastien@ximian.com>
69 * BulletedList.cs: Avoid calling ToString on a string.
70 * ButtonField.cs: Throw, not just create, the exceptions.
71 * HyperLinkField.cs: Throw, not just create, the exceptions.
72 * ImageField.cs: Throw, not just create, the exception. Avoid calling
74 * ListControl.cs: Avoid calling ToString on a string.
75 [All issues were found using Gendarme]
77 2008-04-30 Marek Habersack <mhabersack@novell.com>
79 * SiteMapDataSource.cs: when no starting node is found, return
80 null instead of Provider.RootNode. Fixes bug #323994
82 2008-04-24 Marek Habersack <mhabersack@novell.com>
84 * SqlDataSource.cs: raise the DataSourceChangedEvent when setting
85 ConnectionString, ProviderName or DataSourceMode properties only
86 when the new value differs from the old one. Fixes bug #359392
88 2008-04-16 Marek Habersack <mhabersack@novell.com>
90 * ObjectDataSourceView.cs: ExecuteSelect should return an empty
91 aray when no data has been retrieved from the specified source
92 type. Fixes bug #380106
94 2008-04-15 Marek Habersack <mhabersack@novell.com>
96 * MailDefinition.cs: dispose of streams the way it should
99 2008-04-10 Marek Habersack <mhabersack@novell.com>
101 * RadioButton.cs: adjust 'name' and 'value' attribute values to
102 match MS.NET. Fixes bug #378024
104 * CheckBoxList.cs: set the Selected property to the value in POST
105 data only if the item in question was enabled before postback
106 occurred. Fixes bug #377703
108 * ListControl.cs: make sure the owned items' Enabled property is
109 set to the same value what ListControl's. Fixes bug #377703
111 * ListItemCollection.cs: fixed SetDirty to store the index of the
112 last dirtied item properly. Fixes bug #377703
113 For the 2.0 profile, set the ListItem instances Enabled property
114 to the value of the owning ListControl (internal ItemsEnabled
115 property was added to make it possible). Fixes bug #377703
117 2008-04-08 Dean Brettle <dean@brettle.com>
119 * DataBoundControl.cs (InternalPerformDataBinding),
120 HierarchicalDataBoundControl.cs (InternalPerformDataBinding),
121 WebControl.cs (Render): fixed cast errors when a ControlAdapter
122 that wasn't of the type corresponding to the control was used.
124 2008-04-03 Marek Habersack <mhabersack@novell.com>
126 * DataList.cs: use the value of SelectedIndex, not selectedIndex,
127 to return the key value in the SelectedValue property. Fixes bug
128 #376519. Patch from Sergey Kuleshov <svyatogor@gmail.com>, thanks!
130 2008-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
132 * AutoGeneratedField.cs, CheckBoxField.cs: fixed OnDataBindField,
133 should hide checkbox only if DataItem is not defined
135 2008-03-09 Dean Brettle <dean@brettle.com>
137 * DetailsView.cs, ListControl.cs, DataBoundControl.cs,
138 FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs:
139 added support for using ControlAdapters when present.
141 * WebControl.cs: fixed implementation of IsEnabled to match
144 * Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of
145 RenderMenuItem() if an adapter is present. MenuAdapter.RenderItem()
146 calls back to new Menu.RenderItem() internal method which calls
147 RenderMenuItem() with the appropriate parameters.
149 2008-02-25 Igor Zelmanovich <igorz@mainsoft.com>
152 at Update and Delete use not read only coppies of dictionaries
153 in event argumens, that allows user to change them before corresponding
154 DataSource's method is called.
156 2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>
158 * Login.cs: render id attribute of root element correctly.
160 2008-02-18 Marek Habersack <mhabersack@novell.com>
162 * FormView.cs: the ItemCreated must be fired before data is bound
163 to the FormView. Fixes bug #360434
165 2008-02-07 Igor Zelmanovich <igorz@mainsoft.com>
167 * Login.cs: render id attribute of root element correctly.
169 2008-02-05 Marek Habersack <mhabersack@novell.com>
171 * FileUpload.cs: make sure FileContent always returns the input
172 stream positioned at the beginning. Fixes bug #356846
174 2008-01-31 Igor Zelmanovich <igorz@mainsoft.com>
176 * Calendar.cs: resolve Next/Prev. month link date correctly.
178 2008-01-29 Igor Zelmanovich <igorz@mainsoft.com>
180 * TreeView.cs: add XPFileExplorer icon set.
182 2008-01-28 Igor Zelmanovich <igorz@mainsoft.com>
184 * Menu.js: dynamic nodes are positioned after hover style of
185 parent node is applied.
187 2008-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
189 * DataSourceCacheManager.cs: fixed GetKeyFromParameters, incase more
190 than one datasource using the same object with the same select method
192 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
194 * ValidationSummary.cs:
195 refactoring: If page contents instance of IScriptManager, it calls
196 it's API instead Page.ClientScript.
198 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
200 * Menu.cs: fixed rendering.
202 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
205 manage history state on "MovePrevious" action.
207 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
210 resolve BulletImageUrl,
211 register for event validation.
213 2008-01-13 Igor Zelmanovich <igorz@mainsoft.com>
217 upgrade client side script due to changes in webform.js.
219 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
221 * BaseCompareValidator.cs:
223 * CompareValidator.cs:
224 * CustomValidator.cs:
226 * RegularExpressionValidator.cs:
227 * RequiredFieldValidator.cs:
228 refactoring: If page contents instance of IScriptManager, validators call
229 it's API instead Page.ClientScript.
231 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
236 for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
237 in GetPostBackOptions.
239 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
241 * DetailsView.cs: render invisible rows correct.
243 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
245 * DataControlField.cs: prevent infinite recursion
247 2008-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
249 * DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding
252 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
254 * DataSourceCacheManager.cs: fixed SetCachedObject, fixed
257 2007-12-24 Igor Zelmanovich <igorz@mainsoft.com>
259 * TreeView.cs: revert changes from r91230
261 2007-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
263 * ListControl.cs: fixed Load/SaveViewState, removed selected indices
265 * ListItem.cs: fixed Load/SaveViewState, added selected state storing
266 * ListItemCollection.cs: fixed Load/SaveViewState, added flag to not
267 rebuild the collection if was'nt changed
269 2007-12-13 Marek Habersack <mhabersack@novell.com>
271 * Menu.cs, TreeView.cs: optimize use of String.Format in
273 Speed optimization - use String.Concat instead of String.Format in
276 * GridView.cs, DetailsView.cs: optimize use of String.Format in
279 * CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
280 WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
281 ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
282 optimization - use String.Concat instead of String.Format in some cases.
284 2007-12-13 Vladimir Krasnov <vladimirk@mainsoft.com>
286 * Menu.cs: fixed rendering without head tag on page
288 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
290 * Calendar.cs: performance optimizations:
291 BuildLink fixed, StringBuilder used.
292 TodaysDate DateTime.Today call cahced.
294 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
296 * Unit.cs: performance optimization: ToString fixed, string.Concat used
297 instead of string.Format
299 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
301 * Style.cs: performance optimization: suppress finalizer added
303 2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>
307 evaluate bound value using ThisExpession ("!") properly
309 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
311 * WebControl.cs: enabled state restored properly.
313 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
316 refactoring for NET_2_0:
317 Text is removed from view state in case of need at SaveViewState phase.
319 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
322 SelectedValue/SelectedIndex is set during DataBinding always.
324 2007-11-06 Marek Habersack <mhabersack@novell.com>
326 * DataGrid.cs: add RenderTable before the DataGridItems, so that
327 numbering of children is the same what on MS.NET.
328 If there are any data items, require a postback script.
331 * ChildTable.cs: removed DOS EOLs.
333 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
336 does not perform authentication if Page.IsValid returns false;
337 the fix makes control works with disabled client side validation.
339 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
342 state of DataList.Items are restored correct on PostBack
343 such Items.Count and ItemType.
345 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
348 validator is rendered correct if EnabledClientClient is false.
350 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
352 * Image.cs: fixed management state of Enabled property.
353 * WebControl.cs: refactoring in management state of Enabled property.
355 2007-10-23 Marek Habersack <mhabersack@novell.com>
357 * ListBox.cs, Table.cs: use Render{Begin,End}Tag
358 instead of the Write* counterparts when rendering contents.
360 2007-10-18 Marek Habersack <mhabersack@novell.com>
362 * Menu.js: a workaround for an IE bug. IE recalculates element's
363 offsetWidth when the element's _height_ is set - which in case of
364 elements with overflowing content results in a value that's just
365 slightly smaller than the client window width. In effect, a long
366 submenu will also be very wide, which isn't desirable. Fixes bug
369 2007-10-15 Marek Habersack <mhabersack@novell.com>
371 * ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
374 * BulletedList.cs: html encode the item text. Fixes bug #333550.
376 2007-10-01 Marek Habersack <mhabersack@novell.com>
378 * ListItem.cs: make HasAttributes available for the 1.1 profile as
381 * DropDownList.cs: render custom ListItem attributes in the 1.1
382 profile. Fixes bug #326288
384 2007-09-27 Marek Habersack <mhabersack@novell.com>
386 * Button.cs: added missing OnPreRender method.
388 2007-09-25 Marek Habersack <mhabersack@novell.com>
390 * WebControl.cs: added an internal method, BuildScriptAttribute,
391 which merges the specified JavaScript code in an attribute, with
392 the value of that attribute specified by the user.
394 * CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
395 preserve user-specified attribute value, if present.
397 * ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
398 after doing its job. AutoPostBack handling makes sure to preserve
399 user-specified attribute value, if present. Fixes bug #327816.
401 2007-09-21 Marek Habersack <mhabersack@novell.com>
403 * ListItem.cs: don't save StateBag in the control state - the
404 class is not serializable and therefore ObjectStateFormatter
405 cannot convert it. Instead have the sb object save its own state
406 and store the returned value. Fixes bug #326288.
408 2007-09-20 Marek Habersack <mhabersack@novell.com>
410 * LoginView.cs: implemented RoleGroups support. Fixes bug
413 2007-09-19 Marek Habersack <mhabersack@novell.com>
415 * GridView.cs: copy attributes from GridView to the child table,
416 as this is where the rendering takes place. Fixes bug #326309.
418 2007-09-18 Marek Habersack <mhabersack@novell.com>
420 * Calendar.cs: correctly apply day cell style. Fixes bug #315903
422 2007-09-17 Marek Habersack <mhabersack@novell.com>
424 * Calendar.cs: style attribute value must be enclosed in quotes.
426 * TableStyle.cs: do not capitalize the align styles. Fixes bug
429 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
431 * ListControl.cs: partially restored r85314
432 whenever a property that can affect data binding
433 is set, make sure to set RequiresDataBinding.
435 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
437 * DataBoundControl.cs: fixed DataBind flow:
438 prevent double binding when not necessary.
441 2007-08-31 Marek Habersack <mhabersack@novell.com>
443 * GridView.cs: instead of not adding hidden fields to the rows,
444 mark the cells they would contain as invisible. Fixes bug #82615.
446 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
450 make Menu work in multi form environment.
452 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
454 * ListControl.cs: fixed selected items state management.
456 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
458 * BaseCompareValidator.cs:
460 * CompareValidator.cs:
461 * CustomValidator.cs:
463 * RegularExpressionValidator.cs:
464 * RequiredFieldValidator.cs:
465 all Validators use RegisterExpandoAttribute for
466 not XHTML compliant attributes.
468 2007-08-23 Igor Zelmanovich <igorz@mainsoft.com>
470 * Panel.cs: client script consider MultiForm environment.
472 2007-08-21 Marek Habersack <mhabersack@novell.com>
474 * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
477 2007-08-20 Marek Habersack <mhabersack@novell.com>
479 * ContentPlaceHolderBuilder.cs: store place holder id in the
480 parser's internal place holder id list for later reference. Fixes
483 2007-08-19 Vladimir Krasnov <vladimirk@mainsoft.com>
485 * BoundField.cs: FormatDataValue, refactored multiple use of ToString
487 2007-08-14 Marek Habersack <mhabersack@novell.com>
489 * ObjectDataSourceView.cs: remove unused variable.
491 * ChangePassword.cs: remove unused variable.
492 The change password button id changed to
493 "ChangePasswordPushButton", the cancel button id changed to
494 "CancelPushButton". The change makes the generated ids the same
495 what on MS.NET. Fixes bug #82418.
497 * RoleGroupCollection.cs: OnValidate shouldn't be overridden.
499 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
501 * ParameterCollection.cs: fixed IndexOfString, should use ordinal
504 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
506 * Menu.cs: performance refactoring, used AddAttribute overload without
507 encoding on known attribute values, optimized DynamicMenu rendering
509 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
511 * TreeView.cs: refactoring, used AddAttribute overload without encoding
512 on known attribute values,
513 used Page.ClientScript.GetWebResourceUrl call instead of
514 AssemblyResourceLoader.GetResourceUrl
516 2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
518 * AccessDataSource.cs: does not subscribed on view changed event.
519 * ObjectDataSource.cs: fixed state management.
520 * SqlDataSource.cs: fixed state management.
522 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
525 DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs,
526 RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs,
527 TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs,
528 BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs,
529 RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs,
530 ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs,
531 TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs:
532 refactoring, used AddAttribute overload without encoding on known attribute
535 2007-08-01 Igor Zelmanovich <igorz@mainsoft.com>
537 * DropDownList.cs: fixed onchange attibute.
539 2007-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
541 * ListItemCollection.cs: fixed LoadViewState, items restored from
542 viewstate were not saved, fixes bug #82192
544 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
546 * BaseValidator.cs: All client scripts are rendered
547 according IsMultiForm property.
549 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
551 * TreeView.cs: refactoring:
553 used ClientScriptManager.GetCallbackEventReference API instead calling
554 WebForm_DoCallback explicit.
556 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
558 * BaseValidator.cs: for NET_2_0: fixed client side validation.
559 validation is performed in WebForm_DoPostback,
560 and there is no need to do it twice in ValidatorOnSubmit.
562 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
564 * Calendar.cs: fixed: correct 'id' attribute is rendered.
566 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
568 * ListItemCollection.cs: optimized SetDirty method
570 2007-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
574 * ListItemCollection.cs: controls based on ListControl should not save
575 view state before than TrackViewState called
577 2007-07-04 Vladimir Krasnov <vladimirk@mainsoft.com>
579 * WebControl.cs: fixed AddDisplayStyleAttribute, returns if
580 ControlStyle is not created
582 2007-07-02 Marek Habersack <mhabersack@novell.com>
584 * WebControl.cs: Revert r80368, as it wasn't the correct
585 fix. Fixes bug #81945.
587 * ListControl.cs: if there are no items in the collection, do not
588 return an empty ArrayList from GetSelectedIndicesInternal. Fixes
589 bug #81945 and properly fixes bug #78533.
591 * ListItemCollection.cs: if there are no items in collection,
594 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
597 the Pager is created but unvisible for only one page.
598 the Patch submitted by Dumitru Ban [dban@dako.ro]
600 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
605 does not requires data binding if any ITemplate property is set.
607 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
609 * CheckBox.cs: fixed Render, HasAttributes called instead
612 2007-06-24 Igor Zelmanovich <igorz@mainsoft.com>
614 * GridView.cs: fixed AllowPaging feature:
615 When the AllowPaging is true the GridView control should automatically
616 hide the pager row when the data source contains fewer than 2 records.
617 patch Patch submitted by Dumitru Ban [dban@dako.ro]
619 2007-06-20 Marek Habersack <mhabersack@novell.com>
621 * WebControl.cs: if savedState is a Triplet, take the actual state
622 data from savedState.First. Also make sure that the data is a
623 Pair. Fixes bug #78533.
625 * DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
626 to keep private entries.
627 * XmlDataSource.cs: as above
629 2007-05-31 Vladimir Krasnov <vladimirk@mainsoft.com>
631 * BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed
632 to ClientScriptManager
634 2007-05-29 Igor Zelmanovich <igorz@mainsoft.com>
636 * ObjectDataSourceView.cs:
637 * SiteMapDataSource.cs:
639 * SqlDataSourceView.cs:
640 DataSourceChanged and DataSourceViewChanged are raised in right case, when
641 different properties changed their value.
643 2007-05-27 Igor Zelmanovich <igorz@mainsoft.com>
645 * ObjectDataSourceView.cs: fixed SelectMethod and SelectCountMethod properties:
646 when changed, DataSourceViewChanged event is raised.
648 * SqlDataSourceView: fixed SelectCommand property:
649 when changed, DataSourceViewChanged event is raised.
651 2007-05-25 Marek Habersack <mhabersack@novell.com>
653 * ObjectDataSourceView.cs: CreateDataObject must pay attention to
654 TypeConverter attributes on the property being converted.
656 2007-05-24 Igor Zelmanovich <igorz@mainsoft.com>
658 * Menu.cs: fixed: alt attribute is rendered as well.
660 2007-05-16 Marek Habersack <mhabersack@novell.com>
662 * CompareValidator.cs: formatting changes
664 2007-05-15 Marek Habersack <mhabersack@novell.com>
666 * ObjectDataSourceView.cs: refactoring - use
667 HttpApplication.LoadType to look up types.
669 2007-05-10 Marek Habersack <mhabersack@novell.com>
671 * Table.cs: render rows, not controls
673 * HyperLink.cs: RenderContents must check if the render method
674 delegate is present and, if yes, call the base RenderContents.
676 * LinkButton.cs: as above.
678 * Label.cs: as above.
680 * TableCell.cs: as above.
681 This change makes the HeaderTemplate in the Wizard control work.
683 * Wizard.cs: if a next/previous step handler modifies
684 ActiveStepIndex do not, respectively, increase/decrease the
685 current step, but use whatever was set in the handler.
687 2007-05-09 Marek Habersack <mhabersack@novell.com>
689 * TreeNodeStyleCollection.cs: do not set font's underline flag to
690 false, set it to its own value instead.
692 * TreeView.cs: if level style exists and has ChildNodesPadding
693 set, it takes precedence over the node style setting (if any).
695 2007-05-08 Marek Habersack <mhabersack@novell.com>
697 * TreeView.cs: children padding is rendered only before and after
698 the children are rendered, not between them. Also, render padding
699 only if there are any nodes to follow the current one.
701 2007-05-07 Marek Habersack <mhabersack@novell.com>
703 * Wizard.cs: additional checks to see whether the wizard needs to
704 move to a next step or not. Fixes bug #81532. Patch sent by Mike
705 Morano <mmorano@mikeandwan.us>, thanks!
707 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
709 * FormView.cs: fixed:
710 avoid NullReferenceException when used EditTemplate w/o binding
711 directive such Eval or Bind.
713 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
715 * MenuItem.cs: fixed:
716 when 'Value' property is not set, value of 'Text' property is used
717 instead and vice versa.
719 2007-05-06 Igor Zelmanovich <igorz@mainsoft.com>
721 * TreeNode.cs: fixed:
722 when 'Value' property is not set, value of 'Text' property is used
723 instead and vice versa.
725 2007-05-04 Marek Habersack <mhabersack@novell.com>
727 * AdRotator.cs: use the new GetPhysicalFilePath method to look up
728 the physical path of the ad file.
730 2007-05-03 Marek Habersack <mhabersack@novell.com>
732 * TreeView.cs: honor ChildNodesPadding of the NodeStyle.
734 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
736 * ControlPropertyNameConverter.css:
737 * FontUnitConverter.cs:
739 * ValidatedControlConverter.cs:
742 2007-05-03 Marek Habersack <mhabersack@novell.com>
744 * TreeNode.cs: correct version of the fix in r76488. Nodes
745 retrieved from a navigation data source which have empty URL will
748 * TreeView.cs: revert r76488, it wasn't entirely correct. I need
749 to investigate the special cases it solved a bit more.
751 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
753 * SqlDataSourceView.cs:
754 make CancelSelectOnNullParameter property works.
756 2007-05-01 Marek Habersack <mhabersack@novell.com>
758 * BaseValidator.cs: do not use User-Agent directly, we must take
759 ClientTarget into account.
761 2007-04-30 Marek Habersack <mhabersack@novell.com>
763 * TreeView.cs: bring rendering closer to the MS.NET rendering.
765 * SqlDataSource.cs: do not catch the exception if ProviderName is
766 not null or empty (as per docs and what MS.NET does).
768 2007-04-19 Igor Zelmanovich <igorz@mainsoft.com>
771 does not accept invalid new password.
773 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
777 added MonoLimitation attributes
779 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
781 * BaseValidator.cs: for TARGET_J2EE:
782 used Page.Request.Browser to determine RenderUplevel
784 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
787 when databound with AutoGenerateColumns = true,
788 data source enumerator created only once.
790 2007-04-18 Marek Habersack <mhabersack@novell.com>
792 * SiteMapDataSource.cs: query the site map for the current node
793 when configured to use it as the start point. Fixes bug #81376,
794 patch from Mike Morano <mmorano@mikeandwan.us>.
796 * Calendar.cs: change year/month format to be culture aware. Fix
797 for bug #81390. Patch submitted by Atsushi Enomoto
800 2007-04-17 Daniel Nauck <dna@mono-project.de>
802 * PasswordRecovery.cs: fixed typo (AnswerLabel.Text).
804 2007-04-17 Marek Habersack <mhabersack@novell.com>
806 * BaseValidator.cs: use the new uplevel browser detection code.
808 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
810 * SqlDataSourceView.cs: fixed: InitializeParameters:
811 restored flow, broken in r75137.
813 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
815 * Menu.cs: popup menu is posed correctly if menu is placed within
816 container with position=relative
818 2007-04-12 Marek Habersack <mhabersack@novell.com>
820 * LoginView.cs: do not call CreateChildControls directly from the
821 IsAuthenticated setter since that would destroy the controls the
822 user might've configured from their Page_PreRender method.
823 Do not use IsAuthenticated in CreateChildControls since that
824 prevents the _correct_ template from being instantiated before the
825 control is transferred to the user's OnPreRender handler. Fixes
828 2007-04-11 Marek Habersack <mhabersack@novell.com>
830 * ImageButton.cs: implement the Enable property and do not
831 register for post back if the control isn't enabled.
833 2007-04-06 Marek Habersack <mhabersack@novell.com>
835 * GridView.cs: don't render invisible fields. Fixes bug #80061.
837 * DetailsView.cs: don't render invisible fields.
839 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
841 * Menu.cs: resolve selected MenuItem if bounded with SiteMapeDataSource.
843 2007-04-05 Marek Habersack <mhabersack@novell.com>
845 * BaseDataBoundControl.cs: restore the LAMESPEC note and code it
846 describes - tests show this is what's happening on MS.NET as
849 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
852 * BaseDataBoundControl.cs:
853 Break recursion when the property is set from within the OnSelect handler
854 in user's code. fixes bug #81175.
856 2007-04-05 Marek Habersack <mhabersack@novell.com>
858 * SiteMapDataSource.cs: fix GetStartNode for situations when the
859 current URL is not defined in the sitemap file. Fixes bug
860 #81314. Patch from Mike Morano <mmorano@mikeandwan.us>.
862 2007-04-03 Marek Habersack <mhabersack@novell.com>
864 * BaseDataBoundControl.cs: adjust for lame specs on MSDN.
866 2007-04-02 Gert Driesen <drieseng@users.sourceforge.net>
868 * MenuItem.cs: Use INavigateUIData.Description as ToolTip. Fixed line
871 2007-03-29 Adar Wesley <adarw@mainsoft.com>
873 * ObjectDataSourceView.cs: fixed events so they are raized at the
874 right times. Added many tests to verify the correct time.
875 * SqlDataSourceView.cs: fixed events so they are raized at the right
876 times. Added many tests to verify the correct time.
878 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
882 avoid Exception if HierarchicalDataSourceView.Select() returns null.
884 2007-03-22 Igor Zelmanovich <igorz@mainsoft.com>
886 * ObjectDataSource.cs:
887 * ObjectDataSourceView.cs:
889 * SqlDataSourceView.cs:
890 fixed flow: changes in Insert/Update/DeleteParameters does not
891 cause DataSourceViewChanged event.
893 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
895 * BaseDataBoundControl.cs: fix as per MSDN - the property is set
896 only if data binding doesn't occur.
898 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
900 * GridView.cs: fixed: PageIndex considers PageCount.
902 2007-03-20 Marek Habersack <mhabersack@novell.com>
904 * DataBoundControl.cs: avoid endless recursion here. Fixes bug #81175
906 * LoginStatus.cs: render login/logout controls with the CssClass
907 set from the parent control. Fixes bug #81196
909 2007-03-19 Igor Zelmanovich <igorz@mainsoft.com>
911 * DataGrid.cs: fixed Save/Load view state, applying styles.
913 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
915 * Style.cs: optimization: used CssStyleCollection .ctor w/o parameters.
917 2007-03-09 Marek Habersack <mhabersack@novell.com>
919 * Login.cs: Make command name comparison case-insensitive in
920 OnBubbleEvent. Patch from Mike Morano <mmorano@mikeandwan.us>
922 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
924 * DataGrid.cs: fixed:
925 Auto-generated columns are restored properly on postback from view state.
927 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
930 when AddAttributesToRender(System.Web.UI.HtmlTextWriter, WebControl)
931 is called, WebControl parameter is passed as argument to
932 FillStyleAttributes (CssStyleCollection, IUrlResolutionService) method.
934 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
938 fixed applying styles if ExtractTemplateRows=true.
940 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
942 * DropDownList.cs: in 2.0 first item is rendered with selected attribute
943 is Enabled=false and no selected items.
945 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
947 * CheckBoxList.cs: in 2.0 access key attribute is rendered in 'input' tags.
949 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
955 * RadioButtonList.cs:
956 fixed: list controls consider ListItem.Attributes property on render.
958 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
960 * CheckBox.cs: fixed: 'span' tag is not rendered if all attributes
961 are rendered in 'input' tag.
963 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
967 used "ONLY_1_1" instead "!NET_2_0"
969 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
971 * BaseDataBoundControl.cs:
972 * DataBoundControl.cs:
973 * HierarchicalDataBoundControl.cs:
974 refactoring: DataBoundControl and HierarchicalDataBoundControl use internal
975 method in BaseDataBoundControl to find a data source control.
977 2007-03-05 Marek Habersack <mhabersack@novell.com>
979 * Unit.cs: Support parsing of units in the form ".9em" etc.
981 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
983 * TemplateColumn.cs: fixed: if ItemTemplate is null, " " is rendered.
985 2007-03-05 Marek Habersack <mhabersack@novell.com>
987 * BaseValidator.cs: make validators work correctly with
988 ListItems. Patch from Daniel Nauck <dna@informatik.uni-kiel.de>
990 2007-03-04 Marek Habersack <mhabersack@novell.com>
992 * HierarchicalDataBoundControl.cs: Use the method described below
993 to get the data source named in DataSourceID.
995 * BaseDataBoundControl.cs: add an internal method to find a data
996 source control within all the naming containers above a given
997 control. The method makes it possible to find controls that reside
1000 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1002 * Repeater.cs: fixed: data-binding flow for 2.0 features.
1004 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1007 * ParameterCollection.cs:
1008 fixed GetValue/s and UpdateValue/s.
1010 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1012 * TreeNodeCollection.cs:
1013 fixed Save/Load viewstate.
1015 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1017 * MenuItemCollection.cs:
1018 fixed Save/Load viewstate.
1020 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1022 * CreateUserWizard.cs:
1024 fixed CausesValidaion and ValidationGroup for navigation buttons.
1026 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1030 fixed LoadPostData to restore checked state for node's checkboxes.
1032 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1034 * TreeNodeCollection.cs: 'dirty' flag is assigned if 'marked' only
1036 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1038 * BaseDataBoundControl.cs: setting DataSource to null does not
1039 call ValidateDataSource.
1040 * HierarchicalDataBoundControl.cs: ValidateDataSource does not
1041 throw exception if argument is null.
1043 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1045 * WebControl.cs: implemented IsEnabled and HasAttributes.
1047 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1049 * BaseDataList.cs: fixed: data-binding flow for 2.0 features.
1051 2007-02-27 Marek Habersack <grendello@gmail.com>
1053 * FileUpload.cs: HasFile is true only if PostedFile is not null
1054 and it actually has an associated file.
1056 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1058 * LoginView.cs: fixed:
1059 ViewChanging and ViewChanged are fired.
1060 optimized Save/Load control state.
1062 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1064 * CreateUserWizard.cs: fixed: does not attempt to send email if
1065 MailDefinition is not defined.
1067 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1070 considers FormsAuthentication.ReturnUrl only if is placed in
1071 the login page defined in web.config.
1073 2007-02-23 Marek Habersack <grendello@gmail.com>
1075 * ObjectDataSourceView.cs: Fix saving/restoring the view state.
1077 * CreateUserWizard.cs: support for sending mail when a new user is
1078 created. Patch from dban@dako.ro.
1080 2007-02-22 Marek Habersack <grendello@gmail.com>
1082 * LoginStatus.cs: Handle OnLoggedOut properly. Patch from
1085 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1087 * ObjectDataSourceView.cs: fixed ViewState behavior to match MS. Added relevant tests.
1089 2007-02-20 Gert Driesen <drieseng@users.sourceforge.net>
1091 * Calendar.cs: Fixed bug #80881 by using Thread's CurrentCulture
1092 instead of CurrentUICulture for DateFormatInfo.
1094 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1096 * SqlDataSource.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1097 * SqlDataSourceView.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1099 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
1101 * ChangePassword.cs: fixed:
1102 ChangePasswordContainer and SuccessContainer cannot be BindingContainer.
1104 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1106 * SqlDataSourceView.cs: Fixed parameter merging logic and some bug fixing.
1109 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
1114 implemented Form.SubmitDisabledControls feature.
1116 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1118 * GridView.cs: IsBindableType for decimal returns true.
1120 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1122 * Menu.js: client script: support IE6.
1124 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1126 * Menu.cs: fixed: considers item.ToolTip, render image inside 'a' tag.
1128 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
1130 * Button.cs, ImageButton.cs, LinkButton.cs: Hanlding of PostbackOptions for
1131 TARGET_J2EE is now centralized in ClientScriptManager.
1132 * TreeView.cs, DetailsView.cs, GridView.cs, TreeView.js, DetailsView.js,
1133 GridView.js: Added a field to the controls JavaScript 'data' object. The
1134 form is initialized to the page 'theForm'. This is used for J2EE portlets
1137 2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1140 first step is recognized as 'finish' if only two steps
1141 and last step is 'complete'
1143 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1145 * BaseValidator: ControlPropertiesValid is called on PreRender
1146 * CompareValidator.cs:
1147 * RangeValidator.cs: fixed ControlPropertiesValid, EvaluateIsValid.
1149 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1151 * BaseCompareValidator.cs: fixed: support for type=Currency on client side.
1153 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1155 * ParameterCollection.cs: fixed IndexOfString, this indexer should be
1158 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
1160 * TreeView.js: refactoring:
1161 removed TreeView_ErrorCallback, used TreeView_PopulateCallback instead.
1163 2007-02-13 Adar Wesley <adarw@mainsoft.com>
1165 * ObjectDataSourceView.cs: fixed parameter merging and added more tests
1167 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1169 * Literal.cs: implemented 2.0 feature - Mode.
1171 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1173 * ViewCollection.cs: fixed public API.
1175 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1177 * RepeaterItem.cs: implemented IDataItemContainer interface.
1179 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1181 * TreeNodeStyle.cs: fixed public API.
1183 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1185 * MenuItemStyle.cs: fixed public API.
1187 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1190 * DayRenderEventArgs.cs:
1191 implemented 2.0 feature - SelectUrl.
1193 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1195 * GridViewRowCollection.cs: implemented IsReadOnly property.
1197 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1199 * BaseValidator.cs: implemented SetFocusOnError feature.
1201 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1203 * Wizard.cs: refactoring:
1204 used ContainedTable for ID attribute is rendered properly.
1206 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1208 * CreateUserWizard.cs:
1212 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1214 * DataList.cs: fixed: OnBubbleEvent() will return true if event is handled
1216 2007-02-09 Gert Driesen <drieseng@users.sourceforge.net>
1218 * FontUnit.cs: Fixed ToString () to use current locale.
1220 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1222 * BaseValidator.cs: fixed render, works in static mode properly
1223 * CreateUserWizard.cs: fixed display mode for validators.
1225 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1229 implemented FormViewPagerRow class
1231 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1234 header and footer visibility is set at creation.
1236 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1238 * FormView.cs: fixed:
1239 header and footer are not created with empty row.
1241 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1243 * FormView.cs: fixed:
1244 works properly with not ICollection data source.
1246 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1248 * DetailsView.cs: fixed:
1249 PageIndex, CreateChildControls,
1250 works properly with not ICollection data source.
1252 2007-02-06 Eyal Alaluf <eyala@mainsoft.com>
1254 * Menu.cs ImageMap.cs Panel.cs TreeView.cs: Ensure that the NavigateUrl
1255 property is rendered as a RenderURL for J2EE portlets.
1257 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1259 * BaseValidator.cs: refactored RegisterValidatorCommonScript to use
1260 RegisterClientScriptInclude instead of RegisterClientScriptBlock
1262 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1264 * DataBoundControl.cs:
1267 PerformDataBinding is called with RequiresDataBinding was set false
1269 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1272 fixed validation flow.
1274 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1277 fixed validation flow.
1279 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1281 * CustomValidator.cs:
1282 ValidateEmptyText is considered on client side.
1284 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1289 * DataControlButton.cs:
1290 * DataControlField.cs:
1293 Internal classes are used in databound controls for buttons
1294 are derived from right types. It allows to have access to them by casting
1295 to public types. This trick is used in one of starter kits of MS.
1297 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1299 * Panel.cs: fixed: reverted r71441.
1300 * TreeView.cs: used internal RegisterWebFormClientScript API
1301 to cause the relevant script be included.
1303 2007-02-01 Adar Wesley <adarw@mainsoft.com>
1305 * FormView.cs: fixed events ModeChanging and ModeChanged
1306 to be raized in all relevant situations.
1308 2007-02-01 Igor Zelmanovich <igorz@mainsoft.com>
1310 * ValidationSammary.cs: fixed:
1311 control is rendered even if there is no validators on the page.
1312 important if the page contain a client side script that refer to the
1313 id of the validation summary div.
1315 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1320 * RadioButtonList.cs:
1321 EnsureDataBound is called when PostData is processed to restore
1322 'state' of control if EnableViewState is false
1324 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1326 * GridView.cs: fixed:
1327 RowDataBound is fired for PagerRow.
1328 Styles are applied using MergeWith instead CopyFrom
1329 to allow using custom styles for rows in code-behind.
1331 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1333 * GridView.cs: fixed: RowCommand event is fired properly.
1335 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1337 * GridView.cs: fixed: created rows are added in table after initialization.
1340 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1342 * Panel.cs: fixed 'background-image' attribute.
1344 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1346 * BaseDataBoundControl.cs:
1347 * DataBoundControl.cs:
1348 fixed DataBinding flow: RequiresDataBinding is set to false in
1350 * HierarchicalDataBoundControl.cs: implemented MarkAsDataBound().
1352 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1356 fixed DataBinding flow for Insert mode.
1358 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1361 does not RegisterRequiresPostBack if is not enabled.
1363 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1367 fixed PopulateOnDemand: used UniqueID to call WebForms_DoCallBack().
1369 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
1371 * MultyView.cs: OnActiveViewChanged is called.
1373 2007-01-29 Vladimir Krasnov <vladimirk@mainsoft.com>
1375 * Panel.cs: fixed AddAttributesToRender for 2.0, text align should be
1378 2007-01-29 Adar Wesley <adarw@mainsoft.com>
1380 * EditCommandColumn.cs: implemented CausesValidation and
1381 ValidationGroup and coresponding tests.
1382 * DataGrid.cs: fixed generated table to be compatible with MS 2.0
1384 2007-01-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1386 * WebControl.cs: added internal method AddDisplayStyleAttribute for
1387 display:inline-block style attribute
1390 * CheckBox.cs: added call to AddDisplayStyleAttribute on rendering
1392 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
1394 * TreeView.js: Used WebForm_GetFormFromCtrl to lookup the form.
1396 2007-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1398 * TextBox.cs: implemented AutoCompleteType property, fixed
1399 AddAttributesToRender
1401 2007-01-24 Ilya Kharmatsky <ilya -at- decode-systems.com>
1403 * DetailsView.cs: fixed problems with rendering of control, when
1404 empty data source is provided. Respective tests are provided
1405 in DetailsViewTest.cs
1407 2007-01-21 Konstantin Triger <kostat@mainsoft.com>
1409 * TreeView.js, DetailsView.js, Menu.js, GridView.js:
1410 suppress exception if eval() fails.
1412 2007-01-20 Miguel de Icaza <miguel@novell.com>
1414 * DataControlFieldCollection.cs (RemoveAt): remove unused
1417 * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
1420 * RadioButton.cs (RaisePostDataChangedEvent): This method was not
1421 used in 1.0, so put the whole method in 2.0
1423 2007-01-18 Adar Wesley <adarw@mainsoft.com>
1425 * Xml.cs: added support for XPathNavigator, fixed DocumentContent
1426 to be compatible with MS 2.0, implemented EnableTheming, implemented
1427 SkinID, fixed Focus behavior.
1429 2007-01-18 Vladimir Krasnov <vladimirk@mainsoft.com>
1431 * Menu.js, Menu.js: added null reference checking for every getTree or
1434 2007-01-18 Adar Wesley <adarw@mainsoft.com>
1436 * SiteMapDataSource.cs: implemented logic of GetStartNode when
1437 StartingNodeOffset is positive.
1439 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
1441 * BaseValidator.cs: ToString the validating property value or
1442 if null return an empty string.
1444 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1446 * TreeView.cs: fixed RegisterStyle, style names should be without
1447 leading underscore. fixed RenderNode, node icons should be taken also
1450 2007-01-17 Adar Wesley <adarw@mainsoft.com>
1452 * Repeater.cs: refactored GetData to return data both from DataSource
1453 and DataSrouceID, Implemented EnableTheming, updated initialization of
1454 DataBinding according to the pattern of BaseDataBoundControl, fixed
1455 SelectArguments implementation to call the virtual
1456 CreateDataSourceSelectArguments method.
1458 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
1460 * GridView.cs: don't force creating rows collection when SelectedIndex
1461 changes; EnsureDatabound on select.
1463 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1465 * TreeNode.cs: fixed Bind, fixed Value updating
1467 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1469 * DataList.cs: fixed OnBubbleEvent, added SelectedIndex updating
1471 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1473 * DetailsView.cs: fixed CreateChildControls, PageIndex cannot be less
1476 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1478 * DetailsView.cs: fixed CreateChildControls, PageIndex should be less
1479 or equal to PageCount
1481 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
1483 * Menu.cs: added z-index attribute to popup div's.
1485 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1487 * FileUpload.cs: fixed FileName property, should return filename
1488 without full path on client side
1490 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
1495 Implemented the protected net_2_0 method 'VerifyMultiSelect' with
1496 proper overloading in derived types.
1498 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
1501 considers INavigateUIData.NavigateUrl when bound.
1503 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
1505 * CompleteWizardStep.cs
1506 * CreateUserWizard.cs
1507 * CreateUserWizardStep.cs
1508 * TemplatedWizardStep.cs
1510 make the design complied to .NET
1511 build all possible controls at once and manage render by Visible property
1513 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
1514 * Button.cs, HyperLink.cs, DataGrid.cs, ImageButton.cs, LinkButton.cs,
1515 PagedDataSource.cs: Added J2EE Portal support for TARGET_J2EE.
1517 2007-01-14 Ilya Kharmatsky <ilyak-at-mainsoft.com>
1518 * BaseCompareValidator
1520 Added support for CultureInvariantValues property, which should be
1521 counted in new 2.0 methods such as - Compare, Convert etc. The code
1522 has been changed in such way, that the old - 1.1 method implementation
1523 could use the new methods defined for 2.0 version.
1525 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
1527 * XmlDataSource.cs: refactored to use cached collection.
1528 * SqlDataSource.cs: refactored to use cached collection;
1529 don't throw exception on 'DefaultView'.
1530 * ObjectDataSource.cs: refactored to use cached collection.
1532 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
1534 * ObjectDataSourceView.cs: consider parameter names and
1535 DataObjectMethodAttribute during method resolution.
1537 2007-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1539 * SqlDataSourceView.cs: fixed OnUpdating, OnInserting call with
1540 SqlDataSourceCommandEventArgs
1542 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
1544 * ObjectDataSourceView.cs: use case unsensitive comparer for
1545 parameters collection.
1547 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1549 * LoginStatus.cs: fixed: not causes page validation.
1551 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1553 * CreateUserWizard.cs: fixed: resolves ErrorMessage control correct.
1554 * CreateUserWizardStep.cs:
1556 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1558 * TreeView.cs: fixed: SelectedNode, CheckedNodes.
1560 * TreeNodeCollection.cs:
1562 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1564 * GridView.cs: fixed: header and footer does not appear in no items.
1565 * CompositeDataBoundControl.cs:
1567 2007-01-09 Konstantin Triger <kostat@mainsoft.com>
1569 * AdRotator.cs: Backport the fix for AdRotator AbsoluteUri to 1.1.
1571 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
1573 * GridView.cs: fixed: SelectedDataKey.
1575 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
1579 implemented 2.0 features.
1581 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1583 * SqlDataSourceView.cs: fixed parameters init for ExecuteUpdate
1585 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
1587 * DataSourceCacheManager.cs:
1588 * ObjectDataSource.cs:
1590 fixed: cache considers parameters values changes.
1592 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1594 * DetailsView.cs: fixed DeleteItem, excluded keys for new values
1595 * SqlDataSourceView.cs: fixed ExecuteDelete, check cancel in
1598 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
1600 * GridView.cs: fixed: show all rows when AllowPaging=false
1602 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
1604 * SqlDataSourceView.cs: fixed CreateDbParameter, used DBNull for value=null.
1606 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
1608 * ButtonField.cs: fixed: consider its CausesValidation property.
1610 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
1612 * GridView.cs: fixed:
1613 ReadOnly property is false for AutoGeneratedColumn if field is DataKey.
1614 causesValidation parameter is considered properly in UpdateRow.
1615 OldValues contains readonly fields values
1617 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1619 * SqlDataSourceView.cs: fixed InitializeParameters, added
1620 ParameterPrefix when check that param is already in collection
1622 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
1624 * AdRotator.cs: fixed: considers absolute uri such html://......
1626 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1628 * SqlDataSourceView.cs: fixed insert, delete, update methods, added
1629 calls to OnDataSourceViewChanged
1631 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1633 * added ProfileParameter.cs
1635 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
1637 * Label.cs: fixed: according MSDN OnPreRender is not overridden.
1639 2007-01-04 Adar Wesley <adarw@mainsoft.com>
1641 * ImageButton.cs: implemented GenerateEmptyAlternateText
1643 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
1645 * FormView.cs: fixed data binding flow considers Insert mode.
1647 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
1649 * DataBoundControl.cs: fixed Init flow.
1651 2007-01-4 Adar Wesley <adarw@mainsoft.com>
1653 * RadioButtonList.cs: Implemented properties of IRepeatInfoUser as public virtual
1655 2007-01-03 Marek Habersack <grendello@gmail.com>
1657 * ObjectDataSourceView.cs: Look for unqualified type also in the top-level assemblies.
1659 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
1661 * FormView.cs: fixed PageIndex property.
1663 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
1665 * ListControl.cs: fixed SelectedValue and SelectedIndex properties.
1666 set accessor works differently in 2.0.
1668 2007-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
1670 * SqlDataSourceView.cs,ObjectDataSourceView.cs: fixed parameter merge
1671 when values and old values are null
1673 2006-01-02 Igor Zelmanovich <igorz@mainsoft.com>
1675 * ListControl.cs: reverted r70112, fixed in r70319.
1677 2007-01-02 Igor Zelmanovich <igorz@mainsoft.com>
1679 * DetailsView.cs: fixed CreateAutoGeneratedRows.
1681 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
1683 * AutoGeneratedField.cs: is editable in Insest mode.
1684 * BoundField.cs: is editable in Insest mode.
1685 * CheckBoxField.cs: is editable in Insest mode.
1686 * DetailsView.cs: fixed DataBinding flow.
1688 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
1690 * BaseDataBoundControl.cs:
1691 * CompositeDataBoundControl.cs: fixed DataBinding flow.
1693 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1695 * LinkButton.cs: show the validation summary when client validation
1696 and linkbuttons are used. Patch by Juraj Skripsky.
1698 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
1700 * TextBox.cs: consider ToolTip property
1702 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
1704 * ContainedTable.cs:
1705 * DataControlButton.cs:
1706 * DetailsView.cs: fixed EnablePagingCallbacks
1709 * GridView.js: fixed EnableSortingAndPagingCallbacks
1711 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
1714 ResolveClientUrl used with LineImagesFolder, ExpandImageUrl,
1715 CollapseImageUrl and NoExpandImageUrl properties.
1717 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1719 * SqlDataSource.cs: Added parameters update on OnInit
1721 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1723 * LoginView.cs: fixed rendering LoggedInTemplate even after user
1726 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
1731 control's behavior depends on using DataSource or DataSourceID
1732 property for binding
1734 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
1736 * CommandField.cs: fixed:
1737 when ShowEditButton=false Update/Cancel button doesn't appear.
1738 when ShowInsertButton=false Insert/Cancel button doesn't appear.
1740 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
1742 * Login.cs: fixed AuthenticateUser, should redirect to ReturnUrl when
1744 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
1746 * Parameter.cs: fixed ConvertValue to coorect handle TypeCode.Empty
1747 * ObjectDataSourceView.cs: fixed MergeParameterValues,
1748 call Parameter.ConvertValue
1749 fixed ConvertParameter to hanlde TypeCode.Empty
1750 * SqlDataSourceView.cs: fixed InitializeParameters,
1751 call Parameter.ConvertValue
1752 fixed ParameterPrefix property
1753 fixed CreateDbParameter, added usege of ParameterPrefix
1755 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
1757 * ListControl.cs: fixed: when is used with DataSourceID data bind is not
1758 perfomed on PostBack because Items collection is restored from View state.
1760 2006-12-26 Igor Zelmanovich <igorz@mainsoft.com>
1762 * DataGridPagerStyle.cs:
1767 * TableItemStyle.cs:
1772 fixed: Load/Save viewstate of WebControl does not call Load/Save viewstate
1773 for it's ControlStyle, but the shared ViewState is used to manage style's
1776 2006-12-21 Igor Zelmanovich <igorz@mainsoft.com>
1778 * CompleteWizardStep.cs:
1779 * CreateUserWizard.cs:
1780 * CreateUserWizardStep.cs:
1781 * TemplatedWizardStep.cs:
1783 fixed: CreateUserWizard works properly in advanced scenarios
1784 such being used with additional steps or/and with custom templates.
1785 Styles are aplied properly.
1787 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
1789 * SqlDataSourceView.cs: fixed InitializeParameters, parameters order
1790 parameters case insensetive search
1791 * ObjectDataSourceView.cs: fixed MergeParameterValues, parameters
1792 case insensetive search
1794 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
1796 * Menu.cs: fixed: ResolveClientUrl used with src and href attributes
1798 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
1802 TreeNodeCollapsed is not raised for leaf node.
1804 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1806 * DataGrid.cs, RepeatInfo.cs: fixed accessibility features
1808 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
1810 * Calendar.cs: support DayNameFormat.Shortest
1812 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
1814 * HiddenField.cs: implemented
1816 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
1818 * FormView.cs: fixed: FillRowDataKey
1819 * DetailsView.cs: fixed: FillRowDataKey
1821 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
1823 * TreeView.cs: fixed: ResolveClientUrl used with ImageUrl and NavigateUrl
1825 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1827 * Login.cs: refactored rendering, fixed OnAuthenticate event
1829 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
1831 * GridView.cs: fixed: Update works not only for EditRow
1833 * CompositeDataBoundControl.cs:
1835 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
1837 * RadioButton.cs: fixed:
1838 When GroupName is not defined UniqueID is used instead for name attribute.
1839 CheckedChanged is raised only when control is checked.
1841 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
1843 * Menu.cs: fixed: rendering.
1845 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
1847 * Menu.cs: fixed: rendering.
1849 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
1854 fixed rendering for 2.0
1856 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
1858 * DetaisView.cs: fixed: rendering.
1859 * DataControlButton.cs:
1862 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
1864 * FormView.cs: fixed: avoid empty row rendering.
1866 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
1868 * AdRotator.cs: fixed:
1869 MSDN: The ImageUrl and NavigateUrl attributes can be a full URL, a
1870 root-relative path, or a relative path. If you use a root-relative path,
1871 the path is relative to the same Web site. If you use a relative path,
1872 the path is relative to the directory that contains the advertisement file.
1874 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
1876 * BaseCompareValidator.cs: fixed: support for type=Date on client side.
1878 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
1880 * TreeView.cs: fixed: support for event validation.
1882 2006-12-04 Igor Zelmanovich <igorz@mainsoft.com>
1884 * DataGridPagerStyle.cs: chenged values of DataGridPagerStyles flags.
1886 2006-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1888 * CreateUserWizard.cs: implement GeneratePassword based on Membership.
1890 2006-11-27 Vladimir Krasnov <vladimirk@mainsoft.com>
1892 * Wizard.cs: fixed GetStepType method that returned wrong type if the
1893 last step type is Complete.
1894 fixed ProcessEvent method, corrected FinishButtonClick behavior
1896 2006-11-26 Marek Habersack <grendello@gmail.com>
1898 * Calendar.cs: Fixed event validation registration. Now it
1899 registers all the arguments that can be passed by this control to
1902 2006-11-25 Marek Habersack <grendello@gmail.com>
1904 * FileUpload.cs: Implementation of SaveAs
1906 * TreeView.cs: A few optimizations for empty style collections.
1908 * Menu.cs: A few optimizations for empty style collections.
1910 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
1912 * BoundField.cs: fixed: GetDesignTimeValue()
1914 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
1916 * SiteMapDataSource.cs: fixed: GetViewNames()
1918 2006-11-23 Vladimir Krasnov <vladimirk@mainsoft.com>
1920 * ChangePassword.cs: implemented functionality
1921 * MailDefinition.cs: implemented CreateMailMessage method
1922 * PasswordRecovery.cs: implemented functionality
1924 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
1926 * CircleHotSpot.cs: fixed:
1927 setting Radius with value <0 throws ArgumentOutOfRangeException.
1929 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
1931 * CookieParameter.cs: fixed Evaluate method.
1933 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
1935 * Parameter.cs: fixed Evaluate, ToString methods.
1936 * QueryStringParameter.cs: fixed Evaluate method.
1937 * SessionParameter.cs: fixed Evaluate method.
1939 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
1941 * ImageMap.cs: fixed rendering.
1943 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
1945 * HotSpot.cs: fixed: AccessKey and HotSpotMode
1946 throw ArgumentOutOfRangeException.
1948 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
1950 * ControlParameter.cs: fixed: Evaluate method
1951 throws exceptions correctly.
1953 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
1955 * CheckBox.cs: fixed: new 2.0 features such
1956 LabelAttributes and InputAttributes.
1958 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
1960 * GridView.cs: fixed: header, footer and empty rows are databound.
1962 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
1964 * Style.cs: added internal helper method RemoveTextStyles.
1966 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
1968 * Button.cs: fixed: support for event validation.
1969 * CheckBox.cs: fixed: support for event validation.
1970 * FormView.cs: fixed: support for event validation.
1971 * ImageButton.cs: fixed: support for event validation.
1972 * ListBox.cs: fixed: support for event validation.
1973 * TextBox.cs: fixed: support for event validation.
1975 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
1977 * DropDownList.cs: fixed: support for event validation.
1979 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
1981 * LinkButton.cs: optimized: support for event validation.
1982 * DataControlButton.cs: Added support for event validation.
1983 * DetailsView.cs: fixed: RowIndex for DetailsViewRow.
1985 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
1987 * LinkButton.cs: Added support for event validation.
1989 2006-11-17 Marek Habersack <grendello@gmail.com>
1991 * ImageButton.cs: Added support for event validation.
1993 * ListBox.cs: Added support for event validation.
1995 * Calendar.cs: Added support for event validation.
1997 * DropDownList.cs: Added support for event validation.
1999 * FormView.cs: Added support for event validation.
2001 * RadioButtonList.cs: Added support for event validation.
2003 * TextBox.cs: Added support for event validation.
2005 * BulletedList.cs: Added support for event validation.
2007 * CheckBox.cs: Added support for event validation.
2009 * Button.cs: Added support for event validation.
2011 2006-11-16 Igor Zelmanovich <igorz@mainsoft.com>
2013 * CreateUserWizard.cs: fixed: ActiveStepIndex property.
2015 2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>
2017 * ListControl.cs: fixed: DataBinding for 2.0, for 1.x - refactoring only.
2019 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2021 * GridView.cs: fixed: Rows property, DataBinding flow.
2022 * DataBoundControl.cs:
2023 * BaseDataBoundControl.cs:
2025 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2027 * CompositeDataBoundControl.cs: fixed:
2028 DataBind call Controls.Clear().
2030 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
2032 * CompositeDataBoundControl.cs: fixed:
2033 DataBind sets ChildControlsCreated=true.
2035 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2037 * Login.cs: fixed CreateChildControls, throws exception if needed
2039 * LoginView.cs: fixed CreateChildControls, check templates for null
2041 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2043 * Wizard.cs: fixed ActiveStepIndex property, fixed SideBar button
2044 rendering, fixed history updating
2045 * WizardStepCollection.cs: fixed implemented interfaces
2047 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2049 * XmlDataSource.cs: CacheKeyDependency fixed
2051 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
2053 * DetailsView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2055 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2057 * DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.
2059 2006-11-09 Vladimir Krasnov <vladimirk@mainsoft.com>
2061 * ParameterCollection.cs: fixed SetDirtyObject method
2062 * ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState
2063 utilization for control's properties, implemented caching
2064 * SqlDataSource.cs, SqlDataSourceView.cs: implemented caching
2066 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2068 * GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2070 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2072 * DataBoundControl.cs: fixed:
2073 ConfirmInitState method s called by
2074 the DataBoundControl class in its OnLoad method.
2076 2006-11-06 Igor Zelmanovich <igorz@mainsoft.com>
2078 * FormView.cs: fixed: DataBinding flow.
2080 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2082 * CustomValidator.cs: implemented ValidateEmptyText fixture.
2084 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2086 * BaseCompareValidator.cs: fixed: CultureInvariantValues, Type properties.
2088 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2090 * Menu.cs: fixed: RenderEndTag.
2091 Dynamic menu is rendered when StaticDisplayLevels=1
2093 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2095 * GridView.cs: fixed: UpdateRow, DeleteRow, RowCreated.
2097 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2099 * FormView.cs: fixed: UpdateItem, DeleteItem.
2101 2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>
2103 * DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.
2105 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2107 * RadioButtonList.cs: fixed: has no html output when Items.Count=0.
2109 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2111 * ListControl.cs: fixed: setting SelectedVolue for 2.0.
2113 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2115 * DataBoundControl: fixed: ValidateDataSource allows null as dataSource.
2117 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2119 * ListControl.cs: fixed: assigning SelectedIndex with too hight value.
2121 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2123 * ListControl.cs: fixed: DataBinding for 2.0.
2124 for 1.x refactoring only.
2126 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2128 * ChangePassword.cs: new class was implemented.
2130 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2132 * EmbeddedMailObject.cs: new class was implemented.
2133 * EmbeddedMailObjectsCollection.cs: new class was implemented.
2134 * MailDefinition.cs: new class was implemented.
2136 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2138 * PagerSettings.cs: fixed: CreatePagerControl.
2140 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2142 * CommandField.cs: fixed:
2143 considers CaseValidation, ValidationGroup, ButtonType.
2144 * DataControlButton.cs: refactoring:
2146 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2148 * DetailsView.cs: implemented: GetCallbackScript method.
2150 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2152 * FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2154 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2156 * FormFiew.cs: fixed: UpdateItem, InsertItem.
2158 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2160 * FormFiew.cs: fixed: PageIndex, rendering.
2162 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2164 * DropDownList.cs: fixed: rendering "name" attribute".
2166 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2168 * GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2169 * DataControlButton.cs:
2170 * CommandField.cs: CausesValidation feature must be implemented other way
2172 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2174 * CompositeDataBoundControl.cs: fixed: CreateChildControls flow.
2176 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2178 * FormView.cs: fixed: OnBubbleEvent returns true when event is handled.
2180 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2182 * DetailsView.cs: fixed: OnBubbleEvent works properly.
2184 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2186 * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
2188 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2190 * DetailsView.cs: fixed: CurrentMode property.
2192 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2194 * DetailsView.cs: fixed: current state are not changed during paging.
2196 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2198 * DetailsView.cs: fixed:
2199 in Insert mode Select not invoked from DataSource
2201 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
2203 * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
2205 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2207 * FormView.cs: fixed: CreateDataSourceSelectArguments method.
2208 (corresponding test does not work because bug in ObjectDataSourceView)
2210 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2212 * DataBoundControl.cs: fixed: DataBind calls
2213 CreateDataSourceSelectArguments() and stores result in SelectArguments
2215 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2219 fixed: EnablePagingCallbacks feature.
2220 when postback is invoked after callback control state is restored
2223 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2225 * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
2227 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2229 * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
2230 (corresponding test does not work because bug in ObjectDataSourceView)
2232 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2234 * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
2235 when postback is invoked after callback control state is restored
2238 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2240 * GridView.cs: fixed: Sorting feature.
2241 When sorting EditIndex and PageIndex are reseted
2243 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2245 * GridView.cs: fixed: Sorting feature.
2246 CreateDataSourceSelectArguments considers SortExpression and SortDirection.
2247 (corresponding test does not work because bug in ObjectDataSourceView)
2249 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2251 * GridView.cs: fixed:
2252 CreateDataSourceSelectArguments works according to MSDN.
2253 (corresponding test does not work because bug in ObjectDataSourceView)
2255 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2257 * ObjectDataSourceView.cs: fixed:
2258 CanRetrieveTotalRowCount returns true if EnablePaging = false
2260 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
2262 * DataBoundControl.cs: fixed: DataBind flow
2263 CreateDataSourceSelectArguments() is called
2264 each time as DataBind() is called
2266 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2268 * BoundField.cs: implemented ValidateSupportsCallback().
2270 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2272 * CommandField.cs: ValidateSupportsCallback(): exception's message.
2274 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2276 * FormView.cs: fixed: CurrentMode property.
2278 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2284 reverted r66222, problem solved in r66283: command buttons inherit ForeColor
2286 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2288 * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
2291 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2293 * HyperLink.cs: don't render the img tag 'by hand' but use an Image
2294 instead, which takes care of the 0/0px case. Also set the ToolTip
2295 property. Fixes bug #79585.
2297 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2299 * DetailsView.cs: optimization for previous patch
2301 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2303 * FormView.cs: optimization for previous patch
2305 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2308 * DetailsViewRow.cs:
2309 implemented PrepareControlHierarchy()
2310 styles are applied correct
2312 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2315 implemented PrepareControlHierarchy()
2316 styles are applied correct
2318 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2321 * DataControlButton.cs:
2322 * DataControlField.cs:
2323 implemented PrepareControlHierarchy()
2324 styles are applied correct
2325 command buttons inherit ForeColor
2327 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2329 * WebControl.cs: fixed: CreateControlStyle()
2331 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2337 corrected pager rendering: Color style applied to A tag,
2338 Input type="image" used if ImageUrl is not empty.
2340 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2342 * GridView.cs: corrected rendering
2343 * ContainedTable.cs: added new helper class
2345 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2347 * FormView.cs: fixed:
2348 in Insert mode Select not invoked from DataSource
2350 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2352 * FormView.cs: fixed:
2353 Pager is not shown when page count < 1
2354 in Edit mode use EmptyDataTemplate if there is no DataItem
2355 when page changed FormView stays in current state.
2357 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
2359 * FormView.cs: fixed: OnBubbleEvent works properly
2361 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
2363 * DataBoundControl.cs: fixed: DataBind flow
2364 GetData return "empty" DataSourceView when no DataSource and DataSourceID
2365 was assigned to cause PerformDataBinding be called.
2367 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2369 * DataList.cs: use ExtractTemplateRows to determine if the style is
2370 applied to the Table in a template or to its rows. Fixes bug #78058.
2372 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2374 * ListBox.cs: if the list is not enabled, don't require a postback.
2377 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2379 * HyperLink.cs: don't output the nabvigate url if disabled.
2380 * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
2381 the link URL if disabled.
2384 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2386 * RadioButtonList.cs:
2387 make it to consider CausesValidation and ValidationGroup properties
2389 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2392 make it to consider CausesValidation and ValidationGroup properties
2394 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2397 Page.Validate() is called when CausesValidation=true
2399 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2402 make onclick attribute to consider ValidationGroup property.
2404 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2407 make rendering of the href attribute to consider ValidationGroup property.
2408 Page.Validate() is called when CausesValidation=true
2410 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2413 make rendering of the onchange attribute to consider ValidationGroup
2415 Page.Validate() is called when CausesValidation=true
2417 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2420 make rendering of the onclick attribute to consider ValidationGroup property
2421 Page.Validate() is called when CausesValidation=true
2423 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2426 VewState saving and restoring rolled back to 1.1 implementation
2427 (fixed corresponding test), corrected public interface (there are no
2428 overriden methods SaveControlState, LoadControlState and OnInit),
2429 implemented CausesValidation and ValidationGroup properties.
2431 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2434 make rendering of the onclick attribute to consider ValidationGroup property
2435 Page.Validate() is called when CausesValidation=true
2437 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2440 implemented: RaisePostBackEvent,
2441 refactoring: GetPostBackOptions used to build onclick client event
2443 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2445 * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
2447 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2449 * BaseValidator.cs: implemented ValidationGroup feature on client side
2450 * ValidationSummary.cs:
2452 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
2454 * TreeView.cs: corrected rendering
2457 2006-09-11 Konstantin Triger <kostat@mainsoft.com>
2459 * Login.cs: ensure the urls are correctly resolved.
2461 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2463 * TreeView.cs: corrected rendering: styles are applied correct
2467 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2469 * TreeView.cs: corrected rendering: HoverNodeStyle works
2473 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2475 * TreeNodeStyle.cs: fixed: ViewState restored properly
2477 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2481 * TableItemStyle.cs:
2482 * DataGridPagerStyle.cs:
2483 refactoring: makes Style class more flexible for inheriting and reuse
2485 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2487 * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked
2488 state restored correct on PostBack.
2491 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2493 * ObjectDataSourceView.cs: correctly find the type when it is not in the
2494 executing assembly. Fixes bug #78321. Patch by Marek Habersack.
2496 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2498 * ControlParameter.cs: fix search for controls so that they use their
2499 NamingContainer, not the Page. Patch by Marek Habersack that fixes
2502 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2504 * Login.cs: fix problem with the login control and master pages.
2505 Patch by Marek Habersack that fixes bug #78219.
2507 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
2509 * TreeView.cs: fixed: populating nodes.
2512 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
2514 * TreeNode.cs: fixed: ToggleExpandState.
2516 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
2518 * SqlDataSourceView.cs: return DataView from ExecuteSelect when
2519 DataSourceMode is DataSet.
2521 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2523 * TreeView.cs: fixed: populating nodes flow.
2524 * TreeNodeCollection.cs
2527 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2529 * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.
2531 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2533 * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.
2535 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2537 * TreeView.cs: fixed: when specified value is not one of
2538 the TreeNodeTypes values exception is threw.
2540 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2542 * TreeView.cs: fixed: when specified image set is not one of
2543 the TreeViewImageSet values exception is threw.
2545 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
2547 * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.
2549 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
2551 * Style.cs: implemented SetBit().
2553 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
2555 * CompareValidator.cs: fixed controltocompare attribute.
2557 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
2560 when login attempt was not successful FailureText is shown.
2562 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
2564 * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage
2565 is formatted correct.
2567 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
2569 * CreateUserWizard.cs:
2570 * CompleteWizardStep.cs:
2571 * CreateUserWizardStep.cs:
2573 fixed: ContinueButtonClick occurs when the user clicks
2574 the Continue button in the final user account creation step.
2575 ContinueDestinationPageUrl - redirected after clicking
2576 the Continue button on the success page.
2578 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2580 * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
2581 insted internal DataControlButton.
2583 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2585 * Button.cs: implemented GetPostBackOptions + refactoring
2587 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2589 * ImageButton.cs: implemented 2.0 features
2590 OnClientClick attached to onclick attribute.
2591 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
2592 generate onclick attribute.
2594 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2596 * LinkButton.cs: typo fix
2598 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2600 * Button.cs: refactoring
2602 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2604 * LinkButton.cs: implemented 2.0 features
2605 OnClientClick attached to onclick attribute.
2606 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
2609 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
2611 * Button.cs: implemented 2.0 features
2613 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
2615 * Menu.cs: refactoring
2618 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
2620 * TreeView.cs: fixed data binding
2622 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
2624 * TreeNodeBinding.cs: fixed ToString method
2626 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
2628 * MenuItem.cs: typo fix
2630 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2632 * CreateUserWizardStep.cs: fixed validators message display
2634 2006-08-25 Kornél Pál <kornelpal@gmail.com>
2636 * FileUpload.cs: Use assembly name constants.
2638 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2640 * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
2641 always creates ExtractTemplateValuesMethod delegate
2643 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
2645 * TreeNodeBinding.cs: corrected public interface
2648 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2650 * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
2651 case, but there are many others.
2653 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
2655 * Menu.cs: corrected rendering of static and dynamic items
2658 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
2662 fixed: AddAttributesToRender method calls FillStyleAttributes,
2663 text styles applied correct.
2665 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
2668 fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
2669 refactoring: Name and Names properties has same source in bag.
2671 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
2673 * Style.cs: restored r63894: for 1.x is refactoring only
2675 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
2678 fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
2679 added ClearDefaults method for 2.0.
2681 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2683 * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
2686 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
2688 * SubMenuStyle.cs: fixed:
2689 Unit.ToString() already include unit (e.g. "3px")
2691 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2694 * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
2695 submitted for review and it only added tests for the 2.0 profile.
2697 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2699 * FormView.cs: added explicit implementation of
2700 IDataItemContainer.DataItemIndex, as documented
2702 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
2705 When style is registered with StyleSheet AddAttributesToRender method
2706 adds class attribute but not style to writer
2708 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
2711 OnBubleEvent works properly - controls like Button, LinkButton nested into template
2712 can raise MenuItemClick event,
2713 ViewState of Items saved and restored properly.
2715 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
2717 * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
2720 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
2722 * Menu.cs: fixed databinding feature:
2723 ensure that items initialization occurs only once
2725 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
2727 * Menu.cs, MenuItem.cs: fixed databinding feature
2729 2006-08-09 Robert Jordan <robertj@gmx.net>
2731 * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
2732 replace ResolveUrl with ResolveClientUrl to match MS.NET's
2733 behaviour. Fixes bug #77539.
2735 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
2737 * HierarchicalDataBoundControl.cs: fixed DataBind flow
2739 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2745 * WebControl.cs: fixed ParseChildren attribute to be compliant
2748 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
2750 * MultiView.cs: fixed: EnableTheming property
2752 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2756 * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
2758 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
2760 * Style.cs: fixed restoring FontInfo from ViewState
2762 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
2764 * XmlDataSource.cs: implemented caching functionality
2766 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2768 * PagerSettings.cs: Fixed the pager range calculation formula. The old
2769 one didn't work with more than 20 pages. Patch by Marek Habersack that
2772 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
2774 * FormView.cs: fixes to make Render more similar to dotnet.
2776 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
2778 * Wizard.cs: fixed return value of OnBubbleEvent
2780 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
2782 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
2783 handle null result of GetData().
2785 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
2787 * FormView.cs: use TableStyle for ControlStyle.
2789 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
2791 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
2793 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
2795 * FormView.cs: init DataKeys and fix null reference.
2797 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2799 * TreeView.cs: several changes to improve compatibility with MS.
2800 Patch by Marek Habersack that fixes bug #77551.
2802 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2804 * Style.cs: output the text-decoration value even when it is 'none'.
2805 Patch by Marek Habersack that fixes bug #78968.
2807 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
2809 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
2812 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
2814 * DetailsViewRowCollection.cs: returns this in SyncRoot.
2816 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
2818 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
2821 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
2823 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
2825 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
2827 * AutoGeneratedField.cs: fix the internal constructor according to test
2828 DetailsView_CreateAutoGenerateRow.
2830 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
2832 * XmlDataSource.cs: implemented XSLT, removed properties from
2834 * XmlDataSourceView.cs: fixed default xpath
2836 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
2838 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
2840 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
2842 * Wizard.cs: fixed ActiveStep property
2843 fixed templated side bar
2845 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
2847 * ImageField.cs: fix null reference bug.
2849 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
2851 * DetailsView.cs: init DataKey property with empty collection.
2852 * DataKey.cs: fix unexpected exception bug.
2853 * DataControlField.cs: override ToString according to MSDN.
2855 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
2857 * DetailsView.cs: create table style in CreateControlStyle.
2859 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
2861 * DetailsView.cs: don't throw the exception which .Net does not throw.
2863 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
2865 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
2866 to match .Net; fix PageCount to match record count.
2868 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
2870 * Menu.cs: fixed properties default values, fixed rendering
2873 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
2875 * Wizard.cs: implemented SkipLinkText, TagKey
2876 fixed rendering bugs, fixed templated button bar rendering
2877 fixed side bar rendering
2878 * WizardStepBase.cs: fixed Name property
2880 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
2882 * DetailsView.cs: fix the regressions, caused by the previous commit.
2884 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
2886 * DetailsView.cs: correct handling the different default values of
2887 DetailsView.CellSpacing and Table.CellSpacing.
2889 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
2891 * DetailsView.cs: create a pager row when needed.
2893 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2897 * PagedDataSource.cs:
2900 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
2901 support it. The GridView control will no longer throw an exception when
2902 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
2904 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
2906 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
2907 Rows with empty collection; call EnsureChildControls from get Row;
2908 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
2909 implemented IPostBackContainer.GetPostBackOptions.
2911 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
2913 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
2914 and FooterText are empty, to match .NET. Otherwise we have NullReference
2917 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
2919 * DetailsView.cs: Render fix.
2921 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
2923 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
2926 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
2928 * DetailsView.cs: NullReferenceException fix
2930 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
2932 * PagerSettings.cs: implemented PropertyGhanged event
2934 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
2936 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
2937 with .Net; don't throw NotImplemented when base class implementation
2940 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
2942 * DetailsViewPagerRow.cs: add a stub for this class
2944 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2946 * GridView: fixed DataKeyNames property, moved to ControlState
2947 fixed PageCount property, initial PageCount ahould be zero
2948 fixed SelectedDataKey, should throw exception if not initialized
2949 fixed CreateColumns, wrong order of columns
2950 fixed CreateControlStyle,
2951 fixed InitializePager, no columnspan attrib on only one column
2952 fixed LoadControlState, SaveControlState added DataKeyNames
2953 fixed Render, RenderGrid should render within div tag
2954 implemented GetPostBackOptions
2955 * DataControlButton.cs: fixed Render, fixed style for img button
2957 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2959 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
2962 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
2964 * CommandField.cs: fixed ValidateSupportsCallback
2966 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
2968 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
2969 affect the flow yet.
2971 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
2973 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
2975 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
2977 * WebControl.cs: fix for AddAttributesToRender - add display
2978 style when appropriate
2980 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
2982 * CommandField.cs: fixed InitializeCell, wrong order of command
2984 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
2985 should be rendered as label
2986 * BoundField.cs: empty null value should be rendered as nbsp
2987 * GridViewRowCollection.cs: fixed SyncRoot
2989 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
2991 * SiteMapPath.cs: create Literal instead of Label according to the
2992 MSDN and test SiteMapPath_InitializeItem.
2994 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
2996 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
2997 * Image.cs: in 2.0 there is no border attribute, but border-width
3000 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3002 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
3004 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3006 * DataList.cs: correctly initialize editable items when there's an
3007 EditItemTemplate. Patch by Jarosław Pawlak.
3009 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
3011 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
3014 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3016 * BulletedList.cs: fixed Render, RenderBulletText, various properties
3017 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
3020 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3022 * MultiView.cs: 'initied' state variable was changed to views count in
3023 the views collection.
3025 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3027 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
3028 checkbox should have tooltip
3029 * HyperLinkField.cs: fixed InitializeCell, should create link control
3030 only in data cell (not in header or footer), initialization of
3032 * ImageField.cs: fixed InitializeDataCell, initialization of
3035 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3037 * MultiView.cs: removed exception throwing from ActiveViewIndex
3039 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
3041 * DataControlFieldCollection.cs: added OnClearComplete override;
3042 refactor to eliminate null reference exception.
3044 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3046 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
3047 * View.cs: fixed Visible property
3049 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
3051 * ImageField.cs: fixing .net compliancy.
3053 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
3055 * SiteMapPath.cs: fix the default PathSeparator value.
3057 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3059 * GridView.cs: always create Header/Fotter rows, but render only when
3060 ShowHeader/Footer is true. Compute Header/Footer rows from rows
3062 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
3063 add ToolTip and Text to the created CheckBox,
3064 wrap exception thrown in OnDataBindField in httpException.
3066 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3068 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
3070 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3072 * DataControlField.cs: correct handling empty header/footer text.
3073 * TemplateField.cs: correct initialization according to
3074 DataControlRowState.
3076 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
3078 * Wizard.cs: added functionality for Templated WizardStep
3079 and CreateUserWizard
3080 * added CompleteWizardStep.cs, CreateUserWizard.cs,
3081 CreateUserWizardStep.cs, TemplatedWizardStep.cs
3083 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3085 * AutoGeneratedField.cs: correcting default dataType.
3087 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3089 * DataControlField.cs: fixed Initialize, should always return false
3091 2006-07-03 Lluis Sanchez <lluis@novell.com>
3093 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
3095 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3097 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
3098 setting RequiresDataBinding in OnLoad event.
3099 * GridView.cs: DataBind rows before other control can access the data.
3100 * BoundField.cs: add unique ID to control for postback parameters.
3102 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3104 * WebControl.cs: fix typo in EnableTheming.
3106 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
3108 * MenuItemCollection.cs: save items if the collection is dirty.
3109 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
3110 Add item to collection before binding to let the state be correctly tracked.
3111 * Menu.cs: Add item to collection before binding to let the state be correctly
3114 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
3116 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
3117 test against with "^...$" if necessary. MS.NET does this too.
3119 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
3121 * WizardStepCollection.cs: Fixed Add methods to initialize
3122 WizardStep.Wizard property
3123 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
3124 Fixed GetStepType, if only one step present, it should be FinishStep
3125 Fixed styles of tables for more accurate rendering, fixed Wizard
3128 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
3130 * FormView.cs: instantiate correct template when the bounding data source is
3133 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
3135 * FormView.cs: disabling setting out of range FormView.PageIndex.
3137 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
3139 * FileUpload.cs: added
3141 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
3143 * FormView.cs: handle CssClass attribute
3145 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3147 * Button.cs: do something in PostBackUrl.
3148 * Repeater.cs: when creating the RepeaterItemCollection, initialize
3149 'items' if it hasn't been done yet. Fixes bug #78417.
3151 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
3153 * BaseDataList.cs: added ConnectToDataSource method that called from
3154 OnLoad, fixed GetData method
3155 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
3158 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
3160 * Menu.cs: add CssStyle value to the rendered class attribute
3162 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
3164 * Calendar.cs: Make sure WebControls.Enabled is respected.
3165 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
3166 to 12:00am as MS.NET does the same.
3169 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3171 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
3172 DataSourceViewChanged, looks for a datasource in its parent control
3173 fixed GetData method, should not get data if datasource is null
3175 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
3177 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
3179 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3181 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
3183 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3185 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
3187 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3189 * DataList.cs: Fixed LoadViewState method
3191 2006-05-04 Lluis Sanchez <lluis@novell.com>
3193 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
3195 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3197 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
3199 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3201 * FormView.cs: fix FormView.PageCount after data binding.
3203 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3205 * CheckBox.cs: certain attributes have to be rendered in the input tag,
3206 not the <span>. Fixes bug #71251.
3208 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3210 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
3213 ensure rebinding when FormView.PageIndex is called.
3214 and bind to the correct PageIndex.
3216 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3218 * MenuItem.cs: when binding to IHierarchyData, check whether
3219 it implements INavigateUIData and retrieve NavigateUrl.
3220 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
3222 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
3223 Provide basic CreateChildControls implementation by ensuring the control is bound.
3224 Ensure the child controls are created when the postback event is raised.
3225 Provide default implementation for SkipLinkText to let the default functionality to work.
3227 2006-04-11 Lluis Sanchez <lluis@novell.com>
3229 * TreeNodeBinding.cs: Added HasPropertyValue property
3230 to check if some properties have a value in the
3232 * TreeNode.cs: Lazily get the dataPath. Instead of getting
3233 bound properties when they are requested, get all of
3234 them when the node is bound and store their values in
3235 the state bag. In this way it won't be necessary to
3236 query every time the datasource to get the values.
3237 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
3238 * TreeView.cs: Call base in OnInit(). Bind nodes after
3239 adding them to the list, to properly keep track of
3240 changes. Don't databind in postbacks.
3242 2006-04-11 Chris Toshok <toshok@ximian.com>
3244 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
3246 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3248 * BaseDataList.cs: Fix searching control by DataSourceID.
3249 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
3252 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3254 * Login.cs: Added LayoutTemplate property support.
3255 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
3256 DataBind: correctly bind child controls.
3257 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
3259 2006-03-29 Robert Jordan <robertj@gmx.net>
3261 * DataGrid.cs: if custom paging is enabled the persisted item count
3262 must be the count of the rendered items, otherwise paging from the
3263 last to a previous page won't work correctly. Fixes bug #77556.
3265 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
3267 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
3268 when rendering disabled list control
3270 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3272 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
3274 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
3276 * FontInfo.cs: Implemented ShouldSerializeNames
3278 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3280 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
3282 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3284 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
3286 in PrepareControlHierarchy fixed style applying to AlternatingItem
3288 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
3290 * DataList.cs: fixed RepeatColumns property, added value validation
3291 in PrepareControlHierarchy method fixed style applying for
3292 AlternatingItem, EditItem and Separator item
3293 fixed RenderContents method, if no items exist, no nned to
3294 render emty table strructure.
3296 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3298 * CompareValidator.cs: when searching for the control to compare, use
3299 NamingContainer instead of Page. Fixes bug #77793.
3301 2006-03-15 Chris Toshok <toshok@ximian.com>
3303 * SiteMapPath.cs (InitializeItem): in the Current and Root node
3304 cases, apply the NodeTemplate if it exists and there isn't a
3305 CurrentNodeTemplate or RootNodeTemplate, respectively.
3307 2006-03-15 Chris Toshok <toshok@ximian.com>
3309 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
3311 * SiteMapDataSource.cs (StartingNodeOffset): new property.
3312 (GetStartNode): add code to handle StartNodeOffset < 0.
3314 * CompositeControl.cs
3315 (ICompositeControlDesignerAccessor.RecreateChildControls): just
3316 call the non-iface method.
3318 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
3319 traverse up the naming container tree looking for our datasource
3320 if we're bound using a DataSourceID. This fixes things in the
3321 sitemap1 test, which uses a mixture of templates and
3322 ContentPlaceholders with the sitemapdatasource and sitemappath at
3323 different levels in the naming container tree (let along the
3326 * SiteMapPath.cs (DataBind): implement this by chaining up to
3327 base.DataBind, then by looping over our children, emitting
3328 OnItemDataBound for each SiteMapNodeItem.
3329 (AddAttributesToRender): remove.
3330 (CreateChildControls): call DataBind as the final step here.. I
3331 have, of course, no idea if this is right.
3332 (CreateControlHierarchy): don't databind our children here, as
3333 they need to be in the Controls collection before we do.
3334 (RenderContents): render our accessibility/screenreader stuff
3335 here, if SkipLinkText != "".
3337 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
3339 * DataGridPagerStyle.cs: fixed PrevPageText property
3341 2006-03-13 Chris Toshok <toshok@ximian.com>
3343 * BaseCompareValidator.cs (Convert): make the
3344 ValidationDataType.String case a bit more compact.
3346 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3349 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
3350 Patch by Hubert Fongarnand.
3352 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3354 * FontInfo.cs: fixed CopyFrom, this method should not reset the
3355 received fontinfo if it is the same instance
3356 fixed ToString, corrected output where only font size specified
3358 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3360 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
3361 if it not set but the border has width
3362 fixes in CopyFrom, MergeWith correct unit compare when it has zero
3365 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3367 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
3368 properties of custom class
3369 fixed InitializeNumericPager, pager numbers should be a Label control
3370 fixed CreateControlHierarchy, corrected dataset index of items if
3373 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
3375 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
3377 fixed CreateControlStyle to set correct cellspacing of table style
3378 fixed InitializeItem to correct applying template to selected and
3381 2006-03-08 Chris Toshok <toshok@ximian.com>
3383 * SiteMapNodeType.cs: nuke.
3385 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
3386 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
3387 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
3388 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
3389 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
3390 ValidationCompareOperator.cs, ValidationDataType.cs,
3391 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
3392 [Serializable] in 2.0.
3394 * DayNameFormat.cs: add "Shortest".
3396 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3398 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
3401 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3403 * TextBox.cs: fixed missing value validations, fixed rendering
3404 of empty value attribute
3406 2006-03-07 Chris Toshok <toshok@ximian.com>
3408 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
3409 by chaining up to base.EnableTheming.
3411 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
3413 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
3415 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
3417 * RadioButton.cs: added ValueAttribute property to store the button
3419 * RadioButtonList.cs: fixed tab index when rendering.
3421 2006-03-02 Chris Toshok <toshok@ximian.com>
3423 * WebControl.cs (SkinID): implement setter/getter, and have them
3424 just chain up to base.SkinID.
3426 2006-02-27 Chris Toshok <toshok@ximian.com>
3428 * SqlDataSource.cs: track change to DataSourceControl's protected
3431 * AccessDataSource.cs: same.
3433 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3435 * ListControl.cs: fixed SelectedIndex property, fixed selection
3436 reset on incorrect value
3438 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3440 * TableStyle.cs: fixed AddAttributesToRender function, style
3441 BorderCollapse:Collapse was added if table's CellSpacing is zero
3443 2006-02-23 Chris Toshok <toshok@ximian.com>
3445 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
3446 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
3447 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
3448 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
3449 ImageButton.cs, ImageField.cs, Literal.cs,
3450 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
3452 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
3453 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
3454 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
3455 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
3456 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
3457 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
3458 errors. most were caused by a property/method being virtual when
3459 it shouldn't be, or vice versa.
3461 2006-02-22 Chris Toshok <toshok@ximian.com>
3463 * ObjectDataSource.cs: corcompare work.
3465 2006-02-22 Chris Toshok <toshok@ximian.com>
3467 * ParameterCollection.cs: add an EditorAttribute to the class.
3469 * Parameter.cs: cleanup, fix the Value property, and implement the
3472 * SqlDataSourceView.cs: clean things up a bit, and add handling
3475 2006-02-22 Chris Toshok <toshok@ximian.com>
3477 * SqlDataSourceFilteringEventArgs.cs: formatting.
3479 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
3480 both the property and ctor arg.
3482 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
3483 not CommandEventArgs. Also, cast the return value of
3484 oleCommand.ExecuteReader.
3486 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
3488 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
3489 (GetPhysicalDataFilePath): implement, again naively. this is
3490 where the NRE is generated when we access ConnectionString in a
3492 (ConnectionString): dynamically generate this based on our
3494 (DataFile): clear the ConnectionString in the setter so we'll
3496 (ProviderName): use base.ProviderName in the getter, not
3497 this.ProviderName, so we don't recurse infinitely.
3499 * SqlDataSourceView.cs: start reworking this class.
3501 * SqlDataSource.cs (GetDbProviderFactory): implement this,
3502 following the MS docs on the matter (if ProviderName is null/"",
3503 return SqlClientFactory.Instance.)
3504 (GetDbProviderFactoryInternal): add an internal method for use by
3506 (TrackViewState): don't invoke View.TrackViewState unless we have
3508 (Selecting): change event handler type to match MS.
3509 (Filtering): add missing event.
3510 (View): call CreateDataSourceView, don't just create an
3513 2006-02-21 Chris Toshok <toshok@ximian.com>
3515 * BoundField.cs: ues the ViewState.Get* pattern with default
3516 instead of the explicit ViewState lookup + null check, and fix the
3517 scope of InitializeDataCell.
3519 * ButtonField.cs: ues the ViewState.Get* pattern with default
3520 instead of the explicit ViewState lookup + null check.
3522 * CommandField.cs: same.
3524 * CheckBox.cs: same.
3526 * AutoGeneratedFieldProperties.cs: same.
3528 * BaseDataList.cs: same.
3530 * CircleHotSpot.cs: same.
3532 * BulletedList.cs: same.
3534 * DataBoundControl.cs: same.
3536 * CookieParameter.cs: same.
3538 * ControlParameter.cs: same.
3540 * CustomValidator.cs: same.
3542 * ButtonFieldBase.cs: same.
3544 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
3546 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
3548 * BaseValidator.cs: same, and clean up the getter/setter formatting.
3550 * CompareValidator.cs: same.
3552 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3554 * ListControl.cs: fixed DataSource property, to throw
3555 ArgumentException on incorrect value
3557 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3559 * Image.cs: fixed missing border="0" attribute, when image has style,
3560 but border width is not specified.
3562 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3564 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
3565 correct the "disabled" attribute in CheckBoxList
3566 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
3567 attribute in CheckBoxList
3569 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3571 * CheckBox.cs: fixed Render function, removed rendering of empty
3572 <span> element if ControlStyleCreated but it's empty.
3573 fixed "disabled" attribute, it should be placed into span element
3575 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3577 * BoundColumn.cs: fixed InitializeCell function, if DataField is
3578 null or empty string, the cell should not be bound.
3580 2006-02-08 Chris Toshok <toshok@ximian.com>
3582 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
3583 AppendDataBoundItems != false. Also, split all the databinding
3584 logic out to DoDataBinding, which we call from here only if
3586 (DoDataBinding): new function. actually perform the binding.
3587 (PerformDataBinding): implement.
3588 (PerformSelect): chain up to base class.
3590 2006-02-07 Chris Toshok <toshok@ximian.com>
3592 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
3594 * Content.cs: use ContentControlBuilderInternal, and add a bunch
3595 of unused (for now) EventHandler's here.
3597 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
3600 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3602 * ListControl.cs: bound checking for Items when loading the control
3603 state, as the number might have been changed on the fly. Patch by
3606 2006-01-22 Chris Toshok <toshok@ximian.com>
3608 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
3610 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
3611 the intended comparison right and quiet mcs.
3613 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
3615 * Button.cs: Add semicolon after client script if does not exist.
3617 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
3619 * Button.cs: preserve user logic when adding client validation.
3621 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
3623 * BaseValidator.cs: fixing visibility bahavior
3625 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3627 * RangeValidator.cs: allow empty data from the control. Patch from Marek
3628 Habersack that fixes bug #77239.
3630 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3632 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
3633 by Cyrille Colin. Closes bug #77184.
3635 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
3637 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
3638 compilation pass with csc 1.1.
3640 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3642 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
3644 2005-12-07 Chris Toshok <toshok@ximian.com>
3646 * BaseValidator.cs: in the uplevel rendering case, don't render
3647 the text if the validator's Display attribute is "None". Should
3650 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3652 * RadioButton.cs: if the 'value' attribute is set explicitly (as
3653 RadioButtonList does now), use that as the 'name' attribute.
3654 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
3659 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3661 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
3662 the 'name' attribute when not aligninng to the right.
3663 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
3664 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
3666 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3668 * DataGrid.cs: clear the control collection on every call to
3669 CreateControlHierarchy. Fixes bug #76732.
3671 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3673 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
3675 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3677 * CheckBox.cs: use the NameAttribute property for setting 'name'.
3678 * RadioButton.cs: get a UniqueID based identifier for 'name'.
3681 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3683 * LinkButton.cs: don't output any javascript when the linkbutton is
3684 disabled. Fixes bug #76713.
3686 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3688 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
3689 UseAccesibleHeader property is true. Patch by Robert Jordan.
3691 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3693 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
3694 control to validate. Fixes bug #76641.
3696 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3698 * BoundColumn.cs: when the column is readonly and we're in edit mode,
3699 keep it as a TextBox. Fixes bug #76714.
3701 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3703 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
3704 enabled. Fixes bug #76608.
3706 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3708 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
3709 the logic to Render and make it render the ID, which fixes bug #76596.
3711 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3713 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
3715 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3717 * Literal.cs: allow LiteralControl as child, but instead of adding it
3718 to the control collection, it just gets the Text out of it.
3720 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3722 * PagedDataSource.cs: fix range when we're at the last page.
3723 * DataGrid.cs: only need to keep the item count in the viewstate.
3726 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3728 * ListControl.cs: made GetSelectedIndices() internal.
3729 * ListBox.cs: html-encode the item text. Fixed single and multiple
3730 selection handling. All the tests pass now. Closes bug #76478.
3732 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3734 * ListControl.cs: throw when the selected value is not in the
3735 items collection. Fixes bug #76415.
3737 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3739 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
3740 throw a nullref, so we have to do it by ourselves here to make
3743 * BaseValidator.cs: render the text of the error message even if
3744 we set IsValid programatically. Don't use 'valid' directly, as
3749 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3751 * CustomValidator.cs: an empty ControlToValidate is valid.
3753 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
3755 * RequiredFieldValidator.cs: Added missing permissions.
3757 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3759 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
3760 Now the items get the attributes from the styles in datalist. Add the
3761 separators after each item, not before. GetItemStyle returns the actual
3762 item style, not the styles in the datalist. Fixes bug #76384 and all
3765 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3767 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
3770 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3772 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
3775 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
3777 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
3778 inheritance demands.
3779 * FontUnit.cs: Structs are sealed so there's no need for inheritance
3781 * Unit.cs: Structs are sealed so there's no need for inheritance
3784 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3786 * PagedDataSource.cs: fix the upper bound for collection and ilist
3789 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3791 * DataGrid.cs: change the ListItemType for the item selected, set
3792 SelectedIndex before calling OnSelectedIndexChanged and set the selected
3793 item type correctly when creating the columns. Fixes bug #76334.
3796 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
3797 selecting the row, the button keep the regular link color.
3799 * DataGridColumn.cs: made the class internal.
3801 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3803 * DataGrid.cs: fix breakaga of alternating item style in one of my
3806 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3808 * Calendar.cs: remove Console.
3809 * ListBox.cs: the name is the UniqueID, not the ClientID.
3810 * WebControl.cs: Attributes is case insensitive.
3812 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3814 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
3815 UniqueID without appending a ".x" or ".y". Fixes several issues in
3816 mojoPortal. Thanks to Joe Audetter for his patience.
3818 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3820 * ButtonColumn.cs: it was lacking databinding, so copied most of it
3823 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3825 * FontInfo.cs: removed useless ctor.
3826 * Style.cs: keep here some commented out debugging code.
3827 * DataGrid.cs: the Items property does not create a new arraylist if
3828 the items_list was already initialized. Add case for Separator.
3829 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
3830 in the header columns has a special ForeColor handling.
3832 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3834 * DataGrid.cs: PageCount must persist in ViewState too and returns the
3835 number of pages in the paged data source once we set that. Fix checks
3836 for visibility of the pager: no more 2 pagers when custom paging is
3839 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3841 * ImageButton.cs: fix a bug reported on the list. We were triggering the
3842 command event on every POST. And the 'name' attribute was not being
3843 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
3844 and we couldn't find the values.
3846 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3848 * DataGrid.cs: fix the links for the numeric pager.
3850 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3852 * DataGrid.cs: when paging is enable, the actual number of items is not
3853 the number of items rendered before the postback, but that number times
3854 the number of pages. Now we store the page count in the viewstate. Also,
3855 as the number might be big, don't allocate an array of objects to fake
3856 the collection for the PagedDataSource, but use the new NCollection
3857 class instead, which provides cheap (memory wise) enumerator for an
3858 arbitrary number of items. Thanks to "Adriano" for the test case.
3860 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3862 * Xml.cs: the show must go on. Removed a few NotImplemented.
3864 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3866 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
3867 existing code in 1.1 (or viceversa). RenderContents() does nothing.
3869 * DataGrid.cs: changed autoid api.
3871 * EditCommandColumn.cs: only 'Update' causes validation.
3873 * TableCell.cs: changed autoid api. RenderContents checks the number
3874 of controls to decide what to do, not the value of Text in the
3877 * TableRow.cs: changed autoid api.
3879 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
3880 event. When we get an EditItem, we need a TextBox to be created and
3881 this one will be the one that gets the event. Changed
3882 ItemDataBinding to deal with a TextBox too.
3884 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3886 * PagedDataSource.cs: fix IsLastPage. All tests pass.
3887 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
3888 need to keep the old one in a field. Now all tests pass here too.
3890 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3892 * PagedDataSource.cs: don't use the properties when they just return a
3893 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
3894 before ICollection (otherwise, an IList will always fall under the
3895 ICollection case). The enumerator for lists will be empty if 'start'
3896 is beyond the list size. All existing tests pass, but one in
3897 DataGridTest that fails because of some problem with the paging.
3899 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3901 * Style.cs: fix the 2.0 build.
3903 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3905 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
3906 instead write the style attributes directly to the HtmlTextWriter.
3908 * CheckBox.cs: adapted to new API.
3910 * DataGrid.cs: handle null data sources. Fixed the contions that make
3911 the table to be added to the Controls collection.
3913 * Calendar.cs: the table needed an ID and the attributes from the
3914 parent. Also don't create the ControlStyleCollection if it has not
3915 already been created.
3917 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3919 * DataGrid.cs: handle null data sources. Fixed the contions that make
3920 the table to be added to the Controls collection.
3922 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3924 * Calendar.cs: TrackViewState should be called upon creation, not on
3925 every get_XXX call. Cleanup.
3927 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3929 * DataGrid.cs: fix another test. The ID of the table generated by the
3930 datagrid is set to the one on the datagrid if no one set the ID for the
3933 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3935 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
3938 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3940 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
3941 converted to string as X{1,2}-.*. All FontUnitTests pass now.
3942 * Unit.cs: throw a format exception when there's not number or minus
3943 sign in the first non-whitespace character.
3945 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3947 * ListControl.cs: SelectedIndex/SelectedValue can be set before
3948 DataBinding () is called on the control, so we have to keep this values
3949 around and use them after the data is read. If both properties are
3950 used, they must refer to the same item.
3952 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3954 * DataList.cs: fill in the data keys from BaseDataList so that the
3955 events can see them. Only assign DataItem when using data binding and
3956 nullify it after all events are raised.
3958 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3960 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
3963 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
3965 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
3967 * DataGrid.cs: Fix TagKey (table) for 2.0.
3968 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
3969 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
3971 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
3973 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
3974 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
3976 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
3978 * TreeView.cs: Added declarative security (Link and Inheritance
3979 demands) for Minimal.
3980 * XmlDataSource.cs: Added declarative security (Link and Inheritance
3981 demands) for Minimal.
3983 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
3985 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
3986 Inheritance demands) for Minimal.
3987 * Label.cs: Added declarative security (Link and Inheritance demands)
3989 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
3990 * ListItemCollection.cs: Added declarative security (LinkDemands) for
3992 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
3993 2.0, Inheritance demands) for Minimal.
3994 * PagedDataSource.cs: Added declarative security (LinkDemands) for
3996 * Panel.cs: Added declarative security (Link and Inheritance demands)
3998 * Repeater.cs: Added declarative security (Link and Inheritance
3999 demands) for Minimal.
4000 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
4001 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
4003 * TargetConverter.cs: Added declarative security (Link and Inheritance
4004 demands) for Minimal.
4005 * Unit.cs: Added, but only for 1.x, declarative security (Link and
4006 Inheritance demands) for Minimal.
4007 * ValidatedControlConverter.cs: Added declarative security (Link and
4008 Inheritance demands) for Minimal.
4009 * WebColorConverter.cs: Added declarative security (Link and
4010 Inheritance demands) for Minimal.
4011 * Xml.cs: Added declarative security (Link and Inheritance demands)
4013 * ValidationSummary.cs: Added declarative security (Link and
4014 Inheritance demands) for Minimal.
4016 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4018 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
4020 2005-09-22 Ben Maurer <bmaurer@ximian.com>
4022 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
4023 it took O(height) time, not O(1).
4025 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4027 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
4029 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4031 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
4032 2.0, Inheritance demands) for Minimal.
4033 * BaseCompareValidator.cs: Added declarative security (Link and
4034 Inheritance demands) for Minimal.
4035 * BaseDataBoundControl.cs: Added declarative security (Link and
4036 Inheritance demands) for Minimal.
4037 * BaseValidator.cs: Added declarative security (Link and Inheritance
4038 demands) for Minimal.
4039 * BoundColumn.cs: Added declarative security (Link and Inheritance
4040 demands) for Minimal.
4041 * ButtonColumn.cs: Added declarative security (Link and Inheritance
4042 demands) for Minimal.
4043 * CalendarDay.cs: Added declarative security (Link and Inheritance
4044 demands) for Minimal.
4045 * CheckBoxList.cs: Added declarative security (Link and Inheritance
4046 demands) for Minimal.
4047 * CompareValidator.cs: Added declarative security (Link and
4048 Inheritance demands) for Minimal.
4049 * CustomValidator.cs: Added declarative security (Link and Inheritance
4050 demands) for Minimal.
4051 * DataBoundControl.cs: Added declarative security (Link and
4052 Inheritance demands) for Minimal.
4053 * DataGridItemCollection.cs: Added declarative security (Link and
4054 Inheritance demands) for Minimal.
4055 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
4057 * DataListItemCollection.cs: Added declarative security (LinkDemands)
4059 * DataListItem.cs: Added declarative security (Link and Inheritance
4060 demands) for Minimal.
4061 * FontNamesConverter.cs: Added declarative security (Link and
4062 Inheritance demands) for Minimal.
4063 * HyperLink.cs: Added declarative security (Link and Inheritance
4064 demands) for Minimal.
4065 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
4066 demands) for Minimal.
4067 * Image.cs: Added declarative security (Link and Inheritance demands)
4070 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4072 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
4074 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
4075 a data source, first try reflection, then componentmodel. If we get
4076 an enumerator, keep it around, as MS only calls GetEnumerator once.
4077 Throw an exception if no columns can be created from the given data
4078 source. Tested with DbDataRecord, DataTable, ArrayList and
4079 ICustomTypeDescriptor.
4081 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
4083 * AccessDataSource.cs: Added declarative security (Link and Inheritance
4084 demands) for Minimal. Added [ToolboxBitmap] on class.
4085 * AdRotator.cs: Added declarative security (Link and Inheritance
4086 demands) for Minimal. Removed extra Page and ViewState properties.
4087 * BulletedList.cs: Added declarative security (Link and Inheritance
4088 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4089 * Button.cs: Added declarative security (Link and Inheritance demands)
4090 for Minimal. Added [SupportsEventValidation] on class (2.0).
4091 * Calendar.cs: Added declarative security (Link and Inheritance
4092 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4093 * CheckBox.cs: Added declarative security (Link and Inheritance
4094 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4095 * CompositeControl.cs: Added declarative security (Link and Inheritance
4096 demands) for Minimal. Added new protected RecreateChildControls method.
4097 * DataControlCommands.cs: Added declarative security (LinkDemands) for
4098 Minimal. Added private ctor.
4099 * DataGrid.cs: Added declarative security (Link and Inheritance
4100 demands) for Minimal. Fixed properties for 2.0 (mostly removing
4101 [Bindable]). Added override for TagKey property.
4102 * DataGridColumn.cs: Added declarative security (Link and Inheritance
4103 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
4104 * DataGridItem.cs: Added declarative security (Link and Inheritance
4105 demands) for Minimal. Added IDataItemContainer interface for 2.0.
4106 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
4107 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
4108 * DataList.cs: Removed [Load|Save]ControlState methods.
4109 * DropDownList.cs: Added declarative security (Link and Inheritance
4110 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4111 * EditCommandColumn.cs: Added declarative security (Link and
4112 Inheritance demands) for Minimal. Added missing attributes,
4113 [DefaultValue] and [Localize] for 2.0.
4114 * FontInfo.cs: Added declarative security (Link and Inheritance
4115 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
4117 * Login.cs: Added declarative security (Link and Inheritance demands)
4118 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
4119 * ImageButton.cs: Added declarative security (Link and Inheritance
4120 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4121 * LinkButton.cs: Added declarative security (Link and Inheritance
4122 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4123 * ListBox.cs: Added declarative security (Link and Inheritance demands)
4124 for Minimal. Added [SupportsEventValidation] on class (2.0).
4125 * Literal.cs: Added declarative security (Link and Inheritance demands)
4126 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
4127 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
4128 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
4129 but will be shown as extra).
4130 * RadioButton.cs: Added declarative security (Link and Inheritance
4131 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4132 * RadioButtonList.cs: Added declarative security (Link and Inheritance
4133 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4134 * RangeValidator.cs: Added declarative security (Link and Inheritance
4135 demands) for Minimal. Added missing [Themeable] attributes.
4136 * RegularExpressionValidator.cs: Added declarative security (Link and
4137 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
4139 * RoleGroupCollection.cs: Added declarative security (Link and
4140 Inheritance demands) for Minimal. Fixed base class (changed in RC).
4141 Re-implemented CopyTo. Removed some methods.
4142 * Style.cs: Added declarative security (Link and Inheritance demands)
4143 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
4144 is now public in 2.0.
4145 * Table.cs: Added declarative security (Link and Inheritance demands)
4146 for Minimal. Added [SupportsEventValidation] on class (2.0).
4147 * TableCell.cs: Fixed PersistenceMode for 2.0.
4148 * TextBox.cs: Added declarative security (Link and Inheritance demands)
4149 for Minimal. Added [SupportsEventValidation] on class (2.0).
4150 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
4151 but will be shown as extra).
4152 * WebControl.cs: Added declarative security (Link and Inheritance
4153 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
4156 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4158 * TableStyle.cs: fixed typo that prevented restoring GridLines from
4161 * DataGrid.cs: the table does not get an auto ID. When restoring from
4162 viewstate, use all the saved columns, not just that data bound ones. Set
4163 the owner of the BoundColumns created. Save/restore columns.
4164 OnItemCreated happens after the item is initialized and the data item is
4165 set before the event and nullified after OnItemDataBound.
4166 Add the render_table to the Controls immediately, otherwise we might get
4167 errors from child controls such as "must be rendered inside a form".
4168 Keep the items created in the list waiting for them.
4169 The table uses the attributes from the DataGrid and ControlStyle.
4170 Raise OnItemCommand on all bubble events and don't propagate bubble
4171 event up in the hierarchy
4173 * TableCell.cs: it does not get an automatic ID.
4174 * BoundColumn.cs: FormatDataValue returns an empty string on null input
4175 (there was already a test for this).
4179 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4181 * DataGridColumnCollection.cs: track the view state in the newly added
4184 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4186 * DataGrid.cs: merge column styles too. Fixes bug #76106.
4187 * DataGridColumn.cs: new internal method to retrieve the styles without
4188 creating an instance for them.
4190 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
4192 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
4193 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
4194 StateBag.SetDirty (true).
4196 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
4198 * Menu.cs: Fixed parameter orders for CreateStyleRule.
4200 2005-09-13 Chris Toshok <toshok@ximian.com>
4202 * Style.cs: corcompare stuff.
4204 * RequiredFieldValidator.cs: more corcompare stuff.
4206 * CheckBoxList.cs: clean up some of the interface methods vs
4207 protected virtual 2.0 calls.
4209 * SubMenuStyle.cs: corcompare says this should implement
4210 ICustomTypeDescriptor... sooo, make it.
4212 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4214 * TableCell.cs: do the same as HyperLink and others in
4215 AddParsedSubobject so that adding a literal control does not remove the
4216 existing controls if any. Fixes bug #76078.
4218 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4220 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
4222 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4224 * ImageButton.cs: fix invalid cast exception.
4226 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4228 * ListItem.cs: throw in AddParsedSubObject if the object is not a
4230 * RadioButtonList.cs: implemented LoadPostData and
4231 RaisePostDataChangedEvent.
4233 2005-09-09 Chris Toshok <toshok@ximian.com>
4235 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
4236 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
4237 LoadPostData/RaisePostDataChangedEvent.
4239 2005-09-09 Chris Toshok <toshok@ximian.com>
4241 * FontInfo.cs (IsEmpty): new internal property, used by
4244 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
4247 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4249 * ListItemCollection.cs: remove obsoleted methods.
4250 * ListBox.cs: use IStateManager on the item collection.
4252 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
4254 * Use C# 1.0 style of delegate instantiating. Needed to compile
4255 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
4257 2005-09-07 Chris Toshok <toshok@ximian.com>
4259 * Calendar.cs (WriteDay): always add BackColor=Silver,
4260 ForeColor=White to selected day cells, before copying over the
4261 selectedDayStyle, if it exists.
4262 (WriteDays): fix nunit test - if the first day of the month falls
4263 on the first day of the week, go back one week (effectively adding
4264 a row of dates from the previous month.)
4265 (WriteTitle): don't copy the control style to the tableTitle,
4266 since it might have height specifications, which would make the
4267 title look rather off.
4269 2005-09-07 Chris Toshok <toshok@ximian.com>
4271 * ValidationSummary.cs (AddAttributesToRender): we only set
4272 display=none if there are no errors.
4274 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
4275 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
4277 2005-09-07 Chris Toshok <toshok@ximian.com>
4279 * ListControl.cs (SelectedIndex): add comment about how you'd
4280 think OnSelectedIndexChanged would be called.. and you'd be wrong.
4281 (Text): implement in terms of SelectedValue.
4282 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
4283 (LoadControlState): implement - this is where the selected index
4284 ArrayList gets stuffed in 2.0.
4285 (OnInit): call Page.RegisterRequiresControlState.
4286 (OnTextChanged): implement.
4287 (RenderContents): for now just chain up to base.RenderContents.
4288 (SaveControlState): save our control state properly.
4289 (GetSelectedIndices): split this out from SaveViewState to it can
4290 be used by both that and SaveControlState.
4291 (SaveViewState): mangle this function so it works in both 2.0 and
4293 (LoadViewState): same.
4295 2005-09-06 Chris Toshok <toshok@ximian.com>
4297 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
4298 we weren't assigned an ID.
4300 * ValidationSummary.cs (AddAttributesToRender): same.
4302 2005-09-06 Chris Toshok <toshok@ximian.com>
4304 * WebControl.cs: revert the last change.
4306 2005-09-06 Chris Toshok <toshok@ximian.com>
4308 * WebControl.cs (AddAttributesToRender): always render ClientID.
4310 * ValidationSummary.cs (Render): same.
4312 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
4315 2005-09-06 Chris Toshok <toshok@ximian.com>
4317 * ValidationSummary.cs (Render): only do the JS stuff when the
4318 validators on the page are uplevel.
4320 * BaseValidator.cs (Render): remove unnecessary comment.
4322 2005-09-05 Chris Toshok <toshok@ximian.com>
4324 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
4325 stored in the ViewState.
4327 2005-09-02 Chris Toshok <toshok@ximian.com>
4329 * Repeater.cs (GetData): change this slightly so the Repeater
4330 doesn't keep a ref to the return value of GetData.
4332 2005-09-01 Chris Toshok <toshok@ximian.com>
4334 * ListControl.cs (AppendDataBoundItems): implement (2.0)
4337 2005-09-01 Chris Toshok <toshok@ximian.com>
4339 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
4340 System.Web.UI.WebControls/ValidatedControlConverter.cs,
4341 System.Web.UI.WebControls/Xml.cs,
4342 System.Web.UI.WebControls/RegularExpressionValidator.cs,
4343 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
4344 System.Web.UI.WebControls/Menu.cs,
4345 System.Web.UI.WebControls/MailMessageEventArgs.cs,
4346 System.Web.UI.WebControls/MenuItemStyle.cs,
4347 System.Web.UI.WebControls/RangeValidator.cs,
4348 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
4349 System.Web.UI.WebControls/MenuItem.cs,
4350 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
4351 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
4352 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
4353 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
4354 System.Web.UI.WebControls/XmlBuilder.cs,
4355 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
4358 2005-09-01 Chris Toshok <toshok@ximian.com>
4360 * System.Web.UI.WebControls/Button.cs,
4361 System.Web.UI.WebControls/ButtonField.cs,
4362 System.Web.UI.WebControls/DataControlField.cs,
4363 System.Web.UI.WebControls/BaseCompareValidator.cs,
4364 System.Web.UI.WebControls/AutoGeneratedField.cs,
4365 System.Web.UI.WebControls/CustomValidator.cs,
4366 System.Web.UI.WebControls/Content.cs,
4367 System.Web.UI.WebControls/BoundField.cs,
4368 System.Web.UI.WebControls/AdRotator.cs,
4369 System.Web.UI.WebControls/ButtonColumn.cs,
4370 System.Web.UI.WebControls/CompareValidator.cs,
4371 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
4372 work. Stub things out, and add attributes.
4374 2005-09-01 Chris Toshok <toshok@ximian.com>
4376 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
4377 CommandField.cs, HyperLinkColumn.cs, Table.cs,
4378 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
4379 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
4380 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
4381 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
4382 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
4383 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
4384 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
4385 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
4386 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
4387 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
4388 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
4389 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
4390 TableItemStyle.cs: Add some WebCategory and WebSysDescription
4393 2005-09-01 Chris Toshok <toshok@ximian.com>
4395 * AccessDataSource.cs: corcompare work.
4397 * SqlDataSource.cs: same.
4399 2005-09-01 Miguel de Icaza <miguel@novell.com>
4401 * Various places: make sure that the DefaultValue matches the
4402 type. Thanks to Michael for pointing this out.
4404 In future audits, you might want to use the following awk command:
4406 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
4407 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
4408 print $0; looking = 0; } /public/ && looking { looking = 0; } '
4411 The above skips bools, strings and ints as those were fine as we
4412 set them. The bug was on the other ones.
4414 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4416 * Repeater.cs: fix the build.
4418 2005-08-31 Chris Toshok <toshok@ximian.com>
4420 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
4421 {Base}DataList, and also from debug spew garnered from some
4422 Repeater subclass tests on MS.
4423 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
4424 the IEnumerable by calling GetData().
4425 (DataBind): reset RequiresDataBinding to false (2.0).
4426 (DataMember): copy the set implementation from DataList, and add
4427 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
4428 (DataSource): more c&p.
4429 (DataSourceID); implement (2.0)
4430 (Initialized): implement (2.0)
4431 (IsBoundUsingDataSource): implement (2.0)
4432 (RequiresDataBinding): implement (2.0)
4433 (SelectArguments): implement (2.0)
4434 (CreateDataSourceSelectArguments): implement (2.0)
4435 (EnsureDataBound): implement (2.0)
4436 (GetData): implement.
4437 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
4439 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
4440 leave the MonoTODO. (2.0)
4441 (OnInit): call base.OnInit instead of throwing NIE, but leave the
4443 (OnLoad): implement.
4444 (OnPreRender): implement.
4445 (ConnectToDataSource): new method - look for the right control.
4447 2005-08-31 Chris Toshok <toshok@ximian.com>
4449 * XmlDataSourceView.cs: fix the scope of our select. Don't use
4450 call SelectNodes on the XmlDocument, not on
4451 XmlDocument.DocumentElement.
4453 2005-08-31 Chris Toshok <toshok@ximian.com>
4455 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
4456 (DoXPathSelect): put the xpath selection stuff here.
4457 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
4460 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
4461 select here, the view does it.
4463 2005-08-31 Jackson Harper <jackson@ximian.com>
4465 * DataList.cs: Remove some debugging code that was starting to bug
4468 2005-08-31 Chris Toshok <toshok@ximian.com>
4470 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
4471 create our Navigator by calling node.CreateNavigator().
4473 2005-08-31 Chris Toshok <toshok@ximian.com>
4475 * XmlDataSource.cs (GetXmlDataDocument): rename this to
4476 GetXmlDocument, and change the return value from XmlDataDocument
4478 (LoadXmlDataDocument): similar change.
4479 (Save): xmlDataDocument -> xmlDocument.
4480 (CanBeSaved): there's no ReadOnly attribute.
4481 (LoadViewState, SaveViewState, TrackViewState): nuke.
4482 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
4483 (CacheDuration): stub out with NIE.
4484 (CacheExpirationPolocy): same.
4485 (CacheKeyDependency): same.
4486 (EnableCaching): same.
4488 (Data, DataFile): xmlDataDocument -> xmlDocument.
4489 (Schema, SchemaFile): nuke.
4490 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
4492 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
4494 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
4495 Don't use the obsolete IsSet method.
4496 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
4497 * CheckBox.cs: Implement some 2.0 methods.
4498 * GridView.cs: Removed some "throw new NotImplementedException"
4500 2005-08-29 Chris Toshok <toshok@ximian.com>
4502 * TreeView.cs: Use the StateBag accessors Ben added, and implement
4503 SkipLinkText and Visible.
4505 2005-08-29 Chris Toshok <toshok@ximian.com>
4507 * TreeView.cs: fix typo in an attribute.
4509 2005-08-29 Jackson Harper <jackson@ximian.com>
4511 * PagedDataSource.cs: If it's not a list or collection we don't
4512 use a bounded enumerator.
4514 2005-08-29 Chris Toshok <toshok@ximian.com>
4516 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
4518 * CheckBox.cs: same.
4520 * BaseValidator.cs: same.
4522 * DropDownList.cs: same.
4524 * ValidationSummary.cs: same.
4526 2005-08-28 Chris Toshok <toshok@ximian.com>
4528 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
4530 2005-08-26 Chris Toshok <toshok@ximian.com>
4532 * TextBox.cs: implement ValidationGroup and CausesValidation
4535 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
4537 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
4540 2005-08-26 Chris Toshok <toshok@ximian.com>
4542 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
4544 * FontUnit.cs: add two 2.0 ctors, and the 2.0
4545 ToString(IFormatProvider) method.
4547 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
4549 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
4550 no items are present in the list.
4551 * RoleGroup.cs: Added missing attributes.
4552 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
4553 documented) methods.
4554 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
4555 must be done in the HtmlTextWriter (not in the TableStyle).
4557 2005-08-26 Chris Toshok <toshok@ximian.com>
4559 * Calendar.cs (UseAccessibleHeader): implement.
4560 (RaisePostBackEvent): some #ifdef ugliness to get this all working
4561 propertly between 1.x and 2.0
4562 (WriteDayHeader): if UseAccessibleHeader == true, render header
4563 cells as th's, not td's, and add abbr and scope attributes.
4565 2005-08-25 Chris Toshok <toshok@ximian.com>
4567 * Calendar.cs (Caption, CaptionAlign): implement these properties.
4568 (Render): if we have a non-empty caption, show it.
4569 (WriteCaption): new method, output the caption.
4571 2005-08-25 Chris Toshok <toshok@ximian.com>
4573 * Calendar.cs (Render): Copy the entire style from the Calendar to
4574 the Table, not just the font.
4575 (WriteDay): don't just write the link/text/etc. Create a
4576 LiteralControl as a child of the cell, before the call to
4577 OnDayRender, with its text set to the day number. After
4578 OnDayRender, set the literal's text to either the number again (if
4579 it's not selectable) or the full text of the js __doPostBack
4580 hyperlink (if it is.) Also, use cell.RenderControl here so we can
4581 render child controls with the id's listed properly (and arguably
4583 (ApplyTitleStyleCell): remove.
4584 (WriteTitle): apply the titleStyle to the enclosing table, not the
4585 table cell containing the month name. Also, copy from the
4586 Calendar's ControlStyle to populate tableTitle's style initially.
4587 We end up with more (superfluous) style attributes than MS, but
4588 it's better than having less.
4590 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
4592 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
4595 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
4597 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
4598 and RegisteredCssClass property
4600 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
4602 * LoginView.cs: Fixed attributes.
4603 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
4604 an exception to allow pages to work on 2.x.
4606 2005-08-25 Chris Toshok <toshok@ximian.com>
4608 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
4610 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
4613 * HiddenField.cs: stub out this class and label everything
4616 2005-08-25 Jackson Harper <jackson@ximian.com>
4618 * DataGrid.cs: Disable the pager row if there no paging enabled
4621 2005-08-25 Chris Toshok <toshok@ximian.com>
4623 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
4626 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
4627 add a using statement.
4629 2005-08-25 Chris Toshok <toshok@ximian.com>
4631 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
4634 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
4637 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
4639 * Login.cs: Added rendering and fixed parts of the authentication.
4640 Now using IStateManager to allow compilation in another assembly (e.g.
4641 to test the control under IIS). Needs more tests (error conditions)
4642 once we get a "real" Membership provider running.
4643 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
4646 2005-08-25 Chris Toshok <toshok@ximian.com>
4648 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
4650 2005-08-25 Chris Toshok <toshok@ximian.com>
4652 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
4653 calling base.Foo to get the standalone adrotator (1.0) tests to
4654 run without throwing exceptions.
4656 2005-08-25 Chris Toshok <toshok@ximian.com>
4658 * ValidationSummary.cs (ValidationGroup): implement.
4659 (Render): use Page.GetValidators in .net 2.0, so we can support
4660 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
4663 2005-08-25 Chris Toshok <toshok@ximian.com>
4665 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
4666 2.0 attribute modifiers, and revert back to "override".
4668 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
4669 2.0 attribute modifiers, and revert back to "override".
4670 (BorderStyle): same.
4671 (BorderWidth): same.
4673 * TextBox.cs (SaveViewState): implement naively, calling
4675 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
4676 modifiers, and revert back to "override".
4678 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
4680 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
4681 Load ViewState for derived classes; no public LoadViewState override
4682 exists in those classes
4683 * Style.cs: Added 2.0 IsStyleEmpty method
4685 2005-08-25 Jackson Harper <jackson@ximian.com>
4687 * DataGrid.cs: The number of pages set in the pager is specified
4690 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
4692 * LoginView.cs: New (2.0). Work in progress.
4694 2005-08-24 Chris Toshok <toshok@ximian.com>
4696 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
4697 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
4698 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
4699 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
4700 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
4701 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
4702 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
4703 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
4704 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
4705 Add MonoTODO's for all things that throw NotImplementException.
4707 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
4709 * RoleGroup.cs: New (2.0). Complete implementation.
4710 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
4712 2005-08-23 Chris Toshok <toshok@ximian.com>
4714 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
4715 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
4716 even though they were written for the 1.0 stuff.
4718 2005-08-23 Chris Toshok <toshok@ximian.com>
4720 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
4721 output. Our tests now pass on both mono and ms, with both 1.x and
4724 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
4726 * Login.cs: Throw exception if the specified provider doesn't exists.
4727 * LoginStatus.cs: Complete events.
4729 2005-08-22 Jackson Harper <jackson@ximian.com>
4731 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
4733 (InitializeNumericPager): Now that the pager actually renders
4734 properly I can see that I was computing it incorrectly.
4736 2005-08-22 Jackson Harper <jackson@ximian.com>
4738 * DataGrid.cs (RenderTable): Make sure the new table gets the
4740 (CreateColumnSet): Clear the data source columnbs before adding
4741 new ones regardless of whether or not a property descriptor was
4743 (InitializePager): pager_cell needs to be a member so it isn't
4744 created more then once per a render.
4745 (InitializeNumericPager): Compute start and end more
4747 - Link commands are 1 indexed.
4748 (CreateControlHierarchy): Clear the table before we begin
4750 - Revert patch that made adding the pagers conditional. This is
4751 incorrect, the pagers are always added. Only their visibility is
4752 affected by the pager style.
4753 - Save the entire count in the viewstate, not just the rendered
4754 count. So when paging is enabled the pager's count isn't broken by
4757 2005-08-22 Chris Toshok <toshok@ximian.com>
4759 * LinkButton.cs (ValidationGroup): implement.
4760 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
4761 pass ValidationGroup to Page.Validate.
4763 2005-08-22 Chris Toshok <toshok@ximian.com>
4765 * ImageButton.cs (ValidationGroup): implement.
4766 (IPostBackEventHandler.RaisePostBackEvent): if we cause
4767 validation, call Page.Validate properly (in both profiles).
4769 2005-08-22 Chris Toshok <toshok@ximian.com>
4771 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
4772 case, pass ValidationGroup to Page.Validate.
4773 (ValidationGroup): implement using ViewState.
4775 2005-08-22 Chris Toshok <toshok@ximian.com>
4777 * BaseValidator.cs (Text): 2.0 only. implement naively, just
4779 (OnInit): add 2.0 support for validation groups.
4782 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
4784 * LoginName.cs: New (2.0) web control.
4785 * LoginStatus.cs: New (2.0) web control.
4787 2005-08-19 Chris Toshok <toshok@ximian.com>
4789 * LinkButton.cs (ValidationGroup): implement getter/setter.
4790 (RaisePostBackEvent): implement naively, by c&p'ing the old
4791 implementation of IPostBackEventHandler.RaisePostBackEvent, but
4792 making use of the ValidationGroup in the call to Page.Validate.
4796 * Style.cs (LoadViewState): set our style flags for all the things
4797 we have flags for. Seems like the subclass flags should be
4798 handled in overridden LoadViewState methods, but none of the Style
4799 subclasses seem to override this method.
4801 2005-08-19 Chris Toshok <toshok@ximian.com>
4803 * TableStyle.cs (Merge, MergeWith): make these look a bit more
4804 like Copy/CopyFrom, with the styles checks instead of just
4807 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
4810 2005-08-19 Chris Toshok <toshok@ximian.com>
4812 * DataGrid.cs (InitializePager): don't unconditionally set
4813 pager_cell to the numeric pager (especially after setting it
4814 conditionally to the nextprev pager.)
4815 (InitializeNumericPager): the link buttons don't participate in
4817 (InitializeNextPrevPager): same.
4818 (CreateControlHierarchy): create the top/bottom pagers only if the
4819 PagerStyle says too.
4821 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
4823 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
4825 2005-08-18 Chris Toshok <toshok@ximian.com>
4827 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
4828 the start of this method so templates are created properly.
4830 2005-08-18 Dick Porter <dick@ximian.com>
4832 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
4833 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
4834 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
4835 BaseDataList.cs, DataList.cs, BulletedList.cs,
4836 DataBoundControl.cs, Login.cs, GridView.cs,
4837 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
4838 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
4839 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
4840 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
4841 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
4842 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
4843 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
4844 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
4847 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
4849 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
4851 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
4852 empty array of objects just to get the number of items.
4853 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
4854 but we're missing some bits from the class lib to complete all this...
4856 2005-08-17 Jackson Harper <jackson@ximian.com>
4858 * DataGrid.cs: Only create one pager and add it to both the top
4859 and bottom of the grid, this way all the id numbers stay the same
4860 and we save a bunch of cycles.
4862 2005-08-17 Jackson Harper <jackson@ximian.com>
4864 * DataGrid.cs: The top and bottom pagers are always created. Just
4865 the visibility is changed by the PagerStyle::Position.
4867 2005-08-17 Chris Toshok <toshok@ximian.com>
4869 * CompositeControl.cs (RecreateChildControls): implement naively -
4870 just call CreateChildControls. We might need to call
4871 Controls.Clear() as well, but for the time being, this is ok.
4873 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
4875 * BaseDataList.cs: Completed implementation for 2.0.
4877 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
4879 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
4880 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
4882 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
4884 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
4886 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
4887 Adjusted size and ordering of the ViewState (new element #0 is still
4888 unknown). Properly fixed the TagKey in 2.0.
4889 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
4890 all properties using enums.
4891 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
4892 * TableItemStyle.cs: Fixed attribute rendering to use style to render
4893 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
4895 2005-08-15 Jackson Harper <jackson@ximian.com>
4897 * EditCommandColumn.cs: Use a normal LinkButton.
4899 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
4901 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
4902 viewstate (even if assigned to the default value).
4903 * TableRow.cs: Implement TableSection property (2.0). It has no effect
4904 on the rendering of the table row.
4906 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
4908 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
4909 and removed [Bindable] attributes for 2.0.
4910 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
4911 attributes (for 2.0).
4912 * DataListCommandEventArgs.cs: Not sealed in 2.0.
4913 * DataListItemEventArgs.cs: Not sealed in 2.0.
4914 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
4915 attributes for URLs.
4916 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
4917 attributes for URLs.
4918 * Table.cs: Fixed [Editor] attribute for 2.0.
4919 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
4920 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
4921 AssociatedHeaderCellID and it's [DefaultValue] attribute.
4922 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
4923 and Scope attributes.
4924 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
4925 on TableSection attribute.
4926 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
4928 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
4930 * Image.cs: Fixed attributes for 2.0 profile.
4931 * Login.cs: Fixed some attributes and default values.
4932 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
4933 RaisePostBackEvent (TODO) in 2.0 profile.
4934 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
4935 and added AssociateHeaderCellID property (TODO).
4936 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
4937 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
4938 page (if the device requires to breaks the table into multiple pages).
4939 This seems to be a "flag" class, the real work will be in Table.
4940 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
4941 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
4942 page (if the device requires to breaks the table into multiple pages).
4943 This seems to be a "flag" class, the real work will be in Table.
4944 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
4945 * TableRow.cs: Remove [Bindable (true)] from properties and add
4946 [Bindable (false)] and [Designer] on class. Added new TableSection
4948 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
4949 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
4950 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
4951 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
4952 FillStyleAttributes method (2.0).
4954 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
4956 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
4957 attributes from existing controls.
4958 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
4959 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
4961 2005-08-12 Jackson Harper <jackson@ximian.com>
4963 * TableRow.cs: No AutoID for TableRows.
4965 2005-08-12 Jackson Harper <jackson@ximian.com>
4967 * DataGrid.cs (CreateRenderColumns): If we aren't using data
4968 binding grab the rendercols from the data source columns.
4969 (LoadViewState): Restore the bound columns when reloading the
4971 (InitializeNumericPager): Create elipsised pagers.
4972 (CreateItem): Don't set the item's ID.
4973 (CreateItem): Add the control to the table before it is databound
4974 so that it's value is saved in the viewstate.
4975 (CreateControlHierarchy): Create a fake data source when not using
4976 databinding. Don't add controls to the table as they are added in
4978 (PrepareControlHierarchy): Make footers and header non visible if
4979 they aren't enabled.
4981 2005-08-12 Chris Toshok <toshok@ximian.com>
4983 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
4984 docs says these methods/properties "ensure the child controls are
4985 created" -- so call EnsureChildControls() before invoking the base
4988 2005-08-12 Jackson Harper <jackson@ximian.com>
4990 * BoundColumn.cs: Set the controls text instead of adding a
4991 literal control. So it is saved in the controls viewstate.
4993 2005-08-11 Jackson Harper <jackson@ximian.com>
4995 * CheckBoxList.cs: Set the tabindex on the checkbox control and
4996 don't render it on the main table (Setting it to zero causes it to
4997 not be rendered). Also use the invariant culture on the id.
4999 2005-08-11 Dick Porter <dick@ximian.com>
5001 * CheckBox.cs: Let ViewState manage removals; apply styles and
5002 "style" attributes in a surrounding <span>. Fixes unit tests.
5004 2005-08-10 Chris Toshok <toshok@ximian.com>
5006 * Label.cs (LoadViewState): set the Text attribute from our
5007 ViewState (if it exists) to clear out any child controls. Fixes
5008 jsunit test label/label-child-control-postback.aspx.
5010 2005-08-10 Jackson Harper <jackson@ximian.com>
5012 * PagedDataSource.cs: Respect paging with all data source types.
5014 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
5016 * BaseDataList.cs: Changed Controls property from "virtual new"
5017 (2.0 doc) to "override" (monop) to fix the Visible bug (see
5018 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
5019 any controls (required due to change to Controls). Implemented
5020 DataBind(bool) for 2.0.
5021 * DataListItem.cs: Fix the multiple table when extractRows is used.
5022 Removed extra span tags by rendering contents (not control). Added
5023 support for IDataItemContainer (2.0).
5025 2005-08-08 Jackson Harper <jackson@ximian.com>
5027 * DataGrid.cs: Apply the styles to each item type.
5029 2005-08-08 Jackson Harper <jackson@ximian.com>
5031 * PagedDataSource.cs: If paging is not enabled keep enumerating to
5032 the end of the list.
5034 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
5036 * BaseDataList.cs: Remove old compatibility stuff.
5037 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
5038 * WebControl.cs: Always call CreateControlStyle to create the
5039 ControlStyle. Fix the exception for datalist-style-edit.aspx.
5041 2005-08-05 Jackson Harper <jackson@ximian.com>
5043 * DataGrid.cs: Don't make the current page index a link in the
5046 2005-08-05 Jackson Harper <jackson@ximian.com>
5048 * DataGrid.cs: Honour PagerPosition.
5050 2005-08-05 Jackson Harper <jackson@ximian.com>
5052 * PagedDataSource.cs: Round PageCount properly.
5054 2005-08-05 Dick Porter <dick@ximian.com>
5056 * CheckBox.cs: Shut corcompare up a bit more. Still need to
5057 figure out how to not use AddAttributesToRender to get it
5060 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
5062 * DataGridColumn.cs: Added the duplicate viewstate manipulation
5065 2005-08-05 Chris Toshok <toshok@ximian.com>
5067 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
5068 null when it comes to the format string.
5069 (FormatDataTextValue): same.
5071 2005-08-04 Chris Toshok <toshok@ximian.com>
5073 * BaseValidator.cs (Validate): only test a validator if it's both
5074 enabled and visible.
5076 2005-08-04 Chris Toshok <toshok@ximian.com>
5078 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
5081 2005-08-04 Jackson Harper <jackson@ximian.com>
5083 * DataGrid.cs: Add a new space control for each link. Also make
5084 the link's text 1 indexed. Don't add the space after the last
5087 2005-08-04 Ben Maurer <bmaurer@ximian.com>
5089 * LinkButton.cs: Fix up the test suite here.
5091 * Panel.cs: Fix up nowrap
5093 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5095 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
5096 * ListControl.cs: Clear item list before adding data (again)
5098 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
5100 * Calendar.cs: fixes issues with OnDayRender event and others
5102 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5104 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
5106 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
5107 if DataTextField is bound
5108 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
5109 two controls in edit mode, lets do the same
5111 2005-08-03 Jackson Harper <jackson@ximian.com>
5113 * BoundColumn.cs: Respek for the thisExpr when data binding.
5115 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5117 * EditCommandColumn.cs: No need to offer edit when in edit mode.
5120 2005-08-04 Dick Porter <dick@ximian.com>
5122 * DataGridColumn.cs: New implementation
5125 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
5127 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5129 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
5132 2005-08-03 Ben Maurer <bmaurer@ximian.com>
5134 * RepeatInfo.cs: Finally figured out how to use base control
5136 2005-08-03 Jackson Harper <jackson@ximian.com>
5138 * ButtonColumn.cs: Partial implementation.
5140 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5142 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
5145 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5147 * Calendar.cs: fixes Save/Load state
5149 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5151 * Calendar.cs: bug fixes
5153 2005-08-03 Jackson Harper <jackson@ximian.com>
5155 * DataGrid.cs: Merge the table style with the render table. Some
5156 initial work on the numeric pager. Remove some debugging code.
5158 2005-08-03 Jackson Harper <jackson@ximian.com>
5160 * BoundColumn.cs: Implement Initialize and InitializeCell. When
5161 Data is formated it uses the DataFormatString that was set at the
5162 time Initialize was called (or null if initialize was never
5165 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5167 * RadioButtonList.cs: bug fixes
5169 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5171 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
5172 AddAttributesToRender
5173 * RadioButtonList.cs: Implementation
5175 2005-08-01 Jackson Harper <jackson@ximian.com>
5177 * TableStyle.cs: Copy style bit when copying from another style.
5179 2005-08-01 Jackson Harper <jackson@ximian.com>
5181 * PagedDataSource.cs: Implement missing properties, use yield for
5182 the Enumerator methods. Only allow the enums to return one page at
5185 2005-08-01 Chris Toshok <toshok@ximian.com>
5187 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
5189 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5191 * WebControl.cs: Track enabled state across sessions
5193 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5195 * ListControl.cs(OnDatabinding): Value is equivalent to text if
5198 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
5200 * ImageButton.cs: fixes, complete missing parts
5202 2005-07-31 Ben Maurer <bmaurer@ximian.com>
5204 * TextBox.cs: Html encode for multiline text boxes
5206 * HyperLink.cs: Resolve images
5208 2005-07-30 Chris Toshok <toshok@ximian.com>
5210 * BaseValidator.cs: initial version of 2.0 properties
5211 ValidationGroup and SetFocusOnError.
5213 2005-07-30 Chris Toshok <toshok@ximian.com>
5215 * HyperLinkColumn.cs (InitializeCell): clean this up.
5217 2005-07-30 Chris Toshok <toshok@ximian.com>
5219 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
5220 DataBinder.FormatResult.
5221 (FormatDataTextValue): same.
5222 (Initialize): call base.Initialize.
5223 (ItemDataBinding): new function, get the text/navigateurl and set
5224 them on our HyperLink control.
5225 (InitializeCell): create a hyperlink control in the
5226 Item/EditItem/AlternatingItem case.
5228 2005-07-30 Ben Maurer <bmaurer@ximian.com>
5230 * RepeatInfo.cs: Handle 0 items situations correctly
5232 * HyperLink.cs: Resolve urls correctly
5234 * CheckBox.cs: use the correct ID for the label element.
5236 * Label.cs: Correct AddParsedSubObject impl. See FAQ
5238 2005-07-29 Chris Toshok <toshok@ximian.com>
5240 * BaseCompareValidator.cs (GetDateElementOrder): implement.
5242 2005-07-29 Chris Toshok <toshok@ximian.com>
5244 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
5245 #if'ed out version follows microsoft's docs on msdn, but doesn't
5246 match ms's behavior. The other matches their behavior but not
5247 their docs. we use the latter. go figure.
5248 (get_CutoffYear): implement using
5249 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
5251 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5254 - Name property now throws exception when set to null
5255 - Names now handles situation where our bit tells us we have
5256 a font, but it's not in the StateBag (null removal)
5257 * RangeValidator.cs: Removed unused vars
5259 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5261 * Label.cs: ClientID should be used rather than UniqueID to get
5264 2005-07-29 Chris Toshok <toshok@ximian.com>
5266 * BaseValidator.cs (Validatate): not sure if this is entirely
5267 correct (some fairly deep testing required), but setting Enabled =
5268 false has the effect of setting IsValid = true.
5270 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5272 * RadioButton.cs: The "remove from groupstate" isn't needed any
5273 more, now that statebag is correct.
5275 2005-07-29 Dick Porter <dick@ximian.com>
5277 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
5278 ViewState when it is null.
5280 * CheckBox.cs: Hide nonstandard API
5282 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
5284 * Calendar.cs: fixes exceptions, bug fixes, new features
5285 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
5286 * CalendarDay.cs: fixes default value
5288 2005-07-28 Ben Maurer <bmaurer@ximian.com>
5290 * CompositeControl.cs: Stub
5292 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5294 * EditCommandColumn.cs: Implemented
5296 2005-07-27 Chris Toshok <toshok@ximian.com>
5298 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
5300 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5302 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
5305 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5307 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
5308 for it's constructor, so remove it
5309 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
5311 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5313 * DataGridPagerStyle.cs: Implemented
5314 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
5315 * Style.cs: Added Styles enum values for DataGridPagerStyle
5317 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
5319 * Calendar.cs: get the styles right, honors more properties, fixes, fix
5322 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5324 * DataGridItem.cs: Implemented
5326 2005-07-26 Chris Toshok <toshok@ximian.com>
5328 * LinkButton.cs (AddParsedSubObject): reversed the order of
5329 Controls.Add() and Text = null
5330 (set_Text): call Controls.Clear()
5331 (RenderContents): use HasControls() for the if test instead of
5334 * HyperLink.cs (AddParsedSubObject): reversed the order of
5335 Controls.Add () and Text = null;
5337 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5339 * DataGridItemCollection.cs: Implemented
5341 2005-07-26 Chris Toshok <toshok@ximian.com>
5343 * LinkButton.cs (AddParsedSubObject): copy implementation from
5345 (RenderContents): only call writer.Write(Text) if Text != "".
5346 Otherwise default to base.RenderContents.
5348 2005-07-26 Chris Toshok <toshok@ximian.com>
5350 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5351 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
5352 (Page != null) around my last commit.
5354 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5356 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
5357 Fixed use of literal strings, instead using Consts
5358 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
5359 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
5360 Panel.cs, Literal.cs: Added attributes
5361 * BaseValidator.cs: Added missing override
5363 2005-07-26 Chris Toshok <toshok@ximian.com>
5365 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5366 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
5367 Page.VerifyRenderingInServerFormHere.
5369 2005-07-26 Chris Toshok <toshok@ximian.com>
5371 * BaseValidator.cs: remove some MonoTODO's about the client side
5374 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
5376 * Calendar.cs: selection of dates, state load, save, track, support
5377 for new properties, many fixes.
5379 2005-07-26 Miguel de Icaza <miguel@novell.com>
5381 * Style.cs: Temporary methods to help buliding .NET 2.x
5383 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5385 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
5387 * Xml.cs: Fixed base class, attributes
5388 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
5389 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
5390 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
5391 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
5392 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
5394 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5396 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
5399 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5401 * RepeatInfo.cs: If the repeater has one column, the separators
5402 are rendered on a different line
5404 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5406 * DataGridSortCommandEventArgs: Sealed class
5407 * ButtonColumn.cs, Calendar.cs: Added Attributes
5409 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5411 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
5412 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
5414 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5416 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
5417 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
5419 2005-07-25 Chris Toshok <toshok@ximian.com>
5421 * ValidationSummary.cs (AddAttributesToRender): add client side
5423 (OnPreRender): set the "been here" flag.
5424 (Render): add client side support.
5426 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5428 * RepeatInfo.cs: Split the horiz and vertical cases, because this
5429 class has rules that are beyond strange. Continue working to make
5432 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5434 * RepeatInfo.cs: Misc fixes for my test suite.
5436 2005-07-25 Jackson Harper <jackson@ximian.com>
5438 * DataGrid.cs: Set the command name and args on the link buttons.
5440 2005-07-25 Jackson Harper <jackson@ximian.com>
5442 * DataGrid.cs: Lots o implementation.
5444 2005-07-25 Jackson Harper <jackson@ximian.com>
5446 * BoundColumn.cs: Partial implementation to get the DataGrid tests
5449 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
5451 * Button.cs: fixes events, adds attributes
5453 2005-07-23 Chris Toshok <toshok@ximian.com>
5455 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
5456 prop.GetValue results.
5457 (Render): fix the static non-uplevel case, so that we display text
5458 when there's an error.
5460 2005-07-22 Chris Toshok <toshok@ximian.com>
5462 * RegularExpressionValidator.cs (AddAttributesToRender): only
5463 output ValidationExpression if it's != null.
5465 2005-07-22 Chris Toshok <toshok@ximian.com>
5467 * BaseValidator.cs (AddAttributesToRender): fix up the Display
5468 rendering such it matches MS's output.
5469 (Render): stop using the huge complicated if's for each output
5470 stage and move to boolean flags, and fix the static-nonuplevel
5471 case, where a validator outputs as nothing but
5473 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
5474 * Calendar.cs: Initial implementation
5475 * CalendarSelectionMode.cs: fix enum order
5477 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
5479 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
5480 (or more?) specific cases - including correct support for separators.
5481 Added some (commented) debugging code.
5482 * HyperLink.cs: Only render href and target attributes if they're not
5483 empty. Add "border=0" when rendering <img> tag. Fix Target default
5486 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
5488 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
5490 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
5492 * Style.cs (CopyFrom): Reset our styles and don't set bits from
5493 target explicitly, properties will set them
5495 2005-07-22 Dick Porter <dick@ximian.com>
5498 * ButtonColumn.cs: Initial stubs
5500 2005-07-22 Dick Porter <dick@ximian.com>
5503 * CheckBox.cs: Add assembly attributes
5505 2005-07-22 Ben Maurer <bmaurer@ximian.com>
5507 * HyperLink.cs: Handle non-literal children.
5509 2005-07-21 Ben Maurer <bmaurer@ximian.com>
5511 * Label.cs: SP1 stuff
5513 2005-07-21 Chris Toshok <toshok@ximian.com>
5515 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
5516 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
5517 stuff WebUIValidation.js uses, so we don't support it for uplevel
5520 2005-07-21 Chris Toshok <toshok@ximian.com>
5522 * BaseValidator.cs (DetermineRenderUplevel): include checks for
5523 the EcmaScriptVersion and W3CDomVersion.
5525 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5527 * BaseDataList.cs: Support IEnumerable.
5528 * DataList.cs: Fix alternate items.
5529 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
5530 controls and the Text property.
5532 2005-07-21 Ben Maurer <bmaurer@ximian.com>
5534 * TextBoxMode.cs: Wrong ordering of enum...
5536 2005-07-21 Chris Toshok <toshok@ximian.com>
5538 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
5541 2005-07-21 Chris Toshok <toshok@ximian.com>
5543 * BaseValidator.cs (get_PropertiesValid): use our containing
5544 NamingContainer, not ourselves, to look up controls.
5545 (CheckControlValidationProperty): same.
5546 (GetControlRenderID): same.
5547 (GetControlValidationValue): same.
5548 (AddAttributesToRender): add the display style attribute if
5549 Display != Static, and add the value of IsValid if it's false.
5550 (DetermineRenderUplevel): use a try block around (Page.Request)
5551 since that can raise an exception.
5552 (OnPreRender): set pre_render_called, so we can consult it in
5554 (Render): complicate this method more to handle more of the
5555 Display/pre_render_called permutations.
5557 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
5559 * CustomValidator.cs: Initial implementation, still work in progress
5561 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5563 * DataList.cs: Fix rendering for special items (-1).
5565 2005-07-21 Ben Maurer <bmaurer@ximian.com>
5567 * RepeatInfo.cs: Fix most of the tests.
5569 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5571 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
5572 Add a border=0 attribute if no style is defined.
5573 * TableCell.cs: Use HtmlTextWriterTag (not a string).
5574 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
5575 * TableRow.cs: Use HtmlTextWriterTag (not a string).
5577 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5579 * BaseDataList.cs: Fix attributes.
5580 * HorizontalAlign.cs: Fix attributes.
5581 * Image.cs: Fix attributes and enums checks.
5582 * Table.cs: Fix attributes an enums checks.
5583 * TableCell.cs: Fix attributes.
5584 * TableCellCollection.cs: Fix attributes.
5585 * TableItemStyle.cs: Fix attributes and enums checks.
5586 * TableRowCollection.cs: Fix attributes.
5587 * TableRow.cs: Fix attributes.
5588 * TableStyle.cs: Fix attributes and enums checks.
5589 * VerticalAlign.cs: Fix attributes.
5591 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5593 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
5594 * DataList.cs: Added rendering support when ExtractTemplatesRows
5595 property is true (but RepeatInfo needs to be fixed to see it works).
5596 * DataListItem.cs: Added rendering support when extractRows parameter
5597 is true (but RepeatInfo still needs to be fixed ;-)
5599 2005-07-21 Duncan Mak <duncan@novell.com>
5601 * HyperLinkColumn.cs: Initial implementation.
5602 Todo: Figure out Initialize and InitializeCell.
5604 2005-07-20 Chris Toshok <toshok@ximian.com>
5606 * BaseValidator.cs: don't use Page.FindControl, use this Control's
5607 FindControl, so it'll use the same naming container.
5609 2005-07-21 Duncan Mak <duncan@novell.com>
5611 * DataGridCommandEventArgs.cs:
5612 * DataGridPageChangedEventArgs.cs:
5613 * RepeaterCommandEventArgs.cs: Fixed visibility.
5615 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
5616 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
5618 2005-07-20 Chris Toshok <toshok@ximian.com>
5620 * Button.cs: hook up the client side validation stuff.
5622 * ImageButton.cs: same.
5624 * LinkButton.cs: same, although it's a little more complicated
5627 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
5630 - Implemented RaisePostDataChangedEvent()
5631 - Spewing postback command if AutoPostBack is true
5633 2005-07-20 Chris Toshok <toshok@ximian.com>
5635 * BaseValidator.cs: another Page != null check when uplevel
5638 2005-07-20 Chris Toshok <toshok@ximian.com>
5640 * BaseValidator.cs: check Page != null when determining if we're
5641 rendering uplevel or not.
5643 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
5645 * ListItemCollection.cs: Removed obsolete method that's no longer
5648 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
5650 * DropDownList.cs: Oops. Forgot to implement LoadPostData
5651 * ListItemCollection.cs: Added convenience method to have faster
5654 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
5657 - Automatically select the first item if none are selected
5658 - Throw exception if more than one item is selected
5660 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
5662 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
5663 handled by RepeatInfo).
5665 2005-07-20 Jackson Harper <jackson@ximian.com>
5667 * DataGrid.cs: Store the data source created columns in a
5668 DataGridColumnCollection. This way they can be put in the
5669 view state more easily, and accessed without casting.
5671 2005-07-20 Chris Toshok <toshok@ximian.com>
5673 * BaseValidator.cs (AddAttributesToRender): render the client side
5674 attributes if we're in uplevel mode.
5675 (DetermineRenderUplevel): flesh out a bit - for now basically
5676 return true unless the control has it disabled.
5677 (OnInit): only add the validator to Page's list if there is, in
5679 (OnUnload): same for removal.
5680 (OnPreRender): hook up client scripting stuff here. Only the call
5681 to RegisterValidatorCommonScript is a for sure thing here, the
5682 registering of the submit statement and startup script should
5683 probably go elsewhere, but I don't know where.
5684 (RegisterValidatorCommonScript): register the <script
5685 src=".../WebUIValidation.js"> tag, if it's not already there.
5686 (RegisterValidatorDeclaration): add our span object to the
5687 Page_Validators JS array.
5688 (Render): always render the tags (although this is probably not
5689 right), and call RegisterValidatorDeclaration here.
5691 * BaseCompareValidator.cs (AddAttributesToRender): render the
5692 client side attributes if we're in uplevel mode.
5693 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
5694 call base.DetermineRenderUplevel for now.
5696 * RegularExpressionValidator.cs (AddAttributesToRender): render
5697 the client side attributes if we're in uplevel mode.
5699 * RequiredFieldValidator.cs (AddAttributesToRender): same.
5701 * CompareValidator.cs (AddAttributesToRender): same.
5703 2005-07-20 Jackson Harper <jackson@ximian.com>
5705 * DataGrid.cs: Save the data source created column set in the
5708 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
5710 * DataList.cs: Fix events and properties exceptions. Give the right
5711 informations to RenderItem.
5713 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
5715 * ValidationSummary.cs: Implemented rendering
5717 2005-07-20 Jackson Harper <jackson@ximian.com>
5719 * DataGrid.cs: column names are cached and only regenerated if useDataSource
5720 is set to true. Otherwise they are just fetched from the last set that
5721 was generated from the source.
5723 2005-07-20 Jackson Harper <jackson@ximian.com>
5725 * DataGrid.cs: Assign some properties of newly created BoundColumns.
5727 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
5729 * DataList.cs: Fix viewstate ordering.
5731 2005-07-20 Ben Maurer <bmaurer@ximian.com>
5733 * SelectedDatesCollection.cs: Apprarently, I don't write code well
5736 * Repeater.cs: Uh, actually add stuff to the items collection
5739 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
5741 * BaseDataList.cs: EnsureChildControls on Controls property.
5742 * DataList.cs: Fix rendering and Controls/Items differences.
5743 * DataListItem.cs: Added rendering of controls.
5745 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
5747 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
5749 2005-07-20 Jackson Harper <jackson@ximian.com>
5751 * DataGrid.cs: Add some of the collections. Implement
5754 2005-07-20 Jackson Harper <jackson@ximian.com>
5756 * PagedDataSource.cs: Implement GetItemProperties, this is
5757 needed for the datagrid.
5759 2005-07-20 Ben Maurer <bmaurer@ximian.com>
5761 * DataGridColumnCollection.cs: New impl
5763 * TemplateColumn.cs: New impl
5765 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
5767 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
5768 * DataList.cs: Work in progress... Added attributes, proper
5769 IRepeatInfoUser support and cool things stolen from other classes.
5770 * DataListCommandEventArgs.cs: Class is sealed.
5771 * DataListItem.cs: RenderItem is public.
5773 2005-07-19 Jackson Harper <jackson@ximian.com>
5775 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
5776 a viewstate object if all the viewstate stuff is null.
5778 2005-07-19 Jackson Harper <jackson@ximian.com>
5780 * DataGrid.cs: Implement style properties and viewstate
5781 saving/loading/tracking.
5783 2005-07-19 Chris Toshok <toshok@ximian.com>
5785 * BaseValidator.cs: more fixes from pdb.
5787 2005-07-19 Chris Toshok <toshok@ximian.com>
5789 * BaseValidator.cs: some test-driven fixes.
5791 2005-07-19 Chris Toshok <toshok@ximian.com>
5793 * BaseValidator.cs: Initial implementation.
5795 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
5797 * Repeater.cs: Fix small typo.
5799 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
5801 * ValidationSummaryTest.cs: Started implementation
5802 * RangeValidator.cs: Implemented
5803 * ValidatedControlConverter.cs: Implemented
5804 * DropDownList.cs: Implemented
5806 2005-07-19 Jackson Harper <jackson@ximian.com>
5808 * DataGrid.cs: Implement bubble event.
5810 2005-07-19 Jackson Harper <jackson@ximian.com>
5812 * DataGrid.cs: New implementation. Just properties and events for
5815 2005-07-18 Chris Toshok <toshok@ximian.com>
5817 * BaseCompareValidator.cs: Initial implementation, with some NYI.
5819 2005-07-19 Ben Maurer <bmaurer@ximian.com>
5821 * FontUnit.cs: Corcompare fixes
5823 * UnitConverter.cs: Fix api diffs
5825 2005-07-18 Ben Maurer <bmaurer@ximian.com>
5827 * ListControl.cs: Fix api differences
5829 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
5831 * Table.cs: Fix indentation for caption. Simplify check when adding
5833 * TableRow.cs: Simplify check when adding controls.
5835 2005-07-18 Chris Toshok <toshok@ximian.com>
5837 * CompareValidator.cs: wtf, just use the base class's methods.
5839 2005-07-18 Chris Toshok <toshok@ximian.com>
5841 * CompareValidator.cs: do comparisons based on
5842 BaseCompareValidator.Type.
5844 2005-07-18 Chris Toshok <toshok@ximian.com>
5846 * CompareValidator.cs: initial implementation.
5848 2005-07-18 Chris Toshok <toshok@ximian.com>
5850 * RegularExpressionValidator.cs: initial implementation.
5852 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
5854 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
5856 2005-07-18 Jackson Harper <jackson@ximian.com>
5858 * CheckBoxList.cs: Implement LoadPostBackData. Also register
5859 checkboxes for postback if they are checked so we can find
5860 out when they are unchecked. Copy the AutoPostBack variable
5861 to the to be rendered checkbox when rendering.
5863 2005-07-18 Ben Maurer <bmaurer@ximian.com>
5865 * TextBox.cs: Finish this up.
5867 * AdRotator.cs: Fix issues in the test suite. Minor style
5870 * Repeater.cs: Fix a bug where the datasource is null and we do
5873 * WebColorConverter.cs: Optimize by not doing a concat on a
5876 2005-07-17 Ben Maurer <bmaurer@ximian.com>
5878 * ListItemCollection.cs: Multiple uses of equals rather than
5879 string.compare as below. Remove unreachable code warning.
5881 * WebColorConverter.cs (ConvertTo): Use the == operator on string
5882 rather than an invariant non-case ignoring compare. They are
5883 exactly the same thing. Use proper coding style in this method.
5885 * WebControl.cs: Return null when saving the view state if there
5886 is no state in any of the things we save. This creates a fairly
5887 large savings, because we can avoid saving anything about many
5888 levels of deaply nested controls.
5890 2005-07-15 Jackson Harper <jackson@ximian.com>
5892 * CheckBoxList.cs: Use the index as the ID, the rest of the
5893 id is built by being in the NamingContainer.
5895 2005-07-15 Jackson Harper <jackson@ximian.com>
5897 * ListControl.cs: Use enum instead of string. Saves a lookup.
5899 2005-07-15 Jackson Harper <jackson@ximian.com>
5901 * CheckBoxList.cs: FindControl always returns 'this' according
5904 2005-07-15 Jackson Harper <jackson@ximian.com>
5906 * CheckBoxList.cs: New impl.
5908 2005-07-15 Jackson Harper <jackson@ximian.com>
5910 * WebControl.cs: Use the ClientID when rendering a controls ID
5911 attribute so that naming containers are honoured.
5913 2005-07-15 Jackson Harper <jackson@ximian.com>
5915 * ListControl.cs: use the state manager interface for tracking
5918 2005-07-15 Ben Maurer <bmaurer@ximian.com>
5920 * Repeater.cs (DoItem): Add the DataItem before we call user
5921 methods, as it seems to be there with msft.
5923 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
5925 * BaseDataList.cs: New. (mostly complete) implementation.
5926 * DataKeyCollection.cs: New. Implementation (complete).
5927 * DataList.cs: New. (mostly incomplete) implementation.
5928 * DataListItem.cs: New. (mostly complete) implementation.
5929 * DataListItemCollection.cs: New. Implementation (complete).
5931 2005-07-15 Ben Maurer <bmaurer@ximian.com>
5933 * Repeater.cs (DoItem): We need to .Add the control *before* we
5934 data bind it so that the state gets tracked correctly. Fixes the
5937 2005-07-15 Jackson Harper <jackson@ximian.com>
5939 * ListControl.cs: Simplify comparison.
5941 2005-07-15 Jackson Harper <jackson@ximian.com>
5944 * Repeater.cs: Use new utility class for resolving data sources.
5946 2005-07-15 Jackson Harper <jackson@ximian.com>
5948 * ListControl.cs: Add attributes so the sub items get parsed
5949 properly. Remove old unneeded code for resolving lists.
5951 2005-07-15 Jackson Harper <jackson@ximian.com>
5953 * ListControl.cs: Use the DataSourceHelper so DataMembers are
5956 2005-07-14 Ben Maurer <bmaurer@ximian.com>
5959 - Some optimizations
5960 * Don't use enum formatting stuff, it is 1) expensive 2) does
5961 allocations. Use a new method in HtmlControl to do the right
5963 * Don't use Enum.IsDefined but an explicit check.
5964 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
5965 - Use the correct coding style.
5967 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
5969 * WebColorConverter.cs:
5970 - Alpha of 255 is only set if the hex number is exactly 6 digits
5971 - Ben didn't like the catch { throw; } (even though MS documents to
5973 - Use Invariant Culture for parsing (thanks, Ben)
5975 2005-07-14 Jackson Harper <jackson@ximian.com>
5977 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
5978 code-reuse-arific. Also use the IStateManager interface for loading
5979 data instead of the old internal method.
5981 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
5983 * WebColorConverter.cs: Implemented
5985 2005-07-14 Ben Maurer <bmaurer@ximian.com>
5987 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
5989 2005-07-14 Ben Maurer <bmaurer@ximian.com>
5991 * Repeater.cs: Get it working
5993 2005-07-14 Jackson Harper <jackson@ximian.com>
5995 * ListControl.cs: Initial implementation of Databinding. Make sure
5996 that the ListItemCollection is created when we load its ViewState.
5998 2005-07-14 Jackson Harper <jackson@ximian.com>
6000 * ListControl.cs: Fix typo.
6002 2005-07-14 Jackson Harper <jackson@ximian.com>
6004 * ListControl.cs: New Implementation. Lacks databinding support.
6006 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6008 * Repeater.cs: The beginnings of this control
6010 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6012 * TargetConverter.cs: Implemented
6014 2005-07-14 Duncan Mak <duncan@novell.com>
6016 * PagedDataSource.cs: Initial implementation.
6018 Methods that need to be figured out:
6019 CopyTo, GetItemProperties, PageCount, IsLastPage.
6021 To complete: CollectionEnumerator, ListEnumerator.
6023 2005-07-13 Duncan Mak <duncan@novell.com>
6025 * RepeatDirection.cs:
6027 * ValidationCompareOperator.cs:
6028 * ValidationDataType.cs:
6029 * ValidationSummaryDisplayMode.cs:
6030 * ValidatorDisplay.cs: Added remaining enumerations.
6032 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6034 * FontNamesConverter.cs: Implemented
6036 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6038 * RepeaterItem.cs: Compile fix
6040 * RepeaterItemCollection.cs: New file
6042 * RepeaterItem.cs: get OnBubbleEvent right.
6044 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6046 * ListItemCollection.cs: Count can be derived from the array, which
6047 allows us to use a Pair instead of a Triplet and save some space
6049 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6051 * RepeaterItem.cs: Stub
6053 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6055 * ListItemCollection.cs: Implemented
6056 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
6058 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6060 * RepeatInfo.cs: Impl.
6062 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6064 * FirstDayOfWeek.cs: Added
6066 2005-07-13 Jackson Harper <jackson@ximian.com>
6068 * ListBox.cs: Some parameter checking.
6070 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6072 * Image.cs: Added support for DescriptionUrl as this property was
6073 added in Fx 1.1 SP1.
6075 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6077 * Style.cs (AddAttributesToRender): Don't render attributes if they
6078 contain only their default value
6080 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6082 * Table.cs: New. Initial re-implementation.
6083 * TableCell.cs: New. Initial re-implementation.
6084 * TableCellCollection.cs: New. Initial re-implementation.
6085 * TableHeaderCell.cs: New. Initial re-implementation.
6086 * TableItemStyle.cs: New. Initial re-implementation.
6087 * TableRow.cs: New. Initial re-implementation.
6088 * TableRowCollection.cs: New. Initial re-implementation.
6089 * TableStyle.cs: New. Initial re-implementation.
6091 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6093 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
6094 unit tests (for Style) and more tests in Table* classes.
6096 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6098 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
6099 however IsEmpty returns false if any of their properties are set.
6100 Looks ugly but it's compatible with MS implementation (feature and
6103 2005-07-13 Dick Porter <dick@ximian.com>
6105 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
6106 null Text properties from the ViewState, test for TextAlign being
6107 out of range. All to make tests pass on both mono and ms
6110 2005-07-13 Jackson Harper <jackson@ximian.com>
6112 * ListBox.cs: Use invariant culture when doing a ToString,
6113 set value to the item's value, not to its Text.
6115 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6117 * WebControl.cs (AddAttributesToRender): Added ID to rendered
6120 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6122 * Style.cs(MergeWith): Handle null styles
6124 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
6126 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
6127 the #if NET_2_0 on it.
6129 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6131 * Style.cs: Only render font elements if fontinfo object exists
6133 - Implemented SaveViewState()
6134 - Added loading of Style to LoadViewState
6135 - Implemented IAttributeAccessor methods
6137 2005-07-12 Jackson Harper <jackson@ximian.com>
6139 * ListBox.cs: Even track default values in the viewstate. Call
6140 base's RenderContents.
6142 2005-07-12 Jackson Harper <jackson@ximian.com>
6144 * ListBox.cs: New impl.
6146 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6149 - Implemented methods
6152 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6154 * ListItem.cs: New impl.
6156 2005-07-12 Duncan Mak <duncan@novell.com>
6158 * DayNameFormat.cs: Added.
6160 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6162 * WebControl.cs: Implemented properties
6164 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6166 * TextBox.cs: Passwords seem 1) not to be rendered to the client
6167 if set, 2) not kept in view state (for security reasons...)
6170 * Button.cs: Page.Validate () if needed. Gets the validator tests
6173 * TextBox.cs: Properties to get the validator stuff to work.
6175 2005-07-12 Miguel de Icaza <miguel@novell.com>
6177 * Unit.cs: If the units are pixels, then truncate the value.
6179 2005-07-12 Dick Porter <dick@ximian.com>
6181 * RadioButton.cs: New implementation
6183 * CheckBox.cs: Rearrange the attributes rendering to allow
6184 RadioButton to derive from this
6186 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6188 * TitleFormat.cs: Add attribute
6189 * TextBoxMode.cs: Add attribute
6190 * CalendarDay.cs: Initial implementation
6191 * ImageButton.cs: Initial implementation
6192 * CalendarSelectionMode.cs:Initial implementation
6194 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6196 * TextBoxMode.cs: simple enum
6197 * TitleFormat.cs: simple enum
6199 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6201 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
6203 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6205 * FontUnit.cs: Added TypeConverter attribute to class
6206 * FontUnitConverter.cs: Implemented
6208 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6211 * Button.cs: Bubble the Command event.
6213 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6216 - Clean up style (with my wonderful state bag hack!)
6217 - Fix a view state typo.
6218 - Use AddAttributesToRender
6219 - Don't add an extra <span>
6221 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6223 * Style.cs: Handle null constructor argument for bag
6225 2005-07-11 Dick Porter <dick@ximian.com>
6227 * CheckBox.cs: New implementation
6229 * RadioButton.cs: Initial stubbed version that just compiles
6231 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
6233 * Button.cs: Initial Button implementation
6235 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
6237 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
6239 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6241 * HorizontalAlign.cs: Typo in header.
6242 * VerticalAlign.cs: New. Required enum for TableRow control.
6244 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6246 * TextBox.cs: More work on this
6248 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6250 * GridLines.cs: New. Required enum for Table control.
6251 * HorizontalAlign.cs: New. Required enum for Table control.
6253 2005-07-09 Duncan Mak <duncan@novell.com>
6255 * CommandEventHandler.cs:
6256 * DataGridCommandEventHandler.cs:
6257 * DataGridItemEventHandler.cs:
6258 * DataGridPageChangedEventHandler.cs:
6259 * DataGridSortCommandEventHandler.cs:
6260 * DataListCommandEventHandler.cs:
6261 * DayRenderEventHandler.cs:
6262 * RepeaterCommandEventHandler.cs:
6263 * ServerValidateEventHandler.cs: Add delegates.
6266 * ListSelectionMode.cs:
6267 * NextPrevFormat.cs:
6269 * PagerPosition.cs: Add enums.
6271 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6273 * TextBox.cs: Add the work I did on this today. It's not complete
6274 yet, but its a start!
6276 2005-07-09 Duncan Mak <duncan@novell.com>
6278 * CommandEventArgs.cs:
6279 * DataGridCommandEventArgs.cs:
6280 * DataGridItemEventArgs.cs:
6281 * DataGridPageChangedEventArgs.cs:
6282 * DataGridSortCommandEventArgs.cs:
6283 * DataListCommandEventArgs.cs:
6284 * DataListItemEventArgs.cs:
6285 * DayRenderEventArgs.cs:
6286 * RepeaterCommandEventArgs.cs:
6287 * RepeaterItemEventArgs.cs:
6288 * ServerValidateEventArgs.cs: Implemented.
6290 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
6292 * Image.cs: New. Image class implementation.
6293 * ImageAlign.cs: New. ImageAlign enum definitions.
6295 2005-07-08 Jackson Harper <jackson@ximian.com>
6297 * Literal.cs: New implentation.
6298 * MonthChangedEventArgs.cs: new
6299 * MonthChangedEventHandler.cs: new
6301 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6303 * LinkButton.cs: Command impl
6305 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6307 * LinkButton.cs: Initial impl
6309 2005-07-08 Jackson Harper <jackson@ximian.com>
6311 * AdCreatedeventArgs.cs: New implementation.
6313 2005-07-08 Dick Porter <dick@ximian.com>
6316 * BorderStyle.cs: Added
6318 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6320 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
6322 2005-07-07 Miguel de Icaza <miguel@novell.com>
6324 * Xml.cs: New implementation. R00lz.
6326 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6328 * FontInfo.cs: Added and implemented.
6329 * Style.cs: Fixed behaviour discrepancies showed by tests
6331 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6333 * PlaceHolderControlBuilder.cs: new file
6335 * LabelControlBuilder.cs: New file
6337 * HyperLink.cs: use control builder; fix parsing stuff
6339 * HyperLinkControlBuilder.cs: new file
6341 * Panel.cs: misc fixes
6343 2005-07-07 Miguel de Icaza <miguel@novell.com>
6345 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
6347 * UnitConverter.cs: Add new file, learned from the
6348 System.Drawing.ColorConverter.
6350 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6352 * PlaceHolder.cs: New file. Seems to do nothing
6354 * Label.cs: Use my new statebag trick to reduce typing
6356 * HyperLink.cs: New file
6358 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6360 * Style.cs: Added and implemented.
6362 2005-07-06 Miguel de Icaza <miguel@novell.com>
6364 * FontUnit.cs: New file.
6366 * Unit.cs: New file.
6368 Added support for null and empty string constructors.
6370 2005-07-06 Ben Maurer <bmaurer@ximian.com>
6372 * Unit.cs: cctor not needed; static fields are 0 init'd by default
6374 * WebControl.cs: Kothari & Datye's book explains how these work.
6376 * IRepeatInfoUser.cs: Reimpl.
6378 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6380 * WebControl.cs: Added stub
6382 2005-07-05 Miguel de Icaza <miguel@novell.com>
6384 * Label.cs: First control.
6386 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
6388 * DataControlField.cs: Ignore the ShowHeader property when
6389 building the control's content. It is the resposability of
6390 the field container to decide if the header should be shown
6393 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
6396 * ImageFieldMode.cs:
6397 * DynamicImageParameterMode.cs:
6398 * TableViewMode.cs: Removed.
6402 * TableRowSection.cs:
6403 * AutoCompleteType.cs:
6404 * DayNameFormat.cs: Track changes in 2.0 api.
6406 * StringArrayConverter.cs: This class is 2.0 only.
6408 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
6412 * DetailsView.cs: Bind the control after creating all child
6414 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
6415 the correct methods.
6416 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
6417 in this class. This is done in DataBoundControl. All this fixes
6420 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6422 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
6423 FindByText. Closes bug #74205.
6425 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6427 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
6428 1 when there's a datasource and 0 pages. Closes bug #73864.
6430 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
6437 * MenuItemTemplateContainer.cs:
6438 * DetailsView.cs: Track changes in the IDataItemContainer interface.
6440 * CommandField.cs: Added CausesValidation property. Set that
6441 property value to all buttons of the field.
6443 * SqlDataSourceView.cs:
6444 * CollectionDataSource.cs:
6445 * XmlDataSourceView.cs: Properly initialize the base class.
6447 * SiteMapDataSource.cs:
6448 * SiteMapHierarchicalDataSourceView.cs:
6449 * SiteMapNodeItem.cs:
6450 * SiteMapDataSourceView.cs:
6451 * SiteMapPath.cs: Mostly implemented.
6453 * HierarchicalDataBoundControl.cs: Always bind the control when the
6454 page is loaded for the first time.
6456 * TreeView.cs: Properly bind the control when loaded from a callback.
6458 2005-05-21 Ben Maurer <bmaurer@ximian.com>
6460 * BaseDataList.cs: Caption is in 1.1 too, though not
6461 documented. Gonz owes me [more] ice cream. Yummmmm.
6463 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6465 * BaseDataList.cs: implemented 2.0 Caption property.
6467 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
6469 * TreeView.cs: Always render the startup script. This fixes
6472 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
6474 * WizardStepBase.cs:
6475 * WizardStep.cs: Added missing attributes.
6476 * Wizard.cs: Implemented missing methods and properties. It can now
6477 be considered feature complete.
6479 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6481 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
6482 the method if the data source was en empty IEnumerator. Fixes
6485 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
6489 * Menu.cs: Implemented some new properties from beta 2.
6491 * DataControlButton.cs: Render the ControlStyle if it
6495 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
6496 It will now generate an object creation, instead of a Parse call.
6498 * GridViewCommandEventArgs.cs: Added missing property.
6499 * SubMenuStyleCollection.cs: This class is not sealed.
6500 * MultiView.cs: Set Visible=false to all views that are not
6501 shown. This ensures that it's view state is saved.
6503 * BaseDataBoundControl.cs:
6504 * GridViewDeletedEventArgs.cs: Minor api fixes.
6506 * FormViewDeleteEventArgs.cs:
6507 * DetailsViewDeletedEventArgs.cs:
6508 * ListControl.cs: Fix warnings.
6512 * HotSpotCollection.cs
6515 * RectangleHotSpot.cs
6516 * WizardStepCollection.cs : Implemented.
6520 * Wizard.cs: Initial implementation.
6522 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
6524 * DataControlField.cs:
6528 * DataControlCommands.cs:
6529 * DetailsView.cs: Use constants to identify commands.
6531 * SubMenuStyle.cs: Use Unit instead of int for padding.
6532 * SubMenuStyleCollection.cs: Implemented.
6535 * Menu.cs: Added some missing methods and properties.
6538 * DataGridPagerStyle.cs: Fixed default value attributes.
6539 * ListControl.cs: Implemented IEditableTextControl interface.
6541 * MenuItemBinding.cs: Added Selectable property.
6542 * CustomValidator.cs: removed interface.
6544 * MenuItem.cs: Added support for custom binding.
6545 * DropDownList.cs: Moved text properties to base class.
6547 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6549 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
6551 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6553 * Calendar.cs: when the day is active, modify the text of the literal
6554 control that holds the number, not the text of the TableCell. Also call
6555 OnDayRender before updating that text. Fixes bug #74718.
6557 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
6559 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
6561 * DataControlFieldHeaderCell.cs: Save Scope in view state.
6562 Added AbbreviatedText property.
6563 * AutoGeneratedField.cs: The constructor should actually be internal.
6564 * DataGridItem.cs: Added implemented interface in 2.0.
6565 * DataControlFieldCollection.cs: Implemented CloneFields and
6569 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6571 * StringArrayConverter.cs:
6572 * Calendar.cs: warnings.
6574 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
6576 * FormViewDeleteEventArgs.cs:
6577 * FormViewInsertEventArgs.cs:
6578 * FormViewUpdateEventArgs.cs:
6579 * FormViewDeletedEventArgs.cs:
6580 * FormViewUpdatedEventArgs.cs:
6581 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
6584 * IButtonControl.cs:
6585 * Button.cs: Removed SoftKey property.
6587 * CheckBox.cs: Don't try to load post back data if the control
6591 * AutoGeneratedField.cs:
6592 * DataControlField.cs:
6594 * ButtonFieldBase.cs:
6598 * ButtonField.cs: Don't bind fields in Insert state.
6599 Implemented CreateField and CopyProperties.
6602 * DetailsView.cs: Removed some unneeded interfaces. Don't
6603 generate the field rows if there are no items in the data source.
6604 Don't get the current keys until the whole control has been
6607 * DetailsViewInsertedEventArgs.cs:
6608 * DataBoundControl.cs:
6609 * ObjectDataSourceView.cs: Made some methods private.
6612 * Menu.cs: Changed some properties from int to Unit.
6614 * DataControlButton.cs: javascript prefix is needed when raising
6615 the postback event from a link.
6617 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
6618 The result was wrong when the total data source count was 0.
6620 * FormView.cs: Implemented.
6621 * FormViewRow.cs: Implemented.
6624 * Localize.cs: Fixed base interface.
6626 * BaseDataBoundControl.cs: In DataBind() call the base class
6627 DataBind method, so the binding context is properly set.
6629 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
6631 * DetailsView.cs: Added some null checks.
6632 * TemplateField.cs: Implemented support for two-way bindings.
6634 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
6636 * DetailsView.cs: Implemented support for Insert operation.
6637 Added header and footer templates. Added missing style
6639 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
6640 to get filter values. Other minor fixes.
6641 * CommandField.cs: Properly render the Insert and New buttons.
6642 * ObjectDataSource.cs: Update the parameter collections after
6643 the page is loaded. This will fire the ParameterChanged event
6645 * DataBoundControl.cs: The OnDataSourceViewChanged method
6646 is called when the view changes, not when the datasource
6649 * DetailsViewInsertedEventArgs.cs:
6650 * DetailsViewInsertEventArgs.cs: Implement Values property.
6653 * AutoGeneratedField.cs
6656 Take into account the Insert mode.
6658 * ParameterCollection.cs: Implemented UpdateValues and fixed
6659 GetValues (values can't be cached because can change).
6660 * Parameter.cs: Detect value changes in GetValue, and fire
6661 the change event if needed. Removed unused ParameterValue
6662 property. Other fixes.
6664 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
6666 * DetailsView.cs: Initial implementation.
6667 * ObjectDataSourceView.cs: Notify changes in the parameters.
6668 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
6669 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
6670 Implemented some properties.
6671 * GridView.cs: Added null check in SelectedValue. Don't return null
6672 for empty DataKeyNames list.
6673 * DetailsViewRowCollection.cs: Implemented.
6674 * DetailsViewRow.cs: Implemented.
6675 * ButtonFieldBase.cs: By default button field don't have headers.
6676 * BoundField.cs: Don't bind header fields.
6678 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
6680 * ButtonField.cs: Get data item properties using TypeDescriptor.
6681 Made OnDataBindField private.
6682 * ObjectDataSourceView.cs: Implemented support for Delete and
6683 Insert operations, support for filtering and sorting,
6684 conflict detection, etc. It's now complete.
6685 * ObjectDataSource.cs: Completed most of functionality. Only
6686 caching support is missing.
6687 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
6688 * TreeNode.cs: Get data item properties using TypeDescriptor.
6689 * PagerSettings.cs: Flush.
6690 * ObjectDataSourceFilteringEventArgs.cs: New event args.
6691 * GridView.cs: Get data item properties using TypeDescriptor
6692 and cache them. Properly set descending order in the sort
6693 expression. In UpdateRow, make sure we get the old values
6694 before the control is bound again.
6695 * ImageField.cs: Implemented.
6696 * AutoGeneratedField.cs: Initialize the field's sort
6697 expression in the constructor.
6698 * MenuItem.cs: Get data item properties using TypeDescriptor.
6699 * BoundField.cs: Get data item properties using TypeDescriptor.
6700 * CheckBoxField.cs: Added missing attributes.
6701 * TemplateField.cs: Implemented.
6703 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6706 * FontUnitConverter.cs: fixed ConvertTo to work with target
6707 InstanceDescriptor and value as a string.
6709 * Unit.cs: culture might be null.
6713 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
6715 * ButtonField.cs: Mostly implemented.
6716 * DataControlFieldHeaderCell.cs: Implemented.
6717 * ObjectDataSourceView.cs: Initial implementation.
6718 * DataControlButton.cs: Added support for real buttons.
6719 * Label.cs, DataControlField.cs: Flush.
6720 * ObjectDataSource.cs: Initial implementation.
6721 * HiddenField.cs: Added class stub.
6722 * GridView.cs: Load autogenerated field properties before
6723 creating the children, to make sure that column info is ready.
6724 * ControlParameter.cs: Implemented Evaluate method.
6725 * ImageField.cs: Added class stub.
6726 * BoundField.cs: Added HtmlEncode property.
6727 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
6729 * CheckBoxField.cs: Mostly implemented.
6730 * TemplateField.cs: Added class stub.
6731 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
6732 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
6733 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
6735 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
6737 * DataControlField.cs: Added missing InsertVisible property.
6738 * AutoGeneratedFieldProperties.cs: Implemented.
6739 * PagerSettings.cs: Minor fix.
6740 * GridView.cs: Implemented support for autogenerated fields, templates,
6741 accessible headers. Implemented paging using PagedDataSource.
6742 Implemented missing overridable methods.
6743 * AutoGeneratedField.cs: Initial implementation.
6744 * BoundField.cs: Added ReadOnly property.
6745 * PagedDataSource.cs: Implemented 2.0 api.
6746 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
6747 cell class to be used by accessible headers.
6748 * TableCell.cs: Removed unneded constructor. If the cell is bound to
6749 a template, call the default RenderContents method.
6751 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
6753 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
6754 event when loading the view state. Fixes #73746.
6756 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
6758 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
6760 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
6762 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
6764 * CommandField.cs: Mostly implemented.
6765 * Menu.cs: Use callback methods moved to ClientScriptManager.
6766 * DataControlButton.cs: Internal control used to implement buttons
6767 for navigating in data bound controls.
6768 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
6769 to render the column headers.
6770 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
6771 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
6772 Don't use Page.GetPostBackClientEvent
6773 since it is deprecated in 2.0.
6774 * GridView.cs: Implemented some several interfaces.
6775 Implemented support client sorting and page navigation (using callbacks).
6776 Implemented the autogenerated command column using the new CommandField
6778 * ButtonFieldBase.cs: Implemented.
6779 * GridView.js: New helper script to support client side sorting and
6780 paging in the grid view.
6782 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
6784 * DataKey.cs: Implemented.
6785 * XmlDataSourceView.cs: Implemented support for row pagging.
6786 * Table.cs: Fixed attribute value.
6787 * DataControlField.cs: Added support for sorting headers.
6788 * ChildTable.cs: Created.
6789 * ListControl.cs: Delay selection assignment, since control state
6790 is now loaded before view state.
6791 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
6792 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
6793 several missing properties.
6794 * PagerSettings.cs: Fully implemented.
6795 * BaseDataList.cs: Added null check.
6796 * GridView.cs: Implemented more functionality.
6797 * BoundField.cs: Added support for cell editing.
6798 * StringArrayConverter.cs: Implemented.
6799 * DataKeyArray.cs: Implemented.
6800 * BaseDataBoundControl.cs: Reset the requires binding flag before
6801 executing the query. This avoids recursive query calls.
6802 * GridViewRow.cs: Handler commands raised from row childs.
6804 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
6806 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
6807 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
6808 it is possible to query for properties fore each data item.
6809 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
6810 when loading its view state.
6811 * DataControlField.cs: Implement properties using a StateBag.
6812 * XmlDataSourcePropertyDescriptor.cs: Implemented.
6813 * PagerSettings.cs: Mostly implemented.
6814 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
6815 * DataBoundControl.cs: Added null check.
6816 * GridView.cs: Initial implementation.
6817 * CompositeDataBoundControl.cs: Implemented.
6818 * BoundField.cs: Initial implementation.
6819 * GridViewRowCollection.cs: Initial implementation.
6820 * DataControlFieldCollection.cs: Initial implementation.
6821 * DataControlFieldCell.cs: Fixed control tag.
6822 * GridViewRow: Initial implementation.
6823 * XmlDataSourceNodeDescriptor.cs: Implemented.
6825 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6827 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
6828 is zero, use the TagName no matter its value. Fixes bug #72415.
6830 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
6832 * Style.cs: Method name fix.
6833 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
6834 * BaseCompareValidator.cs: Method signature fix.
6835 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
6836 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
6837 * BulletedList.cs: Added missing method.
6838 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
6840 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
6842 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
6843 * RadioButton.cs: Added missing 2.0 methods.
6844 * ListItem.cs: Added Enabled property.
6845 * MailMessageEventArgs.cs: Use the correct message class.
6846 * ListControl.cs: Implemented missing properties and support for
6847 control state. Implemented base RenderContents method.
6848 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
6850 * BaseCompareValidator.cs: Implemented methods that support conditional
6851 use of the invariant culture.
6852 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
6853 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
6854 It takes a DbCommand instead of a IDbCommand.
6855 * GridViewSortEventArgs.cs: Added SortDirection property.
6856 * TextBox.cs, CheckBoxList.cs: Added protected version of
6857 IPostBackDataHandler methods.
6858 * RadioButtonList.cs: Added protected version of
6859 IPostBackDataHandler and IRepeatInfoUser methods.
6860 * Repeater.cs: Updated some method names.
6861 * DropDownList.cs: Added protected version of
6862 IPostBackDataHandler methods. Reuse RenderContents from base class.
6863 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
6864 * GridViewUpdatedEventArgs.cs: Fix typo.
6865 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
6866 Reuse RenderContents from base class.
6867 * BaseDataBoundControl.cs: Several fixes.
6868 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
6870 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
6872 * CheckBoxList.cs: Fix build.
6874 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
6876 * Button.cs: Use validation group when validating page.
6877 * XmlDataSourceView.cs: Implemented ExecuteSelect.
6878 * Menu.cs: Minor fix.
6879 * CheckBox.cs: Added 2.0 properties and methods.
6880 * BaseDataList.cs: Always databind the control if view state
6882 * DataList.cs: In 2.0, use control state to save the selected index.
6883 * DetailsViewUpdatedEventArgs.cs: Fix typo.
6884 * CustomValidator.cs: Implement IStaticTextControl interface.
6885 * CheckBoxList.cs: Added missing 2.0 methods.
6886 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
6888 * XmlDataSource.cs: Return childs of DocumentElement, not the root
6890 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
6891 Implemented 2.0 API.
6894 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
6896 * Button.cs: Implemented all missing 2.0 features.
6897 * Table.cs: Render the table caption, when specified.
6898 * Calendar.cs: Implemented most of missing 2.0 features.
6899 * TableCell.cs: Fixed attributes.
6901 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
6903 * ControlPropertyNameConverter.cs: Added file.
6905 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
6907 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
6908 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
6909 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
6910 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
6911 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
6912 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
6913 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
6914 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
6915 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
6916 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
6917 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
6918 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
6919 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
6920 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
6921 DataGridSortCommandEventArgs.cs, Repeater.cs,
6922 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
6923 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
6924 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
6925 CompareValidator.cs, HierarchicalDataBoundControl.cs,
6926 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
6927 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
6928 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
6929 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
6930 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
6931 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
6932 AdCreatedEventArgs.cs:
6934 General 2.0 API fixes: missing attributes, incorrect inheritance,
6935 missing sealed keywords, wrong signatures, etc.
6937 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
6939 * Table.cs: Added some 2.0 properties.
6940 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
6942 * BaseValidator.cs: Fix warning.
6943 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
6945 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
6947 * Menu.cs: Rendering fixes.
6949 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
6951 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
6952 ContentPlaceHolderBuilder.cs: Implemented.
6954 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6956 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
6957 attributes that are meant to be in the input tag in their place.
6959 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
6961 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
6962 generates invalid html).
6964 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
6966 * Menu.cs: Implemented most of missing properties. Added support for
6967 item templates. Implemented menu scrolling.
6968 * MenuItemBinding.cs: Implemented most of missing properties.
6969 * MenuItem.cs: Implemented most of missing properties.
6970 * Menu.js: Implemented scrolling and menu reposition into screen.
6971 * MenuItemTemplateContainer.cs: Implemented.
6972 * SubMenuStyle.cs: Implemented.
6974 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
6976 * Style.cs: Implemented RegisteredCssClass property. Added
6977 CopyTextStylesFrom method, which copies styles that only apply to text.
6978 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
6979 in the page stylesheet. Added support for ItemSpacing property.
6980 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
6982 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
6984 * Style.cs: Generate styles using a CssStyleCollection, so the code can
6985 be reused for the 2.0 FillStyleAttributes method.
6986 * Menu.cs: Implemented more properties and events. Rendering is very
6988 * MenuItem.cs: Added PopOutImageUrl property.
6989 * Menu.js: More work on submenu management.
6991 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
6993 * Menu.cs: Implemented basic rendering. Added some missing properties.
6994 * MenuItem.cs: Improved implementation of Depth.
6995 * Unit.cs: Added serializable attribute.
6996 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
6997 so it can be reused.
6998 * Menu.js: New script to support he Menu control.
7000 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
7002 * MenuEventArgs.cs: Changed to sealed.
7003 * TreeView.cs: Minor fix.
7004 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
7005 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
7006 MenuItemStyleCollection.cs: Initial Menu code.
7008 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
7010 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
7011 Implemented SetDirtyObject.
7012 * Style.cs: Implemented SetDirty().
7013 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
7014 * TreeNode.cs: Added missing attributes added support for
7015 PopulateOnDemand. Added some missing property bindings.
7016 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
7017 to newly added elements to make sure al new data is saved.
7018 * TreeView.js: Implemented support for client population of nodes.
7019 * TreeNodeStyle.cs: Added missing attributes.
7020 * TreeView.cs: Implemented support for PopulateNodesFromClient and
7021 PopulateOnDemand. Improved rendering.
7023 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
7025 * DataControlField.cs:
7026 * DataControlFieldCell.cs: Initial implementation.
7028 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
7030 * TreeNodeBindingCollection.cs: Implemented.
7031 * TreeNodeBinding.cs: Implemented.
7032 * TreeNode.cs: Added support for data binding.
7033 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
7034 TreeView_Default_NoExpand.gif: Moved to resources directory.
7035 * ListControl.cs: Fixed api.
7036 * XmlHierarchicalEnumerable.cs: Made internal.
7037 * DataBoundControl.cs: Modified api to match latest ms.net.
7038 * TreeView.js: New javascript file to support TreeView in the client.
7039 * XmlDataSource.cs: Added missing attributes.
7040 * HierarchicalDataBoundControl.cs: Mostly implemented.
7041 * BaseDataBoundControl.cs: Mostly implemented.
7042 * XmlHierarchyData.cs: Made internal.
7043 * TreeView.cs: Mostly implemented. The major missing feature is
7044 client side tree population.
7046 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
7049 * DataBountControl.cs:
7050 * Repeater.cs: Added SelectArguments property and updated.
7051 * SiteMapDataSourceView.cs:
7052 * SqlDataSourceView.cs:
7053 * XmlDataSourceView.cs: Removed extra method, which was there to
7054 keep things compiling.
7056 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
7058 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
7059 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
7060 TreeView.cs: Initial implementation.
7061 * DataBoundControl.cs: Set the correct base class.
7062 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
7063 * TreeNodeSelectAction.cs: Formatting.
7064 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
7065 TreeView_Default_NoExpand.gif: TreeView images.
7067 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
7069 * SqlDataSourceView.cs: Updated methods and added one property.
7071 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7073 * AccessDataSource.cs:
7074 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
7075 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7077 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
7078 * SqlDataSourceView.cs: Updated constructor.
7080 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7082 * AccessDataSourceView.cs: Added new class.
7084 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7086 * SqlDataSourceView.cs: Corrected exception handling in
7087 ExecuteSelect method.
7089 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
7091 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
7092 * SiteMapDataSourceView.cs: Minor fix.
7094 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7096 * SqlDataSourceView.cs: Updated ExecuteSelect method.
7098 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7100 * SqlDataSource.cs: Corrected Select method.
7102 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7104 * SqlDataSource.cs: Updated Select method definition.
7105 * SqlDataSourceStatusEventArgs.cs: Updated class.
7107 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
7109 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
7110 from DataSourceView.cs).
7112 2004-11-10 Raja R Harinath <rharinath@novell.com>
7114 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
7116 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
7118 * SqlDataSource.cs: Corrected method calls.
7119 * SqlDataSourceView.cs: Partial implementation of few methods.
7121 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7123 * ListItemCollection.cs: fixed bug when indexing changed elements in
7124 LoadViewState. Patch from Alois Bělaška.
7126 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
7128 * SiteMapDataSourceView.cs:
7129 * SqlDataSourceView.cs:
7130 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
7131 base class, DataSourceView. Changes are to keep things compiling.
7133 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
7135 * SiteMapDataSourceView.cs: Corrected class definition and updated.
7136 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
7139 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
7141 * AdRotator.cs: Updated.
7143 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
7145 * AccessDataSource.cs: Updated.
7147 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7149 * ValidatedControlConverter.cs: Updated.
7151 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7153 * AssociatedControlConverter.cs: Implemented.
7155 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7157 * ControlIDConverter.cs: Initial implementation.
7159 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7161 * IButtonControl.cs: Corrected property name.
7163 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7165 * ParameterCollection.cs: Updated.
7167 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7169 * Parameter.cs: Updated and completed implementation.
7171 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7173 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
7176 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7178 * AccessDataSource.cs: Initial implementation.
7180 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
7182 * DataControlRowState.cs:
7184 * TreeNodeTypes.cs: Added attribute.
7185 * DataControlRowType.cs:
7187 * SortDirection.cs: Corrected enumeration values.
7188 * TableRowSection.cs: Added new enumeration.
7189 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
7191 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7193 * TableStyle.cs: don't render empty 'rules' attribute (again).
7195 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
7197 * FormViewUpdatedEventArgs.cs: Spelling mistake.
7199 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
7201 * Literal.cs: Added new method Focus().
7203 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7205 * RadioButton.cs: fix GroupName when the control is inside a
7206 NamingContainer different from Page. Closes bug #65586.
7208 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
7210 * Localize.cs: Added new class.
7212 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
7214 * CompositeControl.cs : Completed
7215 * Login.cs : Initial implementation.
7217 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7219 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
7220 don't call MapPathSecure on the content itself.
7222 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
7223 document is checked at parse time and will be checked again at run time.
7227 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
7229 * AuthenticateEventHandler.cs:
7230 * CreateUserErrorEventArgs.cs:
7231 * CreateUserErrorEventHandler.cs:
7232 * DetailsViewCommandEventHandler.cs:
7233 * DetailsViewDeleteEventArgs.cs:
7234 * DetailsViewDeleteEventHandler.cs:
7235 * DetailsViewDeletedEventArgs.cs:
7236 * DetailsViewDeletedEventHandler.cs:
7237 * DetailsViewInsertEventArgs.cs:
7238 * DetailsViewInsertEventHandler.cs:
7239 * DetailsViewInsertedEventArgs.cs:
7240 * DetailsViewInsertedEventHandler.cs:
7241 * DetailsViewModeEventArgs.cs:
7242 * DetailsViewModeEventHandler.cs:
7243 * DetailsViewPageEventHandler.cs:
7244 * DetailsViewUpdateEventArgs.cs:
7245 * DetailsViewUpdateEventHandler.cs:
7246 * DetailsViewUpdatedEventArgs.cs:
7247 * DetailsViewUpdatedEventHandler.cs:
7248 * FormViewCommandEventHandler.cs:
7249 * FormViewDeleteEventArgs.cs:
7250 * FormViewDeleteEventHandler.cs:
7251 * FormViewDeletedEventArgs.cs:
7252 * FormViewDeletedEventHandler.cs:
7253 * FormViewInsertEventArgs.cs:
7254 * FormViewInsertEventHandler.cs:
7255 * FormViewInsertedEventArgs.cs:
7256 * FormViewInsertedEventHandler.cs:
7257 * FormViewModeEventHandler.cs:
7258 * FormViewPageEventHandler.cs:
7259 * FormViewUpdateEventArgs.cs:
7260 * FormViewUpdateEventHandler.cs:
7261 * FormViewUpdatedEventArgs.cs:
7262 * FormViewUpdatedEventHandler.cs:
7263 * GridViewCancelEditEventArgs.cs:
7264 * GridViewCancelEditEventHandler.cs:
7265 * GridViewCommandEventHandler.cs:
7266 * GridViewDeleteEventArgs.cs:
7267 * GridViewDeleteEventHandler.cs:
7268 * GridViewDeletedEventArgs.cs:
7269 * GridViewDeletedEventHandler.cs:
7270 * GridViewEditEventHandler.cs:
7271 * GridViewPageEventHandler.cs:
7272 * GridViewRowEventHandler.cs:
7273 * GridViewSelectEventHandler.cs:
7274 * GridViewSortEventArgs.cs:
7275 * GridViewSortEventHandler.cs:
7276 * GridViewUpdateEventArgs.cs:
7277 * GridViewUpdateEventHandler.cs:
7278 * GridViewUpdatedEventArgs.cs:
7279 * GridViewUpdatedEventHandler.cs:
7280 * ImageMapEventHandler.cs:
7281 * MailMessageEventHandler.cs:
7282 * MenuEventHandler.cs:
7283 * ObjectDataSourceDisposingEventHandler.cs:
7284 * ObjectDataSourceEventHandler.cs:
7285 * ObjectDataSourceMethodEventArgs.cs:
7286 * ObjectDataSourceMethodEventHandler.cs:
7287 * ObjectDataSourceSelectingEventArgs.cs:
7288 * ObjectDataSourceSelectingEventHandler.cs:
7289 * ObjectDataSourceStatusEventArgs.cs:
7290 * ObjectDataSourceStatusEventHandler.cs:
7291 * SendMailErrorEventHandler.cs:
7292 * SiteMapNodeItemEventHandler.cs:
7293 * SqlDataSourceSelectingEventArgs.cs:
7294 * SqlDataSourceSelectingEventHandler.cs:
7295 * TreeNodeEventHandler.cs:
7296 * WizardNavigationEventArgs.cs:
7297 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
7298 corrections and removing "sealed" access specifier from *EventHandler.cs
7300 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
7302 * Literal.cs: Added new attributes and property for .Net 2.0
7304 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
7306 * GridViewDeleteEventArgs.cs: Removed extra code.
7308 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
7310 * SendMailErrorEventArgs.cs:
7311 * SendMailErrorEventHandler.cs:
7312 * SiteMapNodeItemEventArgs.cs:
7313 * SiteMapNodeItemEventHandler.cs:
7314 * SqlDataSourceSelectingEventArgs.cs:
7315 * SqlDataSourceSelectingEventHandler.cs:
7316 * TreeNodeEventArgs.cs:
7317 * TreeNodeEventHandler.cs:
7318 * WizardNavigationEventArgs.cs:
7319 * WizardNavigationEventHandler.cs: Added new delegates.
7321 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7323 * ImageMapEventArgs.cs:
7324 * ImageMapEventHandler.cs:
7325 * MailMessageEventArgs.cs:
7326 * MailMessageEventHandler.cs:
7328 * MenuEventHandler.cs:
7329 * ObjectDataSourceDisposingEventArgs.cs:
7330 * ObjectDataSourceDisposingEventHandler.cs:
7331 * ObjectDataSourceEventArgs.cs:
7332 * ObjectDataSourceEventHandler.cs:
7333 * ObjectDataSourceMethodEventArgs.cs:
7334 * ObjectDataSourceMethodEventHandler.cs:
7335 * ObjectDataSourceSelectingEventArgs.cs:
7336 * ObjectDataSourceSelectingEventHandler.cs:
7337 * ObjectDataSourceStatusEventArgs.cs:
7338 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
7340 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7342 * DetailsViewCommandEventArgs.cs:
7343 * FormViewCommandEventArgs.cs:
7344 * GridViewCommandEventArgs.cs: Corrected constructor.
7346 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7348 * GridViewCancelEditEventArgs.cs:
7349 * GridViewCancelEditEventHandler.cs:
7350 * GridViewCommandEventArgs.cs:
7351 * GridViewCommandEventHandler.cs:
7352 * GridViewDeletedEventArgs.cs:
7353 * GridViewDeletedEventHandler.cs:
7354 * GridViewDeleteEventArgs.cs:
7355 * GridViewDeleteEventHandler.cs:
7356 * GridViewEditEventArgs.cs:
7357 * GridViewEditEventHandler.cs:
7358 * GridViewPageEventArgs.cs:
7359 * GridViewPageEventHandler.cs:
7360 * GridViewRowEventArgs.cs:
7361 * GridViewRowEventHandler.cs:
7362 * GridViewSelectEventArgs.cs:
7363 * GridViewSelectEventHandler.cs:
7364 * GridViewSortEventArgs.cs:
7365 * GridViewSortEventHandler.cs:
7366 * GridViewUpdatedEventArgs.cs:
7367 * GridViewUpdatedEventHandler.cs:
7368 * GridViewUpdateEventArgs.cs:
7369 * GridViewUpdateEventHandler.cs: Added new delegates.
7371 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7373 * FormViewUpdatedEventArgs.cs: Corrected constructor.
7375 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7377 * FormViewCommandEventArgs.cs: Corrected name of class.
7379 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7381 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
7384 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7386 * FormViewCommandEventArgs.cs:
7387 * FormViewCommandEventHandler.cs:
7388 * FormViewDeletedEventArgs.cs:
7389 * FormViewDeletedEventHandler.cs:
7390 * FormViewDeleteEventArgs.cs:
7391 * FormViewDeleteEventHandler.cs:
7392 * FormViewInsertedEventArgs.cs:
7393 * FormViewInsertedEventHandler.cs:
7394 * FormViewInsertEventArgs.cs:
7395 * FormViewInsertEventHandler.cs:
7396 * FormViewModeEventArgs.cs:
7397 * FormViewModeEventHandler.cs:
7398 * FormViewPageEventArgs.cs:
7399 * FormViewPageEventHandler.cs:
7400 * FormViewUpdatedEventArgs.cs:
7401 * FormViewUpdatedEventHandler.cs:
7402 * FormViewUpdateEventArgs.cs:
7403 * FormViewUpdateEventHandler.cs: Added new delegates.
7405 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7407 * DetailsViewCommandEventArgs.cs:
7408 * DetailsViewCommandEventHandler.cs:
7409 * DetailsViewDeletedEventArgs.cs:
7410 * DetailsViewDeletedEventHandler.cs:
7411 * DetailsViewDeleteEventArgs.cs:
7412 * DetailsViewDeleteEventHandler.cs:
7413 * DetailsViewInsertedEventArgs.cs:
7414 * DetailsViewInsertedEventHandler.cs:
7415 * DetailsViewInsertEventArgs.cs:
7416 * DetailsViewInsertEventHandler.cs:
7417 * DetailsViewModeEventArgs.cs:
7418 * DetailsViewModeEventHandler.cs:
7419 * DetailsViewPageEventArgs.cs:
7420 * DetailsViewPageEventHandler.cs:
7421 * DetailsViewUpdatedEventArgs.cs:
7422 * DetailsViewUpdatedEventHandler.cs:
7423 * DetailsViewUpdateEventArgs.cs:
7424 * DetailsViewUpdateEventHandler.cs: Added new delegates.
7426 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
7428 * AuthenticateEventArgs.cs:
7429 * AuthenticateEventHandler.cs:
7430 * CreateUserErrorEventArgs.cs:
7431 * CreateUserErrorEventHandler.cs: Added new delegates.
7433 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
7435 * IButtonControl.cs:
7436 * ICallbackContainer.cs:
7437 * ICompositeControlDesignerAccessor.cs:
7438 * IPostBackContainer.cs: Added new interfaces.
7440 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
7443 * AutoCompleteType.cs:
7444 * ContentDirection.cs:
7445 * DataControlCellType.cs:
7446 * DataControlRowState.cs:
7447 * DataControlRowType.cs:
7448 * DetailsViewMode.cs:
7449 * DynamicImageParameterMode.cs:
7452 * ImageFieldMode.cs:
7459 * SiteMapNodeItemType.cs:
7460 * SiteMapNodeType.cs:
7461 * SiteMapViewType.cs:
7463 * TableCaptionAlign.cs:
7464 * TableHeaderScope.cs:
7466 * TreeNodeSelectAction.cs:
7468 * TreeViewImageSet.cs:
7469 * WizardStepType.cs: Added enumerations
7471 2004-08-02 Duncan Mak <duncan@ximian.com>
7474 * LoginFailureAction.cs:
7475 * LoginTextLayout.cs: Added enumerations.
7477 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7479 * BaseValidator.cs: in Validate(), when the control is not visible or
7480 enabled, return inmediately after setting IsValid to true. Fixes bug
7483 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7485 * DataList.cs: s/HasChildren/HasControls()/.
7487 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7489 * DataList.cs: style.
7491 2004-07-27 Alon Gazit <along@mainsoft.com>
7492 * DataList.cs: Replaced foreach statement with for statement,
7493 in order to improve performence.
7495 2004-07-27 Alon Gazit <along@mainsoft.com>
7496 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
7498 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
7499 switch statements in order to improve performance.
7501 2004-06-10 Alon Gazit <along@mainsoft.com>
7502 * WebControl.cs: fixed LoadViewState().
7503 Creates new attributes state bag only when the current is null.
7505 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7507 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
7509 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7511 * Calendar.cs: set the title class attribute if we have it. Fixes bug
7514 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7516 * Style.cs: added SetBit.
7518 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7521 * CompareValidator.cs:
7524 * WebControl.cs: Added protected missing members and attributes.
7526 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7528 * TextBox.cs: don't save the Text if in ViewState if it's a password.
7529 Save it if the control is not visible or not enabled. Fixes bug #58497.
7531 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7533 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
7536 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
7538 * SqlDataSourceCommandEventArgs:
7539 * XmlDataSource.cs : removed temporary workarounds for CLS
7540 compliance as System.Data is now CLS compliant
7542 2004-05-06 Alon Gazit <along@mainsoft.com>
7543 * WebControl.cs: fixed LoadViewState() and SaveViewState().
7544 Before the change the Enabled property wasn't updated when a postback
7546 * ListControl.cs: fixed SelectedIndex property implementation.
7547 Prevents throwing ArgumentOutOfRangeException (that should not be
7548 thrown), when the list is empty.
7550 2004-04-28 Alon Gazit <along@mainsoft.com>
7551 * WebControl.cs: fixed LoadViewState().
7552 Always loading the saved attributes collection.
7554 2004-04-18 Alon Gazit <along@mainsoft.com>
7555 * Repeater.cs: fixed InstantiateItem() and DataSource property.
7556 The change in DataSource prevents throwing ArgumentException while
7557 setting property value to null.
7558 The change in InstantiateItem() prevents NullReferenceException.
7560 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
7562 * BaseValidator.cs: Store Display property in the correct ViewState
7563 property. Don't render anything if Display is ValidatorDisplay.None.
7565 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
7567 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
7568 since it is already a physical path. Fixes bug #55334.
7570 2004-02-13 Jackson Harper <jackson@ximian.com>
7572 * Calendar.cs: Match MS postback data. This allows sites that
7573 parse the postback data manually to work.
7575 2004-02-04 Alon Gazit <along@mainsoft.com>
7576 * EditCommandColumn.cs: fixed InitializeCell().
7577 The rendered LiteralControl should contain " " and not " ".
7579 2004-02-01 Alon Gazit <along@mainsoft.com>
7581 * DataGrid.cs: fixed a problem in the paging mechanism in the method
7583 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
7584 while clicking the "..." link in the second page.
7586 2004-01-28 Alon Gazit <along@mainsoft.com>
7588 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
7590 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7592 * Calendar.cs: when rendering days, add a LiteralControl containing the
7593 day before OnDayRender is called. Only generate the default links for
7594 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
7596 2004-01-21 Martin Baulig <martin@ximian.com>
7598 * XmlHierarchyData.cs: Make this compile with csc.
7600 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
7601 accessor since the base class doesn't have one.
7603 2004-01-18 Alon Gazit <along@mainsoft.com>
7605 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
7607 2004-01-18 Alon Gazit <along@mainsoft.com>
7609 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
7610 Property default value.
7611 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
7612 Property default value.
7614 2004-01-15 Alon Gazit <along@mainsoft.com>
7616 * RadioButtonList.cs: RepeatLayout property should affect the rendered
7619 2004-01-15 Alon Gazit <along@mainsoft.com>
7620 * FontInfo.cs: Add validation check to Size property.
7622 2004-01-07 Alon Gazit <along@mainsoft.com>
7623 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
7624 merge the column's style to the cell's style and not to
7625 the item's(row) style.
7627 2004-01-04 Alon Gazit <along@mainsoft.com>
7628 * RangeValidator.cs: Fixed ControlPropertiesValid().
7630 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7632 * Xml.cs: mono-stylized and removed warnings.
7634 2004-1-1 Alon Gazit <along@mainsoft.com>
7635 * RadioButtonList.cs: update RenderItem() so that each RadioButton
7636 is enabled or disabled like the RadioButtonList.
7637 * CheckBoxList.cs: update RenderItem() so that each CheckBox
7638 is enabled or disabled like the CheckBoxList.
7640 2004-1-1 Alon Gazit <along@mainsoft.com>
7641 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
7642 The Header or Footer Style shouldn't merge with the cells Style.
7644 2004-1-1 Alon Gazit <along@mainsoft.com>
7645 * DataGridColumn.cs: Headers and Footers are initialized
7646 with the relevant Style object.
7648 2003-12-30 Alon Gazit <along@mainsoft.com>
7649 * RepeatInfo.cs: Fixed DoVerticalRendering () and
7650 DoHorizontalRendering().
7651 Current implementation produces few extra html tags.
7653 2003-12-29 Alon Gazit <along@mainsoft.com>
7655 * CheckBox.cs: change the implementation of LoadPostData.
7656 Currently, while the AutoPostBack property equals true ,
7657 it isn't possible to perform uncheck.
7659 2003-12-19 Jackson Harper <jackson@ximian.com>
7661 * TableCell.cs: Setting a cells text should clear its control
7662 collection as per la specification. This fixes bug #51825.
7664 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7666 * DataGridColumn.cs: stylized LoadViewState.
7667 * DataGridColumnCollection.cs: when TrackViewState is called, also
7668 call it on all the existing columns. Fixes bug #52334.
7670 2003-12-18 Alon Gazit <along@mainsoft.com>
7672 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
7675 2003-12-18 Alon Gazit <along@mainsoft.com>
7677 * TableStyle.cs: merge TableStyle properties when Style is empty.
7679 2003-12-16 Alon Gazit <along@mainsoft.com>
7681 * HyperLink.cs: Change Text property implementation. in MS when the Text
7682 property is set, all the controls in the HyperLink are being deleted.
7683 This fixes bug #52239.
7685 2003-12-15 Alon Gazit <along@mainsoft.com>
7686 * RepeatInfo.cs: Fixed DoVerticalRendering () and
7687 DoHorizontalRendering().
7688 Both methods add additional empty table row in the head of each item
7689 table when the variable named isTable equals true (happenes with the
7690 default instantiation of RepeatInfo). These additional rows should be
7691 added when isTable equals false.
7692 This fixes bug #52225.
7694 2003-12-15 Alon Gazit <along@mainsoft.com>
7696 * RepeatInfo.cs: Fixed DoVerticalRendering() and
7697 DoHorizontalRendering().
7698 Both methods add to rendered Header a colspan attribute according to the
7699 rows count. after the change the colspan is added according to the
7702 2003-12-15 Alon Gazit <along@mainsoft.com>
7703 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
7704 In .NET if the checkbox is disabled ,its text appears disabled too.
7705 In Mono the text appears enabled. the fix is in Render().
7706 This fixes bug #52180.
7708 2003-12-15 Alon Gazit <along@mainsoft.com>
7709 * Repeater.cs: Change the implementation of CreateControlHierarchy().
7710 The current implementation renders extra Header and footer
7711 without Repeater.DataSource assign.
7712 This fixes bug #52179.
7714 2003-12-15 Alon Gazit <along@mainsoft.com>
7715 * DataGrid.cs: Change the implementation of the property
7716 BackImageUrl. The current implementation has no influence
7717 on the rendered Html.
7719 2003-12-15 Alon Gazit <along@mainsoft.com>
7720 * WebControl.cs: Change the implementation of the property
7721 Enabled. Before the change the WebControl also looked at
7722 parent.Enabled . fixed bug #52171.
7724 2003-12-11 Jackson Harper <jackson@ximian.com>
7726 * RepeatInfo.cs: When rendering vertically figure out how many
7727 colmns are not going to be filled in in the last row, and adjust
7728 things accordingly. This fixes bug #51863.
7730 2003-12-10 Alon Gazit <along@mainsoft.com>
7731 * TableRow.cs: Change the implementation of the properties
7732 HorizontalAlign and VerticalAlign. The current implementation
7733 has no influence on the rendered Html.
7735 2003-12-10 Alon Gazit <along@mainsoft.com>
7736 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
7737 property's set method.
7739 2003-12-09 Jackson Harper <jackson@ximian.com>
7741 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
7742 Increment counter when moving to start. Fixes bug #51926.
7744 2003-12-08 Jackson Harper <jackson@ximian.com>
7746 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
7747 Benjamin Jemlich. Fixes bug #51823.
7749 2003-12-07 Alon Gazit <along@mainsoft.com>
7750 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
7751 property is set to false. Fixes bug #58120.
7753 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7755 * TableItemStyle.cs: merge TableItemStyle properties when Style is
7756 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
7758 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7760 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
7763 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7765 * WebControl.cs: don't create the attributes when GetAttribute is
7768 2003-12-01 Jackson Harper <jackson@ximian.com>
7770 * WebControl.cs: Only allow access keys to be null or a single
7771 char. Patch by Alon Gazit <along@mainsoft.com>.
7773 2003-11-30 Jackson Harper <jackson@ximian.com>
7775 * CheckBoxList.cs: A checkbox will have null post data if it is
7776 unselected. This fixes bug #51516.
7778 2003-11-29 Jackson Harper <jackson@ximian.com>
7780 * DataGrid.cs: Display paging controls even when there is no
7781 data. Path by Mohammad DAMT. Fixes bug #51487.
7783 2003-11-29 Jackson Harper <jackson@ximian.com>
7785 * DataGrid.cs: Call TrackViewState when loading bound columns view
7786 state. So that their state is saved. This fixes bug #51424. Also
7789 2003-11-26 Jackson Harper <jackson@ximian.com>
7791 * BaseDataList.cs: Change && to || We will call that a typo so no
7792 one gets embarrased.
7794 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7796 * BaseDataList.cs: allow setting null as Datasource.
7798 * DataGrid.cs: keep autogenerated columns in the ViewState.
7800 Patches by Alon Gazit <along@mainsoft.com>.
7802 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
7804 * SqlDataSource*: Implement almost everything. Data access is
7807 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
7809 * Calendar.cs (SaveViewState):
7810 - We were allocating a 11 item array, we only used 10 items,
7811 so only allocate 10.
7812 - We only need to save the selected dates if there are any.
7813 * DataGrid.cs (SaveViewState):
7814 * DataGridColumn.cs (SaveViewState):
7815 * DataGridColumnCollection.cs (SaveViewState):
7816 - Only return the array if there is anything in it
7817 * Style.cs (SaveViewState):
7818 - Only save the bits if there were changes.
7819 * WebControl.cs (SaveViewState), (LoadViewState):
7820 - Don't save Enabled into the viewstate here, we already
7821 do it in the property. This just caused *EVERY* control
7822 to have a non-null state, taking up lots of extra room
7824 - The style will always be created with this control's
7825 viewstate, so the style will always return null for the
7826 viewstate. As such, we do not need to store it. We can
7827 also reduce the triplet to a pair because of this.
7829 2003-11-22 Jackson Harper <jackson@ximian.com>
7831 * ValidationSummary.cs: Fix number of messages and message array computation.
7833 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
7835 * Xml.cs: Corrected attribute
7836 * XmlBuilder.cs: Added
7838 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7840 * Xml.cs: class status based fixes.
7842 2003-11-19 Jackson Harper <jackson@ximian.com>
7844 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
7846 2003-11-19 Jackson Harper <jackson@ximian.com>
7848 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
7849 teh applications base directory. This fixes bug #51092.
7851 2003-11-18 Todd Berman <tberman@gentoo.org>
7853 * ControlParameter.cs:
7854 * CookieParameter.cs:
7856 * QueryStringParameter.cs:
7857 * SessionParameter.cs: added public .ctor ()
7858 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
7859 and handling, as well as internal ParameterValue for easy access.
7860 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
7861 * ParameterCollection.cs: implementation redux.
7863 2003-11-18 Todd Berman <tberman@gentoo.org>
7865 * ParameterCollection.cs: Implemented
7866 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
7867 ToString () now matches asp.net
7869 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
7871 * ControlParameter.cs:
7872 * CookieParameter.cs:
7875 * QueryStringParameter.cs: New v2 files. Mostly
7876 implemented, still need a few methods.
7878 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7880 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
7881 Gazit <along@mainsoft.com>.
7883 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7885 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
7886 Patch by Alon Gazit <along@mainsoft.com>.
7888 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
7890 * DataBoundControl.cs: Implement
7891 * ListControl.cs: inherit from the above.
7892 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
7894 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
7899 * Repeater.cs: add v2 databinding stuff
7900 * XmlDataSource.cs: make it load the xml.
7902 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
7905 * XmlDataSourceView.cs:
7906 * XmlHierarchicalDataSourceView.cs:
7907 * XmlHierarchicalEnumerable.cs:
7908 * XmlHierarchyData.cs: Implement
7910 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
7912 * SiteMapDataSourceView.cs: Implement.
7914 2003-11-07 Jackson Harper <jackson@ximian.com>
7916 * ImageButton.cs: This is a workaround for bug #49819. It appears
7917 that the .x and .y values are not being posted, and only the x
7918 value is being posted with the ctrl's id as the key.
7920 2003-11-07 Jackson Harper <jackson@ximian.com>
7922 * DataGrid.cs (CreateControlHierarchy): Current page index is
7923 alolowed to equal page count. This prevents an exception being
7924 thrown when both are zero.
7926 2003-11-06 Jackson Harper <jackson@ximian.com>
7928 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
7929 * BaseValidator.cs: Disable base control so the isValid flag is
7932 2003-11-03 Jackson Harper <jackson@ximian.com>
7934 * TemplateColumn.cs: Use the same renderer for selected items as
7935 normal items. This fixes bug #49744.
7937 2003-11-03 Jackson Harper <jackson@ximian.com>
7940 * WebControl.cs: Fix argument out of range exceptions on
7941 properties. Patch by Yaron Shkop.
7943 2003-11-03 Jackson Harper <jackson@ximian.com>
7945 * TemplateColumn.cs: If the item is selected but there is no
7946 editItemTemplate use the itemTemplate. This matches MS behvoir.
7948 2003-11-03 Jackson Harper <jackson@ximian.com>
7950 * Repeater.cs: Always set alternating items to the AlternatingItem
7951 type, when instantiating alternating items use the itemTemplate if
7952 the alternatingItem template is null. This matches MS behavoir and
7955 2003-11-03 Jackson Harper <jackson@ximian.com>
7957 * DataGridPagerStyle.cs: Name of view state attribute is
7958 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
7959 visibility is changed. Patch by Yaron Shkop.
7961 2003-11-03 Jackson Harper <jackson@ximian.com>
7963 * RepeatInfo.cs: When doing horizontal rendering use the repeat
7964 columns as the number of columns in a row. This fixes bug #49016.
7966 2003-11-03 Jackson Harper <jackson@ximian.com>
7968 * PagedDataSource.cs (PageCount): Return page count of 1 if there
7969 paging is disabled. Patch by Yaron Shkop.
7970 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
7971 * TableStyle.cs (AddAttributesToRender): Render border style
7972 collapse. Patch by Yaron Shkop.
7974 * TableItemStyle.cs:
7975 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
7976 the wrong type. Patch by Yaron Shkop.
7978 2003-11-03 Jackson Harper <jackson@ximian.com>
7980 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
7982 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
7985 * BulletedListDisplayMode.cs:
7986 * BulletedListEventHandler.cs:
7988 * BulletedListEventArgs.cs: V2 controls (yay!)
7990 2003-10-30 Jackson Harper <jackson@ximian.com>
7992 * Repeater.cs: Throw an exception if the datasource is set to
7993 something that does not implement either IListSource or
7994 IEnumerable. This fixes bug #50155.
7996 2003-10-30 Jackson Harper <jackson@ximian.com>
7998 * DataGridPagerStyle.cs: Do not allow page button counts to be set
7999 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
8001 2003-10-29 Jackson Harper <jackson@ximian.com>
8003 * ButtonColumn.cs: Format string and text to format were
8004 inversed. This fixes bug #50171.
8006 2003-10-29 Jackson Harper <jackson@ximian.com>
8008 * DataGridColumn.cs: If an item style is set apply it to the
8009 cell. This fixes bug #50173.
8011 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
8013 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
8014 old debugging value.
8016 2003-10-29 Jackson Harper <jackson@ximian.com>
8018 * PagedDataSource.cs:
8019 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
8020 end of the last page. Fixes bug #5085.
8022 2003-10-29 Jackson Harper <jackson@ximian.com>
8024 * CheckBox.cs: Do not change the status of a checkbox when there
8025 is no post data. This fixes bug #49091.
8026 * CheckBoxList.cs: Do not change the status of the checkboxes when
8027 there is no post data. This fixes bug #49093.
8029 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
8031 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
8032 RadioButton. Fixes #50132
8034 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8036 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
8037 paging from working. Fixes #48814.
8039 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8041 * DataGrid.cs: A few typos kept us from viewing datagrids
8042 that were based on customized collections.
8044 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
8046 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
8048 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
8050 * Calendar.cs: render the next month button so that aligns to the
8053 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8055 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
8056 was just changing && by || after the first Match.
8058 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8060 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
8061 Patch by Yaron Shkop.
8063 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8065 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
8066 that fixes bug #49744. Now the selection doesn't lose its data.
8068 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8070 * EditCommandColumn.cs: Implement; fix #49736
8072 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8074 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
8075 the forground color. bug #49738
8077 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8079 * Calendar.cs: fixed bug #49727.
8081 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
8083 * TableStyle.cs: fix #49740.
8085 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8087 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
8088 * ValidationSummary.cs: fixes bug #49669.
8090 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8092 * Calendar.cs: apply the calendar style to the new Table, not to itself.
8095 * CheckBox.cs: render the hidden fields if AutoPostBack.
8097 * Style.cs: don't render empty width/height. Small improvement in
8100 * Table.cs: fixed condition for border width.
8103 (CopyFrom): always call the base class to copy other attributes. Fixes
8104 bug #49408. Don't render empty 'rules' attribute.
8106 * WebControl.cs: track viewstate when enabled. Don't overwrite source
8107 control attributes in CopyBaseAttributes.
8109 * ChangeLog: fixed dates.
8112 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8114 * WebControl.cs : Attributes { get; } - Is Complete.
8115 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
8118 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8120 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
8121 : RegisterValidatorCommonScript()
8122 - More code, I need HELP!
8123 : RegisterValidatorDeclaration()
8124 - More code, I need HELP!
8126 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8128 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
8131 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8133 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
8134 ClearViewState only called when no items.
8136 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8138 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
8140 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8142 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
8144 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8146 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
8149 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8151 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
8154 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8156 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
8157 * WebControl.cs: fixed Enabled property and save it in ViewState.
8161 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8163 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
8165 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8167 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
8170 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8172 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
8173 <rich@velvetsea.net>.
8175 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8177 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
8178 Skripsky <juraj@hotfeet.ch>
8180 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8182 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
8183 fixes rendering of the end tag.
8185 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8187 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
8188 (Yaron Shkop). Closes bug #48060.
8190 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8192 * CheckBox.cs: in LoadPostData, only return
8193 true when the new data is different from the one we had. Fixed
8194 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
8197 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8199 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
8201 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8203 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
8204 of Enable in ViewState. Fixes bug #47865.
8206 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8208 * Style.cs: the MARKED bit is not send set in ViewState unless something
8209 is changed. Fixed TrackViewState condition.
8211 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
8212 because it uses the same ViewState as the control. Fixes bug #47725.
8214 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8216 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
8217 that fixes databinding when only DataTextField or DataNavigateUrlField
8220 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8222 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
8223 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
8224 values before assigning a data source and other issues.
8226 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8228 * CheckBox.cs: save viewstate when needed and correctly handle post
8229 data. Fixes bug #47462.
8231 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8233 * ButtonColumn.cs: Removed additional attributes
8234 * CheckBox.cs: Added attribute
8235 * DataGrid.cs: Added attributes
8236 * HyperLinkColumn.cs: Changed attributes, added lamespec
8237 * Style.cs: Removed attributes
8238 * TextBox.cs: Added/ removed attributes
8240 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8242 * AdRotator.cs: Added all attributes
8243 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
8244 * BaseValidator.cs: Added all attributes
8245 * BoundColumn.cs: Added all attributes
8246 * Button.cs: Added all attributes
8247 * ButtonColumn.cs: Added all attributes, added lamespec
8248 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
8249 * CheckBox.cs: Added all attributes
8250 * CheckBoxList.cs: Added all attributes
8251 * CompareValidator.cs: Added all attributes
8252 * CustomValidator.cs: Added all attributes
8253 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
8254 * DataGridColumn.cs: Added all attributes
8255 * DataGridColumnCollection.cs: Added all attributes
8256 * DataGridPagerStyle.cs: Added all attributes
8257 * DataGridTableInternal.cs: Made DataGridTableInternal internal
8258 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
8259 * DropDownList.cs: Added all attributes
8260 * FontInfo.cs: Added all attributes
8261 * HyperLink.cs: Added all attributes
8262 * HyperLinkColumn.cs: Added all attributes
8263 * Image.cs: Added all attributes
8264 * ImageButton.cs: Added all attributes
8265 * Label.cs: Added all attributes
8266 * LinkButton.cs: Added all attributes
8267 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
8268 * ListControl.cs: Added all attributes
8269 * ListItem.cs: Added all attributes
8270 * ListItemCollection.cs: Added attribute
8271 * Literal.cs: Added all attributes
8272 * Panel.cs: Added all attributes
8273 * RadioButton.cs: Added all attributes
8274 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
8275 * RangeValidator.cs: Added all attributes
8276 * RegularExpressionValidator.cs: Added all attributes
8277 * Repeater.cs: Added all attributes
8279 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8281 * RequiredFieldValidator.cs: Added all attributes
8282 * Style.cs: Added all attributes
8283 * Table.cs: Added all attributes
8284 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
8285 * TableCellCollection.cs: Added attribute
8286 * TableRow.cs: Added all attributes
8287 * TableRowCollection: Added attribute
8288 * TableStyle.cs: Added all attributes, improved error messages
8289 * TemplateColumn.cs: Added all attributes
8290 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
8291 * ValidationSummary.cs: Added all attributes
8292 * WebControl.cs: Added all attributes
8293 * Xml.cs: Added all attributes
8295 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8297 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
8298 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
8300 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8302 * CheckBoxList.cs: fixes bug reported on the list about the state of
8303 the CheckButtons not being preserved across posts.
8305 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8307 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
8309 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8311 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
8313 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8315 * ListControl.cs: save viewstate data when any of the 3 values is not
8316 null. Fixed condition to save selection indices. Closes bug #45493.
8318 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8320 * DataGrid.cs: fixed bug #43823.
8322 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8324 * DataGrid.cs: fixed delegate type for SortCommand.
8326 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8328 * DataGridColumnCollection.cs: added missing return in RemoveAt.
8330 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8332 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
8333 Don't save ViewState is the number of columns is 0.
8335 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8337 * DataGrid.cs: get the right item Type for the property we're reading
8338 fromt the data source.
8340 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8343 * TextBox.cs: added control builder attribute.
8345 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8347 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
8349 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
8351 * Unit.cs: Called the correct method to get the Numeric locale for the
8354 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8356 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
8357 correctly the header of the column.
8359 * DataGridTableInternal.cs: don't assign a default ID to this control.
8361 * LinkButton.cs: raise bubble event in OnCommand.
8363 * TableCellCollection.cs: fixed the index returned by Add.
8365 * TableRowCollection.cs: ditto.
8367 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8369 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
8371 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8373 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
8374 for reporting the bug and providing the fix.
8376 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8378 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
8379 CreateColumnSet. Set the owner of the column when auto generated.
8380 In PrepareControlHierarchyForItem, fixed for loop bound.
8382 * LinkButtonInternal.cs: fixed infinite recursion bug.
8386 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
8388 * Xml.cs: a few fixes.
8390 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8392 * DataList.cs: handle the exception when adding new keys to
8395 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8397 * BaseDataList.cs: what can I say for this one? I spent so many time
8398 until I finally found this that I'm gonna miss this f....g bug... ;-).
8399 Farewell. Now we can get events from image buttons inside Data*.
8401 * DataList.cs: now the value stored in ViewState for item count is
8404 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8406 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
8408 * DataGridColumn.cs: added SetOwner method.
8409 * DataGridColumnCollection.cs: set the owner of the column when added.
8411 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8413 * BoundColumn.cs: typo.
8414 * DataGrid.cs: use 'as' instead of casting. Typo.
8415 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
8418 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8420 * HyperLink.cs: fixes bug #36336.
8422 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8424 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
8426 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8428 * BaseValidator.cs: return an empty string in GetControlValidationValue
8429 when GetValue returned null.
8431 * CompareValidator.cs: fixed EvaluateIsValid.
8433 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
8435 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8437 * Xml.cs: use MapPathSecure to get the path of the document.
8439 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8441 * DataList.cs: fixed header & footer.
8443 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8445 * DataList.cs: for header and footer don't use data source.
8446 Instantiate in the DataListItem, not in the DataList.
8447 databind-template.aspx works now.
8449 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8452 (Render): call RenderContents (), not base.RenderContents ().
8454 * DataList.cs: style.
8456 But I still haven't found what i'm looking for....
8458 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8460 * Calendar.cs: fixed loading/saving selected dates.
8461 * SelectedDatesCollection.cs: added internal function to get the
8462 underlying ArrayList.
8464 Calendar navigation works again. Selecting dates too.
8466 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8468 * DataList.cs: added a few attributes and fixed infinite recursion.
8470 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8472 * ListItemCollection.cs: fixed LoadViewState.
8474 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8476 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
8477 Commented out some code until it works.
8479 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
8481 * BaseCompareValidator.cs - Fixed operator bug in
8482 Compare(string, string, ...)
8483 * CompareValidator.cs - EvaluateIsValid() : Implemented.
8485 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8487 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
8489 - All Properties : Now make use of ViewState.
8491 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8493 * BaseValidator.cs - Uncomment NotImplementedException.
8495 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8497 * BaseValidator.cs - Minor changes in TODO comments.
8499 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8501 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
8502 the NotImplementedException being thrown.
8503 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
8504 * DataGridLinkButton.cs - Added new class (private) : Implemented.
8505 * DataGrid.cs - InitializePager(DataGridItem, int,
8506 PagedDataSource) : Implemented.
8508 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8510 * DataList.cs - PrepareControlHierarchy() : Implemented.
8512 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8514 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
8515 - GetItem(ListItemType, int) : Removed TODO.
8516 - CreateControlHierarchy(bool) : Implemented.
8517 - CreateItem(int, ListItemType) : Implemented.
8518 - CreateItem(int, ListItemType,
8519 bool, object) : Implemented.
8520 - InitializeItem(DataItem) : Implemented.
8521 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
8522 The ViewState["_!ItemCount"],
8523 ViewState["_!DataSource_ItemCount"]
8524 are shared by DataList and DataGrid, and hence
8525 should share the same name.
8526 - ResolveDataSource(object, string)
8527 : Removed. Use System.Web.UI.Utils.DataSourceHelper
8528 ::GetResolvedDataSource(object, string).
8531 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8533 * DataGrid.cs: fixed compilation
8535 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
8537 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
8538 * DataGrid.cs - CreateControlHierarchy(bool)
8539 : working towards completion.
8540 - ResolveDataSource(object, string)
8541 : stubbed new method
8543 : stubbed new method
8544 Well. It's almost done.
8545 * DataGridTableInternal.cs
8546 - Added new internal class.
8548 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
8550 * DataSourceInternal.cs - Added new class (internal).
8552 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8555 * HorizontalAlign.cs:
8557 * VerticalAlign.cs: fixes based on class status page.
8559 * HorizontalAlignConverter.cs: implemented.
8560 * VerticalAlignConverter.cs: implemented.
8562 * FontUnitConverter.cs: implemented GetStandardValues ().
8564 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
8566 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
8568 * DataGrid.cs - AutoCreateColumns: Bug fixes.
8570 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
8572 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
8574 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
8576 * DataGrid.cs - Working on the undocumented protected
8577 method CreateColumnSet. AutoCreateColumns method
8578 stubbed. Left CreateControlHierarchy for the time
8579 being, looks like I'm going insane. ;-)
8581 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
8583 * Button.cs - Steffen's OnCommand bug fix.
8585 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
8587 * DataGrid.cs - Added protected method (skeleton)
8588 CreateColumnSet(PagedDataSource, bool)
8589 Still trying to know how will it be used
8592 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8594 * PagedDataSource.cs: fixed compilation.
8596 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
8598 * DataGrid.cs - Added private method
8599 CreatePagedDataSource
8601 CreateControlHierarchy(bool)
8602 * PagedDataSource.cs - Bug fixed.
8603 CurrentPageIndex is writable.
8605 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8607 * DataGrid.cs: fixed typo.
8608 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
8610 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
8612 * DataGridColumn.cs - Added internal methods to get the
8613 various styles (needed in DataGrid.cs)
8614 * DataGrid.cs - Completed the method
8615 PrepareControlHierarchy()
8617 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
8619 * DataGrid.cs - Wokring on PrepareControlHierarchy()
8620 - Added private method
8621 PrepareControlHierarchyForItem()
8623 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
8625 * DataGrid.cs - Completed method
8626 OnBubbleEvent(object, EventArgs)
8628 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8630 * Xml.cs: implemented document/transform load.
8632 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8634 * Calendar.cs: added myself to the list of authors.
8635 * DropDownList.cs: fixed a few properties.
8636 * ListControl.cs: fixed SelectedIndex.
8638 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8640 * Calendar.cs: lots of fixes. Render days. Still left to persist
8641 selected days when changing month.
8643 * Unit.cs: fixed Percentage and Pixel.
8645 * WebControl.cs: a few properties are now using ControlStyle instead
8646 of ViewState to persist.
8648 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8650 * BaseValidator.cs: it works now.
8651 * DataGridColumn.cs: added attribute and made it abstract.
8652 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
8654 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8656 * TextBox.cs: default for Wrap is true.
8657 (OnPreRender): don't save Text if there are no listeners on TextChanged.
8659 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8665 (LoadViewState): fixed.
8667 * ListItemCollection.cs:
8668 (TrackViewState): use items instead of 'this' in foreach.
8671 (LoadViewState): more checking of parameters.
8673 * WebControl.cs: implemented LoadViewState and SaveViewState.
8676 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8678 * ListItem.cs: there was no code to unset the flags!!!
8680 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8682 * FontUnit.cs: use a hashtable for mapping size name to value.
8683 * HyperLink.cs: fixed a bug and a typo.
8684 * Unit.cs: some fixes to internal constructor.
8686 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8688 * ListControl.cs: fixed a couple of range checks.
8689 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
8690 an HtmlForm (p.e., Label).
8692 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8702 * HyperLinkColumn.cs:
8711 * RadioButtonList.cs:
8715 * WebControl.cs: removed attributes added by mistake (i used
8716 GetCustomAttributes (true), d'oh!).
8718 * DataListItem.cs: implemented RenderItem.
8720 * Repeater.cs: implemented CreateItem and InitializeItem.
8722 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8724 * BaseDataList.cs: a couple of fiex and added attributes.
8725 * DataGrid.cs: little fixes.
8727 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8736 * RadioButtonList.cs:
8739 * Xml.cs: forgot to add using System.ComponentModel.
8741 * BaseValidator.cs: use explicitly
8742 System.ComponentModel.AttributeCollection as there is another class
8743 with the same name under System.Web.UI.
8745 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8764 * RadioButtonList.cs:
8769 * Xml.cs: added/fixed all attributes used by xsp.
8771 * BaseValidator.cs: some fixes.
8773 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8776 (AddAttributesToRender): correctly default to border=1.
8778 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8781 (LoadAdFile): make the dictionary null after every iteration.
8785 * ListItem.cs: fixed warnings.
8787 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
8789 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
8791 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8793 * DataGridColumn.cs:
8794 * DataGridPagerStyle.cs:
8801 * ListItemCollection.cs:
8803 * ServerValidateEventArgs.cs:
8807 * Xml.cs: more class status page based changes.
8809 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8812 (.ctor): fixed to render the correct tag.
8813 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
8815 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8818 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
8819 WebControl derived classes should be rendered inside a HtmlForm.
8821 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8823 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
8826 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8828 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
8829 * RepeatInfo.cs: implemented DoHorizontalRendering.
8831 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8833 * System.Web.UI.WebControls/Repeater.cs:
8835 (OnDataBinding): fixed stack overflow.
8837 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8839 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
8840 * RepeatInfo.cs: implemented DoHorizontalRendering.
8842 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8845 (CopyBaseAttributes): copy Attributes and don't throw exception.
8847 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8849 * ListBox.cs: mono-stylized.
8850 (AddAttributesToRender): call parent class method.
8852 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8854 * Style.cs: fixed IsEmpty and Width.
8856 * Table.cs: mono-stylized.
8857 (TableRowControlCollection.AddAt): fixed.
8858 (AddAttributesToRender): fixed.
8860 * TableCell.cs: mono-stylized.
8861 (.ctor): use PreventAutoID.
8862 (AddAttributesToRender): fixed.
8863 (AddParsedSubObject): fixed.
8865 * TableRow.cs: mono-stylized. Added
8866 ParseChildren attribute.
8869 (get_GridLine): fixed.
8871 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8873 * Panel.cs: fixed stack overflow.
8874 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
8875 and SingleConverter.
8877 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8879 * RadioButton.cs: mono-stylized and some little fixes.
8881 * TextBox.cs: mono-stylized.
8882 (MaxLength): fixed typo.
8884 (AddAttributesToRender): don't render the text between the tags for
8885 SingleLine, use value attribute for it. Don't render the text for
8888 (OnPreRender): don't throw exception and call base.OnPreRender.
8890 (Render): for MultiLine, render the text between the opening and
8891 closing tags encoded as HTML.
8893 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8896 (AddAttributesToRender): fixer another stack overflow.
8899 (TagName): modified to use TagKey instead of tagKey as the property
8902 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8904 * LinkButton.cs: mono-stylized.
8905 (AddParsedSubObject):
8906 (RenderControls): little fixes.
8909 (AddAttributesToRender): fixed usage of IEnumerator.
8911 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8913 * Literal.cs: beautified.
8915 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8917 * Label.cs: beautified and fixed a couple of 'classic' bugs.
8919 * WebControl.cs: use Span as default tag when no other provided in
8920 constructor. That is what MS renders.
8922 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8925 (AddAttributesToRender): fixed (classic) stack overflow.
8927 * CheckBox.cs: mono-stylized.
8928 (AutoPostBack): fixed stack overflow.
8929 (Render): fixed alignment issues. Also set the For attribute always
8932 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8934 * AdRotator.cs: GetData does not work as it should, but now it returns
8935 useful data (only the first ad in the file). Set the NavigateUrl
8936 property in the hyperlink if available.
8938 * HyperLink.cs: fixed constructor and a couple of stack overflows.
8940 * Image.cs: added an attribute and fixed stack overflow.
8943 (RenderBeginTag): fixed.
8944 (TagName): don't call Enum.IsDefined twice.
8946 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8948 * WebControl.cs: added attributes PersistChildrenAttribute and
8949 ParseChildrenAttribute.
8951 2002-05-24 Duncan Mak <duncan@ximian.com>
8953 * DataGridItem.cs (SetItemType): Changed function signature to
8956 * ListItemCollection.cs (this): Changes the visibility level of
8959 * Repeater.cs (OnItemCommand):
8961 (OnItemDataBound): Added necessary casts.
8963 2002-05-07 Duncan Mak <duncan@ximian.com>
8965 * Button.cs (AddAttributesToRender):
8966 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
8967 GetClientValidatedEvent method.
8969 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
8971 * Removed extra methods, corrected access modifiers to several
8974 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
8976 * <SeveralFiles>.cs - Added some attributes
8977 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
8978 methods. Will complete them later. Right now, busy with
8979 the attributes part.
8980 * RepeaterItem.cs - Completed.
8982 Oh God! Mercy! I will die applying attributes. I look at the missing
8983 part in the class-status - daemon! Kyrie eleison!
8985 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
8989 * AdRotator.cs - Added definition for Font.
8990 * BaseCompareValidator.cs - Added definition for Controls.
8991 * Calendar.cs - SelectMonthText definition corrected.
8992 * DataList.cs - Added definition for SeparatorTemplate.
8993 * BorderStyle.cs - Namespace correction. It belongs not to UI,
8994 but to UI.WebControls.
8996 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
8998 Finally, I have made it. Today I did a second build for the
8999 System.Web assembly. It compiled 195 classes today.
9000 I am waiting eagerly for the runtime to come up so that the objects
9001 may be tested to their last levels. Several of the methods are still
9002 under the tag of "TODO" throwing NotImplementedException. Well, I
9003 hope to remove them soon, but how far is this soon - even I don't
9004 know, though I am happy to make the build a success even before
9005 the vacations to come.
9007 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
9009 Yesterday and today I tried to do some building of the aseembly,
9010 but was dumped with uncoutably infinite errors. ;-)
9011 I have put the copies of the recent errors on my home page, want
9012 to have a look at them? See:
9013 http://mastergaurav.virtualave.net/mono/
9014 I don't know what to do with these errors. Oh! The buggy me! How
9015 will I overcome myself. Hopefully, by when my vacations over, I
9016 should have made a repository where the build will not fail.
9018 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
9020 I am now going to do a build that will include the
9021 System.Web.UI.WebControls namespace. Hoping that I will make it
9022 soon. My exams are coming near and I have to pack up soon.
9025 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
9028 And with this, ie, today's work, all the objects mentioned in the
9029 namespace appear in the implementation. But it may not be worth
9030 trying to go for a build because of dependence of several of the
9031 internal methods that may clash with already available assembly
9034 Also, the classes lack possible attributes, like those informing
9035 about child-controls etc. But I have to first create the attribute
9036 classes before I attach the attributes to the classes.
9038 * CustomValidator.cs - Completed. In process realized that
9039 I have to complete / rejuvinate BaseValidator class.
9040 * BaseValidator.cs - Complete rejuvination. Completed 80%
9041 of the job. All that is left is Render(HtmlTextWriter),
9042 DetermineRenderUplevel(), RegisterValidatorCommonScript()
9043 RegisterValidatorDeclaration()
9044 * DataGridPagerStyle.cs - Completed. That adds one more missle
9046 * DataKeyCollection.cs - Completed. Petty small.
9047 * Repeater.cs - Work started off. This is a quite
9049 * DataGridItemEventArgs.cs,
9050 * DataGridShortCommandEventArgs.cs,
9051 * DataListItemEventArgs.cs,
9052 * MonthChangedEventArgs.cs,
9053 * RepeaterItemEventArgs.cs,
9054 * ServerValidateEventArgs.cs,
9055 * DataGridPageChangedEventArgs.cs
9056 - Damn, I marked them "*", while they
9058 * Repeater.cs - Done all except for an undocumented
9059 method CreateControlHierarchy(bool). Though the method
9060 is quite clear by its name, but it will take some time
9061 for me to come with some material to flush in.
9063 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
9065 * SelectedDatesCollection.cs - Completed.
9066 * PagedDataSource.cs - Completed. Pathetically nice class.
9067 * RegularExpressionValidator.cs
9068 - Completed. Ridiculously small and
9069 annoyinglyc crazy-driving class, basically the method
9071 * RangeValidator.cs - Completed.
9072 * DataGridColumn.cs - Completed.
9073 * EditCommandColumn.cs - All is complete except for the
9074 InitializeCell(TableCell, int, ListItemType) method.
9075 * DataListItem.cs - All done except for a longish method
9076 RenderItem(HtmlTextWriter, bool, bool)
9078 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
9080 * RepeaterItemCollection.cs - Completed.
9081 I love *Collection classes. I am planning to make a
9082 program that will generate a *Collection class. It's so
9083 simple and the same. ;-)
9084 * DataGridColumnCollection.cs - Completed.
9085 ... except probably for *ColumnCollection classes, where
9086 you have to put in some more effort. Still, these class
9087 generation can be automated.
9088 * DataListItemCollection.cs - Completed.
9089 See, how easily, in less than a quarter of a minute, I
9090 completed this class - manually. Copy-Paste/Cut-Replace.
9092 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
9094 * DataGrid.cs - Following methods implemented:
9095 TrackViewState(), LoadViewState(object), SaveViewState(),
9096 On* -- The event raisers.
9097 OnBubbleEvent(object, EventArgs) is still incomplete.
9098 * DataGridItem.cs - Initial Implementation
9099 * DataGridItemCollection.cs - Completed.
9101 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
9103 * DataGrid.cs - Initial Implementation. Worked
9104 primarily with some properties.
9106 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
9108 * ListBox.cs - Completed. Implemented
9109 LoadPostData(string, NameValueCollection)
9110 * RequiredFieldValidator.cs - Completed. Pretty simple class.
9112 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
9114 * ListBox.cs - Implemented the following:
9115 RaisePostDataChangedEvent()
9117 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
9119 * ListBox.cs - Supports the following properties:
9120 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
9123 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
9124 RenderContents(HtmlTextWriter)
9127 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
9129 * TargetConverter.cs - Completed
9130 * TemplateColumn.cs - Completed
9131 * DataList.cs - Corrected the get-er methods for the
9132 *Style objects. Corrected the get/set-er methods for ViewState
9134 Addded support for properties:
9135 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
9136 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
9137 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
9138 SeparatorStyle, SeparatorItemTemplate.
9140 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
9141 ItemCreated, ItemDataBound, UpdateCommand.
9143 CreateControlStyle(), LoadViewState(object),
9144 SaveViewState(), TrackViewState
9146 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
9147 OnEditCommand, OnItemCommand, OnItemCreated,
9148 OnItemDataBound, OnUpdateCommand
9149 Added dummy methods for some undocumented methods:
9150 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
9151 CreateItem(int, ListItemType, bool, object),
9152 PrepareControlHierarchy(), InitializeItem(DataListItem)
9153 * ListBox.cs - Started working.
9157 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
9159 * RepeaterInfo.cs - Initial Implementation. Done all
9160 except for RepeatDirection.Vertical
9161 * TableStyle.cs - Completed
9163 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
9165 * DropDownList.cs - Completed
9166 * ListItemCollection.cs - Added method FindByValueInternal to
9167 assist in the derived classes.
9168 Discovered bug in FindByValue. Removed
9169 * UnitConverter.cs - Completed
9170 * PlaceHolder.cs - What can be simpler than this?
9171 * PlaceHolderControlBuilder.cs
9172 - Uh! Damn cool one.
9173 * RadioButtonList.cs - Initial Implementation. All is done
9174 except for the implementation of
9175 method IRepeatInfoUser.RenderItem(...)
9176 * ValidatedControlConverter.cs
9177 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
9178 * ValidationSummary.cs - Initial Implementation.
9179 * WebColorConverter.cs - Initial Implementation
9181 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9183 * FontNamesConverter.cs - Completed
9184 * FontUnitConverter.cs - Partial Implementation
9185 * ListItemControlBuilder.cs - Completed
9187 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9189 * TextBox.cs - All done except *Render* methods
9190 * TextBoxControlBuilder.cs - Completed
9191 * Xml.cs - Partial Implementation
9193 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
9195 * RadioButton.cs - Completed
9196 * TextBox.cs - Partial Implementation
9198 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
9200 * Panel.cs - Completed
9201 * TableItemStyle.cs - Completed
9203 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
9205 * TableCellCollection.cs - Completed
9206 * TableRowCollection.cs - Completed
9207 * TableHeaderCell.cs - Completed
9208 * TableRow.cs - Completed
9210 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
9212 * TableCellControlBuilder.cs - Completed
9213 * Table.cs - Completed
9214 * TableCell.cs - Completed
9216 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
9218 * CheckBoxList.cs - Completed
9219 * ButtonColumn.cs - Completed
9220 * Button.cs - Completed
9222 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
9224 * HyperLink.cs - Completed
9225 * Image.cs - Completed
9226 * ImageButton.cs - Completed
9227 * Label.cs - Completed
9228 * LabelControlBuilder.cs - Completed
9229 * LinkButton.cs - Completed
9230 * LinkButtonControlBuilder.cs - Completed
9231 * Literal.cs - Completed
9232 * LieteralControlBuilder.cs - Completed
9233 * FontUnit.cs - Completed
9236 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
9238 * Calendar.cs - Completed the functions of Render*,
9239 ViewStates (Track/View/Save),
9241 Left: RenderAllDays (partially)
9243 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
9245 * Calendar.cs - Added some more functions
9246 * Style.cs - Completed
9247 * ListItem.cs - Completed
9248 * ListItemCollection.cs - Completed
9250 Made the first successful build of System.Web.dll that included
9251 System.Web.UI.WebControls!
9253 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
9255 FontInfo.cs - Complete revamp. Completed
9257 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
9259 ListItemCollection.cs - Completed
9260 ListItem.cs - Initial Implementation
9261 Style.cs - Initial Implementation
9263 Right now I am in a total mood to do a successful build. Creating so many
9264 classes, completing classes in System.Web System.Web.UI namespaces.
9266 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
9268 TODO - Properly added
9269 CheckBox.cs - Completed
9270 BaseDataList.cs - Completed
9271 DayRenderEventArgs.cs - Completed
9272 RepeaterItem.cs - Initial implementation
9274 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
9276 BaseCompareValidator.cs - Completed
9277 AdRotator.cs - Completed
9279 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
9281 CommandEventArgs.cs - Completed
9282 DataGridCommandEventArgs.cs - Completed
9283 RepeaterCommandEventArgs.cs - Completed
9284 DataListCommandEventArgs.cs - Completed
9285 CompareValidator.cs - Partial Implementation
9287 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
9289 CheckBoxList.cs - Partial Implementation.
9292 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
9294 ListControl.cs - Completed
9296 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
9298 CheckBox.cs - Completed
9299 ListControl.cs - Initial Implementation
9300 CheckBoxList.cs - Started with it, but first needed
9301 ListControl. Left it.
9303 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
9305 CalendarDay.cs - Making a note that this
9306 has been implemented
9307 Calendar.cs - Making a note that have made some changes.
9308 Unimplmented functions throw
9309 NotImplementedException
9310 CheckBox.cs - Can now "Render" and "LoadPostData"
9313 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
9314 WebControl.cs - Total Revamp, Partial Implementation
9315 AdRotator.cs - Able to load files
9316 AdCreatedEventArgs.cs - Implemented
9318 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
9319 Calendar.cs - Initial Implementation
9320 ButtonColumn.cs - Initial Implementation
9321 Button.cs - Initial Implementation
9322 BoundColumn.cs - Initial Implementation
9323 BaseCompareValidator.cs - Minor Changes
9324 DataList.cs, BaseValidator.cs, BaseDataList.cs
9325 - Added more functions, other changes
9327 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
9328 WebControl.cs - Initial Implementation
9329 DataList.cs - Initial Implementation
9330 BaseValidator.cs - Initial Implementation
9331 BaseDataList.cs - Initial Implementation
9333 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
9335 AdCreatedEventArgs.cs - Initial Implementation
9336 AdCratedEventHandler.cs - Implemented
9337 AdRotator.cs - Initial Implementation
9338 BorderStyle.cs - Implemented
9339 ButtonColumnStyle.cs - Implemented
9340 CalendarSelectionMode.cs - Implemented
9341 DayNameFormat.cs - Implemented
9342 FirstDayOfWeek - Implemented
9343 FontInfo.cs - Partial Implementation
9344 FontSize.cs - Implemented
9345 GridLines.cs - Implemented
9346 HorizontalAlign.cs - Implemented
9347 HyperLink.cs - Initial Implementation
9348 ImageAlign.cs - Implemented
9349 IRepeatInfoUser.cs - Implemented
9350 ListItemType.cs - Implemented
9351 ListSelectionMode.cs - Implemented
9352 NextPrevFormat.cs - Implemented
9353 PagerMode.cs - Implemented
9354 PagerPosition.cs - Implemented
9355 RepeatDirection.cs - Implemented
9356 RepeatLayout.cs - Implemented
9357 TextAlign.cs - Implemented
9358 TextBoxMode.cs - Implemented
9359 TitleFormat.cs - Implemented
9360 UnitType.cs - Implemented
9361 ValidationCompareOperator.cs
9363 ValidationDataType.cs - Implemented
9364 ValidationSummaryDisplayMode.cs
9366 ValidatorDisplay.cs - Implemented
9367 VerticalAlign.cs - Implemented
9371 i/ File Created 2001-11-13