1 2010-07-08 Marek Habersack <mhabersack@novell.com>
3 * ImageMap.cs: implemented missing Enabled property (2.0+)
4 RaisePostBackEvent must be protected and virtual (2.0+)
5 NavigateUrl is ignored if the control is disabled (4.0)
7 2010-07-07 Marek Habersack <mhabersack@novell.com>
9 * TreeView.cs: 4.0 rendering changes.
10 When using registered CSS classes, the node style must use them in
13 2010-07-06 Marek Habersack <mhabersack@novell.com>
15 * HyperLink.cs: the associated image is not rendered using the
18 2010-07-02 Marek Habersack <mhabersack@novell.com>
20 * Menu.cs: 4.0 API updates.
22 * GridView.cs: implemented 4.0 properties -
23 SortedAscendingCellStyle, SortedAscendingHeaderStyle,
24 SortedDescendingCellStyle, SortedDescendingHeaderStyle,
25 ClientIDRowSuffix, ClientIDRowSuffixDataKeys, ShowHeaderWhenEmpty
26 along with associated rendering changes.
28 * DetailsView.cs, FormView.cs, GridView.cs: 4.0 API changes -
29 renamed ShowPage to SetPageIndex and made it public.
30 Added 4.0 interfaces to inheritance list and implemented them.
32 * DataKeyArray.cs: added internal constructor which accepts IList
33 instead of ArrayList. Changed the 'keys' field type to IList.
35 * ContainedTable.cs: the 'id' attribute must be rendered last.
37 * CheckBox.cs, CheckBoxList.cs, SiteMapPath.cs, Table.cs,
38 TableStyle.cs, TextBox.cs, WebControl.cs: 4.0 rendering changes.
40 * Calendar.cs, CompositeControl.cs, DropDownList.cs, HyperLink.cs,
41 Image.cs, ImageButton.cs, Label.cs, LinkButton.cs, LoginName.cs,
42 Panel.cs, Table.cs, TableCell.cs, TableRow.cs:
43 added new 4.0 property, SupportsDisabledAttribute.
45 2010-06-21 Marek Habersack <mhabersack@novell.com>
47 * BaseValidator.cs, BulletedList.cs, Calendar.cs, CheckBox.cs,
48 CheckBoxList.cs, DataGrid.cs, DropDownList.cs, GridView.cs,
49 HyperLink.cs, ImageButton.cs, LinkButton.cs, ListBox.cs,
50 ListControl.cs, Menu.cs, RadioButton.cs, RadioButtonList.cs,
51 RepeatInfo.cs, Repeater.cs, TextBox.cs, TreeView.cs,
52 ValidationSummary.cs, WebControl.cs: use WebControl.IsEnabled
53 instead of Enabled wherever necessary.
55 2010-06-16 Marek Habersack <mhabersack@novell.com>
57 * FormView.cs: row values must be retrieved with inclusion of
58 keys. Fixes bug #607722
60 2010-06-03 Marek Habersack <mhabersack@novell.com>
62 * Parameter.cs, ControlParameter.cs, SessionParameter.cs,
63 CookieParameter.cs, FormParameter.cs, ProfileParameter.cs,
64 QueryStringParameter.cs: Evaluate is 'protected internal virtual'
67 * RouteParameter.cs: implemented.
69 2010-04-28 Marek Habersack <mhabersack@novell.com>
71 * CheckBoxList.cs: do not modify list item status in LoadPostData
72 when the list control is disabled.
73 If an item is selected and it was unchecked by the user, deselect
76 2010-04-13 Marek Habersack <mhabersack@novell.com>
78 * GridView.cs: make sure Header and Footer visibility are set when
79 binding the data. Fixes bug #595567
81 * ImageField.cs, CheckBoxField.cs: OnDataBindField must expect
82 sender to be something else than DataControlFieldCell. Fixes bug
85 2010-04-07 Marek Habersack <mhabersack@novell.com>
87 * FormParameter.cs, CookieParameter.cs, ProfileParameter.cs,
88 QueryStringParameter.cs, SessionParameter.cs: implemented
89 constructor overloads which take DbType as one of the arguments.
91 2010-04-01 Marek Habersack <mhabersack@novell.com>
93 * FormView.cs: do not show the pager if PagerSettings.Visible is
94 false. Fixes bug #578863
96 2010-03-29 Marek Habersack <mhabersack@novell.com>
98 * GridView.cs: main table must be created and added to the
99 controls collection before any OnRowCreated event is fired.
101 2010-03-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
103 * TreeView.cs: use enums instead of strings for attributes.
105 2010-03-06 Marek Habersack <mhabersack@novell.com>
107 * XmlDataSource.cs: reload document when one of Data, DataFile,
108 Transform or TransformFile properties is set. Fixes bug
109 #585968. Fix based on patch from Jeffrey Alvarez
110 <kuritsu@gmail.com>, thanks.
112 2010-02-19 Marek Habersack <mhabersack@novell.com>
114 * SqlDataSource.cs: call base.OnInit in OnInit. Fixes bug #572781
116 2010-02-18 Marek Habersack <mhabersack@novell.com>
118 * ListItemCollection.cs: ItemsEnabled and associated code removed
119 - there's no need to alter ListItem's Enabled property when
122 * ListControl.cs: SaveViewState doesn't set the items collection's
123 ItemsEnabled property as it was removed from ListItemCollection
125 * CheckBoxList.cs: LoadPostData never unselects any item. A better
127 RenderItem renders items as disabled when Enabled is false, but if
128 Enabled is true, item is rendered according to the value of its
129 own Enabled property. Fixes bug #578770
131 * TreeView.cs: RegisterStyle must copy CssClass in addition to
132 other style properties. Fixes bug #580692
134 2010-01-18 Marek Habersack <mhabersack@novell.com>
136 * Parameter.cs: added missing 3.5 APIs - constructors taking
137 DbType as one of the parameters, ConvertDbTypeToTypeCode,
138 ConvertTypeCodeToDbType and GetDatabaseType. Fixes bug #567850
140 2010-01-15 Marek Habersack <mhabersack@novell.com>
142 * ChangePassword.cs: BaseChangePasswordContainer forwards
143 EnsureChildControls call to its owner, so that finding controls in
144 the container works correctly.
146 2009-11-30 Marek Habersack <mhabersack@novell.com>
148 * WebControl.cs: HasAttributes made available as internal for 1.1
149 Avoid calling the Attributes getter many times in
151 If TrackViewState is called and attributes state bag already
152 exists, mark all items in the latter as dirty.
154 * CheckBox.cs, Button.cs, ImageButton.cs, LinkButton.cs: do not
155 create the Attributes collection if not necessary.
157 2009-11-16 Marek Habersack <mhabersack@novell.com>
159 * TreeNodeCollection.cs: whenever a node is added, let the owner
162 * TreeNode.cs: added internal property HadChildrenBeforePopulating
163 which is used to let TreeView know about an error condition where
164 a populate-on-demand node contains children added outside the
165 OnTreeNodePopulate event
167 * TreeView.cs: if a node has any child nodes and PopulatOnDemand
168 is set, throw an exception from RenderNode. This is the behavior
171 2009-11-13 Marek Habersack <mhabersack@novell.com>
173 * TableRowCollection.cs: added .NET compatibility NREX throws to
175 Whenever a row is added/removed, its Container property is
176 set. Fixes bug #551666
178 * TableRow.cs: introduced an internal property, Container, which
179 is set by TableRowCollection whenever this row is added/removed
180 to/from the collection. This allows the row to notify the
181 collectio and, in consequence, collection owner that TableSection
182 has been set and thead/tbody/tfoot elements need to be
183 generated. Fixes bug #551666
185 2009-11-10 Marek Habersack <mhabersack@novell.com>
187 * PasswordRecovery.cs:
188 {Question,Success,UserName}TemplateContainer must all be populated
189 the first time the property is accessed, so that calling
190 FindControl on the container returns valid and expected
191 results. If the associated template is not defined, though,
192 populating is postponed till CreateChildControls is called -
193 that's where default, empty, template will be created. This is
194 required to fix YetAnotherForum's password recovery control.
195 Mail template used in SendPasswordByMail must match the one used
196 in .NET (it has to end with a newline) as YAF parses the message
197 to retrieve user name and password and breaks if the last line
198 doesn't end with a newline character.
200 2009-10-30 Marek Habersack <mhabersack@novell.com>
202 * PasswordRecovery.cs: mail message replacements should include <%
203 Password %> and <% UserName %> and matching should be
204 case-insensitive. Fixes bug #545370
206 2009-10-28 Marek Habersack <mhabersack@novell.com>
208 * ListControl.cs: OnDataBinding must call base implementation
209 before performing the binding, so that DataSource can be assigned
210 from within the handler.
212 2009-10-13 Marek Safar <marek.safar@novell.com>
214 * WebColorConverter.cs: Delegate ConvertFrom to
215 ColorTranslator.FromHtml, it is correctly implemented and knows
218 2009-10-13 Marek Habersack <mhabersack@novell.com>
220 * WebColorConverter.cs: don't use a dictionary to check for valid
221 color names, use Color.IsKnownColor instead. Update for bug
223 Added more CSS2 color name mappings.
225 2009-10-12 Marek Habersack <mhabersack@novell.com>
227 * WebColorConverter.cs: when converting from color name, check if
228 the returned color's name is a member of the
229 System.Drawing.KnownColor enumeration to test for error condition,
230 as some colors might be #000000. Preserve the old error check as a
232 Map "captiontext" and "background" color names to
233 "ActiveCaptionText" and "Desktop", respectively, before passing
234 them to Color.FromName (). Fixes bug #546173
236 2009-10-02 Marek Habersack <mhabersack@novell.com>
238 * GridView.cs: added two 3.5 properties - SelectedPersistedDataKey
239 and IPersistedSelector.DataKey.
241 * BaseDataBoundControl.cs: slight optimizations to FindDataSource
243 2009-09-28 Marek Habersack <mhabersack@novell.com>
245 * DataBoundControl.cs: Initialize sets RequiresDataBinding
246 properly, only when we're not data-bound already, when we aren't
247 in postback or when we are in postback, but with viewstate
248 enabled. Fixes bug #542076
250 2009-09-01 Marek Habersack <mhabersack@novell.com>
252 * ObjectDataSourceView.cs: ExecuteSelect must call
253 QueryTotalRowCount after executing the select method (that's what
256 2009-08-25 Marek Habersack <mhabersack@novell.com>
258 * WebColorConverter.cs: inform the user that the might need to
259 check if libgdiplus is installed when parsing a color name
260 fails. Fixes bug #533749
262 2009-08-21 Marek Habersack <mhabersack@novell.com>
264 * Menu.cs: separator image is rendered next to the item in
265 horizontal layout and is preceeded by 3px spacer (unless
266 itemSpacing is set) to make output match .NET. Fixes bug #474716
268 * TreeNodeCollection.cs: {Save,Load}ViewState now store/load the
269 type of the node, if node is a of a custom type. Fixes bug #475997
271 2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
273 * Parameter.cs: add new DbType property.
275 2009-06-16 Marek Habersack <mhabersack@novell.com>
277 * IPersistedSelector.cs: removed AspNetHostingPermission
278 attributes from the 4.0 profile.
280 * IDataBoundControl.cs, IDataBoundItemControl.cs,
281 IDataBoundListControl.cs, IFieldControl.cs: added
283 * DetailsView.cs: control implements 4.0 IDataBoundItemControl
286 * DataBoundControl.cs: implemented 4.0 property DataSourceObject
287 (internal for 2.0) and made the InternalPerformDataBinding method
288 internal for the 4.0 profile.
290 2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
292 * ContentControlBuilderInternal.cs: detect missing
293 ContentPlaceHolderID attribute when parsing instead of throwing a
296 2009-05-29 Marek Habersack <mhabersack@novell.com>
298 * ListItem.cs: when tracking view state is turned on after
299 attributes have been set, make sure that the associated state bag
300 begins tracking state and that all of its existing items are
301 marked as dirty. Do the same after loading view state. Fixes bug
304 2009-04-29 Marek Habersack <mhabersack@novell.com>
306 * DataBoundControl.cs: added InternalGetDataSource method, used by
309 2009-04-28 Marek Habersack <mhabersack@novell.com>
311 * GridView.cs: implemented ColumnsGenerator and enabled its use in
314 * DetailsView.cs: implemented the RowsGenerator property and
315 enabled its use in CreateFieldSet.
317 2009-04-07 Marek Habersack <mhabersack@novell.com>
319 * TreeView.js: removed nodeText parameter from the JS calls.
321 * TreeView.cs: encode | characters into U+007C, so that
322 RaiseCallbackEvent doesn't get confused.
323 Removed nodeText parameter from the JS calls.
325 2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
327 * TreeNode.cs: reset the path data for all child nodes too.
328 * TreeView.cs: HtmlAttribute encode the node text. When rebuilding the
329 node tree, set the correct index for the nodes so that the Path is
332 2009-04-06 Marek Habersack <mhabersack@novell.com>
334 * TreeView.js: TreeView_ToggleExpand now takes more parameters - a
335 full definition of treeview's node contents.
336 Added new function, TreeView_PopulateNode, which partially takes
337 over role of the PopulateNode function generated in
338 TreeView.OnPreRender (see below). Fixes bug #492307
340 * TreeView.cs: RaiseCallbackEvent needs to recreate the event
341 target's parental tree all the way from the root to the node and
342 populate only the leaf (requested) node. This avoids calling the
343 TreeNodePopulate handler more times than needed. Fixes bug #492307
344 OnPreRender: moved the script code to constants and the script
345 body is now generated using StringBuilder instead of a series of
347 GetClientExpandEvent: adjusted code for new TreeView JavaScript
350 2009-03-17 Marek Habersack <mhabersack@novell.com>
352 * Unit.cs: introduced a field to tell the difference between empty
353 (as in Unit.Empty) and 0px units.
355 2009-03-06 Marek Habersack <mhabersack@novell.com>
357 * WebControl.cs: if savedState is not an instance of Pair in
358 LoadViewState, do not attempt to load from it.
360 2009-02-10 Marek Habersack <mhabersack@novell.com>
362 * ImageButton.cs: AddAttributesToRender renders the onclick
363 attribute only if any of the following is true:
364 - OnClientClick is not empty
365 - Validation is enabled for the control
366 - PostBackUrl is used
367 PostBackOptions now indicate that control requires the javascript
368 protocol for the handler.
369 RaisePostBackEvent passes String.Empty as the argument.
372 2009-02-09 Marek Habersack <mhabersack@novell.com>
374 * ObjectDataSourceView.cs: ExecuteSelect returns a single-item
375 array of objects containing the result, if the result isn't one of
376 DataSet, DataTable or IEnumerable. Fixes bug #471767
378 2009-02-06 Marek Habersack <mhabersack@novell.com>
380 * Style.cs: if CssClass is null, return String.Empty. Fixes bug
382 Added a range check to the BorderStyle property.
384 2009-02-05 Marek Habersack <mhabersack@novell.com>
386 * Login.cs: check the value of DisplayRememberMe when creating
387 the child controls. Fixes #468359
389 2009-01-20 Marek Habersack <mhabersack@novell.com>
391 * Substitution.cs: added. Fixes bug #467460
393 2009-01-13 Marek Habersack <mhabersack@novell.com>
395 * XmlBuilder.cs: updates related to ControlBuilder cleanup.
397 2008-12-01 Marek Habersack <mhabersack@novell.com>
399 * Style.cs: WriteStyleAttributes must not use the fontinfo field
400 directly, it has to be done via the Font property. Fixes bug
403 2008-11-15 Marek Habersack <mhabersack@novell.com>
405 * ContentPlaceHolder.cs, Content.cs, FormViewPagerRow.cs,
406 ChangePassword.cs, DetailsViewPagerRow.cs: implements
407 INonBindingContainer interface.
409 * Wizard.cs: implement INonBindingContainer interface for several
410 private/internal classes.
412 2008-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
414 * ImageButton.cs: clicking an image causes a postback.
417 2008-10-24 Marek Habersack <mhabersack@novell.com>
419 * CheckBox.cs: register for event validation in Render ().
421 2008-10-21 Marek Habersack <mhabersack@novell.com>
423 * XmlDataSource.cs: DataFile may be an URL.
425 2008-10-17 Marek Habersack <mhabersack@novell.com>
427 * ImageMap.cs: added the SupportsEventValidation attribute to the
429 Validate the event in RaisePostBackEvent ().
430 Register for event validation in Render ().
432 * DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().
434 * TextBox.cs: validate the event in LoadPostData ().
435 Register for event validation in AddAttributesToRender ().
437 * HiddenField.cs: validate the event in RaisePostDataChangedEvent.
438 Register for event validation in Render ().
440 * RadioButton.cs: validate the event in LoadPostData ().
441 Register for event validation in InternalAddAttributesToRender.
443 * CheckBox.cs, RadioButtonList.cs: validate the event in
444 RaisePostDataChangedEvent.
446 * Menu.cs: added the SupportsEventValidation attribute to the
448 Validate the event in RaisePostBackEvent ().
449 Register for event validation in GetClientEvent ().
451 * DetailsView.cs, GridView.cs: validate the event in
452 RaisePostBackEvent ().
453 Register for validation in GetCallbackScript () and in OnPreRender
455 * Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
456 ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().
458 2008-10-14 Marek Habersack <mhabersack@novell.com>
460 * CompositeDataBoundControl.cs: renamed the itemcount ViewState
461 item from "_ItemCount" to "_!ItemCount" for .NET
462 compatibility. This item is accessed and used by some commercial
465 * DataBoundControl.cs: OnPagePreLoad must force databinding also
466 when the request is not a postback.
468 2008-10-13 Marek Habersack <mhabersack@novell.com>
470 * Table.cs, TableRowCollection.cs, TableRow.cs: render table
471 sections when necessary. Fixes bug #434555
473 2008-10-08 Marek Habersack <mhabersack@novell.com>
475 * ControlParameter.cs: Evaluate calls DataBinder.Eval to do the
476 evaluation now. This makes it support complex expressions.
478 2008-09-30 Sebastien Pouliot <sebastien@ximian.com>
480 * RoleGroupCollection.cs: Fix recursive calls (wrong target)
481 [Found using Gendarme's BadRecursiveInvocationRule]
483 2008-09-28 Sebastien Pouliot <sebastien@ximian.com>
485 * XmlDataSource.cs: Make sure the result of the multiplication is a
486 long (not an integer casted into a long since it could overflow).
487 [Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
489 2008-09-17 Juraj Skripsky <js@hotfeet.ch>
491 * RadioButton.cs (ValueAttribute, LoadPostData): Fixes bug #426959.
493 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
495 * IPersistedSelector.cs : new in 3.5 SP1.
497 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
499 * DataBoundControlMode.cs : new 3.5 SP1 type.
501 2008-08-25 Marek Habersack <mhabersack@novell.com>
503 * DataBoundControl.cs: set RequiresDataBinding to true in
504 Initialize only if not in a postback, if not data bound and if the
505 view state is enabled. Fixes bug #398318
506 UpdateViewData removes the OnDataSourceViewChanged handler before
507 connecting to the datasource and restores it before returning to
509 OnLoad gets the data source before initialization, to avoid
510 premature OnDataSourceViewChanged triggers. Fixes bug #398318
511 Do not reconnect to the data source if we already have a valid one.
513 2008-08-18 Marek Habersack <mhabersack@novell.com>
515 * Unit.cs: rewrote the unit parser in a slightly slower, but more
516 correct, way. Fixes bug #417502
518 2008-07-28 Marek Habersack <mhabersack@novell.com>
520 * TreeView.cs: when TreeView is displaying a site map and there is
521 no node selected by the user, select the node corresponding to the
522 current page, if any.
524 2008-07-24 Marek Habersack <mhabersack@novell.com>
526 * DataGrid.cs: removed the private class TableID and moved its
527 code to ChildTable.cs (see below). 2.0 instantiates teh ChildTable
528 with the owner parameter now. Fixes bug #400377
530 * ChildTable.cs: refactoring - moved code from TableID previously
531 defined in DataGrid.cs to here and made the class available under
532 different names for both 1.x and 2.x profiles. Fixes bug #400377
534 * MailDefinition.cs: look for the mail body file in the correct
535 path. Patch from Jackson Harper <jaharper@novell.com>,
536 thanks! Fixes bug #408699
538 * PasswordRecovery.cs: do not ask password recovery question if
539 it's disabled. Patch from Jackson Harper <jaharper@novell.com>,
540 thanks! Fixes bug #408696
542 2008-07-16 Marek Habersack <mhabersack@novell.com>
544 * XmlDataSource.cs: check if Page isn't null before stringifying
545 it in GetDataKey (), fixes bug #409492
547 2008-07-13 Roei Erez <roeie@mainsoft.com>
549 * GridView.cs: When the RowDataBound event is invoked, the value
550 of GridView1.DataKeys should contains all the keys up untill the
551 current row, and not be empty.
552 I only changed the order of the user event invocation and the addition
555 2008-07-13 Roei Erez <roeie@mainsoft.com>
557 * TreeView.cs: In case of multiple tree node bingings, select
558 The first one and not the last one.
560 2008-07-10 Roei Erez <roeie@mainsoft.com>
562 * HyperlinkField.cs: Changed behavior of HyperLinkField bound field key
563 to be case insensitive.
565 2008-07-03 Marek Habersack <mhabersack@novell.com>
567 * CheckBox.cs: do not render the language="javascript" attribute
570 2008-07-02 Marek Habersack <mhabersack@novell.com>
572 * GridView.cs: minor optimizations (removed a foreach loop,
573 replaced calls to Array.Length with a variable containing the
576 2008-06-30 Marek Habersack <mhabersack@novell.com>
578 * ObjectDataSourceView.cs, Menu.cs, DataList.cs,
579 CustomValidator.cs: hush the warnings
581 2008-06-10 Noam Lampert <noaml@mainsoft.com>
583 * ListItemCollection.cs: Provide viewstate for dirty collection even if it is empty.
585 2008-05-30 Marek Habersack <mhabersack@novell.com>
587 * BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
588 DataControlFieldCollection.cs, DataControlField.cs,
589 PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
590 event accessors (to avoid locks).
592 2008-05-18 Marek Habersack <mhabersack@novell.com>
594 * HierarchicalDataBoundControl.cs: Modified GetData method to check if
595 DataSource implements IHierarchicalEnumerable and if so constructs and
596 returns a new instance of ReadOnlyDataSourceView. This provides functional
597 compatibility with the Microsoft.NET framework. Fixes bug
598 #395209. Patch contributed by James Fitzsimons
599 <james.fitzsimons@gmail.com>, thanks!
601 2008-05-06 Marek Habersack <mhabersack@novell.com>
603 * Calendar.cs: do not create dateInfo in the constructor - culture
604 might be not set yet at this point. Fixes bug #323566
605 Added a private property, DateInfo, which creates the dateInfo
608 2008-05-05 Sebastien Pouliot <sebastien@ximian.com>
610 * BulletedList.cs: Avoid calling ToString on a string.
611 * ButtonField.cs: Throw, not just create, the exceptions.
612 * HyperLinkField.cs: Throw, not just create, the exceptions.
613 * ImageField.cs: Throw, not just create, the exception. Avoid calling
614 ToString on a string.
615 * ListControl.cs: Avoid calling ToString on a string.
616 [All issues were found using Gendarme]
618 2008-04-30 Marek Habersack <mhabersack@novell.com>
620 * SiteMapDataSource.cs: when no starting node is found, return
621 null instead of Provider.RootNode. Fixes bug #323994
623 2008-04-24 Marek Habersack <mhabersack@novell.com>
625 * SqlDataSource.cs: raise the DataSourceChangedEvent when setting
626 ConnectionString, ProviderName or DataSourceMode properties only
627 when the new value differs from the old one. Fixes bug #359392
629 2008-04-16 Marek Habersack <mhabersack@novell.com>
631 * ObjectDataSourceView.cs: ExecuteSelect should return an empty
632 aray when no data has been retrieved from the specified source
633 type. Fixes bug #380106
635 2008-04-15 Marek Habersack <mhabersack@novell.com>
637 * MailDefinition.cs: dispose of streams the way it should
640 2008-04-10 Marek Habersack <mhabersack@novell.com>
642 * RadioButton.cs: adjust 'name' and 'value' attribute values to
643 match MS.NET. Fixes bug #378024
645 * CheckBoxList.cs: set the Selected property to the value in POST
646 data only if the item in question was enabled before postback
647 occurred. Fixes bug #377703
649 * ListControl.cs: make sure the owned items' Enabled property is
650 set to the same value what ListControl's. Fixes bug #377703
652 * ListItemCollection.cs: fixed SetDirty to store the index of the
653 last dirtied item properly. Fixes bug #377703
654 For the 2.0 profile, set the ListItem instances Enabled property
655 to the value of the owning ListControl (internal ItemsEnabled
656 property was added to make it possible). Fixes bug #377703
658 2008-04-08 Dean Brettle <dean@brettle.com>
660 * DataBoundControl.cs (InternalPerformDataBinding),
661 HierarchicalDataBoundControl.cs (InternalPerformDataBinding),
662 WebControl.cs (Render): fixed cast errors when a ControlAdapter
663 that wasn't of the type corresponding to the control was used.
665 2008-04-03 Marek Habersack <mhabersack@novell.com>
667 * DataList.cs: use the value of SelectedIndex, not selectedIndex,
668 to return the key value in the SelectedValue property. Fixes bug
669 #376519. Patch from Sergey Kuleshov <svyatogor@gmail.com>, thanks!
671 2008-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
673 * AutoGeneratedField.cs, CheckBoxField.cs: fixed OnDataBindField,
674 should hide checkbox only if DataItem is not defined
676 2008-03-09 Dean Brettle <dean@brettle.com>
678 * DetailsView.cs, ListControl.cs, DataBoundControl.cs,
679 FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs:
680 added support for using ControlAdapters when present.
682 * WebControl.cs: fixed implementation of IsEnabled to match
685 * Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of
686 RenderMenuItem() if an adapter is present. MenuAdapter.RenderItem()
687 calls back to new Menu.RenderItem() internal method which calls
688 RenderMenuItem() with the appropriate parameters.
690 2008-02-25 Igor Zelmanovich <igorz@mainsoft.com>
693 at Update and Delete use not read only coppies of dictionaries
694 in event argumens, that allows user to change them before corresponding
695 DataSource's method is called.
697 2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>
699 * Login.cs: render id attribute of root element correctly.
701 2008-02-18 Marek Habersack <mhabersack@novell.com>
703 * FormView.cs: the ItemCreated must be fired before data is bound
704 to the FormView. Fixes bug #360434
706 2008-02-07 Igor Zelmanovich <igorz@mainsoft.com>
708 * Login.cs: render id attribute of root element correctly.
710 2008-02-05 Marek Habersack <mhabersack@novell.com>
712 * FileUpload.cs: make sure FileContent always returns the input
713 stream positioned at the beginning. Fixes bug #356846
715 2008-01-31 Igor Zelmanovich <igorz@mainsoft.com>
717 * Calendar.cs: resolve Next/Prev. month link date correctly.
719 2008-01-29 Igor Zelmanovich <igorz@mainsoft.com>
721 * TreeView.cs: add XPFileExplorer icon set.
723 2008-01-28 Igor Zelmanovich <igorz@mainsoft.com>
725 * Menu.js: dynamic nodes are positioned after hover style of
726 parent node is applied.
728 2008-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
730 * DataSourceCacheManager.cs: fixed GetKeyFromParameters, incase more
731 than one datasource using the same object with the same select method
733 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
735 * ValidationSummary.cs:
736 refactoring: If page contents instance of IScriptManager, it calls
737 it's API instead Page.ClientScript.
739 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
741 * Menu.cs: fixed rendering.
743 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
746 manage history state on "MovePrevious" action.
748 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
751 resolve BulletImageUrl,
752 register for event validation.
754 2008-01-13 Igor Zelmanovich <igorz@mainsoft.com>
758 upgrade client side script due to changes in webform.js.
760 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
762 * BaseCompareValidator.cs:
764 * CompareValidator.cs:
765 * CustomValidator.cs:
767 * RegularExpressionValidator.cs:
768 * RequiredFieldValidator.cs:
769 refactoring: If page contents instance of IScriptManager, validators call
770 it's API instead Page.ClientScript.
772 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
777 for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
778 in GetPostBackOptions.
780 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
782 * DetailsView.cs: render invisible rows correct.
784 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
786 * DataControlField.cs: prevent infinite recursion
788 2008-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
790 * DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding
793 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
795 * DataSourceCacheManager.cs: fixed SetCachedObject, fixed
798 2007-12-24 Igor Zelmanovich <igorz@mainsoft.com>
800 * TreeView.cs: revert changes from r91230
802 2007-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
804 * ListControl.cs: fixed Load/SaveViewState, removed selected indices
806 * ListItem.cs: fixed Load/SaveViewState, added selected state storing
807 * ListItemCollection.cs: fixed Load/SaveViewState, added flag to not
808 rebuild the collection if was'nt changed
810 2007-12-13 Marek Habersack <mhabersack@novell.com>
812 * Menu.cs, TreeView.cs: optimize use of String.Format in
814 Speed optimization - use String.Concat instead of String.Format in
817 * GridView.cs, DetailsView.cs: optimize use of String.Format in
820 * CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
821 WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
822 ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
823 optimization - use String.Concat instead of String.Format in some cases.
825 2007-12-13 Vladimir Krasnov <vladimirk@mainsoft.com>
827 * Menu.cs: fixed rendering without head tag on page
829 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
831 * Calendar.cs: performance optimizations:
832 BuildLink fixed, StringBuilder used.
833 TodaysDate DateTime.Today call cahced.
835 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
837 * Unit.cs: performance optimization: ToString fixed, string.Concat used
838 instead of string.Format
840 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
842 * Style.cs: performance optimization: suppress finalizer added
844 2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>
848 evaluate bound value using ThisExpession ("!") properly
850 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
852 * WebControl.cs: enabled state restored properly.
854 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
857 refactoring for NET_2_0:
858 Text is removed from view state in case of need at SaveViewState phase.
860 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
863 SelectedValue/SelectedIndex is set during DataBinding always.
865 2007-11-06 Marek Habersack <mhabersack@novell.com>
867 * DataGrid.cs: add RenderTable before the DataGridItems, so that
868 numbering of children is the same what on MS.NET.
869 If there are any data items, require a postback script.
872 * ChildTable.cs: removed DOS EOLs.
874 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
877 does not perform authentication if Page.IsValid returns false;
878 the fix makes control works with disabled client side validation.
880 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
883 state of DataList.Items are restored correct on PostBack
884 such Items.Count and ItemType.
886 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
889 validator is rendered correct if EnabledClientClient is false.
891 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
893 * Image.cs: fixed management state of Enabled property.
894 * WebControl.cs: refactoring in management state of Enabled property.
896 2007-10-23 Marek Habersack <mhabersack@novell.com>
898 * ListBox.cs, Table.cs: use Render{Begin,End}Tag
899 instead of the Write* counterparts when rendering contents.
901 2007-10-18 Marek Habersack <mhabersack@novell.com>
903 * Menu.js: a workaround for an IE bug. IE recalculates element's
904 offsetWidth when the element's _height_ is set - which in case of
905 elements with overflowing content results in a value that's just
906 slightly smaller than the client window width. In effect, a long
907 submenu will also be very wide, which isn't desirable. Fixes bug
910 2007-10-15 Marek Habersack <mhabersack@novell.com>
912 * ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
915 * BulletedList.cs: html encode the item text. Fixes bug #333550.
917 2007-10-01 Marek Habersack <mhabersack@novell.com>
919 * ListItem.cs: make HasAttributes available for the 1.1 profile as
922 * DropDownList.cs: render custom ListItem attributes in the 1.1
923 profile. Fixes bug #326288
925 2007-09-27 Marek Habersack <mhabersack@novell.com>
927 * Button.cs: added missing OnPreRender method.
929 2007-09-25 Marek Habersack <mhabersack@novell.com>
931 * WebControl.cs: added an internal method, BuildScriptAttribute,
932 which merges the specified JavaScript code in an attribute, with
933 the value of that attribute specified by the user.
935 * CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
936 preserve user-specified attribute value, if present.
938 * ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
939 after doing its job. AutoPostBack handling makes sure to preserve
940 user-specified attribute value, if present. Fixes bug #327816.
942 2007-09-21 Marek Habersack <mhabersack@novell.com>
944 * ListItem.cs: don't save StateBag in the control state - the
945 class is not serializable and therefore ObjectStateFormatter
946 cannot convert it. Instead have the sb object save its own state
947 and store the returned value. Fixes bug #326288.
949 2007-09-20 Marek Habersack <mhabersack@novell.com>
951 * LoginView.cs: implemented RoleGroups support. Fixes bug
954 2007-09-19 Marek Habersack <mhabersack@novell.com>
956 * GridView.cs: copy attributes from GridView to the child table,
957 as this is where the rendering takes place. Fixes bug #326309.
959 2007-09-18 Marek Habersack <mhabersack@novell.com>
961 * Calendar.cs: correctly apply day cell style. Fixes bug #315903
963 2007-09-17 Marek Habersack <mhabersack@novell.com>
965 * Calendar.cs: style attribute value must be enclosed in quotes.
967 * TableStyle.cs: do not capitalize the align styles. Fixes bug
970 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
972 * ListControl.cs: partially restored r85314
973 whenever a property that can affect data binding
974 is set, make sure to set RequiresDataBinding.
976 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
978 * DataBoundControl.cs: fixed DataBind flow:
979 prevent double binding when not necessary.
982 2007-08-31 Marek Habersack <mhabersack@novell.com>
984 * GridView.cs: instead of not adding hidden fields to the rows,
985 mark the cells they would contain as invisible. Fixes bug #82615.
987 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
991 make Menu work in multi form environment.
993 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
995 * ListControl.cs: fixed selected items state management.
997 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
999 * BaseCompareValidator.cs:
1001 * CompareValidator.cs:
1002 * CustomValidator.cs:
1003 * RangeValidator.cs:
1004 * RegularExpressionValidator.cs:
1005 * RequiredFieldValidator.cs:
1006 all Validators use RegisterExpandoAttribute for
1007 not XHTML compliant attributes.
1009 2007-08-23 Igor Zelmanovich <igorz@mainsoft.com>
1011 * Panel.cs: client script consider MultiForm environment.
1013 2007-08-21 Marek Habersack <mhabersack@novell.com>
1015 * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
1018 2007-08-20 Marek Habersack <mhabersack@novell.com>
1020 * ContentPlaceHolderBuilder.cs: store place holder id in the
1021 parser's internal place holder id list for later reference. Fixes
1024 2007-08-19 Vladimir Krasnov <vladimirk@mainsoft.com>
1026 * BoundField.cs: FormatDataValue, refactored multiple use of ToString
1028 2007-08-14 Marek Habersack <mhabersack@novell.com>
1030 * ObjectDataSourceView.cs: remove unused variable.
1032 * ChangePassword.cs: remove unused variable.
1033 The change password button id changed to
1034 "ChangePasswordPushButton", the cancel button id changed to
1035 "CancelPushButton". The change makes the generated ids the same
1036 what on MS.NET. Fixes bug #82418.
1038 * RoleGroupCollection.cs: OnValidate shouldn't be overridden.
1040 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1042 * ParameterCollection.cs: fixed IndexOfString, should use ordinal
1045 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1047 * Menu.cs: performance refactoring, used AddAttribute overload without
1048 encoding on known attribute values, optimized DynamicMenu rendering
1050 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1052 * TreeView.cs: refactoring, used AddAttribute overload without encoding
1053 on known attribute values,
1054 used Page.ClientScript.GetWebResourceUrl call instead of
1055 AssemblyResourceLoader.GetResourceUrl
1057 2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
1059 * AccessDataSource.cs: does not subscribed on view changed event.
1060 * ObjectDataSource.cs: fixed state management.
1061 * SqlDataSource.cs: fixed state management.
1063 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1066 DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs,
1067 RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs,
1068 TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs,
1069 BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs,
1070 RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs,
1071 ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs,
1072 TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs:
1073 refactoring, used AddAttribute overload without encoding on known attribute
1076 2007-08-01 Igor Zelmanovich <igorz@mainsoft.com>
1078 * DropDownList.cs: fixed onchange attibute.
1080 2007-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
1082 * ListItemCollection.cs: fixed LoadViewState, items restored from
1083 viewstate were not saved, fixes bug #82192
1085 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1087 * BaseValidator.cs: All client scripts are rendered
1088 according IsMultiForm property.
1090 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1092 * TreeView.cs: refactoring:
1094 used ClientScriptManager.GetCallbackEventReference API instead calling
1095 WebForm_DoCallback explicit.
1097 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1099 * BaseValidator.cs: for NET_2_0: fixed client side validation.
1100 validation is performed in WebForm_DoPostback,
1101 and there is no need to do it twice in ValidatorOnSubmit.
1103 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1105 * Calendar.cs: fixed: correct 'id' attribute is rendered.
1107 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
1109 * ListItemCollection.cs: optimized SetDirty method
1111 2007-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1115 * ListItemCollection.cs: controls based on ListControl should not save
1116 view state before than TrackViewState called
1118 2007-07-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1120 * WebControl.cs: fixed AddDisplayStyleAttribute, returns if
1121 ControlStyle is not created
1123 2007-07-02 Marek Habersack <mhabersack@novell.com>
1125 * WebControl.cs: Revert r80368, as it wasn't the correct
1126 fix. Fixes bug #81945.
1128 * ListControl.cs: if there are no items in the collection, do not
1129 return an empty ArrayList from GetSelectedIndicesInternal. Fixes
1130 bug #81945 and properly fixes bug #78533.
1132 * ListItemCollection.cs: if there are no items in collection,
1135 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1138 the Pager is created but unvisible for only one page.
1139 the Patch submitted by Dumitru Ban [dban@dako.ro]
1141 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1146 does not requires data binding if any ITemplate property is set.
1148 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1150 * CheckBox.cs: fixed Render, HasAttributes called instead
1153 2007-06-24 Igor Zelmanovich <igorz@mainsoft.com>
1155 * GridView.cs: fixed AllowPaging feature:
1156 When the AllowPaging is true the GridView control should automatically
1157 hide the pager row when the data source contains fewer than 2 records.
1158 patch Patch submitted by Dumitru Ban [dban@dako.ro]
1160 2007-06-20 Marek Habersack <mhabersack@novell.com>
1162 * WebControl.cs: if savedState is a Triplet, take the actual state
1163 data from savedState.First. Also make sure that the data is a
1164 Pair. Fixes bug #78533.
1166 * DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
1167 to keep private entries.
1168 * XmlDataSource.cs: as above
1170 2007-05-31 Vladimir Krasnov <vladimirk@mainsoft.com>
1172 * BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed
1173 to ClientScriptManager
1175 2007-05-29 Igor Zelmanovich <igorz@mainsoft.com>
1177 * ObjectDataSourceView.cs:
1178 * SiteMapDataSource.cs:
1180 * SqlDataSourceView.cs:
1181 DataSourceChanged and DataSourceViewChanged are raised in right case, when
1182 different properties changed their value.
1184 2007-05-27 Igor Zelmanovich <igorz@mainsoft.com>
1186 * ObjectDataSourceView.cs: fixed SelectMethod and SelectCountMethod properties:
1187 when changed, DataSourceViewChanged event is raised.
1189 * SqlDataSourceView: fixed SelectCommand property:
1190 when changed, DataSourceViewChanged event is raised.
1192 2007-05-25 Marek Habersack <mhabersack@novell.com>
1194 * ObjectDataSourceView.cs: CreateDataObject must pay attention to
1195 TypeConverter attributes on the property being converted.
1197 2007-05-24 Igor Zelmanovich <igorz@mainsoft.com>
1199 * Menu.cs: fixed: alt attribute is rendered as well.
1201 2007-05-16 Marek Habersack <mhabersack@novell.com>
1203 * CompareValidator.cs: formatting changes
1205 2007-05-15 Marek Habersack <mhabersack@novell.com>
1207 * ObjectDataSourceView.cs: refactoring - use
1208 HttpApplication.LoadType to look up types.
1210 2007-05-10 Marek Habersack <mhabersack@novell.com>
1212 * Table.cs: render rows, not controls
1214 * HyperLink.cs: RenderContents must check if the render method
1215 delegate is present and, if yes, call the base RenderContents.
1217 * LinkButton.cs: as above.
1219 * Label.cs: as above.
1221 * TableCell.cs: as above.
1222 This change makes the HeaderTemplate in the Wizard control work.
1224 * Wizard.cs: if a next/previous step handler modifies
1225 ActiveStepIndex do not, respectively, increase/decrease the
1226 current step, but use whatever was set in the handler.
1228 2007-05-09 Marek Habersack <mhabersack@novell.com>
1230 * TreeNodeStyleCollection.cs: do not set font's underline flag to
1231 false, set it to its own value instead.
1233 * TreeView.cs: if level style exists and has ChildNodesPadding
1234 set, it takes precedence over the node style setting (if any).
1236 2007-05-08 Marek Habersack <mhabersack@novell.com>
1238 * TreeView.cs: children padding is rendered only before and after
1239 the children are rendered, not between them. Also, render padding
1240 only if there are any nodes to follow the current one.
1242 2007-05-07 Marek Habersack <mhabersack@novell.com>
1244 * Wizard.cs: additional checks to see whether the wizard needs to
1245 move to a next step or not. Fixes bug #81532. Patch sent by Mike
1246 Morano <mmorano@mikeandwan.us>, thanks!
1248 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1250 * FormView.cs: fixed:
1251 avoid NullReferenceException when used EditTemplate w/o binding
1252 directive such Eval or Bind.
1254 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1256 * MenuItem.cs: fixed:
1257 when 'Value' property is not set, value of 'Text' property is used
1258 instead and vice versa.
1260 2007-05-06 Igor Zelmanovich <igorz@mainsoft.com>
1262 * TreeNode.cs: fixed:
1263 when 'Value' property is not set, value of 'Text' property is used
1264 instead and vice versa.
1266 2007-05-04 Marek Habersack <mhabersack@novell.com>
1268 * AdRotator.cs: use the new GetPhysicalFilePath method to look up
1269 the physical path of the ad file.
1271 2007-05-03 Marek Habersack <mhabersack@novell.com>
1273 * TreeView.cs: honor ChildNodesPadding of the NodeStyle.
1275 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1277 * ControlPropertyNameConverter.css:
1278 * FontUnitConverter.cs:
1280 * ValidatedControlConverter.cs:
1283 2007-05-03 Marek Habersack <mhabersack@novell.com>
1285 * TreeNode.cs: correct version of the fix in r76488. Nodes
1286 retrieved from a navigation data source which have empty URL will
1289 * TreeView.cs: revert r76488, it wasn't entirely correct. I need
1290 to investigate the special cases it solved a bit more.
1292 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
1294 * SqlDataSourceView.cs:
1295 make CancelSelectOnNullParameter property works.
1297 2007-05-01 Marek Habersack <mhabersack@novell.com>
1299 * BaseValidator.cs: do not use User-Agent directly, we must take
1300 ClientTarget into account.
1302 2007-04-30 Marek Habersack <mhabersack@novell.com>
1304 * TreeView.cs: bring rendering closer to the MS.NET rendering.
1306 * SqlDataSource.cs: do not catch the exception if ProviderName is
1307 not null or empty (as per docs and what MS.NET does).
1309 2007-04-19 Igor Zelmanovich <igorz@mainsoft.com>
1311 * ChangePassword.cs:
1312 does not accept invalid new password.
1314 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1318 added MonoLimitation attributes
1320 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1322 * BaseValidator.cs: for TARGET_J2EE:
1323 used Page.Request.Browser to determine RenderUplevel
1325 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1328 when databound with AutoGenerateColumns = true,
1329 data source enumerator created only once.
1331 2007-04-18 Marek Habersack <mhabersack@novell.com>
1333 * SiteMapDataSource.cs: query the site map for the current node
1334 when configured to use it as the start point. Fixes bug #81376,
1335 patch from Mike Morano <mmorano@mikeandwan.us>.
1337 * Calendar.cs: change year/month format to be culture aware. Fix
1338 for bug #81390. Patch submitted by Atsushi Enomoto
1339 <atsushi@ximian.com>
1341 2007-04-17 Daniel Nauck <dna@mono-project.de>
1343 * PasswordRecovery.cs: fixed typo (AnswerLabel.Text).
1345 2007-04-17 Marek Habersack <mhabersack@novell.com>
1347 * BaseValidator.cs: use the new uplevel browser detection code.
1349 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1351 * SqlDataSourceView.cs: fixed: InitializeParameters:
1352 restored flow, broken in r75137.
1354 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1356 * Menu.cs: popup menu is posed correctly if menu is placed within
1357 container with position=relative
1359 2007-04-12 Marek Habersack <mhabersack@novell.com>
1361 * LoginView.cs: do not call CreateChildControls directly from the
1362 IsAuthenticated setter since that would destroy the controls the
1363 user might've configured from their Page_PreRender method.
1364 Do not use IsAuthenticated in CreateChildControls since that
1365 prevents the _correct_ template from being instantiated before the
1366 control is transferred to the user's OnPreRender handler. Fixes
1369 2007-04-11 Marek Habersack <mhabersack@novell.com>
1371 * ImageButton.cs: implement the Enable property and do not
1372 register for post back if the control isn't enabled.
1374 2007-04-06 Marek Habersack <mhabersack@novell.com>
1376 * GridView.cs: don't render invisible fields. Fixes bug #80061.
1378 * DetailsView.cs: don't render invisible fields.
1380 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1382 * Menu.cs: resolve selected MenuItem if bounded with SiteMapeDataSource.
1384 2007-04-05 Marek Habersack <mhabersack@novell.com>
1386 * BaseDataBoundControl.cs: restore the LAMESPEC note and code it
1387 describes - tests show this is what's happening on MS.NET as
1390 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1393 * BaseDataBoundControl.cs:
1394 Break recursion when the property is set from within the OnSelect handler
1395 in user's code. fixes bug #81175.
1397 2007-04-05 Marek Habersack <mhabersack@novell.com>
1399 * SiteMapDataSource.cs: fix GetStartNode for situations when the
1400 current URL is not defined in the sitemap file. Fixes bug
1401 #81314. Patch from Mike Morano <mmorano@mikeandwan.us>.
1403 2007-04-03 Marek Habersack <mhabersack@novell.com>
1405 * BaseDataBoundControl.cs: adjust for lame specs on MSDN.
1407 2007-04-02 Gert Driesen <drieseng@users.sourceforge.net>
1409 * MenuItem.cs: Use INavigateUIData.Description as ToolTip. Fixed line
1412 2007-03-29 Adar Wesley <adarw@mainsoft.com>
1414 * ObjectDataSourceView.cs: fixed events so they are raized at the
1415 right times. Added many tests to verify the correct time.
1416 * SqlDataSourceView.cs: fixed events so they are raized at the right
1417 times. Added many tests to verify the correct time.
1419 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1423 avoid Exception if HierarchicalDataSourceView.Select() returns null.
1425 2007-03-22 Igor Zelmanovich <igorz@mainsoft.com>
1427 * ObjectDataSource.cs:
1428 * ObjectDataSourceView.cs:
1430 * SqlDataSourceView.cs:
1431 fixed flow: changes in Insert/Update/DeleteParameters does not
1432 cause DataSourceViewChanged event.
1434 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1436 * BaseDataBoundControl.cs: fix as per MSDN - the property is set
1437 only if data binding doesn't occur.
1439 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1441 * GridView.cs: fixed: PageIndex considers PageCount.
1443 2007-03-20 Marek Habersack <mhabersack@novell.com>
1445 * DataBoundControl.cs: avoid endless recursion here. Fixes bug #81175
1447 * LoginStatus.cs: render login/logout controls with the CssClass
1448 set from the parent control. Fixes bug #81196
1450 2007-03-19 Igor Zelmanovich <igorz@mainsoft.com>
1452 * DataGrid.cs: fixed Save/Load view state, applying styles.
1454 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
1456 * Style.cs: optimization: used CssStyleCollection .ctor w/o parameters.
1458 2007-03-09 Marek Habersack <mhabersack@novell.com>
1460 * Login.cs: Make command name comparison case-insensitive in
1461 OnBubbleEvent. Patch from Mike Morano <mmorano@mikeandwan.us>
1463 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1465 * DataGrid.cs: fixed:
1466 Auto-generated columns are restored properly on postback from view state.
1468 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1471 when AddAttributesToRender(System.Web.UI.HtmlTextWriter, WebControl)
1472 is called, WebControl parameter is passed as argument to
1473 FillStyleAttributes (CssStyleCollection, IUrlResolutionService) method.
1475 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1479 fixed applying styles if ExtractTemplateRows=true.
1481 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1483 * DropDownList.cs: in 2.0 first item is rendered with selected attribute
1484 is Enabled=false and no selected items.
1486 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1488 * CheckBoxList.cs: in 2.0 access key attribute is rendered in 'input' tags.
1490 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1496 * RadioButtonList.cs:
1497 fixed: list controls consider ListItem.Attributes property on render.
1499 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1501 * CheckBox.cs: fixed: 'span' tag is not rendered if all attributes
1502 are rendered in 'input' tag.
1504 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1508 used "ONLY_1_1" instead "!NET_2_0"
1510 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1512 * BaseDataBoundControl.cs:
1513 * DataBoundControl.cs:
1514 * HierarchicalDataBoundControl.cs:
1515 refactoring: DataBoundControl and HierarchicalDataBoundControl use internal
1516 method in BaseDataBoundControl to find a data source control.
1518 2007-03-05 Marek Habersack <mhabersack@novell.com>
1520 * Unit.cs: Support parsing of units in the form ".9em" etc.
1522 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1524 * TemplateColumn.cs: fixed: if ItemTemplate is null, " " is rendered.
1526 2007-03-05 Marek Habersack <mhabersack@novell.com>
1528 * BaseValidator.cs: make validators work correctly with
1529 ListItems. Patch from Daniel Nauck <dna@informatik.uni-kiel.de>
1531 2007-03-04 Marek Habersack <mhabersack@novell.com>
1533 * HierarchicalDataBoundControl.cs: Use the method described below
1534 to get the data source named in DataSourceID.
1536 * BaseDataBoundControl.cs: add an internal method to find a data
1537 source control within all the naming containers above a given
1538 control. The method makes it possible to find controls that reside
1541 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1543 * Repeater.cs: fixed: data-binding flow for 2.0 features.
1545 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1548 * ParameterCollection.cs:
1549 fixed GetValue/s and UpdateValue/s.
1551 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1553 * TreeNodeCollection.cs:
1554 fixed Save/Load viewstate.
1556 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1558 * MenuItemCollection.cs:
1559 fixed Save/Load viewstate.
1561 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1563 * CreateUserWizard.cs:
1565 fixed CausesValidaion and ValidationGroup for navigation buttons.
1567 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1571 fixed LoadPostData to restore checked state for node's checkboxes.
1573 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1575 * TreeNodeCollection.cs: 'dirty' flag is assigned if 'marked' only
1577 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1579 * BaseDataBoundControl.cs: setting DataSource to null does not
1580 call ValidateDataSource.
1581 * HierarchicalDataBoundControl.cs: ValidateDataSource does not
1582 throw exception if argument is null.
1584 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1586 * WebControl.cs: implemented IsEnabled and HasAttributes.
1588 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1590 * BaseDataList.cs: fixed: data-binding flow for 2.0 features.
1592 2007-02-27 Marek Habersack <grendello@gmail.com>
1594 * FileUpload.cs: HasFile is true only if PostedFile is not null
1595 and it actually has an associated file.
1597 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1599 * LoginView.cs: fixed:
1600 ViewChanging and ViewChanged are fired.
1601 optimized Save/Load control state.
1603 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1605 * CreateUserWizard.cs: fixed: does not attempt to send email if
1606 MailDefinition is not defined.
1608 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1611 considers FormsAuthentication.ReturnUrl only if is placed in
1612 the login page defined in web.config.
1614 2007-02-23 Marek Habersack <grendello@gmail.com>
1616 * ObjectDataSourceView.cs: Fix saving/restoring the view state.
1618 * CreateUserWizard.cs: support for sending mail when a new user is
1619 created. Patch from dban@dako.ro.
1621 2007-02-22 Marek Habersack <grendello@gmail.com>
1623 * LoginStatus.cs: Handle OnLoggedOut properly. Patch from
1626 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1628 * ObjectDataSourceView.cs: fixed ViewState behavior to match MS. Added relevant tests.
1630 2007-02-20 Gert Driesen <drieseng@users.sourceforge.net>
1632 * Calendar.cs: Fixed bug #80881 by using Thread's CurrentCulture
1633 instead of CurrentUICulture for DateFormatInfo.
1635 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1637 * SqlDataSource.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1638 * SqlDataSourceView.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1640 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
1642 * ChangePassword.cs: fixed:
1643 ChangePasswordContainer and SuccessContainer cannot be BindingContainer.
1645 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1647 * SqlDataSourceView.cs: Fixed parameter merging logic and some bug fixing.
1650 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
1655 implemented Form.SubmitDisabledControls feature.
1657 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1659 * GridView.cs: IsBindableType for decimal returns true.
1661 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1663 * Menu.js: client script: support IE6.
1665 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1667 * Menu.cs: fixed: considers item.ToolTip, render image inside 'a' tag.
1669 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
1671 * Button.cs, ImageButton.cs, LinkButton.cs: Hanlding of PostbackOptions for
1672 TARGET_J2EE is now centralized in ClientScriptManager.
1673 * TreeView.cs, DetailsView.cs, GridView.cs, TreeView.js, DetailsView.js,
1674 GridView.js: Added a field to the controls JavaScript 'data' object. The
1675 form is initialized to the page 'theForm'. This is used for J2EE portlets
1678 2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1681 first step is recognized as 'finish' if only two steps
1682 and last step is 'complete'
1684 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1686 * BaseValidator: ControlPropertiesValid is called on PreRender
1687 * CompareValidator.cs:
1688 * RangeValidator.cs: fixed ControlPropertiesValid, EvaluateIsValid.
1690 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1692 * BaseCompareValidator.cs: fixed: support for type=Currency on client side.
1694 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1696 * ParameterCollection.cs: fixed IndexOfString, this indexer should be
1699 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
1701 * TreeView.js: refactoring:
1702 removed TreeView_ErrorCallback, used TreeView_PopulateCallback instead.
1704 2007-02-13 Adar Wesley <adarw@mainsoft.com>
1706 * ObjectDataSourceView.cs: fixed parameter merging and added more tests
1708 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1710 * Literal.cs: implemented 2.0 feature - Mode.
1712 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1714 * ViewCollection.cs: fixed public API.
1716 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1718 * RepeaterItem.cs: implemented IDataItemContainer interface.
1720 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1722 * TreeNodeStyle.cs: fixed public API.
1724 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1726 * MenuItemStyle.cs: fixed public API.
1728 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1731 * DayRenderEventArgs.cs:
1732 implemented 2.0 feature - SelectUrl.
1734 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1736 * GridViewRowCollection.cs: implemented IsReadOnly property.
1738 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1740 * BaseValidator.cs: implemented SetFocusOnError feature.
1742 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1744 * Wizard.cs: refactoring:
1745 used ContainedTable for ID attribute is rendered properly.
1747 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1749 * CreateUserWizard.cs:
1753 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1755 * DataList.cs: fixed: OnBubbleEvent() will return true if event is handled
1757 2007-02-09 Gert Driesen <drieseng@users.sourceforge.net>
1759 * FontUnit.cs: Fixed ToString () to use current locale.
1761 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1763 * BaseValidator.cs: fixed render, works in static mode properly
1764 * CreateUserWizard.cs: fixed display mode for validators.
1766 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1770 implemented FormViewPagerRow class
1772 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1775 header and footer visibility is set at creation.
1777 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1779 * FormView.cs: fixed:
1780 header and footer are not created with empty row.
1782 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1784 * FormView.cs: fixed:
1785 works properly with not ICollection data source.
1787 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1789 * DetailsView.cs: fixed:
1790 PageIndex, CreateChildControls,
1791 works properly with not ICollection data source.
1793 2007-02-06 Eyal Alaluf <eyala@mainsoft.com>
1795 * Menu.cs ImageMap.cs Panel.cs TreeView.cs: Ensure that the NavigateUrl
1796 property is rendered as a RenderURL for J2EE portlets.
1798 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1800 * BaseValidator.cs: refactored RegisterValidatorCommonScript to use
1801 RegisterClientScriptInclude instead of RegisterClientScriptBlock
1803 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1805 * DataBoundControl.cs:
1808 PerformDataBinding is called with RequiresDataBinding was set false
1810 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1813 fixed validation flow.
1815 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1818 fixed validation flow.
1820 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1822 * CustomValidator.cs:
1823 ValidateEmptyText is considered on client side.
1825 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1830 * DataControlButton.cs:
1831 * DataControlField.cs:
1834 Internal classes are used in databound controls for buttons
1835 are derived from right types. It allows to have access to them by casting
1836 to public types. This trick is used in one of starter kits of MS.
1838 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1840 * Panel.cs: fixed: reverted r71441.
1841 * TreeView.cs: used internal RegisterWebFormClientScript API
1842 to cause the relevant script be included.
1844 2007-02-01 Adar Wesley <adarw@mainsoft.com>
1846 * FormView.cs: fixed events ModeChanging and ModeChanged
1847 to be raized in all relevant situations.
1849 2007-02-01 Igor Zelmanovich <igorz@mainsoft.com>
1851 * ValidationSammary.cs: fixed:
1852 control is rendered even if there is no validators on the page.
1853 important if the page contain a client side script that refer to the
1854 id of the validation summary div.
1856 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1861 * RadioButtonList.cs:
1862 EnsureDataBound is called when PostData is processed to restore
1863 'state' of control if EnableViewState is false
1865 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1867 * GridView.cs: fixed:
1868 RowDataBound is fired for PagerRow.
1869 Styles are applied using MergeWith instead CopyFrom
1870 to allow using custom styles for rows in code-behind.
1872 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1874 * GridView.cs: fixed: RowCommand event is fired properly.
1876 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1878 * GridView.cs: fixed: created rows are added in table after initialization.
1881 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1883 * Panel.cs: fixed 'background-image' attribute.
1885 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1887 * BaseDataBoundControl.cs:
1888 * DataBoundControl.cs:
1889 fixed DataBinding flow: RequiresDataBinding is set to false in
1891 * HierarchicalDataBoundControl.cs: implemented MarkAsDataBound().
1893 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1897 fixed DataBinding flow for Insert mode.
1899 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1902 does not RegisterRequiresPostBack if is not enabled.
1904 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1908 fixed PopulateOnDemand: used UniqueID to call WebForms_DoCallBack().
1910 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
1912 * MultyView.cs: OnActiveViewChanged is called.
1914 2007-01-29 Vladimir Krasnov <vladimirk@mainsoft.com>
1916 * Panel.cs: fixed AddAttributesToRender for 2.0, text align should be
1919 2007-01-29 Adar Wesley <adarw@mainsoft.com>
1921 * EditCommandColumn.cs: implemented CausesValidation and
1922 ValidationGroup and coresponding tests.
1923 * DataGrid.cs: fixed generated table to be compatible with MS 2.0
1925 2007-01-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1927 * WebControl.cs: added internal method AddDisplayStyleAttribute for
1928 display:inline-block style attribute
1931 * CheckBox.cs: added call to AddDisplayStyleAttribute on rendering
1933 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
1935 * TreeView.js: Used WebForm_GetFormFromCtrl to lookup the form.
1937 2007-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1939 * TextBox.cs: implemented AutoCompleteType property, fixed
1940 AddAttributesToRender
1942 2007-01-24 Ilya Kharmatsky <ilya -at- decode-systems.com>
1944 * DetailsView.cs: fixed problems with rendering of control, when
1945 empty data source is provided. Respective tests are provided
1946 in DetailsViewTest.cs
1948 2007-01-21 Konstantin Triger <kostat@mainsoft.com>
1950 * TreeView.js, DetailsView.js, Menu.js, GridView.js:
1951 suppress exception if eval() fails.
1953 2007-01-20 Miguel de Icaza <miguel@novell.com>
1955 * DataControlFieldCollection.cs (RemoveAt): remove unused
1958 * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
1961 * RadioButton.cs (RaisePostDataChangedEvent): This method was not
1962 used in 1.0, so put the whole method in 2.0
1964 2007-01-18 Adar Wesley <adarw@mainsoft.com>
1966 * Xml.cs: added support for XPathNavigator, fixed DocumentContent
1967 to be compatible with MS 2.0, implemented EnableTheming, implemented
1968 SkinID, fixed Focus behavior.
1970 2007-01-18 Vladimir Krasnov <vladimirk@mainsoft.com>
1972 * Menu.js, Menu.js: added null reference checking for every getTree or
1975 2007-01-18 Adar Wesley <adarw@mainsoft.com>
1977 * SiteMapDataSource.cs: implemented logic of GetStartNode when
1978 StartingNodeOffset is positive.
1980 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
1982 * BaseValidator.cs: ToString the validating property value or
1983 if null return an empty string.
1985 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1987 * TreeView.cs: fixed RegisterStyle, style names should be without
1988 leading underscore. fixed RenderNode, node icons should be taken also
1991 2007-01-17 Adar Wesley <adarw@mainsoft.com>
1993 * Repeater.cs: refactored GetData to return data both from DataSource
1994 and DataSrouceID, Implemented EnableTheming, updated initialization of
1995 DataBinding according to the pattern of BaseDataBoundControl, fixed
1996 SelectArguments implementation to call the virtual
1997 CreateDataSourceSelectArguments method.
1999 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
2001 * GridView.cs: don't force creating rows collection when SelectedIndex
2002 changes; EnsureDatabound on select.
2004 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2006 * TreeNode.cs: fixed Bind, fixed Value updating
2008 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2010 * DataList.cs: fixed OnBubbleEvent, added SelectedIndex updating
2012 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2014 * DetailsView.cs: fixed CreateChildControls, PageIndex cannot be less
2017 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2019 * DetailsView.cs: fixed CreateChildControls, PageIndex should be less
2020 or equal to PageCount
2022 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2024 * Menu.cs: added z-index attribute to popup div's.
2026 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2028 * FileUpload.cs: fixed FileName property, should return filename
2029 without full path on client side
2031 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
2036 Implemented the protected net_2_0 method 'VerifyMultiSelect' with
2037 proper overloading in derived types.
2039 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2042 considers INavigateUIData.NavigateUrl when bound.
2044 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2046 * CompleteWizardStep.cs
2047 * CreateUserWizard.cs
2048 * CreateUserWizardStep.cs
2049 * TemplatedWizardStep.cs
2051 make the design complied to .NET
2052 build all possible controls at once and manage render by Visible property
2054 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
2055 * Button.cs, HyperLink.cs, DataGrid.cs, ImageButton.cs, LinkButton.cs,
2056 PagedDataSource.cs: Added J2EE Portal support for TARGET_J2EE.
2058 2007-01-14 Ilya Kharmatsky <ilyak-at-mainsoft.com>
2059 * BaseCompareValidator
2061 Added support for CultureInvariantValues property, which should be
2062 counted in new 2.0 methods such as - Compare, Convert etc. The code
2063 has been changed in such way, that the old - 1.1 method implementation
2064 could use the new methods defined for 2.0 version.
2066 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2068 * XmlDataSource.cs: refactored to use cached collection.
2069 * SqlDataSource.cs: refactored to use cached collection;
2070 don't throw exception on 'DefaultView'.
2071 * ObjectDataSource.cs: refactored to use cached collection.
2073 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2075 * ObjectDataSourceView.cs: consider parameter names and
2076 DataObjectMethodAttribute during method resolution.
2078 2007-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2080 * SqlDataSourceView.cs: fixed OnUpdating, OnInserting call with
2081 SqlDataSourceCommandEventArgs
2083 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2085 * ObjectDataSourceView.cs: use case unsensitive comparer for
2086 parameters collection.
2088 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2090 * LoginStatus.cs: fixed: not causes page validation.
2092 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2094 * CreateUserWizard.cs: fixed: resolves ErrorMessage control correct.
2095 * CreateUserWizardStep.cs:
2097 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2099 * TreeView.cs: fixed: SelectedNode, CheckedNodes.
2101 * TreeNodeCollection.cs:
2103 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2105 * GridView.cs: fixed: header and footer does not appear in no items.
2106 * CompositeDataBoundControl.cs:
2108 2007-01-09 Konstantin Triger <kostat@mainsoft.com>
2110 * AdRotator.cs: Backport the fix for AdRotator AbsoluteUri to 1.1.
2112 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2114 * GridView.cs: fixed: SelectedDataKey.
2116 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2120 implemented 2.0 features.
2122 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2124 * SqlDataSourceView.cs: fixed parameters init for ExecuteUpdate
2126 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2128 * DataSourceCacheManager.cs:
2129 * ObjectDataSource.cs:
2131 fixed: cache considers parameters values changes.
2133 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2135 * DetailsView.cs: fixed DeleteItem, excluded keys for new values
2136 * SqlDataSourceView.cs: fixed ExecuteDelete, check cancel in
2139 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2141 * GridView.cs: fixed: show all rows when AllowPaging=false
2143 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2145 * SqlDataSourceView.cs: fixed CreateDbParameter, used DBNull for value=null.
2147 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2149 * ButtonField.cs: fixed: consider its CausesValidation property.
2151 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2153 * GridView.cs: fixed:
2154 ReadOnly property is false for AutoGeneratedColumn if field is DataKey.
2155 causesValidation parameter is considered properly in UpdateRow.
2156 OldValues contains readonly fields values
2158 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2160 * SqlDataSourceView.cs: fixed InitializeParameters, added
2161 ParameterPrefix when check that param is already in collection
2163 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2165 * AdRotator.cs: fixed: considers absolute uri such html://......
2167 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2169 * SqlDataSourceView.cs: fixed insert, delete, update methods, added
2170 calls to OnDataSourceViewChanged
2172 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2174 * added ProfileParameter.cs
2176 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2178 * Label.cs: fixed: according MSDN OnPreRender is not overridden.
2180 2007-01-04 Adar Wesley <adarw@mainsoft.com>
2182 * ImageButton.cs: implemented GenerateEmptyAlternateText
2184 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2186 * FormView.cs: fixed data binding flow considers Insert mode.
2188 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2190 * DataBoundControl.cs: fixed Init flow.
2192 2007-01-4 Adar Wesley <adarw@mainsoft.com>
2194 * RadioButtonList.cs: Implemented properties of IRepeatInfoUser as public virtual
2196 2007-01-03 Marek Habersack <grendello@gmail.com>
2198 * ObjectDataSourceView.cs: Look for unqualified type also in the top-level assemblies.
2200 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2202 * FormView.cs: fixed PageIndex property.
2204 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2206 * ListControl.cs: fixed SelectedValue and SelectedIndex properties.
2207 set accessor works differently in 2.0.
2209 2007-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
2211 * SqlDataSourceView.cs,ObjectDataSourceView.cs: fixed parameter merge
2212 when values and old values are null
2214 2006-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2216 * ListControl.cs: reverted r70112, fixed in r70319.
2218 2007-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2220 * DetailsView.cs: fixed CreateAutoGeneratedRows.
2222 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2224 * AutoGeneratedField.cs: is editable in Insest mode.
2225 * BoundField.cs: is editable in Insest mode.
2226 * CheckBoxField.cs: is editable in Insest mode.
2227 * DetailsView.cs: fixed DataBinding flow.
2229 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2231 * BaseDataBoundControl.cs:
2232 * CompositeDataBoundControl.cs: fixed DataBinding flow.
2234 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2236 * LinkButton.cs: show the validation summary when client validation
2237 and linkbuttons are used. Patch by Juraj Skripsky.
2239 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2241 * TextBox.cs: consider ToolTip property
2243 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2245 * ContainedTable.cs:
2246 * DataControlButton.cs:
2247 * DetailsView.cs: fixed EnablePagingCallbacks
2250 * GridView.js: fixed EnableSortingAndPagingCallbacks
2252 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2255 ResolveClientUrl used with LineImagesFolder, ExpandImageUrl,
2256 CollapseImageUrl and NoExpandImageUrl properties.
2258 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2260 * SqlDataSource.cs: Added parameters update on OnInit
2262 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2264 * LoginView.cs: fixed rendering LoggedInTemplate even after user
2267 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2272 control's behavior depends on using DataSource or DataSourceID
2273 property for binding
2275 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2277 * CommandField.cs: fixed:
2278 when ShowEditButton=false Update/Cancel button doesn't appear.
2279 when ShowInsertButton=false Insert/Cancel button doesn't appear.
2281 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2283 * Login.cs: fixed AuthenticateUser, should redirect to ReturnUrl when
2285 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2287 * Parameter.cs: fixed ConvertValue to coorect handle TypeCode.Empty
2288 * ObjectDataSourceView.cs: fixed MergeParameterValues,
2289 call Parameter.ConvertValue
2290 fixed ConvertParameter to hanlde TypeCode.Empty
2291 * SqlDataSourceView.cs: fixed InitializeParameters,
2292 call Parameter.ConvertValue
2293 fixed ParameterPrefix property
2294 fixed CreateDbParameter, added usege of ParameterPrefix
2296 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2298 * ListControl.cs: fixed: when is used with DataSourceID data bind is not
2299 perfomed on PostBack because Items collection is restored from View state.
2301 2006-12-26 Igor Zelmanovich <igorz@mainsoft.com>
2303 * DataGridPagerStyle.cs:
2308 * TableItemStyle.cs:
2313 fixed: Load/Save viewstate of WebControl does not call Load/Save viewstate
2314 for it's ControlStyle, but the shared ViewState is used to manage style's
2317 2006-12-21 Igor Zelmanovich <igorz@mainsoft.com>
2319 * CompleteWizardStep.cs:
2320 * CreateUserWizard.cs:
2321 * CreateUserWizardStep.cs:
2322 * TemplatedWizardStep.cs:
2324 fixed: CreateUserWizard works properly in advanced scenarios
2325 such being used with additional steps or/and with custom templates.
2326 Styles are aplied properly.
2328 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
2330 * SqlDataSourceView.cs: fixed InitializeParameters, parameters order
2331 parameters case insensetive search
2332 * ObjectDataSourceView.cs: fixed MergeParameterValues, parameters
2333 case insensetive search
2335 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2337 * Menu.cs: fixed: ResolveClientUrl used with src and href attributes
2339 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2343 TreeNodeCollapsed is not raised for leaf node.
2345 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2347 * DataGrid.cs, RepeatInfo.cs: fixed accessibility features
2349 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2351 * Calendar.cs: support DayNameFormat.Shortest
2353 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2355 * HiddenField.cs: implemented
2357 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2359 * FormView.cs: fixed: FillRowDataKey
2360 * DetailsView.cs: fixed: FillRowDataKey
2362 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2364 * TreeView.cs: fixed: ResolveClientUrl used with ImageUrl and NavigateUrl
2366 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2368 * Login.cs: refactored rendering, fixed OnAuthenticate event
2370 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2372 * GridView.cs: fixed: Update works not only for EditRow
2374 * CompositeDataBoundControl.cs:
2376 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2378 * RadioButton.cs: fixed:
2379 When GroupName is not defined UniqueID is used instead for name attribute.
2380 CheckedChanged is raised only when control is checked.
2382 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2384 * Menu.cs: fixed: rendering.
2386 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2388 * Menu.cs: fixed: rendering.
2390 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2395 fixed rendering for 2.0
2397 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2399 * DetaisView.cs: fixed: rendering.
2400 * DataControlButton.cs:
2403 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2405 * FormView.cs: fixed: avoid empty row rendering.
2407 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2409 * AdRotator.cs: fixed:
2410 MSDN: The ImageUrl and NavigateUrl attributes can be a full URL, a
2411 root-relative path, or a relative path. If you use a root-relative path,
2412 the path is relative to the same Web site. If you use a relative path,
2413 the path is relative to the directory that contains the advertisement file.
2415 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2417 * BaseCompareValidator.cs: fixed: support for type=Date on client side.
2419 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2421 * TreeView.cs: fixed: support for event validation.
2423 2006-12-04 Igor Zelmanovich <igorz@mainsoft.com>
2425 * DataGridPagerStyle.cs: chenged values of DataGridPagerStyles flags.
2427 2006-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2429 * CreateUserWizard.cs: implement GeneratePassword based on Membership.
2431 2006-11-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2433 * Wizard.cs: fixed GetStepType method that returned wrong type if the
2434 last step type is Complete.
2435 fixed ProcessEvent method, corrected FinishButtonClick behavior
2437 2006-11-26 Marek Habersack <grendello@gmail.com>
2439 * Calendar.cs: Fixed event validation registration. Now it
2440 registers all the arguments that can be passed by this control to
2443 2006-11-25 Marek Habersack <grendello@gmail.com>
2445 * FileUpload.cs: Implementation of SaveAs
2447 * TreeView.cs: A few optimizations for empty style collections.
2449 * Menu.cs: A few optimizations for empty style collections.
2451 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2453 * BoundField.cs: fixed: GetDesignTimeValue()
2455 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2457 * SiteMapDataSource.cs: fixed: GetViewNames()
2459 2006-11-23 Vladimir Krasnov <vladimirk@mainsoft.com>
2461 * ChangePassword.cs: implemented functionality
2462 * MailDefinition.cs: implemented CreateMailMessage method
2463 * PasswordRecovery.cs: implemented functionality
2465 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2467 * CircleHotSpot.cs: fixed:
2468 setting Radius with value <0 throws ArgumentOutOfRangeException.
2470 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2472 * CookieParameter.cs: fixed Evaluate method.
2474 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2476 * Parameter.cs: fixed Evaluate, ToString methods.
2477 * QueryStringParameter.cs: fixed Evaluate method.
2478 * SessionParameter.cs: fixed Evaluate method.
2480 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2482 * ImageMap.cs: fixed rendering.
2484 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2486 * HotSpot.cs: fixed: AccessKey and HotSpotMode
2487 throw ArgumentOutOfRangeException.
2489 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2491 * ControlParameter.cs: fixed: Evaluate method
2492 throws exceptions correctly.
2494 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2496 * CheckBox.cs: fixed: new 2.0 features such
2497 LabelAttributes and InputAttributes.
2499 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2501 * GridView.cs: fixed: header, footer and empty rows are databound.
2503 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2505 * Style.cs: added internal helper method RemoveTextStyles.
2507 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2509 * Button.cs: fixed: support for event validation.
2510 * CheckBox.cs: fixed: support for event validation.
2511 * FormView.cs: fixed: support for event validation.
2512 * ImageButton.cs: fixed: support for event validation.
2513 * ListBox.cs: fixed: support for event validation.
2514 * TextBox.cs: fixed: support for event validation.
2516 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2518 * DropDownList.cs: fixed: support for event validation.
2520 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2522 * LinkButton.cs: optimized: support for event validation.
2523 * DataControlButton.cs: Added support for event validation.
2524 * DetailsView.cs: fixed: RowIndex for DetailsViewRow.
2526 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2528 * LinkButton.cs: Added support for event validation.
2530 2006-11-17 Marek Habersack <grendello@gmail.com>
2532 * ImageButton.cs: Added support for event validation.
2534 * ListBox.cs: Added support for event validation.
2536 * Calendar.cs: Added support for event validation.
2538 * DropDownList.cs: Added support for event validation.
2540 * FormView.cs: Added support for event validation.
2542 * RadioButtonList.cs: Added support for event validation.
2544 * TextBox.cs: Added support for event validation.
2546 * BulletedList.cs: Added support for event validation.
2548 * CheckBox.cs: Added support for event validation.
2550 * Button.cs: Added support for event validation.
2552 2006-11-16 Igor Zelmanovich <igorz@mainsoft.com>
2554 * CreateUserWizard.cs: fixed: ActiveStepIndex property.
2556 2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>
2558 * ListControl.cs: fixed: DataBinding for 2.0, for 1.x - refactoring only.
2560 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2562 * GridView.cs: fixed: Rows property, DataBinding flow.
2563 * DataBoundControl.cs:
2564 * BaseDataBoundControl.cs:
2566 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2568 * CompositeDataBoundControl.cs: fixed:
2569 DataBind call Controls.Clear().
2571 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
2573 * CompositeDataBoundControl.cs: fixed:
2574 DataBind sets ChildControlsCreated=true.
2576 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2578 * Login.cs: fixed CreateChildControls, throws exception if needed
2580 * LoginView.cs: fixed CreateChildControls, check templates for null
2582 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2584 * Wizard.cs: fixed ActiveStepIndex property, fixed SideBar button
2585 rendering, fixed history updating
2586 * WizardStepCollection.cs: fixed implemented interfaces
2588 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2590 * XmlDataSource.cs: CacheKeyDependency fixed
2592 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
2594 * DetailsView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2596 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2598 * DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.
2600 2006-11-09 Vladimir Krasnov <vladimirk@mainsoft.com>
2602 * ParameterCollection.cs: fixed SetDirtyObject method
2603 * ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState
2604 utilization for control's properties, implemented caching
2605 * SqlDataSource.cs, SqlDataSourceView.cs: implemented caching
2607 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2609 * GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2611 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2613 * DataBoundControl.cs: fixed:
2614 ConfirmInitState method s called by
2615 the DataBoundControl class in its OnLoad method.
2617 2006-11-06 Igor Zelmanovich <igorz@mainsoft.com>
2619 * FormView.cs: fixed: DataBinding flow.
2621 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2623 * CustomValidator.cs: implemented ValidateEmptyText fixture.
2625 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2627 * BaseCompareValidator.cs: fixed: CultureInvariantValues, Type properties.
2629 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2631 * Menu.cs: fixed: RenderEndTag.
2632 Dynamic menu is rendered when StaticDisplayLevels=1
2634 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2636 * GridView.cs: fixed: UpdateRow, DeleteRow, RowCreated.
2638 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2640 * FormView.cs: fixed: UpdateItem, DeleteItem.
2642 2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>
2644 * DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.
2646 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2648 * RadioButtonList.cs: fixed: has no html output when Items.Count=0.
2650 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2652 * ListControl.cs: fixed: setting SelectedVolue for 2.0.
2654 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2656 * DataBoundControl: fixed: ValidateDataSource allows null as dataSource.
2658 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2660 * ListControl.cs: fixed: assigning SelectedIndex with too hight value.
2662 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2664 * ListControl.cs: fixed: DataBinding for 2.0.
2665 for 1.x refactoring only.
2667 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2669 * ChangePassword.cs: new class was implemented.
2671 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2673 * EmbeddedMailObject.cs: new class was implemented.
2674 * EmbeddedMailObjectsCollection.cs: new class was implemented.
2675 * MailDefinition.cs: new class was implemented.
2677 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2679 * PagerSettings.cs: fixed: CreatePagerControl.
2681 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2683 * CommandField.cs: fixed:
2684 considers CaseValidation, ValidationGroup, ButtonType.
2685 * DataControlButton.cs: refactoring:
2687 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2689 * DetailsView.cs: implemented: GetCallbackScript method.
2691 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2693 * FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2695 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2697 * FormFiew.cs: fixed: UpdateItem, InsertItem.
2699 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2701 * FormFiew.cs: fixed: PageIndex, rendering.
2703 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2705 * DropDownList.cs: fixed: rendering "name" attribute".
2707 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2709 * GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2710 * DataControlButton.cs:
2711 * CommandField.cs: CausesValidation feature must be implemented other way
2713 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2715 * CompositeDataBoundControl.cs: fixed: CreateChildControls flow.
2717 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2719 * FormView.cs: fixed: OnBubbleEvent returns true when event is handled.
2721 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2723 * DetailsView.cs: fixed: OnBubbleEvent works properly.
2725 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2727 * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
2729 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2731 * DetailsView.cs: fixed: CurrentMode property.
2733 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2735 * DetailsView.cs: fixed: current state are not changed during paging.
2737 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2739 * DetailsView.cs: fixed:
2740 in Insert mode Select not invoked from DataSource
2742 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
2744 * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
2746 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2748 * FormView.cs: fixed: CreateDataSourceSelectArguments method.
2749 (corresponding test does not work because bug in ObjectDataSourceView)
2751 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2753 * DataBoundControl.cs: fixed: DataBind calls
2754 CreateDataSourceSelectArguments() and stores result in SelectArguments
2756 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2760 fixed: EnablePagingCallbacks feature.
2761 when postback is invoked after callback control state is restored
2764 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2766 * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
2768 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2770 * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
2771 (corresponding test does not work because bug in ObjectDataSourceView)
2773 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2775 * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
2776 when postback is invoked after callback control state is restored
2779 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2781 * GridView.cs: fixed: Sorting feature.
2782 When sorting EditIndex and PageIndex are reseted
2784 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2786 * GridView.cs: fixed: Sorting feature.
2787 CreateDataSourceSelectArguments considers SortExpression and SortDirection.
2788 (corresponding test does not work because bug in ObjectDataSourceView)
2790 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2792 * GridView.cs: fixed:
2793 CreateDataSourceSelectArguments works according to MSDN.
2794 (corresponding test does not work because bug in ObjectDataSourceView)
2796 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2798 * ObjectDataSourceView.cs: fixed:
2799 CanRetrieveTotalRowCount returns true if EnablePaging = false
2801 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
2803 * DataBoundControl.cs: fixed: DataBind flow
2804 CreateDataSourceSelectArguments() is called
2805 each time as DataBind() is called
2807 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2809 * BoundField.cs: implemented ValidateSupportsCallback().
2811 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2813 * CommandField.cs: ValidateSupportsCallback(): exception's message.
2815 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2817 * FormView.cs: fixed: CurrentMode property.
2819 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2825 reverted r66222, problem solved in r66283: command buttons inherit ForeColor
2827 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2829 * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
2832 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2834 * HyperLink.cs: don't render the img tag 'by hand' but use an Image
2835 instead, which takes care of the 0/0px case. Also set the ToolTip
2836 property. Fixes bug #79585.
2838 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2840 * DetailsView.cs: optimization for previous patch
2842 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2844 * FormView.cs: optimization for previous patch
2846 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2849 * DetailsViewRow.cs:
2850 implemented PrepareControlHierarchy()
2851 styles are applied correct
2853 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2856 implemented PrepareControlHierarchy()
2857 styles are applied correct
2859 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2862 * DataControlButton.cs:
2863 * DataControlField.cs:
2864 implemented PrepareControlHierarchy()
2865 styles are applied correct
2866 command buttons inherit ForeColor
2868 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2870 * WebControl.cs: fixed: CreateControlStyle()
2872 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2878 corrected pager rendering: Color style applied to A tag,
2879 Input type="image" used if ImageUrl is not empty.
2881 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2883 * GridView.cs: corrected rendering
2884 * ContainedTable.cs: added new helper class
2886 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2888 * FormView.cs: fixed:
2889 in Insert mode Select not invoked from DataSource
2891 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2893 * FormView.cs: fixed:
2894 Pager is not shown when page count < 1
2895 in Edit mode use EmptyDataTemplate if there is no DataItem
2896 when page changed FormView stays in current state.
2898 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
2900 * FormView.cs: fixed: OnBubbleEvent works properly
2902 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
2904 * DataBoundControl.cs: fixed: DataBind flow
2905 GetData return "empty" DataSourceView when no DataSource and DataSourceID
2906 was assigned to cause PerformDataBinding be called.
2908 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2910 * DataList.cs: use ExtractTemplateRows to determine if the style is
2911 applied to the Table in a template or to its rows. Fixes bug #78058.
2913 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2915 * ListBox.cs: if the list is not enabled, don't require a postback.
2918 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2920 * HyperLink.cs: don't output the nabvigate url if disabled.
2921 * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
2922 the link URL if disabled.
2925 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2927 * RadioButtonList.cs:
2928 make it to consider CausesValidation and ValidationGroup properties
2930 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2933 make it to consider CausesValidation and ValidationGroup properties
2935 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2938 Page.Validate() is called when CausesValidation=true
2940 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2943 make onclick attribute to consider ValidationGroup property.
2945 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2948 make rendering of the href attribute to consider ValidationGroup property.
2949 Page.Validate() is called when CausesValidation=true
2951 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2954 make rendering of the onchange attribute to consider ValidationGroup
2956 Page.Validate() is called when CausesValidation=true
2958 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2961 make rendering of the onclick attribute to consider ValidationGroup property
2962 Page.Validate() is called when CausesValidation=true
2964 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2967 VewState saving and restoring rolled back to 1.1 implementation
2968 (fixed corresponding test), corrected public interface (there are no
2969 overriden methods SaveControlState, LoadControlState and OnInit),
2970 implemented CausesValidation and ValidationGroup properties.
2972 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2975 make rendering of the onclick attribute to consider ValidationGroup property
2976 Page.Validate() is called when CausesValidation=true
2978 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2981 implemented: RaisePostBackEvent,
2982 refactoring: GetPostBackOptions used to build onclick client event
2984 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2986 * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
2988 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2990 * BaseValidator.cs: implemented ValidationGroup feature on client side
2991 * ValidationSummary.cs:
2993 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
2995 * TreeView.cs: corrected rendering
2998 2006-09-11 Konstantin Triger <kostat@mainsoft.com>
3000 * Login.cs: ensure the urls are correctly resolved.
3002 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3004 * TreeView.cs: corrected rendering: styles are applied correct
3008 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3010 * TreeView.cs: corrected rendering: HoverNodeStyle works
3014 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3016 * TreeNodeStyle.cs: fixed: ViewState restored properly
3018 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3022 * TableItemStyle.cs:
3023 * DataGridPagerStyle.cs:
3024 refactoring: makes Style class more flexible for inheriting and reuse
3026 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3028 * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked
3029 state restored correct on PostBack.
3032 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3034 * ObjectDataSourceView.cs: correctly find the type when it is not in the
3035 executing assembly. Fixes bug #78321. Patch by Marek Habersack.
3037 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3039 * ControlParameter.cs: fix search for controls so that they use their
3040 NamingContainer, not the Page. Patch by Marek Habersack that fixes
3043 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3045 * Login.cs: fix problem with the login control and master pages.
3046 Patch by Marek Habersack that fixes bug #78219.
3048 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3050 * TreeView.cs: fixed: populating nodes.
3053 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3055 * TreeNode.cs: fixed: ToggleExpandState.
3057 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
3059 * SqlDataSourceView.cs: return DataView from ExecuteSelect when
3060 DataSourceMode is DataSet.
3062 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3064 * TreeView.cs: fixed: populating nodes flow.
3065 * TreeNodeCollection.cs
3068 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3070 * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.
3072 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3074 * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.
3076 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3078 * TreeView.cs: fixed: when specified value is not one of
3079 the TreeNodeTypes values exception is threw.
3081 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3083 * TreeView.cs: fixed: when specified image set is not one of
3084 the TreeViewImageSet values exception is threw.
3086 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
3088 * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.
3090 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
3092 * Style.cs: implemented SetBit().
3094 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3096 * CompareValidator.cs: fixed controltocompare attribute.
3098 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3101 when login attempt was not successful FailureText is shown.
3103 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3105 * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage
3106 is formatted correct.
3108 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3110 * CreateUserWizard.cs:
3111 * CompleteWizardStep.cs:
3112 * CreateUserWizardStep.cs:
3114 fixed: ContinueButtonClick occurs when the user clicks
3115 the Continue button in the final user account creation step.
3116 ContinueDestinationPageUrl - redirected after clicking
3117 the Continue button on the success page.
3119 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3121 * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
3122 insted internal DataControlButton.
3124 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3126 * Button.cs: implemented GetPostBackOptions + refactoring
3128 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3130 * ImageButton.cs: implemented 2.0 features
3131 OnClientClick attached to onclick attribute.
3132 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3133 generate onclick attribute.
3135 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3137 * LinkButton.cs: typo fix
3139 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3141 * Button.cs: refactoring
3143 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3145 * LinkButton.cs: implemented 2.0 features
3146 OnClientClick attached to onclick attribute.
3147 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3150 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
3152 * Button.cs: implemented 2.0 features
3154 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
3156 * Menu.cs: refactoring
3159 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3161 * TreeView.cs: fixed data binding
3163 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3165 * TreeNodeBinding.cs: fixed ToString method
3167 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3169 * MenuItem.cs: typo fix
3171 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3173 * CreateUserWizardStep.cs: fixed validators message display
3175 2006-08-25 Kornél Pál <kornelpal@gmail.com>
3177 * FileUpload.cs: Use assembly name constants.
3179 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3181 * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
3182 always creates ExtractTemplateValuesMethod delegate
3184 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
3186 * TreeNodeBinding.cs: corrected public interface
3189 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3191 * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
3192 case, but there are many others.
3194 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3196 * Menu.cs: corrected rendering of static and dynamic items
3199 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3203 fixed: AddAttributesToRender method calls FillStyleAttributes,
3204 text styles applied correct.
3206 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3209 fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
3210 refactoring: Name and Names properties has same source in bag.
3212 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3214 * Style.cs: restored r63894: for 1.x is refactoring only
3216 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3219 fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
3220 added ClearDefaults method for 2.0.
3222 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3224 * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
3227 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3229 * SubMenuStyle.cs: fixed:
3230 Unit.ToString() already include unit (e.g. "3px")
3232 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3235 * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
3236 submitted for review and it only added tests for the 2.0 profile.
3238 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3240 * FormView.cs: added explicit implementation of
3241 IDataItemContainer.DataItemIndex, as documented
3243 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
3246 When style is registered with StyleSheet AddAttributesToRender method
3247 adds class attribute but not style to writer
3249 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
3252 OnBubleEvent works properly - controls like Button, LinkButton nested into template
3253 can raise MenuItemClick event,
3254 ViewState of Items saved and restored properly.
3256 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
3258 * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
3261 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
3263 * Menu.cs: fixed databinding feature:
3264 ensure that items initialization occurs only once
3266 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
3268 * Menu.cs, MenuItem.cs: fixed databinding feature
3270 2006-08-09 Robert Jordan <robertj@gmx.net>
3272 * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
3273 replace ResolveUrl with ResolveClientUrl to match MS.NET's
3274 behaviour. Fixes bug #77539.
3276 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
3278 * HierarchicalDataBoundControl.cs: fixed DataBind flow
3280 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3286 * WebControl.cs: fixed ParseChildren attribute to be compliant
3289 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3291 * MultiView.cs: fixed: EnableTheming property
3293 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3297 * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
3299 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3301 * Style.cs: fixed restoring FontInfo from ViewState
3303 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3305 * XmlDataSource.cs: implemented caching functionality
3307 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3309 * PagerSettings.cs: Fixed the pager range calculation formula. The old
3310 one didn't work with more than 20 pages. Patch by Marek Habersack that
3313 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3315 * FormView.cs: fixes to make Render more similar to dotnet.
3317 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
3319 * Wizard.cs: fixed return value of OnBubbleEvent
3321 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3323 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
3324 handle null result of GetData().
3326 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3328 * FormView.cs: use TableStyle for ControlStyle.
3330 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3332 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
3334 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3336 * FormView.cs: init DataKeys and fix null reference.
3338 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3340 * TreeView.cs: several changes to improve compatibility with MS.
3341 Patch by Marek Habersack that fixes bug #77551.
3343 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3345 * Style.cs: output the text-decoration value even when it is 'none'.
3346 Patch by Marek Habersack that fixes bug #78968.
3348 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3350 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
3353 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3355 * DetailsViewRowCollection.cs: returns this in SyncRoot.
3357 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3359 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
3362 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3364 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
3366 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3368 * AutoGeneratedField.cs: fix the internal constructor according to test
3369 DetailsView_CreateAutoGenerateRow.
3371 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
3373 * XmlDataSource.cs: implemented XSLT, removed properties from
3375 * XmlDataSourceView.cs: fixed default xpath
3377 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
3379 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
3381 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
3383 * Wizard.cs: fixed ActiveStep property
3384 fixed templated side bar
3386 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3388 * ImageField.cs: fix null reference bug.
3390 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3392 * DetailsView.cs: init DataKey property with empty collection.
3393 * DataKey.cs: fix unexpected exception bug.
3394 * DataControlField.cs: override ToString according to MSDN.
3396 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3398 * DetailsView.cs: create table style in CreateControlStyle.
3400 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3402 * DetailsView.cs: don't throw the exception which .Net does not throw.
3404 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3406 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
3407 to match .Net; fix PageCount to match record count.
3409 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3411 * Menu.cs: fixed properties default values, fixed rendering
3414 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3416 * Wizard.cs: implemented SkipLinkText, TagKey
3417 fixed rendering bugs, fixed templated button bar rendering
3418 fixed side bar rendering
3419 * WizardStepBase.cs: fixed Name property
3421 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3423 * DetailsView.cs: fix the regressions, caused by the previous commit.
3425 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3427 * DetailsView.cs: correct handling the different default values of
3428 DetailsView.CellSpacing and Table.CellSpacing.
3430 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3432 * DetailsView.cs: create a pager row when needed.
3434 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3438 * PagedDataSource.cs:
3441 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
3442 support it. The GridView control will no longer throw an exception when
3443 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
3445 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3447 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
3448 Rows with empty collection; call EnsureChildControls from get Row;
3449 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
3450 implemented IPostBackContainer.GetPostBackOptions.
3452 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3454 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
3455 and FooterText are empty, to match .NET. Otherwise we have NullReference
3458 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3460 * DetailsView.cs: Render fix.
3462 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3464 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
3467 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3469 * DetailsView.cs: NullReferenceException fix
3471 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3473 * PagerSettings.cs: implemented PropertyGhanged event
3475 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3477 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
3478 with .Net; don't throw NotImplemented when base class implementation
3481 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3483 * DetailsViewPagerRow.cs: add a stub for this class
3485 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3487 * GridView: fixed DataKeyNames property, moved to ControlState
3488 fixed PageCount property, initial PageCount ahould be zero
3489 fixed SelectedDataKey, should throw exception if not initialized
3490 fixed CreateColumns, wrong order of columns
3491 fixed CreateControlStyle,
3492 fixed InitializePager, no columnspan attrib on only one column
3493 fixed LoadControlState, SaveControlState added DataKeyNames
3494 fixed Render, RenderGrid should render within div tag
3495 implemented GetPostBackOptions
3496 * DataControlButton.cs: fixed Render, fixed style for img button
3498 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3500 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
3503 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3505 * CommandField.cs: fixed ValidateSupportsCallback
3507 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3509 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
3510 affect the flow yet.
3512 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3514 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
3516 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3518 * WebControl.cs: fix for AddAttributesToRender - add display
3519 style when appropriate
3521 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3523 * CommandField.cs: fixed InitializeCell, wrong order of command
3525 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
3526 should be rendered as label
3527 * BoundField.cs: empty null value should be rendered as nbsp
3528 * GridViewRowCollection.cs: fixed SyncRoot
3530 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3532 * SiteMapPath.cs: create Literal instead of Label according to the
3533 MSDN and test SiteMapPath_InitializeItem.
3535 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3537 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
3538 * Image.cs: in 2.0 there is no border attribute, but border-width
3541 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3543 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
3545 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3547 * DataList.cs: correctly initialize editable items when there's an
3548 EditItemTemplate. Patch by Jarosław Pawlak.
3550 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
3552 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
3555 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3557 * BulletedList.cs: fixed Render, RenderBulletText, various properties
3558 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
3561 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3563 * MultiView.cs: 'initied' state variable was changed to views count in
3564 the views collection.
3566 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3568 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
3569 checkbox should have tooltip
3570 * HyperLinkField.cs: fixed InitializeCell, should create link control
3571 only in data cell (not in header or footer), initialization of
3573 * ImageField.cs: fixed InitializeDataCell, initialization of
3576 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3578 * MultiView.cs: removed exception throwing from ActiveViewIndex
3580 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
3582 * DataControlFieldCollection.cs: added OnClearComplete override;
3583 refactor to eliminate null reference exception.
3585 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3587 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
3588 * View.cs: fixed Visible property
3590 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
3592 * ImageField.cs: fixing .net compliancy.
3594 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
3596 * SiteMapPath.cs: fix the default PathSeparator value.
3598 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3600 * GridView.cs: always create Header/Fotter rows, but render only when
3601 ShowHeader/Footer is true. Compute Header/Footer rows from rows
3603 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
3604 add ToolTip and Text to the created CheckBox,
3605 wrap exception thrown in OnDataBindField in httpException.
3607 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3609 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
3611 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3613 * DataControlField.cs: correct handling empty header/footer text.
3614 * TemplateField.cs: correct initialization according to
3615 DataControlRowState.
3617 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
3619 * Wizard.cs: added functionality for Templated WizardStep
3620 and CreateUserWizard
3621 * added CompleteWizardStep.cs, CreateUserWizard.cs,
3622 CreateUserWizardStep.cs, TemplatedWizardStep.cs
3624 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3626 * AutoGeneratedField.cs: correcting default dataType.
3628 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3630 * DataControlField.cs: fixed Initialize, should always return false
3632 2006-07-03 Lluis Sanchez <lluis@novell.com>
3634 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
3636 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3638 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
3639 setting RequiresDataBinding in OnLoad event.
3640 * GridView.cs: DataBind rows before other control can access the data.
3641 * BoundField.cs: add unique ID to control for postback parameters.
3643 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3645 * WebControl.cs: fix typo in EnableTheming.
3647 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
3649 * MenuItemCollection.cs: save items if the collection is dirty.
3650 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
3651 Add item to collection before binding to let the state be correctly tracked.
3652 * Menu.cs: Add item to collection before binding to let the state be correctly
3655 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
3657 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
3658 test against with "^...$" if necessary. MS.NET does this too.
3660 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
3662 * WizardStepCollection.cs: Fixed Add methods to initialize
3663 WizardStep.Wizard property
3664 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
3665 Fixed GetStepType, if only one step present, it should be FinishStep
3666 Fixed styles of tables for more accurate rendering, fixed Wizard
3669 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
3671 * FormView.cs: instantiate correct template when the bounding data source is
3674 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
3676 * FormView.cs: disabling setting out of range FormView.PageIndex.
3678 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
3680 * FileUpload.cs: added
3682 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
3684 * FormView.cs: handle CssClass attribute
3686 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3688 * Button.cs: do something in PostBackUrl.
3689 * Repeater.cs: when creating the RepeaterItemCollection, initialize
3690 'items' if it hasn't been done yet. Fixes bug #78417.
3692 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
3694 * BaseDataList.cs: added ConnectToDataSource method that called from
3695 OnLoad, fixed GetData method
3696 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
3699 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
3701 * Menu.cs: add CssStyle value to the rendered class attribute
3703 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
3705 * Calendar.cs: Make sure WebControls.Enabled is respected.
3706 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
3707 to 12:00am as MS.NET does the same.
3710 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3712 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
3713 DataSourceViewChanged, looks for a datasource in its parent control
3714 fixed GetData method, should not get data if datasource is null
3716 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
3718 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
3720 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3722 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
3724 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3726 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
3728 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3730 * DataList.cs: Fixed LoadViewState method
3732 2006-05-04 Lluis Sanchez <lluis@novell.com>
3734 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
3736 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3738 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
3740 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3742 * FormView.cs: fix FormView.PageCount after data binding.
3744 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3746 * CheckBox.cs: certain attributes have to be rendered in the input tag,
3747 not the <span>. Fixes bug #71251.
3749 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3751 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
3754 ensure rebinding when FormView.PageIndex is called.
3755 and bind to the correct PageIndex.
3757 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3759 * MenuItem.cs: when binding to IHierarchyData, check whether
3760 it implements INavigateUIData and retrieve NavigateUrl.
3761 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
3763 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
3764 Provide basic CreateChildControls implementation by ensuring the control is bound.
3765 Ensure the child controls are created when the postback event is raised.
3766 Provide default implementation for SkipLinkText to let the default functionality to work.
3768 2006-04-11 Lluis Sanchez <lluis@novell.com>
3770 * TreeNodeBinding.cs: Added HasPropertyValue property
3771 to check if some properties have a value in the
3773 * TreeNode.cs: Lazily get the dataPath. Instead of getting
3774 bound properties when they are requested, get all of
3775 them when the node is bound and store their values in
3776 the state bag. In this way it won't be necessary to
3777 query every time the datasource to get the values.
3778 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
3779 * TreeView.cs: Call base in OnInit(). Bind nodes after
3780 adding them to the list, to properly keep track of
3781 changes. Don't databind in postbacks.
3783 2006-04-11 Chris Toshok <toshok@ximian.com>
3785 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
3787 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3789 * BaseDataList.cs: Fix searching control by DataSourceID.
3790 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
3793 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3795 * Login.cs: Added LayoutTemplate property support.
3796 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
3797 DataBind: correctly bind child controls.
3798 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
3800 2006-03-29 Robert Jordan <robertj@gmx.net>
3802 * DataGrid.cs: if custom paging is enabled the persisted item count
3803 must be the count of the rendered items, otherwise paging from the
3804 last to a previous page won't work correctly. Fixes bug #77556.
3806 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
3808 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
3809 when rendering disabled list control
3811 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3813 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
3815 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
3817 * FontInfo.cs: Implemented ShouldSerializeNames
3819 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3821 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
3823 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3825 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
3827 in PrepareControlHierarchy fixed style applying to AlternatingItem
3829 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
3831 * DataList.cs: fixed RepeatColumns property, added value validation
3832 in PrepareControlHierarchy method fixed style applying for
3833 AlternatingItem, EditItem and Separator item
3834 fixed RenderContents method, if no items exist, no nned to
3835 render emty table strructure.
3837 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3839 * CompareValidator.cs: when searching for the control to compare, use
3840 NamingContainer instead of Page. Fixes bug #77793.
3842 2006-03-15 Chris Toshok <toshok@ximian.com>
3844 * SiteMapPath.cs (InitializeItem): in the Current and Root node
3845 cases, apply the NodeTemplate if it exists and there isn't a
3846 CurrentNodeTemplate or RootNodeTemplate, respectively.
3848 2006-03-15 Chris Toshok <toshok@ximian.com>
3850 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
3852 * SiteMapDataSource.cs (StartingNodeOffset): new property.
3853 (GetStartNode): add code to handle StartNodeOffset < 0.
3855 * CompositeControl.cs
3856 (ICompositeControlDesignerAccessor.RecreateChildControls): just
3857 call the non-iface method.
3859 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
3860 traverse up the naming container tree looking for our datasource
3861 if we're bound using a DataSourceID. This fixes things in the
3862 sitemap1 test, which uses a mixture of templates and
3863 ContentPlaceholders with the sitemapdatasource and sitemappath at
3864 different levels in the naming container tree (let along the
3867 * SiteMapPath.cs (DataBind): implement this by chaining up to
3868 base.DataBind, then by looping over our children, emitting
3869 OnItemDataBound for each SiteMapNodeItem.
3870 (AddAttributesToRender): remove.
3871 (CreateChildControls): call DataBind as the final step here.. I
3872 have, of course, no idea if this is right.
3873 (CreateControlHierarchy): don't databind our children here, as
3874 they need to be in the Controls collection before we do.
3875 (RenderContents): render our accessibility/screenreader stuff
3876 here, if SkipLinkText != "".
3878 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
3880 * DataGridPagerStyle.cs: fixed PrevPageText property
3882 2006-03-13 Chris Toshok <toshok@ximian.com>
3884 * BaseCompareValidator.cs (Convert): make the
3885 ValidationDataType.String case a bit more compact.
3887 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3890 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
3891 Patch by Hubert Fongarnand.
3893 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3895 * FontInfo.cs: fixed CopyFrom, this method should not reset the
3896 received fontinfo if it is the same instance
3897 fixed ToString, corrected output where only font size specified
3899 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3901 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
3902 if it not set but the border has width
3903 fixes in CopyFrom, MergeWith correct unit compare when it has zero
3906 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3908 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
3909 properties of custom class
3910 fixed InitializeNumericPager, pager numbers should be a Label control
3911 fixed CreateControlHierarchy, corrected dataset index of items if
3914 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
3916 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
3918 fixed CreateControlStyle to set correct cellspacing of table style
3919 fixed InitializeItem to correct applying template to selected and
3922 2006-03-08 Chris Toshok <toshok@ximian.com>
3924 * SiteMapNodeType.cs: nuke.
3926 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
3927 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
3928 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
3929 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
3930 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
3931 ValidationCompareOperator.cs, ValidationDataType.cs,
3932 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
3933 [Serializable] in 2.0.
3935 * DayNameFormat.cs: add "Shortest".
3937 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3939 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
3942 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3944 * TextBox.cs: fixed missing value validations, fixed rendering
3945 of empty value attribute
3947 2006-03-07 Chris Toshok <toshok@ximian.com>
3949 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
3950 by chaining up to base.EnableTheming.
3952 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
3954 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
3956 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
3958 * RadioButton.cs: added ValueAttribute property to store the button
3960 * RadioButtonList.cs: fixed tab index when rendering.
3962 2006-03-02 Chris Toshok <toshok@ximian.com>
3964 * WebControl.cs (SkinID): implement setter/getter, and have them
3965 just chain up to base.SkinID.
3967 2006-02-27 Chris Toshok <toshok@ximian.com>
3969 * SqlDataSource.cs: track change to DataSourceControl's protected
3972 * AccessDataSource.cs: same.
3974 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3976 * ListControl.cs: fixed SelectedIndex property, fixed selection
3977 reset on incorrect value
3979 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3981 * TableStyle.cs: fixed AddAttributesToRender function, style
3982 BorderCollapse:Collapse was added if table's CellSpacing is zero
3984 2006-02-23 Chris Toshok <toshok@ximian.com>
3986 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
3987 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
3988 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
3989 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
3990 ImageButton.cs, ImageField.cs, Literal.cs,
3991 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
3993 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
3994 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
3995 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
3996 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
3997 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
3998 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
3999 errors. most were caused by a property/method being virtual when
4000 it shouldn't be, or vice versa.
4002 2006-02-22 Chris Toshok <toshok@ximian.com>
4004 * ObjectDataSource.cs: corcompare work.
4006 2006-02-22 Chris Toshok <toshok@ximian.com>
4008 * ParameterCollection.cs: add an EditorAttribute to the class.
4010 * Parameter.cs: cleanup, fix the Value property, and implement the
4013 * SqlDataSourceView.cs: clean things up a bit, and add handling
4016 2006-02-22 Chris Toshok <toshok@ximian.com>
4018 * SqlDataSourceFilteringEventArgs.cs: formatting.
4020 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
4021 both the property and ctor arg.
4023 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
4024 not CommandEventArgs. Also, cast the return value of
4025 oleCommand.ExecuteReader.
4027 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
4029 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
4030 (GetPhysicalDataFilePath): implement, again naively. this is
4031 where the NRE is generated when we access ConnectionString in a
4033 (ConnectionString): dynamically generate this based on our
4035 (DataFile): clear the ConnectionString in the setter so we'll
4037 (ProviderName): use base.ProviderName in the getter, not
4038 this.ProviderName, so we don't recurse infinitely.
4040 * SqlDataSourceView.cs: start reworking this class.
4042 * SqlDataSource.cs (GetDbProviderFactory): implement this,
4043 following the MS docs on the matter (if ProviderName is null/"",
4044 return SqlClientFactory.Instance.)
4045 (GetDbProviderFactoryInternal): add an internal method for use by
4047 (TrackViewState): don't invoke View.TrackViewState unless we have
4049 (Selecting): change event handler type to match MS.
4050 (Filtering): add missing event.
4051 (View): call CreateDataSourceView, don't just create an
4054 2006-02-21 Chris Toshok <toshok@ximian.com>
4056 * BoundField.cs: ues the ViewState.Get* pattern with default
4057 instead of the explicit ViewState lookup + null check, and fix the
4058 scope of InitializeDataCell.
4060 * ButtonField.cs: ues the ViewState.Get* pattern with default
4061 instead of the explicit ViewState lookup + null check.
4063 * CommandField.cs: same.
4065 * CheckBox.cs: same.
4067 * AutoGeneratedFieldProperties.cs: same.
4069 * BaseDataList.cs: same.
4071 * CircleHotSpot.cs: same.
4073 * BulletedList.cs: same.
4075 * DataBoundControl.cs: same.
4077 * CookieParameter.cs: same.
4079 * ControlParameter.cs: same.
4081 * CustomValidator.cs: same.
4083 * ButtonFieldBase.cs: same.
4085 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
4087 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
4089 * BaseValidator.cs: same, and clean up the getter/setter formatting.
4091 * CompareValidator.cs: same.
4093 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4095 * ListControl.cs: fixed DataSource property, to throw
4096 ArgumentException on incorrect value
4098 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4100 * Image.cs: fixed missing border="0" attribute, when image has style,
4101 but border width is not specified.
4103 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4105 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
4106 correct the "disabled" attribute in CheckBoxList
4107 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
4108 attribute in CheckBoxList
4110 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4112 * CheckBox.cs: fixed Render function, removed rendering of empty
4113 <span> element if ControlStyleCreated but it's empty.
4114 fixed "disabled" attribute, it should be placed into span element
4116 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4118 * BoundColumn.cs: fixed InitializeCell function, if DataField is
4119 null or empty string, the cell should not be bound.
4121 2006-02-08 Chris Toshok <toshok@ximian.com>
4123 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
4124 AppendDataBoundItems != false. Also, split all the databinding
4125 logic out to DoDataBinding, which we call from here only if
4127 (DoDataBinding): new function. actually perform the binding.
4128 (PerformDataBinding): implement.
4129 (PerformSelect): chain up to base class.
4131 2006-02-07 Chris Toshok <toshok@ximian.com>
4133 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
4135 * Content.cs: use ContentControlBuilderInternal, and add a bunch
4136 of unused (for now) EventHandler's here.
4138 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
4141 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4143 * ListControl.cs: bound checking for Items when loading the control
4144 state, as the number might have been changed on the fly. Patch by
4147 2006-01-22 Chris Toshok <toshok@ximian.com>
4149 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
4151 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
4152 the intended comparison right and quiet mcs.
4154 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4156 * Button.cs: Add semicolon after client script if does not exist.
4158 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4160 * Button.cs: preserve user logic when adding client validation.
4162 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4164 * BaseValidator.cs: fixing visibility bahavior
4166 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4168 * RangeValidator.cs: allow empty data from the control. Patch from Marek
4169 Habersack that fixes bug #77239.
4171 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4173 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
4174 by Cyrille Colin. Closes bug #77184.
4176 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
4178 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
4179 compilation pass with csc 1.1.
4181 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4183 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
4185 2005-12-07 Chris Toshok <toshok@ximian.com>
4187 * BaseValidator.cs: in the uplevel rendering case, don't render
4188 the text if the validator's Display attribute is "None". Should
4191 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4193 * RadioButton.cs: if the 'value' attribute is set explicitly (as
4194 RadioButtonList does now), use that as the 'name' attribute.
4195 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
4200 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4202 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
4203 the 'name' attribute when not aligninng to the right.
4204 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
4205 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
4207 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4209 * DataGrid.cs: clear the control collection on every call to
4210 CreateControlHierarchy. Fixes bug #76732.
4212 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4214 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
4216 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4218 * CheckBox.cs: use the NameAttribute property for setting 'name'.
4219 * RadioButton.cs: get a UniqueID based identifier for 'name'.
4222 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4224 * LinkButton.cs: don't output any javascript when the linkbutton is
4225 disabled. Fixes bug #76713.
4227 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4229 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
4230 UseAccesibleHeader property is true. Patch by Robert Jordan.
4232 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4234 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
4235 control to validate. Fixes bug #76641.
4237 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4239 * BoundColumn.cs: when the column is readonly and we're in edit mode,
4240 keep it as a TextBox. Fixes bug #76714.
4242 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4244 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
4245 enabled. Fixes bug #76608.
4247 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4249 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
4250 the logic to Render and make it render the ID, which fixes bug #76596.
4252 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4254 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
4256 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4258 * Literal.cs: allow LiteralControl as child, but instead of adding it
4259 to the control collection, it just gets the Text out of it.
4261 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4263 * PagedDataSource.cs: fix range when we're at the last page.
4264 * DataGrid.cs: only need to keep the item count in the viewstate.
4267 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4269 * ListControl.cs: made GetSelectedIndices() internal.
4270 * ListBox.cs: html-encode the item text. Fixed single and multiple
4271 selection handling. All the tests pass now. Closes bug #76478.
4273 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4275 * ListControl.cs: throw when the selected value is not in the
4276 items collection. Fixes bug #76415.
4278 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4280 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
4281 throw a nullref, so we have to do it by ourselves here to make
4284 * BaseValidator.cs: render the text of the error message even if
4285 we set IsValid programatically. Don't use 'valid' directly, as
4290 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4292 * CustomValidator.cs: an empty ControlToValidate is valid.
4294 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
4296 * RequiredFieldValidator.cs: Added missing permissions.
4298 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4300 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
4301 Now the items get the attributes from the styles in datalist. Add the
4302 separators after each item, not before. GetItemStyle returns the actual
4303 item style, not the styles in the datalist. Fixes bug #76384 and all
4306 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4308 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
4311 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4313 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
4316 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
4318 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
4319 inheritance demands.
4320 * FontUnit.cs: Structs are sealed so there's no need for inheritance
4322 * Unit.cs: Structs are sealed so there's no need for inheritance
4325 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4327 * PagedDataSource.cs: fix the upper bound for collection and ilist
4330 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4332 * DataGrid.cs: change the ListItemType for the item selected, set
4333 SelectedIndex before calling OnSelectedIndexChanged and set the selected
4334 item type correctly when creating the columns. Fixes bug #76334.
4337 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
4338 selecting the row, the button keep the regular link color.
4340 * DataGridColumn.cs: made the class internal.
4342 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4344 * DataGrid.cs: fix breakaga of alternating item style in one of my
4347 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4349 * Calendar.cs: remove Console.
4350 * ListBox.cs: the name is the UniqueID, not the ClientID.
4351 * WebControl.cs: Attributes is case insensitive.
4353 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4355 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
4356 UniqueID without appending a ".x" or ".y". Fixes several issues in
4357 mojoPortal. Thanks to Joe Audetter for his patience.
4359 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4361 * ButtonColumn.cs: it was lacking databinding, so copied most of it
4364 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4366 * FontInfo.cs: removed useless ctor.
4367 * Style.cs: keep here some commented out debugging code.
4368 * DataGrid.cs: the Items property does not create a new arraylist if
4369 the items_list was already initialized. Add case for Separator.
4370 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
4371 in the header columns has a special ForeColor handling.
4373 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4375 * DataGrid.cs: PageCount must persist in ViewState too and returns the
4376 number of pages in the paged data source once we set that. Fix checks
4377 for visibility of the pager: no more 2 pagers when custom paging is
4380 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4382 * ImageButton.cs: fix a bug reported on the list. We were triggering the
4383 command event on every POST. And the 'name' attribute was not being
4384 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
4385 and we couldn't find the values.
4387 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4389 * DataGrid.cs: fix the links for the numeric pager.
4391 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4393 * DataGrid.cs: when paging is enable, the actual number of items is not
4394 the number of items rendered before the postback, but that number times
4395 the number of pages. Now we store the page count in the viewstate. Also,
4396 as the number might be big, don't allocate an array of objects to fake
4397 the collection for the PagedDataSource, but use the new NCollection
4398 class instead, which provides cheap (memory wise) enumerator for an
4399 arbitrary number of items. Thanks to "Adriano" for the test case.
4401 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4403 * Xml.cs: the show must go on. Removed a few NotImplemented.
4405 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4407 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
4408 existing code in 1.1 (or viceversa). RenderContents() does nothing.
4410 * DataGrid.cs: changed autoid api.
4412 * EditCommandColumn.cs: only 'Update' causes validation.
4414 * TableCell.cs: changed autoid api. RenderContents checks the number
4415 of controls to decide what to do, not the value of Text in the
4418 * TableRow.cs: changed autoid api.
4420 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
4421 event. When we get an EditItem, we need a TextBox to be created and
4422 this one will be the one that gets the event. Changed
4423 ItemDataBinding to deal with a TextBox too.
4425 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4427 * PagedDataSource.cs: fix IsLastPage. All tests pass.
4428 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
4429 need to keep the old one in a field. Now all tests pass here too.
4431 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4433 * PagedDataSource.cs: don't use the properties when they just return a
4434 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
4435 before ICollection (otherwise, an IList will always fall under the
4436 ICollection case). The enumerator for lists will be empty if 'start'
4437 is beyond the list size. All existing tests pass, but one in
4438 DataGridTest that fails because of some problem with the paging.
4440 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4442 * Style.cs: fix the 2.0 build.
4444 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4446 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
4447 instead write the style attributes directly to the HtmlTextWriter.
4449 * CheckBox.cs: adapted to new API.
4451 * DataGrid.cs: handle null data sources. Fixed the contions that make
4452 the table to be added to the Controls collection.
4454 * Calendar.cs: the table needed an ID and the attributes from the
4455 parent. Also don't create the ControlStyleCollection if it has not
4456 already been created.
4458 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4460 * DataGrid.cs: handle null data sources. Fixed the contions that make
4461 the table to be added to the Controls collection.
4463 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4465 * Calendar.cs: TrackViewState should be called upon creation, not on
4466 every get_XXX call. Cleanup.
4468 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4470 * DataGrid.cs: fix another test. The ID of the table generated by the
4471 datagrid is set to the one on the datagrid if no one set the ID for the
4474 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4476 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
4479 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4481 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
4482 converted to string as X{1,2}-.*. All FontUnitTests pass now.
4483 * Unit.cs: throw a format exception when there's not number or minus
4484 sign in the first non-whitespace character.
4486 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4488 * ListControl.cs: SelectedIndex/SelectedValue can be set before
4489 DataBinding () is called on the control, so we have to keep this values
4490 around and use them after the data is read. If both properties are
4491 used, they must refer to the same item.
4493 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4495 * DataList.cs: fill in the data keys from BaseDataList so that the
4496 events can see them. Only assign DataItem when using data binding and
4497 nullify it after all events are raised.
4499 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4501 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
4504 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4506 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
4508 * DataGrid.cs: Fix TagKey (table) for 2.0.
4509 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
4510 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
4512 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
4514 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
4515 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
4517 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
4519 * TreeView.cs: Added declarative security (Link and Inheritance
4520 demands) for Minimal.
4521 * XmlDataSource.cs: Added declarative security (Link and Inheritance
4522 demands) for Minimal.
4524 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4526 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
4527 Inheritance demands) for Minimal.
4528 * Label.cs: Added declarative security (Link and Inheritance demands)
4530 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
4531 * ListItemCollection.cs: Added declarative security (LinkDemands) for
4533 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
4534 2.0, Inheritance demands) for Minimal.
4535 * PagedDataSource.cs: Added declarative security (LinkDemands) for
4537 * Panel.cs: Added declarative security (Link and Inheritance demands)
4539 * Repeater.cs: Added declarative security (Link and Inheritance
4540 demands) for Minimal.
4541 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
4542 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
4544 * TargetConverter.cs: Added declarative security (Link and Inheritance
4545 demands) for Minimal.
4546 * Unit.cs: Added, but only for 1.x, declarative security (Link and
4547 Inheritance demands) for Minimal.
4548 * ValidatedControlConverter.cs: Added declarative security (Link and
4549 Inheritance demands) for Minimal.
4550 * WebColorConverter.cs: Added declarative security (Link and
4551 Inheritance demands) for Minimal.
4552 * Xml.cs: Added declarative security (Link and Inheritance demands)
4554 * ValidationSummary.cs: Added declarative security (Link and
4555 Inheritance demands) for Minimal.
4557 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4559 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
4561 2005-09-22 Ben Maurer <bmaurer@ximian.com>
4563 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
4564 it took O(height) time, not O(1).
4566 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4568 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
4570 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4572 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
4573 2.0, Inheritance demands) for Minimal.
4574 * BaseCompareValidator.cs: Added declarative security (Link and
4575 Inheritance demands) for Minimal.
4576 * BaseDataBoundControl.cs: Added declarative security (Link and
4577 Inheritance demands) for Minimal.
4578 * BaseValidator.cs: Added declarative security (Link and Inheritance
4579 demands) for Minimal.
4580 * BoundColumn.cs: Added declarative security (Link and Inheritance
4581 demands) for Minimal.
4582 * ButtonColumn.cs: Added declarative security (Link and Inheritance
4583 demands) for Minimal.
4584 * CalendarDay.cs: Added declarative security (Link and Inheritance
4585 demands) for Minimal.
4586 * CheckBoxList.cs: Added declarative security (Link and Inheritance
4587 demands) for Minimal.
4588 * CompareValidator.cs: Added declarative security (Link and
4589 Inheritance demands) for Minimal.
4590 * CustomValidator.cs: Added declarative security (Link and Inheritance
4591 demands) for Minimal.
4592 * DataBoundControl.cs: Added declarative security (Link and
4593 Inheritance demands) for Minimal.
4594 * DataGridItemCollection.cs: Added declarative security (Link and
4595 Inheritance demands) for Minimal.
4596 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
4598 * DataListItemCollection.cs: Added declarative security (LinkDemands)
4600 * DataListItem.cs: Added declarative security (Link and Inheritance
4601 demands) for Minimal.
4602 * FontNamesConverter.cs: Added declarative security (Link and
4603 Inheritance demands) for Minimal.
4604 * HyperLink.cs: Added declarative security (Link and Inheritance
4605 demands) for Minimal.
4606 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
4607 demands) for Minimal.
4608 * Image.cs: Added declarative security (Link and Inheritance demands)
4611 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4613 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
4615 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
4616 a data source, first try reflection, then componentmodel. If we get
4617 an enumerator, keep it around, as MS only calls GetEnumerator once.
4618 Throw an exception if no columns can be created from the given data
4619 source. Tested with DbDataRecord, DataTable, ArrayList and
4620 ICustomTypeDescriptor.
4622 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
4624 * AccessDataSource.cs: Added declarative security (Link and Inheritance
4625 demands) for Minimal. Added [ToolboxBitmap] on class.
4626 * AdRotator.cs: Added declarative security (Link and Inheritance
4627 demands) for Minimal. Removed extra Page and ViewState properties.
4628 * BulletedList.cs: Added declarative security (Link and Inheritance
4629 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4630 * Button.cs: Added declarative security (Link and Inheritance demands)
4631 for Minimal. Added [SupportsEventValidation] on class (2.0).
4632 * Calendar.cs: Added declarative security (Link and Inheritance
4633 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4634 * CheckBox.cs: Added declarative security (Link and Inheritance
4635 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4636 * CompositeControl.cs: Added declarative security (Link and Inheritance
4637 demands) for Minimal. Added new protected RecreateChildControls method.
4638 * DataControlCommands.cs: Added declarative security (LinkDemands) for
4639 Minimal. Added private ctor.
4640 * DataGrid.cs: Added declarative security (Link and Inheritance
4641 demands) for Minimal. Fixed properties for 2.0 (mostly removing
4642 [Bindable]). Added override for TagKey property.
4643 * DataGridColumn.cs: Added declarative security (Link and Inheritance
4644 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
4645 * DataGridItem.cs: Added declarative security (Link and Inheritance
4646 demands) for Minimal. Added IDataItemContainer interface for 2.0.
4647 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
4648 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
4649 * DataList.cs: Removed [Load|Save]ControlState methods.
4650 * DropDownList.cs: Added declarative security (Link and Inheritance
4651 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4652 * EditCommandColumn.cs: Added declarative security (Link and
4653 Inheritance demands) for Minimal. Added missing attributes,
4654 [DefaultValue] and [Localize] for 2.0.
4655 * FontInfo.cs: Added declarative security (Link and Inheritance
4656 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
4658 * Login.cs: Added declarative security (Link and Inheritance demands)
4659 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
4660 * ImageButton.cs: Added declarative security (Link and Inheritance
4661 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4662 * LinkButton.cs: Added declarative security (Link and Inheritance
4663 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4664 * ListBox.cs: Added declarative security (Link and Inheritance demands)
4665 for Minimal. Added [SupportsEventValidation] on class (2.0).
4666 * Literal.cs: Added declarative security (Link and Inheritance demands)
4667 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
4668 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
4669 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
4670 but will be shown as extra).
4671 * RadioButton.cs: Added declarative security (Link and Inheritance
4672 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4673 * RadioButtonList.cs: Added declarative security (Link and Inheritance
4674 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4675 * RangeValidator.cs: Added declarative security (Link and Inheritance
4676 demands) for Minimal. Added missing [Themeable] attributes.
4677 * RegularExpressionValidator.cs: Added declarative security (Link and
4678 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
4680 * RoleGroupCollection.cs: Added declarative security (Link and
4681 Inheritance demands) for Minimal. Fixed base class (changed in RC).
4682 Re-implemented CopyTo. Removed some methods.
4683 * Style.cs: Added declarative security (Link and Inheritance demands)
4684 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
4685 is now public in 2.0.
4686 * Table.cs: Added declarative security (Link and Inheritance demands)
4687 for Minimal. Added [SupportsEventValidation] on class (2.0).
4688 * TableCell.cs: Fixed PersistenceMode for 2.0.
4689 * TextBox.cs: Added declarative security (Link and Inheritance demands)
4690 for Minimal. Added [SupportsEventValidation] on class (2.0).
4691 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
4692 but will be shown as extra).
4693 * WebControl.cs: Added declarative security (Link and Inheritance
4694 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
4697 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4699 * TableStyle.cs: fixed typo that prevented restoring GridLines from
4702 * DataGrid.cs: the table does not get an auto ID. When restoring from
4703 viewstate, use all the saved columns, not just that data bound ones. Set
4704 the owner of the BoundColumns created. Save/restore columns.
4705 OnItemCreated happens after the item is initialized and the data item is
4706 set before the event and nullified after OnItemDataBound.
4707 Add the render_table to the Controls immediately, otherwise we might get
4708 errors from child controls such as "must be rendered inside a form".
4709 Keep the items created in the list waiting for them.
4710 The table uses the attributes from the DataGrid and ControlStyle.
4711 Raise OnItemCommand on all bubble events and don't propagate bubble
4712 event up in the hierarchy
4714 * TableCell.cs: it does not get an automatic ID.
4715 * BoundColumn.cs: FormatDataValue returns an empty string on null input
4716 (there was already a test for this).
4720 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4722 * DataGridColumnCollection.cs: track the view state in the newly added
4725 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4727 * DataGrid.cs: merge column styles too. Fixes bug #76106.
4728 * DataGridColumn.cs: new internal method to retrieve the styles without
4729 creating an instance for them.
4731 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
4733 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
4734 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
4735 StateBag.SetDirty (true).
4737 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
4739 * Menu.cs: Fixed parameter orders for CreateStyleRule.
4741 2005-09-13 Chris Toshok <toshok@ximian.com>
4743 * Style.cs: corcompare stuff.
4745 * RequiredFieldValidator.cs: more corcompare stuff.
4747 * CheckBoxList.cs: clean up some of the interface methods vs
4748 protected virtual 2.0 calls.
4750 * SubMenuStyle.cs: corcompare says this should implement
4751 ICustomTypeDescriptor... sooo, make it.
4753 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4755 * TableCell.cs: do the same as HyperLink and others in
4756 AddParsedSubobject so that adding a literal control does not remove the
4757 existing controls if any. Fixes bug #76078.
4759 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4761 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
4763 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4765 * ImageButton.cs: fix invalid cast exception.
4767 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4769 * ListItem.cs: throw in AddParsedSubObject if the object is not a
4771 * RadioButtonList.cs: implemented LoadPostData and
4772 RaisePostDataChangedEvent.
4774 2005-09-09 Chris Toshok <toshok@ximian.com>
4776 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
4777 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
4778 LoadPostData/RaisePostDataChangedEvent.
4780 2005-09-09 Chris Toshok <toshok@ximian.com>
4782 * FontInfo.cs (IsEmpty): new internal property, used by
4785 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
4788 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4790 * ListItemCollection.cs: remove obsoleted methods.
4791 * ListBox.cs: use IStateManager on the item collection.
4793 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
4795 * Use C# 1.0 style of delegate instantiating. Needed to compile
4796 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
4798 2005-09-07 Chris Toshok <toshok@ximian.com>
4800 * Calendar.cs (WriteDay): always add BackColor=Silver,
4801 ForeColor=White to selected day cells, before copying over the
4802 selectedDayStyle, if it exists.
4803 (WriteDays): fix nunit test - if the first day of the month falls
4804 on the first day of the week, go back one week (effectively adding
4805 a row of dates from the previous month.)
4806 (WriteTitle): don't copy the control style to the tableTitle,
4807 since it might have height specifications, which would make the
4808 title look rather off.
4810 2005-09-07 Chris Toshok <toshok@ximian.com>
4812 * ValidationSummary.cs (AddAttributesToRender): we only set
4813 display=none if there are no errors.
4815 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
4816 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
4818 2005-09-07 Chris Toshok <toshok@ximian.com>
4820 * ListControl.cs (SelectedIndex): add comment about how you'd
4821 think OnSelectedIndexChanged would be called.. and you'd be wrong.
4822 (Text): implement in terms of SelectedValue.
4823 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
4824 (LoadControlState): implement - this is where the selected index
4825 ArrayList gets stuffed in 2.0.
4826 (OnInit): call Page.RegisterRequiresControlState.
4827 (OnTextChanged): implement.
4828 (RenderContents): for now just chain up to base.RenderContents.
4829 (SaveControlState): save our control state properly.
4830 (GetSelectedIndices): split this out from SaveViewState to it can
4831 be used by both that and SaveControlState.
4832 (SaveViewState): mangle this function so it works in both 2.0 and
4834 (LoadViewState): same.
4836 2005-09-06 Chris Toshok <toshok@ximian.com>
4838 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
4839 we weren't assigned an ID.
4841 * ValidationSummary.cs (AddAttributesToRender): same.
4843 2005-09-06 Chris Toshok <toshok@ximian.com>
4845 * WebControl.cs: revert the last change.
4847 2005-09-06 Chris Toshok <toshok@ximian.com>
4849 * WebControl.cs (AddAttributesToRender): always render ClientID.
4851 * ValidationSummary.cs (Render): same.
4853 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
4856 2005-09-06 Chris Toshok <toshok@ximian.com>
4858 * ValidationSummary.cs (Render): only do the JS stuff when the
4859 validators on the page are uplevel.
4861 * BaseValidator.cs (Render): remove unnecessary comment.
4863 2005-09-05 Chris Toshok <toshok@ximian.com>
4865 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
4866 stored in the ViewState.
4868 2005-09-02 Chris Toshok <toshok@ximian.com>
4870 * Repeater.cs (GetData): change this slightly so the Repeater
4871 doesn't keep a ref to the return value of GetData.
4873 2005-09-01 Chris Toshok <toshok@ximian.com>
4875 * ListControl.cs (AppendDataBoundItems): implement (2.0)
4878 2005-09-01 Chris Toshok <toshok@ximian.com>
4880 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
4881 System.Web.UI.WebControls/ValidatedControlConverter.cs,
4882 System.Web.UI.WebControls/Xml.cs,
4883 System.Web.UI.WebControls/RegularExpressionValidator.cs,
4884 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
4885 System.Web.UI.WebControls/Menu.cs,
4886 System.Web.UI.WebControls/MailMessageEventArgs.cs,
4887 System.Web.UI.WebControls/MenuItemStyle.cs,
4888 System.Web.UI.WebControls/RangeValidator.cs,
4889 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
4890 System.Web.UI.WebControls/MenuItem.cs,
4891 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
4892 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
4893 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
4894 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
4895 System.Web.UI.WebControls/XmlBuilder.cs,
4896 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
4899 2005-09-01 Chris Toshok <toshok@ximian.com>
4901 * System.Web.UI.WebControls/Button.cs,
4902 System.Web.UI.WebControls/ButtonField.cs,
4903 System.Web.UI.WebControls/DataControlField.cs,
4904 System.Web.UI.WebControls/BaseCompareValidator.cs,
4905 System.Web.UI.WebControls/AutoGeneratedField.cs,
4906 System.Web.UI.WebControls/CustomValidator.cs,
4907 System.Web.UI.WebControls/Content.cs,
4908 System.Web.UI.WebControls/BoundField.cs,
4909 System.Web.UI.WebControls/AdRotator.cs,
4910 System.Web.UI.WebControls/ButtonColumn.cs,
4911 System.Web.UI.WebControls/CompareValidator.cs,
4912 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
4913 work. Stub things out, and add attributes.
4915 2005-09-01 Chris Toshok <toshok@ximian.com>
4917 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
4918 CommandField.cs, HyperLinkColumn.cs, Table.cs,
4919 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
4920 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
4921 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
4922 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
4923 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
4924 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
4925 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
4926 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
4927 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
4928 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
4929 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
4930 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
4931 TableItemStyle.cs: Add some WebCategory and WebSysDescription
4934 2005-09-01 Chris Toshok <toshok@ximian.com>
4936 * AccessDataSource.cs: corcompare work.
4938 * SqlDataSource.cs: same.
4940 2005-09-01 Miguel de Icaza <miguel@novell.com>
4942 * Various places: make sure that the DefaultValue matches the
4943 type. Thanks to Michael for pointing this out.
4945 In future audits, you might want to use the following awk command:
4947 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
4948 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
4949 print $0; looking = 0; } /public/ && looking { looking = 0; } '
4952 The above skips bools, strings and ints as those were fine as we
4953 set them. The bug was on the other ones.
4955 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4957 * Repeater.cs: fix the build.
4959 2005-08-31 Chris Toshok <toshok@ximian.com>
4961 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
4962 {Base}DataList, and also from debug spew garnered from some
4963 Repeater subclass tests on MS.
4964 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
4965 the IEnumerable by calling GetData().
4966 (DataBind): reset RequiresDataBinding to false (2.0).
4967 (DataMember): copy the set implementation from DataList, and add
4968 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
4969 (DataSource): more c&p.
4970 (DataSourceID); implement (2.0)
4971 (Initialized): implement (2.0)
4972 (IsBoundUsingDataSource): implement (2.0)
4973 (RequiresDataBinding): implement (2.0)
4974 (SelectArguments): implement (2.0)
4975 (CreateDataSourceSelectArguments): implement (2.0)
4976 (EnsureDataBound): implement (2.0)
4977 (GetData): implement.
4978 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
4980 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
4981 leave the MonoTODO. (2.0)
4982 (OnInit): call base.OnInit instead of throwing NIE, but leave the
4984 (OnLoad): implement.
4985 (OnPreRender): implement.
4986 (ConnectToDataSource): new method - look for the right control.
4988 2005-08-31 Chris Toshok <toshok@ximian.com>
4990 * XmlDataSourceView.cs: fix the scope of our select. Don't use
4991 call SelectNodes on the XmlDocument, not on
4992 XmlDocument.DocumentElement.
4994 2005-08-31 Chris Toshok <toshok@ximian.com>
4996 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
4997 (DoXPathSelect): put the xpath selection stuff here.
4998 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
5001 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
5002 select here, the view does it.
5004 2005-08-31 Jackson Harper <jackson@ximian.com>
5006 * DataList.cs: Remove some debugging code that was starting to bug
5009 2005-08-31 Chris Toshok <toshok@ximian.com>
5011 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
5012 create our Navigator by calling node.CreateNavigator().
5014 2005-08-31 Chris Toshok <toshok@ximian.com>
5016 * XmlDataSource.cs (GetXmlDataDocument): rename this to
5017 GetXmlDocument, and change the return value from XmlDataDocument
5019 (LoadXmlDataDocument): similar change.
5020 (Save): xmlDataDocument -> xmlDocument.
5021 (CanBeSaved): there's no ReadOnly attribute.
5022 (LoadViewState, SaveViewState, TrackViewState): nuke.
5023 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
5024 (CacheDuration): stub out with NIE.
5025 (CacheExpirationPolocy): same.
5026 (CacheKeyDependency): same.
5027 (EnableCaching): same.
5029 (Data, DataFile): xmlDataDocument -> xmlDocument.
5030 (Schema, SchemaFile): nuke.
5031 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
5033 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
5035 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
5036 Don't use the obsolete IsSet method.
5037 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
5038 * CheckBox.cs: Implement some 2.0 methods.
5039 * GridView.cs: Removed some "throw new NotImplementedException"
5041 2005-08-29 Chris Toshok <toshok@ximian.com>
5043 * TreeView.cs: Use the StateBag accessors Ben added, and implement
5044 SkipLinkText and Visible.
5046 2005-08-29 Chris Toshok <toshok@ximian.com>
5048 * TreeView.cs: fix typo in an attribute.
5050 2005-08-29 Jackson Harper <jackson@ximian.com>
5052 * PagedDataSource.cs: If it's not a list or collection we don't
5053 use a bounded enumerator.
5055 2005-08-29 Chris Toshok <toshok@ximian.com>
5057 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
5059 * CheckBox.cs: same.
5061 * BaseValidator.cs: same.
5063 * DropDownList.cs: same.
5065 * ValidationSummary.cs: same.
5067 2005-08-28 Chris Toshok <toshok@ximian.com>
5069 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
5071 2005-08-26 Chris Toshok <toshok@ximian.com>
5073 * TextBox.cs: implement ValidationGroup and CausesValidation
5076 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
5078 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
5081 2005-08-26 Chris Toshok <toshok@ximian.com>
5083 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
5085 * FontUnit.cs: add two 2.0 ctors, and the 2.0
5086 ToString(IFormatProvider) method.
5088 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
5090 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
5091 no items are present in the list.
5092 * RoleGroup.cs: Added missing attributes.
5093 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
5094 documented) methods.
5095 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
5096 must be done in the HtmlTextWriter (not in the TableStyle).
5098 2005-08-26 Chris Toshok <toshok@ximian.com>
5100 * Calendar.cs (UseAccessibleHeader): implement.
5101 (RaisePostBackEvent): some #ifdef ugliness to get this all working
5102 propertly between 1.x and 2.0
5103 (WriteDayHeader): if UseAccessibleHeader == true, render header
5104 cells as th's, not td's, and add abbr and scope attributes.
5106 2005-08-25 Chris Toshok <toshok@ximian.com>
5108 * Calendar.cs (Caption, CaptionAlign): implement these properties.
5109 (Render): if we have a non-empty caption, show it.
5110 (WriteCaption): new method, output the caption.
5112 2005-08-25 Chris Toshok <toshok@ximian.com>
5114 * Calendar.cs (Render): Copy the entire style from the Calendar to
5115 the Table, not just the font.
5116 (WriteDay): don't just write the link/text/etc. Create a
5117 LiteralControl as a child of the cell, before the call to
5118 OnDayRender, with its text set to the day number. After
5119 OnDayRender, set the literal's text to either the number again (if
5120 it's not selectable) or the full text of the js __doPostBack
5121 hyperlink (if it is.) Also, use cell.RenderControl here so we can
5122 render child controls with the id's listed properly (and arguably
5124 (ApplyTitleStyleCell): remove.
5125 (WriteTitle): apply the titleStyle to the enclosing table, not the
5126 table cell containing the month name. Also, copy from the
5127 Calendar's ControlStyle to populate tableTitle's style initially.
5128 We end up with more (superfluous) style attributes than MS, but
5129 it's better than having less.
5131 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5133 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
5136 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5138 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
5139 and RegisteredCssClass property
5141 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5143 * LoginView.cs: Fixed attributes.
5144 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
5145 an exception to allow pages to work on 2.x.
5147 2005-08-25 Chris Toshok <toshok@ximian.com>
5149 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
5151 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
5154 * HiddenField.cs: stub out this class and label everything
5157 2005-08-25 Jackson Harper <jackson@ximian.com>
5159 * DataGrid.cs: Disable the pager row if there no paging enabled
5162 2005-08-25 Chris Toshok <toshok@ximian.com>
5164 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
5167 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
5168 add a using statement.
5170 2005-08-25 Chris Toshok <toshok@ximian.com>
5172 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
5175 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
5178 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5180 * Login.cs: Added rendering and fixed parts of the authentication.
5181 Now using IStateManager to allow compilation in another assembly (e.g.
5182 to test the control under IIS). Needs more tests (error conditions)
5183 once we get a "real" Membership provider running.
5184 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
5187 2005-08-25 Chris Toshok <toshok@ximian.com>
5189 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
5191 2005-08-25 Chris Toshok <toshok@ximian.com>
5193 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
5194 calling base.Foo to get the standalone adrotator (1.0) tests to
5195 run without throwing exceptions.
5197 2005-08-25 Chris Toshok <toshok@ximian.com>
5199 * ValidationSummary.cs (ValidationGroup): implement.
5200 (Render): use Page.GetValidators in .net 2.0, so we can support
5201 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
5204 2005-08-25 Chris Toshok <toshok@ximian.com>
5206 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
5207 2.0 attribute modifiers, and revert back to "override".
5209 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
5210 2.0 attribute modifiers, and revert back to "override".
5211 (BorderStyle): same.
5212 (BorderWidth): same.
5214 * TextBox.cs (SaveViewState): implement naively, calling
5216 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
5217 modifiers, and revert back to "override".
5219 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5221 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
5222 Load ViewState for derived classes; no public LoadViewState override
5223 exists in those classes
5224 * Style.cs: Added 2.0 IsStyleEmpty method
5226 2005-08-25 Jackson Harper <jackson@ximian.com>
5228 * DataGrid.cs: The number of pages set in the pager is specified
5231 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5233 * LoginView.cs: New (2.0). Work in progress.
5235 2005-08-24 Chris Toshok <toshok@ximian.com>
5237 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
5238 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
5239 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
5240 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
5241 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
5242 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
5243 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
5244 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
5245 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
5246 Add MonoTODO's for all things that throw NotImplementException.
5248 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
5250 * RoleGroup.cs: New (2.0). Complete implementation.
5251 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
5253 2005-08-23 Chris Toshok <toshok@ximian.com>
5255 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
5256 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
5257 even though they were written for the 1.0 stuff.
5259 2005-08-23 Chris Toshok <toshok@ximian.com>
5261 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
5262 output. Our tests now pass on both mono and ms, with both 1.x and
5265 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
5267 * Login.cs: Throw exception if the specified provider doesn't exists.
5268 * LoginStatus.cs: Complete events.
5270 2005-08-22 Jackson Harper <jackson@ximian.com>
5272 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
5274 (InitializeNumericPager): Now that the pager actually renders
5275 properly I can see that I was computing it incorrectly.
5277 2005-08-22 Jackson Harper <jackson@ximian.com>
5279 * DataGrid.cs (RenderTable): Make sure the new table gets the
5281 (CreateColumnSet): Clear the data source columnbs before adding
5282 new ones regardless of whether or not a property descriptor was
5284 (InitializePager): pager_cell needs to be a member so it isn't
5285 created more then once per a render.
5286 (InitializeNumericPager): Compute start and end more
5288 - Link commands are 1 indexed.
5289 (CreateControlHierarchy): Clear the table before we begin
5291 - Revert patch that made adding the pagers conditional. This is
5292 incorrect, the pagers are always added. Only their visibility is
5293 affected by the pager style.
5294 - Save the entire count in the viewstate, not just the rendered
5295 count. So when paging is enabled the pager's count isn't broken by
5298 2005-08-22 Chris Toshok <toshok@ximian.com>
5300 * LinkButton.cs (ValidationGroup): implement.
5301 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
5302 pass ValidationGroup to Page.Validate.
5304 2005-08-22 Chris Toshok <toshok@ximian.com>
5306 * ImageButton.cs (ValidationGroup): implement.
5307 (IPostBackEventHandler.RaisePostBackEvent): if we cause
5308 validation, call Page.Validate properly (in both profiles).
5310 2005-08-22 Chris Toshok <toshok@ximian.com>
5312 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
5313 case, pass ValidationGroup to Page.Validate.
5314 (ValidationGroup): implement using ViewState.
5316 2005-08-22 Chris Toshok <toshok@ximian.com>
5318 * BaseValidator.cs (Text): 2.0 only. implement naively, just
5320 (OnInit): add 2.0 support for validation groups.
5323 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
5325 * LoginName.cs: New (2.0) web control.
5326 * LoginStatus.cs: New (2.0) web control.
5328 2005-08-19 Chris Toshok <toshok@ximian.com>
5330 * LinkButton.cs (ValidationGroup): implement getter/setter.
5331 (RaisePostBackEvent): implement naively, by c&p'ing the old
5332 implementation of IPostBackEventHandler.RaisePostBackEvent, but
5333 making use of the ValidationGroup in the call to Page.Validate.
5337 * Style.cs (LoadViewState): set our style flags for all the things
5338 we have flags for. Seems like the subclass flags should be
5339 handled in overridden LoadViewState methods, but none of the Style
5340 subclasses seem to override this method.
5342 2005-08-19 Chris Toshok <toshok@ximian.com>
5344 * TableStyle.cs (Merge, MergeWith): make these look a bit more
5345 like Copy/CopyFrom, with the styles checks instead of just
5348 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
5351 2005-08-19 Chris Toshok <toshok@ximian.com>
5353 * DataGrid.cs (InitializePager): don't unconditionally set
5354 pager_cell to the numeric pager (especially after setting it
5355 conditionally to the nextprev pager.)
5356 (InitializeNumericPager): the link buttons don't participate in
5358 (InitializeNextPrevPager): same.
5359 (CreateControlHierarchy): create the top/bottom pagers only if the
5360 PagerStyle says too.
5362 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
5364 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
5366 2005-08-18 Chris Toshok <toshok@ximian.com>
5368 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
5369 the start of this method so templates are created properly.
5371 2005-08-18 Dick Porter <dick@ximian.com>
5373 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
5374 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
5375 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
5376 BaseDataList.cs, DataList.cs, BulletedList.cs,
5377 DataBoundControl.cs, Login.cs, GridView.cs,
5378 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
5379 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
5380 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
5381 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
5382 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
5383 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
5384 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
5385 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
5388 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
5390 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
5392 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
5393 empty array of objects just to get the number of items.
5394 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
5395 but we're missing some bits from the class lib to complete all this...
5397 2005-08-17 Jackson Harper <jackson@ximian.com>
5399 * DataGrid.cs: Only create one pager and add it to both the top
5400 and bottom of the grid, this way all the id numbers stay the same
5401 and we save a bunch of cycles.
5403 2005-08-17 Jackson Harper <jackson@ximian.com>
5405 * DataGrid.cs: The top and bottom pagers are always created. Just
5406 the visibility is changed by the PagerStyle::Position.
5408 2005-08-17 Chris Toshok <toshok@ximian.com>
5410 * CompositeControl.cs (RecreateChildControls): implement naively -
5411 just call CreateChildControls. We might need to call
5412 Controls.Clear() as well, but for the time being, this is ok.
5414 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
5416 * BaseDataList.cs: Completed implementation for 2.0.
5418 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5420 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
5421 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
5423 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5425 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
5427 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
5428 Adjusted size and ordering of the ViewState (new element #0 is still
5429 unknown). Properly fixed the TagKey in 2.0.
5430 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
5431 all properties using enums.
5432 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
5433 * TableItemStyle.cs: Fixed attribute rendering to use style to render
5434 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
5436 2005-08-15 Jackson Harper <jackson@ximian.com>
5438 * EditCommandColumn.cs: Use a normal LinkButton.
5440 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5442 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
5443 viewstate (even if assigned to the default value).
5444 * TableRow.cs: Implement TableSection property (2.0). It has no effect
5445 on the rendering of the table row.
5447 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5449 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
5450 and removed [Bindable] attributes for 2.0.
5451 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
5452 attributes (for 2.0).
5453 * DataListCommandEventArgs.cs: Not sealed in 2.0.
5454 * DataListItemEventArgs.cs: Not sealed in 2.0.
5455 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
5456 attributes for URLs.
5457 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
5458 attributes for URLs.
5459 * Table.cs: Fixed [Editor] attribute for 2.0.
5460 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5461 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
5462 AssociatedHeaderCellID and it's [DefaultValue] attribute.
5463 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
5464 and Scope attributes.
5465 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
5466 on TableSection attribute.
5467 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5469 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
5471 * Image.cs: Fixed attributes for 2.0 profile.
5472 * Login.cs: Fixed some attributes and default values.
5473 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
5474 RaisePostBackEvent (TODO) in 2.0 profile.
5475 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
5476 and added AssociateHeaderCellID property (TODO).
5477 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5478 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
5479 page (if the device requires to breaks the table into multiple pages).
5480 This seems to be a "flag" class, the real work will be in Table.
5481 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
5482 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
5483 page (if the device requires to breaks the table into multiple pages).
5484 This seems to be a "flag" class, the real work will be in Table.
5485 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
5486 * TableRow.cs: Remove [Bindable (true)] from properties and add
5487 [Bindable (false)] and [Designer] on class. Added new TableSection
5489 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5490 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
5491 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
5492 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
5493 FillStyleAttributes method (2.0).
5495 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
5497 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
5498 attributes from existing controls.
5499 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
5500 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
5502 2005-08-12 Jackson Harper <jackson@ximian.com>
5504 * TableRow.cs: No AutoID for TableRows.
5506 2005-08-12 Jackson Harper <jackson@ximian.com>
5508 * DataGrid.cs (CreateRenderColumns): If we aren't using data
5509 binding grab the rendercols from the data source columns.
5510 (LoadViewState): Restore the bound columns when reloading the
5512 (InitializeNumericPager): Create elipsised pagers.
5513 (CreateItem): Don't set the item's ID.
5514 (CreateItem): Add the control to the table before it is databound
5515 so that it's value is saved in the viewstate.
5516 (CreateControlHierarchy): Create a fake data source when not using
5517 databinding. Don't add controls to the table as they are added in
5519 (PrepareControlHierarchy): Make footers and header non visible if
5520 they aren't enabled.
5522 2005-08-12 Chris Toshok <toshok@ximian.com>
5524 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
5525 docs says these methods/properties "ensure the child controls are
5526 created" -- so call EnsureChildControls() before invoking the base
5529 2005-08-12 Jackson Harper <jackson@ximian.com>
5531 * BoundColumn.cs: Set the controls text instead of adding a
5532 literal control. So it is saved in the controls viewstate.
5534 2005-08-11 Jackson Harper <jackson@ximian.com>
5536 * CheckBoxList.cs: Set the tabindex on the checkbox control and
5537 don't render it on the main table (Setting it to zero causes it to
5538 not be rendered). Also use the invariant culture on the id.
5540 2005-08-11 Dick Porter <dick@ximian.com>
5542 * CheckBox.cs: Let ViewState manage removals; apply styles and
5543 "style" attributes in a surrounding <span>. Fixes unit tests.
5545 2005-08-10 Chris Toshok <toshok@ximian.com>
5547 * Label.cs (LoadViewState): set the Text attribute from our
5548 ViewState (if it exists) to clear out any child controls. Fixes
5549 jsunit test label/label-child-control-postback.aspx.
5551 2005-08-10 Jackson Harper <jackson@ximian.com>
5553 * PagedDataSource.cs: Respect paging with all data source types.
5555 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
5557 * BaseDataList.cs: Changed Controls property from "virtual new"
5558 (2.0 doc) to "override" (monop) to fix the Visible bug (see
5559 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
5560 any controls (required due to change to Controls). Implemented
5561 DataBind(bool) for 2.0.
5562 * DataListItem.cs: Fix the multiple table when extractRows is used.
5563 Removed extra span tags by rendering contents (not control). Added
5564 support for IDataItemContainer (2.0).
5566 2005-08-08 Jackson Harper <jackson@ximian.com>
5568 * DataGrid.cs: Apply the styles to each item type.
5570 2005-08-08 Jackson Harper <jackson@ximian.com>
5572 * PagedDataSource.cs: If paging is not enabled keep enumerating to
5573 the end of the list.
5575 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
5577 * BaseDataList.cs: Remove old compatibility stuff.
5578 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
5579 * WebControl.cs: Always call CreateControlStyle to create the
5580 ControlStyle. Fix the exception for datalist-style-edit.aspx.
5582 2005-08-05 Jackson Harper <jackson@ximian.com>
5584 * DataGrid.cs: Don't make the current page index a link in the
5587 2005-08-05 Jackson Harper <jackson@ximian.com>
5589 * DataGrid.cs: Honour PagerPosition.
5591 2005-08-05 Jackson Harper <jackson@ximian.com>
5593 * PagedDataSource.cs: Round PageCount properly.
5595 2005-08-05 Dick Porter <dick@ximian.com>
5597 * CheckBox.cs: Shut corcompare up a bit more. Still need to
5598 figure out how to not use AddAttributesToRender to get it
5601 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
5603 * DataGridColumn.cs: Added the duplicate viewstate manipulation
5606 2005-08-05 Chris Toshok <toshok@ximian.com>
5608 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
5609 null when it comes to the format string.
5610 (FormatDataTextValue): same.
5612 2005-08-04 Chris Toshok <toshok@ximian.com>
5614 * BaseValidator.cs (Validate): only test a validator if it's both
5615 enabled and visible.
5617 2005-08-04 Chris Toshok <toshok@ximian.com>
5619 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
5622 2005-08-04 Jackson Harper <jackson@ximian.com>
5624 * DataGrid.cs: Add a new space control for each link. Also make
5625 the link's text 1 indexed. Don't add the space after the last
5628 2005-08-04 Ben Maurer <bmaurer@ximian.com>
5630 * LinkButton.cs: Fix up the test suite here.
5632 * Panel.cs: Fix up nowrap
5634 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5636 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
5637 * ListControl.cs: Clear item list before adding data (again)
5639 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
5641 * Calendar.cs: fixes issues with OnDayRender event and others
5643 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5645 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
5647 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
5648 if DataTextField is bound
5649 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
5650 two controls in edit mode, lets do the same
5652 2005-08-03 Jackson Harper <jackson@ximian.com>
5654 * BoundColumn.cs: Respek for the thisExpr when data binding.
5656 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5658 * EditCommandColumn.cs: No need to offer edit when in edit mode.
5661 2005-08-04 Dick Porter <dick@ximian.com>
5663 * DataGridColumn.cs: New implementation
5666 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
5668 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5670 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
5673 2005-08-03 Ben Maurer <bmaurer@ximian.com>
5675 * RepeatInfo.cs: Finally figured out how to use base control
5677 2005-08-03 Jackson Harper <jackson@ximian.com>
5679 * ButtonColumn.cs: Partial implementation.
5681 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5683 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
5686 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5688 * Calendar.cs: fixes Save/Load state
5690 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5692 * Calendar.cs: bug fixes
5694 2005-08-03 Jackson Harper <jackson@ximian.com>
5696 * DataGrid.cs: Merge the table style with the render table. Some
5697 initial work on the numeric pager. Remove some debugging code.
5699 2005-08-03 Jackson Harper <jackson@ximian.com>
5701 * BoundColumn.cs: Implement Initialize and InitializeCell. When
5702 Data is formated it uses the DataFormatString that was set at the
5703 time Initialize was called (or null if initialize was never
5706 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5708 * RadioButtonList.cs: bug fixes
5710 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5712 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
5713 AddAttributesToRender
5714 * RadioButtonList.cs: Implementation
5716 2005-08-01 Jackson Harper <jackson@ximian.com>
5718 * TableStyle.cs: Copy style bit when copying from another style.
5720 2005-08-01 Jackson Harper <jackson@ximian.com>
5722 * PagedDataSource.cs: Implement missing properties, use yield for
5723 the Enumerator methods. Only allow the enums to return one page at
5726 2005-08-01 Chris Toshok <toshok@ximian.com>
5728 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
5730 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5732 * WebControl.cs: Track enabled state across sessions
5734 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5736 * ListControl.cs(OnDatabinding): Value is equivalent to text if
5739 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
5741 * ImageButton.cs: fixes, complete missing parts
5743 2005-07-31 Ben Maurer <bmaurer@ximian.com>
5745 * TextBox.cs: Html encode for multiline text boxes
5747 * HyperLink.cs: Resolve images
5749 2005-07-30 Chris Toshok <toshok@ximian.com>
5751 * BaseValidator.cs: initial version of 2.0 properties
5752 ValidationGroup and SetFocusOnError.
5754 2005-07-30 Chris Toshok <toshok@ximian.com>
5756 * HyperLinkColumn.cs (InitializeCell): clean this up.
5758 2005-07-30 Chris Toshok <toshok@ximian.com>
5760 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
5761 DataBinder.FormatResult.
5762 (FormatDataTextValue): same.
5763 (Initialize): call base.Initialize.
5764 (ItemDataBinding): new function, get the text/navigateurl and set
5765 them on our HyperLink control.
5766 (InitializeCell): create a hyperlink control in the
5767 Item/EditItem/AlternatingItem case.
5769 2005-07-30 Ben Maurer <bmaurer@ximian.com>
5771 * RepeatInfo.cs: Handle 0 items situations correctly
5773 * HyperLink.cs: Resolve urls correctly
5775 * CheckBox.cs: use the correct ID for the label element.
5777 * Label.cs: Correct AddParsedSubObject impl. See FAQ
5779 2005-07-29 Chris Toshok <toshok@ximian.com>
5781 * BaseCompareValidator.cs (GetDateElementOrder): implement.
5783 2005-07-29 Chris Toshok <toshok@ximian.com>
5785 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
5786 #if'ed out version follows microsoft's docs on msdn, but doesn't
5787 match ms's behavior. The other matches their behavior but not
5788 their docs. we use the latter. go figure.
5789 (get_CutoffYear): implement using
5790 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
5792 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5795 - Name property now throws exception when set to null
5796 - Names now handles situation where our bit tells us we have
5797 a font, but it's not in the StateBag (null removal)
5798 * RangeValidator.cs: Removed unused vars
5800 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5802 * Label.cs: ClientID should be used rather than UniqueID to get
5805 2005-07-29 Chris Toshok <toshok@ximian.com>
5807 * BaseValidator.cs (Validatate): not sure if this is entirely
5808 correct (some fairly deep testing required), but setting Enabled =
5809 false has the effect of setting IsValid = true.
5811 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5813 * RadioButton.cs: The "remove from groupstate" isn't needed any
5814 more, now that statebag is correct.
5816 2005-07-29 Dick Porter <dick@ximian.com>
5818 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
5819 ViewState when it is null.
5821 * CheckBox.cs: Hide nonstandard API
5823 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
5825 * Calendar.cs: fixes exceptions, bug fixes, new features
5826 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
5827 * CalendarDay.cs: fixes default value
5829 2005-07-28 Ben Maurer <bmaurer@ximian.com>
5831 * CompositeControl.cs: Stub
5833 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5835 * EditCommandColumn.cs: Implemented
5837 2005-07-27 Chris Toshok <toshok@ximian.com>
5839 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
5841 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5843 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
5846 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5848 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
5849 for it's constructor, so remove it
5850 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
5852 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5854 * DataGridPagerStyle.cs: Implemented
5855 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
5856 * Style.cs: Added Styles enum values for DataGridPagerStyle
5858 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
5860 * Calendar.cs: get the styles right, honors more properties, fixes, fix
5863 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5865 * DataGridItem.cs: Implemented
5867 2005-07-26 Chris Toshok <toshok@ximian.com>
5869 * LinkButton.cs (AddParsedSubObject): reversed the order of
5870 Controls.Add() and Text = null
5871 (set_Text): call Controls.Clear()
5872 (RenderContents): use HasControls() for the if test instead of
5875 * HyperLink.cs (AddParsedSubObject): reversed the order of
5876 Controls.Add () and Text = null;
5878 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5880 * DataGridItemCollection.cs: Implemented
5882 2005-07-26 Chris Toshok <toshok@ximian.com>
5884 * LinkButton.cs (AddParsedSubObject): copy implementation from
5886 (RenderContents): only call writer.Write(Text) if Text != "".
5887 Otherwise default to base.RenderContents.
5889 2005-07-26 Chris Toshok <toshok@ximian.com>
5891 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5892 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
5893 (Page != null) around my last commit.
5895 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5897 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
5898 Fixed use of literal strings, instead using Consts
5899 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
5900 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
5901 Panel.cs, Literal.cs: Added attributes
5902 * BaseValidator.cs: Added missing override
5904 2005-07-26 Chris Toshok <toshok@ximian.com>
5906 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5907 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
5908 Page.VerifyRenderingInServerFormHere.
5910 2005-07-26 Chris Toshok <toshok@ximian.com>
5912 * BaseValidator.cs: remove some MonoTODO's about the client side
5915 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
5917 * Calendar.cs: selection of dates, state load, save, track, support
5918 for new properties, many fixes.
5920 2005-07-26 Miguel de Icaza <miguel@novell.com>
5922 * Style.cs: Temporary methods to help buliding .NET 2.x
5924 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5926 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
5928 * Xml.cs: Fixed base class, attributes
5929 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
5930 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
5931 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
5932 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
5933 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
5935 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5937 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
5940 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5942 * RepeatInfo.cs: If the repeater has one column, the separators
5943 are rendered on a different line
5945 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5947 * DataGridSortCommandEventArgs: Sealed class
5948 * ButtonColumn.cs, Calendar.cs: Added Attributes
5950 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5952 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
5953 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
5955 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5957 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
5958 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
5960 2005-07-25 Chris Toshok <toshok@ximian.com>
5962 * ValidationSummary.cs (AddAttributesToRender): add client side
5964 (OnPreRender): set the "been here" flag.
5965 (Render): add client side support.
5967 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5969 * RepeatInfo.cs: Split the horiz and vertical cases, because this
5970 class has rules that are beyond strange. Continue working to make
5973 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5975 * RepeatInfo.cs: Misc fixes for my test suite.
5977 2005-07-25 Jackson Harper <jackson@ximian.com>
5979 * DataGrid.cs: Set the command name and args on the link buttons.
5981 2005-07-25 Jackson Harper <jackson@ximian.com>
5983 * DataGrid.cs: Lots o implementation.
5985 2005-07-25 Jackson Harper <jackson@ximian.com>
5987 * BoundColumn.cs: Partial implementation to get the DataGrid tests
5990 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
5992 * Button.cs: fixes events, adds attributes
5994 2005-07-23 Chris Toshok <toshok@ximian.com>
5996 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
5997 prop.GetValue results.
5998 (Render): fix the static non-uplevel case, so that we display text
5999 when there's an error.
6001 2005-07-22 Chris Toshok <toshok@ximian.com>
6003 * RegularExpressionValidator.cs (AddAttributesToRender): only
6004 output ValidationExpression if it's != null.
6006 2005-07-22 Chris Toshok <toshok@ximian.com>
6008 * BaseValidator.cs (AddAttributesToRender): fix up the Display
6009 rendering such it matches MS's output.
6010 (Render): stop using the huge complicated if's for each output
6011 stage and move to boolean flags, and fix the static-nonuplevel
6012 case, where a validator outputs as nothing but
6014 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
6015 * Calendar.cs: Initial implementation
6016 * CalendarSelectionMode.cs: fix enum order
6018 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
6020 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
6021 (or more?) specific cases - including correct support for separators.
6022 Added some (commented) debugging code.
6023 * HyperLink.cs: Only render href and target attributes if they're not
6024 empty. Add "border=0" when rendering <img> tag. Fix Target default
6027 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
6029 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
6031 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
6033 * Style.cs (CopyFrom): Reset our styles and don't set bits from
6034 target explicitly, properties will set them
6036 2005-07-22 Dick Porter <dick@ximian.com>
6039 * ButtonColumn.cs: Initial stubs
6041 2005-07-22 Dick Porter <dick@ximian.com>
6044 * CheckBox.cs: Add assembly attributes
6046 2005-07-22 Ben Maurer <bmaurer@ximian.com>
6048 * HyperLink.cs: Handle non-literal children.
6050 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6052 * Label.cs: SP1 stuff
6054 2005-07-21 Chris Toshok <toshok@ximian.com>
6056 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
6057 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
6058 stuff WebUIValidation.js uses, so we don't support it for uplevel
6061 2005-07-21 Chris Toshok <toshok@ximian.com>
6063 * BaseValidator.cs (DetermineRenderUplevel): include checks for
6064 the EcmaScriptVersion and W3CDomVersion.
6066 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6068 * BaseDataList.cs: Support IEnumerable.
6069 * DataList.cs: Fix alternate items.
6070 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
6071 controls and the Text property.
6073 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6075 * TextBoxMode.cs: Wrong ordering of enum...
6077 2005-07-21 Chris Toshok <toshok@ximian.com>
6079 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
6082 2005-07-21 Chris Toshok <toshok@ximian.com>
6084 * BaseValidator.cs (get_PropertiesValid): use our containing
6085 NamingContainer, not ourselves, to look up controls.
6086 (CheckControlValidationProperty): same.
6087 (GetControlRenderID): same.
6088 (GetControlValidationValue): same.
6089 (AddAttributesToRender): add the display style attribute if
6090 Display != Static, and add the value of IsValid if it's false.
6091 (DetermineRenderUplevel): use a try block around (Page.Request)
6092 since that can raise an exception.
6093 (OnPreRender): set pre_render_called, so we can consult it in
6095 (Render): complicate this method more to handle more of the
6096 Display/pre_render_called permutations.
6098 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
6100 * CustomValidator.cs: Initial implementation, still work in progress
6102 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6104 * DataList.cs: Fix rendering for special items (-1).
6106 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6108 * RepeatInfo.cs: Fix most of the tests.
6110 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6112 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
6113 Add a border=0 attribute if no style is defined.
6114 * TableCell.cs: Use HtmlTextWriterTag (not a string).
6115 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
6116 * TableRow.cs: Use HtmlTextWriterTag (not a string).
6118 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6120 * BaseDataList.cs: Fix attributes.
6121 * HorizontalAlign.cs: Fix attributes.
6122 * Image.cs: Fix attributes and enums checks.
6123 * Table.cs: Fix attributes an enums checks.
6124 * TableCell.cs: Fix attributes.
6125 * TableCellCollection.cs: Fix attributes.
6126 * TableItemStyle.cs: Fix attributes and enums checks.
6127 * TableRowCollection.cs: Fix attributes.
6128 * TableRow.cs: Fix attributes.
6129 * TableStyle.cs: Fix attributes and enums checks.
6130 * VerticalAlign.cs: Fix attributes.
6132 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6134 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
6135 * DataList.cs: Added rendering support when ExtractTemplatesRows
6136 property is true (but RepeatInfo needs to be fixed to see it works).
6137 * DataListItem.cs: Added rendering support when extractRows parameter
6138 is true (but RepeatInfo still needs to be fixed ;-)
6140 2005-07-21 Duncan Mak <duncan@novell.com>
6142 * HyperLinkColumn.cs: Initial implementation.
6143 Todo: Figure out Initialize and InitializeCell.
6145 2005-07-20 Chris Toshok <toshok@ximian.com>
6147 * BaseValidator.cs: don't use Page.FindControl, use this Control's
6148 FindControl, so it'll use the same naming container.
6150 2005-07-21 Duncan Mak <duncan@novell.com>
6152 * DataGridCommandEventArgs.cs:
6153 * DataGridPageChangedEventArgs.cs:
6154 * RepeaterCommandEventArgs.cs: Fixed visibility.
6156 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
6157 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
6159 2005-07-20 Chris Toshok <toshok@ximian.com>
6161 * Button.cs: hook up the client side validation stuff.
6163 * ImageButton.cs: same.
6165 * LinkButton.cs: same, although it's a little more complicated
6168 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6171 - Implemented RaisePostDataChangedEvent()
6172 - Spewing postback command if AutoPostBack is true
6174 2005-07-20 Chris Toshok <toshok@ximian.com>
6176 * BaseValidator.cs: another Page != null check when uplevel
6179 2005-07-20 Chris Toshok <toshok@ximian.com>
6181 * BaseValidator.cs: check Page != null when determining if we're
6182 rendering uplevel or not.
6184 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6186 * ListItemCollection.cs: Removed obsolete method that's no longer
6189 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6191 * DropDownList.cs: Oops. Forgot to implement LoadPostData
6192 * ListItemCollection.cs: Added convenience method to have faster
6195 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6198 - Automatically select the first item if none are selected
6199 - Throw exception if more than one item is selected
6201 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6203 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
6204 handled by RepeatInfo).
6206 2005-07-20 Jackson Harper <jackson@ximian.com>
6208 * DataGrid.cs: Store the data source created columns in a
6209 DataGridColumnCollection. This way they can be put in the
6210 view state more easily, and accessed without casting.
6212 2005-07-20 Chris Toshok <toshok@ximian.com>
6214 * BaseValidator.cs (AddAttributesToRender): render the client side
6215 attributes if we're in uplevel mode.
6216 (DetermineRenderUplevel): flesh out a bit - for now basically
6217 return true unless the control has it disabled.
6218 (OnInit): only add the validator to Page's list if there is, in
6220 (OnUnload): same for removal.
6221 (OnPreRender): hook up client scripting stuff here. Only the call
6222 to RegisterValidatorCommonScript is a for sure thing here, the
6223 registering of the submit statement and startup script should
6224 probably go elsewhere, but I don't know where.
6225 (RegisterValidatorCommonScript): register the <script
6226 src=".../WebUIValidation.js"> tag, if it's not already there.
6227 (RegisterValidatorDeclaration): add our span object to the
6228 Page_Validators JS array.
6229 (Render): always render the tags (although this is probably not
6230 right), and call RegisterValidatorDeclaration here.
6232 * BaseCompareValidator.cs (AddAttributesToRender): render the
6233 client side attributes if we're in uplevel mode.
6234 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
6235 call base.DetermineRenderUplevel for now.
6237 * RegularExpressionValidator.cs (AddAttributesToRender): render
6238 the client side attributes if we're in uplevel mode.
6240 * RequiredFieldValidator.cs (AddAttributesToRender): same.
6242 * CompareValidator.cs (AddAttributesToRender): same.
6244 2005-07-20 Jackson Harper <jackson@ximian.com>
6246 * DataGrid.cs: Save the data source created column set in the
6249 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6251 * DataList.cs: Fix events and properties exceptions. Give the right
6252 informations to RenderItem.
6254 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6256 * ValidationSummary.cs: Implemented rendering
6258 2005-07-20 Jackson Harper <jackson@ximian.com>
6260 * DataGrid.cs: column names are cached and only regenerated if useDataSource
6261 is set to true. Otherwise they are just fetched from the last set that
6262 was generated from the source.
6264 2005-07-20 Jackson Harper <jackson@ximian.com>
6266 * DataGrid.cs: Assign some properties of newly created BoundColumns.
6268 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6270 * DataList.cs: Fix viewstate ordering.
6272 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6274 * SelectedDatesCollection.cs: Apprarently, I don't write code well
6277 * Repeater.cs: Uh, actually add stuff to the items collection
6280 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6282 * BaseDataList.cs: EnsureChildControls on Controls property.
6283 * DataList.cs: Fix rendering and Controls/Items differences.
6284 * DataListItem.cs: Added rendering of controls.
6286 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6288 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
6290 2005-07-20 Jackson Harper <jackson@ximian.com>
6292 * DataGrid.cs: Add some of the collections. Implement
6295 2005-07-20 Jackson Harper <jackson@ximian.com>
6297 * PagedDataSource.cs: Implement GetItemProperties, this is
6298 needed for the datagrid.
6300 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6302 * DataGridColumnCollection.cs: New impl
6304 * TemplateColumn.cs: New impl
6306 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6308 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
6309 * DataList.cs: Work in progress... Added attributes, proper
6310 IRepeatInfoUser support and cool things stolen from other classes.
6311 * DataListCommandEventArgs.cs: Class is sealed.
6312 * DataListItem.cs: RenderItem is public.
6314 2005-07-19 Jackson Harper <jackson@ximian.com>
6316 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
6317 a viewstate object if all the viewstate stuff is null.
6319 2005-07-19 Jackson Harper <jackson@ximian.com>
6321 * DataGrid.cs: Implement style properties and viewstate
6322 saving/loading/tracking.
6324 2005-07-19 Chris Toshok <toshok@ximian.com>
6326 * BaseValidator.cs: more fixes from pdb.
6328 2005-07-19 Chris Toshok <toshok@ximian.com>
6330 * BaseValidator.cs: some test-driven fixes.
6332 2005-07-19 Chris Toshok <toshok@ximian.com>
6334 * BaseValidator.cs: Initial implementation.
6336 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6338 * Repeater.cs: Fix small typo.
6340 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
6342 * ValidationSummaryTest.cs: Started implementation
6343 * RangeValidator.cs: Implemented
6344 * ValidatedControlConverter.cs: Implemented
6345 * DropDownList.cs: Implemented
6347 2005-07-19 Jackson Harper <jackson@ximian.com>
6349 * DataGrid.cs: Implement bubble event.
6351 2005-07-19 Jackson Harper <jackson@ximian.com>
6353 * DataGrid.cs: New implementation. Just properties and events for
6356 2005-07-18 Chris Toshok <toshok@ximian.com>
6358 * BaseCompareValidator.cs: Initial implementation, with some NYI.
6360 2005-07-19 Ben Maurer <bmaurer@ximian.com>
6362 * FontUnit.cs: Corcompare fixes
6364 * UnitConverter.cs: Fix api diffs
6366 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6368 * ListControl.cs: Fix api differences
6370 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6372 * Table.cs: Fix indentation for caption. Simplify check when adding
6374 * TableRow.cs: Simplify check when adding controls.
6376 2005-07-18 Chris Toshok <toshok@ximian.com>
6378 * CompareValidator.cs: wtf, just use the base class's methods.
6380 2005-07-18 Chris Toshok <toshok@ximian.com>
6382 * CompareValidator.cs: do comparisons based on
6383 BaseCompareValidator.Type.
6385 2005-07-18 Chris Toshok <toshok@ximian.com>
6387 * CompareValidator.cs: initial implementation.
6389 2005-07-18 Chris Toshok <toshok@ximian.com>
6391 * RegularExpressionValidator.cs: initial implementation.
6393 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6395 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
6397 2005-07-18 Jackson Harper <jackson@ximian.com>
6399 * CheckBoxList.cs: Implement LoadPostBackData. Also register
6400 checkboxes for postback if they are checked so we can find
6401 out when they are unchecked. Copy the AutoPostBack variable
6402 to the to be rendered checkbox when rendering.
6404 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6406 * TextBox.cs: Finish this up.
6408 * AdRotator.cs: Fix issues in the test suite. Minor style
6411 * Repeater.cs: Fix a bug where the datasource is null and we do
6414 * WebColorConverter.cs: Optimize by not doing a concat on a
6417 2005-07-17 Ben Maurer <bmaurer@ximian.com>
6419 * ListItemCollection.cs: Multiple uses of equals rather than
6420 string.compare as below. Remove unreachable code warning.
6422 * WebColorConverter.cs (ConvertTo): Use the == operator on string
6423 rather than an invariant non-case ignoring compare. They are
6424 exactly the same thing. Use proper coding style in this method.
6426 * WebControl.cs: Return null when saving the view state if there
6427 is no state in any of the things we save. This creates a fairly
6428 large savings, because we can avoid saving anything about many
6429 levels of deaply nested controls.
6431 2005-07-15 Jackson Harper <jackson@ximian.com>
6433 * CheckBoxList.cs: Use the index as the ID, the rest of the
6434 id is built by being in the NamingContainer.
6436 2005-07-15 Jackson Harper <jackson@ximian.com>
6438 * ListControl.cs: Use enum instead of string. Saves a lookup.
6440 2005-07-15 Jackson Harper <jackson@ximian.com>
6442 * CheckBoxList.cs: FindControl always returns 'this' according
6445 2005-07-15 Jackson Harper <jackson@ximian.com>
6447 * CheckBoxList.cs: New impl.
6449 2005-07-15 Jackson Harper <jackson@ximian.com>
6451 * WebControl.cs: Use the ClientID when rendering a controls ID
6452 attribute so that naming containers are honoured.
6454 2005-07-15 Jackson Harper <jackson@ximian.com>
6456 * ListControl.cs: use the state manager interface for tracking
6459 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6461 * Repeater.cs (DoItem): Add the DataItem before we call user
6462 methods, as it seems to be there with msft.
6464 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
6466 * BaseDataList.cs: New. (mostly complete) implementation.
6467 * DataKeyCollection.cs: New. Implementation (complete).
6468 * DataList.cs: New. (mostly incomplete) implementation.
6469 * DataListItem.cs: New. (mostly complete) implementation.
6470 * DataListItemCollection.cs: New. Implementation (complete).
6472 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6474 * Repeater.cs (DoItem): We need to .Add the control *before* we
6475 data bind it so that the state gets tracked correctly. Fixes the
6478 2005-07-15 Jackson Harper <jackson@ximian.com>
6480 * ListControl.cs: Simplify comparison.
6482 2005-07-15 Jackson Harper <jackson@ximian.com>
6485 * Repeater.cs: Use new utility class for resolving data sources.
6487 2005-07-15 Jackson Harper <jackson@ximian.com>
6489 * ListControl.cs: Add attributes so the sub items get parsed
6490 properly. Remove old unneeded code for resolving lists.
6492 2005-07-15 Jackson Harper <jackson@ximian.com>
6494 * ListControl.cs: Use the DataSourceHelper so DataMembers are
6497 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6500 - Some optimizations
6501 * Don't use enum formatting stuff, it is 1) expensive 2) does
6502 allocations. Use a new method in HtmlControl to do the right
6504 * Don't use Enum.IsDefined but an explicit check.
6505 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
6506 - Use the correct coding style.
6508 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6510 * WebColorConverter.cs:
6511 - Alpha of 255 is only set if the hex number is exactly 6 digits
6512 - Ben didn't like the catch { throw; } (even though MS documents to
6514 - Use Invariant Culture for parsing (thanks, Ben)
6516 2005-07-14 Jackson Harper <jackson@ximian.com>
6518 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
6519 code-reuse-arific. Also use the IStateManager interface for loading
6520 data instead of the old internal method.
6522 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6524 * WebColorConverter.cs: Implemented
6526 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6528 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
6530 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6532 * Repeater.cs: Get it working
6534 2005-07-14 Jackson Harper <jackson@ximian.com>
6536 * ListControl.cs: Initial implementation of Databinding. Make sure
6537 that the ListItemCollection is created when we load its ViewState.
6539 2005-07-14 Jackson Harper <jackson@ximian.com>
6541 * ListControl.cs: Fix typo.
6543 2005-07-14 Jackson Harper <jackson@ximian.com>
6545 * ListControl.cs: New Implementation. Lacks databinding support.
6547 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6549 * Repeater.cs: The beginnings of this control
6551 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6553 * TargetConverter.cs: Implemented
6555 2005-07-14 Duncan Mak <duncan@novell.com>
6557 * PagedDataSource.cs: Initial implementation.
6559 Methods that need to be figured out:
6560 CopyTo, GetItemProperties, PageCount, IsLastPage.
6562 To complete: CollectionEnumerator, ListEnumerator.
6564 2005-07-13 Duncan Mak <duncan@novell.com>
6566 * RepeatDirection.cs:
6568 * ValidationCompareOperator.cs:
6569 * ValidationDataType.cs:
6570 * ValidationSummaryDisplayMode.cs:
6571 * ValidatorDisplay.cs: Added remaining enumerations.
6573 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6575 * FontNamesConverter.cs: Implemented
6577 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6579 * RepeaterItem.cs: Compile fix
6581 * RepeaterItemCollection.cs: New file
6583 * RepeaterItem.cs: get OnBubbleEvent right.
6585 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6587 * ListItemCollection.cs: Count can be derived from the array, which
6588 allows us to use a Pair instead of a Triplet and save some space
6590 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6592 * RepeaterItem.cs: Stub
6594 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6596 * ListItemCollection.cs: Implemented
6597 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
6599 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6601 * RepeatInfo.cs: Impl.
6603 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6605 * FirstDayOfWeek.cs: Added
6607 2005-07-13 Jackson Harper <jackson@ximian.com>
6609 * ListBox.cs: Some parameter checking.
6611 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6613 * Image.cs: Added support for DescriptionUrl as this property was
6614 added in Fx 1.1 SP1.
6616 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6618 * Style.cs (AddAttributesToRender): Don't render attributes if they
6619 contain only their default value
6621 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6623 * Table.cs: New. Initial re-implementation.
6624 * TableCell.cs: New. Initial re-implementation.
6625 * TableCellCollection.cs: New. Initial re-implementation.
6626 * TableHeaderCell.cs: New. Initial re-implementation.
6627 * TableItemStyle.cs: New. Initial re-implementation.
6628 * TableRow.cs: New. Initial re-implementation.
6629 * TableRowCollection.cs: New. Initial re-implementation.
6630 * TableStyle.cs: New. Initial re-implementation.
6632 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6634 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
6635 unit tests (for Style) and more tests in Table* classes.
6637 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6639 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
6640 however IsEmpty returns false if any of their properties are set.
6641 Looks ugly but it's compatible with MS implementation (feature and
6644 2005-07-13 Dick Porter <dick@ximian.com>
6646 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
6647 null Text properties from the ViewState, test for TextAlign being
6648 out of range. All to make tests pass on both mono and ms
6651 2005-07-13 Jackson Harper <jackson@ximian.com>
6653 * ListBox.cs: Use invariant culture when doing a ToString,
6654 set value to the item's value, not to its Text.
6656 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6658 * WebControl.cs (AddAttributesToRender): Added ID to rendered
6661 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6663 * Style.cs(MergeWith): Handle null styles
6665 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
6667 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
6668 the #if NET_2_0 on it.
6670 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6672 * Style.cs: Only render font elements if fontinfo object exists
6674 - Implemented SaveViewState()
6675 - Added loading of Style to LoadViewState
6676 - Implemented IAttributeAccessor methods
6678 2005-07-12 Jackson Harper <jackson@ximian.com>
6680 * ListBox.cs: Even track default values in the viewstate. Call
6681 base's RenderContents.
6683 2005-07-12 Jackson Harper <jackson@ximian.com>
6685 * ListBox.cs: New impl.
6687 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6690 - Implemented methods
6693 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6695 * ListItem.cs: New impl.
6697 2005-07-12 Duncan Mak <duncan@novell.com>
6699 * DayNameFormat.cs: Added.
6701 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6703 * WebControl.cs: Implemented properties
6705 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6707 * TextBox.cs: Passwords seem 1) not to be rendered to the client
6708 if set, 2) not kept in view state (for security reasons...)
6711 * Button.cs: Page.Validate () if needed. Gets the validator tests
6714 * TextBox.cs: Properties to get the validator stuff to work.
6716 2005-07-12 Miguel de Icaza <miguel@novell.com>
6718 * Unit.cs: If the units are pixels, then truncate the value.
6720 2005-07-12 Dick Porter <dick@ximian.com>
6722 * RadioButton.cs: New implementation
6724 * CheckBox.cs: Rearrange the attributes rendering to allow
6725 RadioButton to derive from this
6727 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6729 * TitleFormat.cs: Add attribute
6730 * TextBoxMode.cs: Add attribute
6731 * CalendarDay.cs: Initial implementation
6732 * ImageButton.cs: Initial implementation
6733 * CalendarSelectionMode.cs:Initial implementation
6735 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6737 * TextBoxMode.cs: simple enum
6738 * TitleFormat.cs: simple enum
6740 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6742 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
6744 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6746 * FontUnit.cs: Added TypeConverter attribute to class
6747 * FontUnitConverter.cs: Implemented
6749 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6752 * Button.cs: Bubble the Command event.
6754 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6757 - Clean up style (with my wonderful state bag hack!)
6758 - Fix a view state typo.
6759 - Use AddAttributesToRender
6760 - Don't add an extra <span>
6762 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6764 * Style.cs: Handle null constructor argument for bag
6766 2005-07-11 Dick Porter <dick@ximian.com>
6768 * CheckBox.cs: New implementation
6770 * RadioButton.cs: Initial stubbed version that just compiles
6772 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
6774 * Button.cs: Initial Button implementation
6776 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
6778 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
6780 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6782 * HorizontalAlign.cs: Typo in header.
6783 * VerticalAlign.cs: New. Required enum for TableRow control.
6785 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6787 * TextBox.cs: More work on this
6789 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6791 * GridLines.cs: New. Required enum for Table control.
6792 * HorizontalAlign.cs: New. Required enum for Table control.
6794 2005-07-09 Duncan Mak <duncan@novell.com>
6796 * CommandEventHandler.cs:
6797 * DataGridCommandEventHandler.cs:
6798 * DataGridItemEventHandler.cs:
6799 * DataGridPageChangedEventHandler.cs:
6800 * DataGridSortCommandEventHandler.cs:
6801 * DataListCommandEventHandler.cs:
6802 * DayRenderEventHandler.cs:
6803 * RepeaterCommandEventHandler.cs:
6804 * ServerValidateEventHandler.cs: Add delegates.
6807 * ListSelectionMode.cs:
6808 * NextPrevFormat.cs:
6810 * PagerPosition.cs: Add enums.
6812 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6814 * TextBox.cs: Add the work I did on this today. It's not complete
6815 yet, but its a start!
6817 2005-07-09 Duncan Mak <duncan@novell.com>
6819 * CommandEventArgs.cs:
6820 * DataGridCommandEventArgs.cs:
6821 * DataGridItemEventArgs.cs:
6822 * DataGridPageChangedEventArgs.cs:
6823 * DataGridSortCommandEventArgs.cs:
6824 * DataListCommandEventArgs.cs:
6825 * DataListItemEventArgs.cs:
6826 * DayRenderEventArgs.cs:
6827 * RepeaterCommandEventArgs.cs:
6828 * RepeaterItemEventArgs.cs:
6829 * ServerValidateEventArgs.cs: Implemented.
6831 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
6833 * Image.cs: New. Image class implementation.
6834 * ImageAlign.cs: New. ImageAlign enum definitions.
6836 2005-07-08 Jackson Harper <jackson@ximian.com>
6838 * Literal.cs: New implentation.
6839 * MonthChangedEventArgs.cs: new
6840 * MonthChangedEventHandler.cs: new
6842 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6844 * LinkButton.cs: Command impl
6846 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6848 * LinkButton.cs: Initial impl
6850 2005-07-08 Jackson Harper <jackson@ximian.com>
6852 * AdCreatedeventArgs.cs: New implementation.
6854 2005-07-08 Dick Porter <dick@ximian.com>
6857 * BorderStyle.cs: Added
6859 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6861 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
6863 2005-07-07 Miguel de Icaza <miguel@novell.com>
6865 * Xml.cs: New implementation. R00lz.
6867 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6869 * FontInfo.cs: Added and implemented.
6870 * Style.cs: Fixed behaviour discrepancies showed by tests
6872 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6874 * PlaceHolderControlBuilder.cs: new file
6876 * LabelControlBuilder.cs: New file
6878 * HyperLink.cs: use control builder; fix parsing stuff
6880 * HyperLinkControlBuilder.cs: new file
6882 * Panel.cs: misc fixes
6884 2005-07-07 Miguel de Icaza <miguel@novell.com>
6886 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
6888 * UnitConverter.cs: Add new file, learned from the
6889 System.Drawing.ColorConverter.
6891 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6893 * PlaceHolder.cs: New file. Seems to do nothing
6895 * Label.cs: Use my new statebag trick to reduce typing
6897 * HyperLink.cs: New file
6899 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6901 * Style.cs: Added and implemented.
6903 2005-07-06 Miguel de Icaza <miguel@novell.com>
6905 * FontUnit.cs: New file.
6907 * Unit.cs: New file.
6909 Added support for null and empty string constructors.
6911 2005-07-06 Ben Maurer <bmaurer@ximian.com>
6913 * Unit.cs: cctor not needed; static fields are 0 init'd by default
6915 * WebControl.cs: Kothari & Datye's book explains how these work.
6917 * IRepeatInfoUser.cs: Reimpl.
6919 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6921 * WebControl.cs: Added stub
6923 2005-07-05 Miguel de Icaza <miguel@novell.com>
6925 * Label.cs: First control.
6927 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
6929 * DataControlField.cs: Ignore the ShowHeader property when
6930 building the control's content. It is the resposability of
6931 the field container to decide if the header should be shown
6934 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
6937 * ImageFieldMode.cs:
6938 * DynamicImageParameterMode.cs:
6939 * TableViewMode.cs: Removed.
6943 * TableRowSection.cs:
6944 * AutoCompleteType.cs:
6945 * DayNameFormat.cs: Track changes in 2.0 api.
6947 * StringArrayConverter.cs: This class is 2.0 only.
6949 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
6953 * DetailsView.cs: Bind the control after creating all child
6955 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
6956 the correct methods.
6957 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
6958 in this class. This is done in DataBoundControl. All this fixes
6961 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6963 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
6964 FindByText. Closes bug #74205.
6966 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6968 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
6969 1 when there's a datasource and 0 pages. Closes bug #73864.
6971 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
6978 * MenuItemTemplateContainer.cs:
6979 * DetailsView.cs: Track changes in the IDataItemContainer interface.
6981 * CommandField.cs: Added CausesValidation property. Set that
6982 property value to all buttons of the field.
6984 * SqlDataSourceView.cs:
6985 * CollectionDataSource.cs:
6986 * XmlDataSourceView.cs: Properly initialize the base class.
6988 * SiteMapDataSource.cs:
6989 * SiteMapHierarchicalDataSourceView.cs:
6990 * SiteMapNodeItem.cs:
6991 * SiteMapDataSourceView.cs:
6992 * SiteMapPath.cs: Mostly implemented.
6994 * HierarchicalDataBoundControl.cs: Always bind the control when the
6995 page is loaded for the first time.
6997 * TreeView.cs: Properly bind the control when loaded from a callback.
6999 2005-05-21 Ben Maurer <bmaurer@ximian.com>
7001 * BaseDataList.cs: Caption is in 1.1 too, though not
7002 documented. Gonz owes me [more] ice cream. Yummmmm.
7004 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7006 * BaseDataList.cs: implemented 2.0 Caption property.
7008 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
7010 * TreeView.cs: Always render the startup script. This fixes
7013 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
7015 * WizardStepBase.cs:
7016 * WizardStep.cs: Added missing attributes.
7017 * Wizard.cs: Implemented missing methods and properties. It can now
7018 be considered feature complete.
7020 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7022 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
7023 the method if the data source was en empty IEnumerator. Fixes
7026 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
7030 * Menu.cs: Implemented some new properties from beta 2.
7032 * DataControlButton.cs: Render the ControlStyle if it
7036 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
7037 It will now generate an object creation, instead of a Parse call.
7039 * GridViewCommandEventArgs.cs: Added missing property.
7040 * SubMenuStyleCollection.cs: This class is not sealed.
7041 * MultiView.cs: Set Visible=false to all views that are not
7042 shown. This ensures that it's view state is saved.
7044 * BaseDataBoundControl.cs:
7045 * GridViewDeletedEventArgs.cs: Minor api fixes.
7047 * FormViewDeleteEventArgs.cs:
7048 * DetailsViewDeletedEventArgs.cs:
7049 * ListControl.cs: Fix warnings.
7053 * HotSpotCollection.cs
7056 * RectangleHotSpot.cs
7057 * WizardStepCollection.cs : Implemented.
7061 * Wizard.cs: Initial implementation.
7063 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
7065 * DataControlField.cs:
7069 * DataControlCommands.cs:
7070 * DetailsView.cs: Use constants to identify commands.
7072 * SubMenuStyle.cs: Use Unit instead of int for padding.
7073 * SubMenuStyleCollection.cs: Implemented.
7076 * Menu.cs: Added some missing methods and properties.
7079 * DataGridPagerStyle.cs: Fixed default value attributes.
7080 * ListControl.cs: Implemented IEditableTextControl interface.
7082 * MenuItemBinding.cs: Added Selectable property.
7083 * CustomValidator.cs: removed interface.
7085 * MenuItem.cs: Added support for custom binding.
7086 * DropDownList.cs: Moved text properties to base class.
7088 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7090 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
7092 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7094 * Calendar.cs: when the day is active, modify the text of the literal
7095 control that holds the number, not the text of the TableCell. Also call
7096 OnDayRender before updating that text. Fixes bug #74718.
7098 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
7100 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
7102 * DataControlFieldHeaderCell.cs: Save Scope in view state.
7103 Added AbbreviatedText property.
7104 * AutoGeneratedField.cs: The constructor should actually be internal.
7105 * DataGridItem.cs: Added implemented interface in 2.0.
7106 * DataControlFieldCollection.cs: Implemented CloneFields and
7110 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7112 * StringArrayConverter.cs:
7113 * Calendar.cs: warnings.
7115 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
7117 * FormViewDeleteEventArgs.cs:
7118 * FormViewInsertEventArgs.cs:
7119 * FormViewUpdateEventArgs.cs:
7120 * FormViewDeletedEventArgs.cs:
7121 * FormViewUpdatedEventArgs.cs:
7122 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
7125 * IButtonControl.cs:
7126 * Button.cs: Removed SoftKey property.
7128 * CheckBox.cs: Don't try to load post back data if the control
7132 * AutoGeneratedField.cs:
7133 * DataControlField.cs:
7135 * ButtonFieldBase.cs:
7139 * ButtonField.cs: Don't bind fields in Insert state.
7140 Implemented CreateField and CopyProperties.
7143 * DetailsView.cs: Removed some unneeded interfaces. Don't
7144 generate the field rows if there are no items in the data source.
7145 Don't get the current keys until the whole control has been
7148 * DetailsViewInsertedEventArgs.cs:
7149 * DataBoundControl.cs:
7150 * ObjectDataSourceView.cs: Made some methods private.
7153 * Menu.cs: Changed some properties from int to Unit.
7155 * DataControlButton.cs: javascript prefix is needed when raising
7156 the postback event from a link.
7158 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
7159 The result was wrong when the total data source count was 0.
7161 * FormView.cs: Implemented.
7162 * FormViewRow.cs: Implemented.
7165 * Localize.cs: Fixed base interface.
7167 * BaseDataBoundControl.cs: In DataBind() call the base class
7168 DataBind method, so the binding context is properly set.
7170 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
7172 * DetailsView.cs: Added some null checks.
7173 * TemplateField.cs: Implemented support for two-way bindings.
7175 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
7177 * DetailsView.cs: Implemented support for Insert operation.
7178 Added header and footer templates. Added missing style
7180 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
7181 to get filter values. Other minor fixes.
7182 * CommandField.cs: Properly render the Insert and New buttons.
7183 * ObjectDataSource.cs: Update the parameter collections after
7184 the page is loaded. This will fire the ParameterChanged event
7186 * DataBoundControl.cs: The OnDataSourceViewChanged method
7187 is called when the view changes, not when the datasource
7190 * DetailsViewInsertedEventArgs.cs:
7191 * DetailsViewInsertEventArgs.cs: Implement Values property.
7194 * AutoGeneratedField.cs
7197 Take into account the Insert mode.
7199 * ParameterCollection.cs: Implemented UpdateValues and fixed
7200 GetValues (values can't be cached because can change).
7201 * Parameter.cs: Detect value changes in GetValue, and fire
7202 the change event if needed. Removed unused ParameterValue
7203 property. Other fixes.
7205 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
7207 * DetailsView.cs: Initial implementation.
7208 * ObjectDataSourceView.cs: Notify changes in the parameters.
7209 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
7210 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
7211 Implemented some properties.
7212 * GridView.cs: Added null check in SelectedValue. Don't return null
7213 for empty DataKeyNames list.
7214 * DetailsViewRowCollection.cs: Implemented.
7215 * DetailsViewRow.cs: Implemented.
7216 * ButtonFieldBase.cs: By default button field don't have headers.
7217 * BoundField.cs: Don't bind header fields.
7219 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
7221 * ButtonField.cs: Get data item properties using TypeDescriptor.
7222 Made OnDataBindField private.
7223 * ObjectDataSourceView.cs: Implemented support for Delete and
7224 Insert operations, support for filtering and sorting,
7225 conflict detection, etc. It's now complete.
7226 * ObjectDataSource.cs: Completed most of functionality. Only
7227 caching support is missing.
7228 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
7229 * TreeNode.cs: Get data item properties using TypeDescriptor.
7230 * PagerSettings.cs: Flush.
7231 * ObjectDataSourceFilteringEventArgs.cs: New event args.
7232 * GridView.cs: Get data item properties using TypeDescriptor
7233 and cache them. Properly set descending order in the sort
7234 expression. In UpdateRow, make sure we get the old values
7235 before the control is bound again.
7236 * ImageField.cs: Implemented.
7237 * AutoGeneratedField.cs: Initialize the field's sort
7238 expression in the constructor.
7239 * MenuItem.cs: Get data item properties using TypeDescriptor.
7240 * BoundField.cs: Get data item properties using TypeDescriptor.
7241 * CheckBoxField.cs: Added missing attributes.
7242 * TemplateField.cs: Implemented.
7244 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7247 * FontUnitConverter.cs: fixed ConvertTo to work with target
7248 InstanceDescriptor and value as a string.
7250 * Unit.cs: culture might be null.
7254 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
7256 * ButtonField.cs: Mostly implemented.
7257 * DataControlFieldHeaderCell.cs: Implemented.
7258 * ObjectDataSourceView.cs: Initial implementation.
7259 * DataControlButton.cs: Added support for real buttons.
7260 * Label.cs, DataControlField.cs: Flush.
7261 * ObjectDataSource.cs: Initial implementation.
7262 * HiddenField.cs: Added class stub.
7263 * GridView.cs: Load autogenerated field properties before
7264 creating the children, to make sure that column info is ready.
7265 * ControlParameter.cs: Implemented Evaluate method.
7266 * ImageField.cs: Added class stub.
7267 * BoundField.cs: Added HtmlEncode property.
7268 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
7270 * CheckBoxField.cs: Mostly implemented.
7271 * TemplateField.cs: Added class stub.
7272 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
7273 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
7274 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
7276 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
7278 * DataControlField.cs: Added missing InsertVisible property.
7279 * AutoGeneratedFieldProperties.cs: Implemented.
7280 * PagerSettings.cs: Minor fix.
7281 * GridView.cs: Implemented support for autogenerated fields, templates,
7282 accessible headers. Implemented paging using PagedDataSource.
7283 Implemented missing overridable methods.
7284 * AutoGeneratedField.cs: Initial implementation.
7285 * BoundField.cs: Added ReadOnly property.
7286 * PagedDataSource.cs: Implemented 2.0 api.
7287 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
7288 cell class to be used by accessible headers.
7289 * TableCell.cs: Removed unneded constructor. If the cell is bound to
7290 a template, call the default RenderContents method.
7292 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7294 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
7295 event when loading the view state. Fixes #73746.
7297 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7299 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
7301 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
7303 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
7305 * CommandField.cs: Mostly implemented.
7306 * Menu.cs: Use callback methods moved to ClientScriptManager.
7307 * DataControlButton.cs: Internal control used to implement buttons
7308 for navigating in data bound controls.
7309 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
7310 to render the column headers.
7311 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
7312 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
7313 Don't use Page.GetPostBackClientEvent
7314 since it is deprecated in 2.0.
7315 * GridView.cs: Implemented some several interfaces.
7316 Implemented support client sorting and page navigation (using callbacks).
7317 Implemented the autogenerated command column using the new CommandField
7319 * ButtonFieldBase.cs: Implemented.
7320 * GridView.js: New helper script to support client side sorting and
7321 paging in the grid view.
7323 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
7325 * DataKey.cs: Implemented.
7326 * XmlDataSourceView.cs: Implemented support for row pagging.
7327 * Table.cs: Fixed attribute value.
7328 * DataControlField.cs: Added support for sorting headers.
7329 * ChildTable.cs: Created.
7330 * ListControl.cs: Delay selection assignment, since control state
7331 is now loaded before view state.
7332 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
7333 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
7334 several missing properties.
7335 * PagerSettings.cs: Fully implemented.
7336 * BaseDataList.cs: Added null check.
7337 * GridView.cs: Implemented more functionality.
7338 * BoundField.cs: Added support for cell editing.
7339 * StringArrayConverter.cs: Implemented.
7340 * DataKeyArray.cs: Implemented.
7341 * BaseDataBoundControl.cs: Reset the requires binding flag before
7342 executing the query. This avoids recursive query calls.
7343 * GridViewRow.cs: Handler commands raised from row childs.
7345 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
7347 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
7348 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
7349 it is possible to query for properties fore each data item.
7350 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
7351 when loading its view state.
7352 * DataControlField.cs: Implement properties using a StateBag.
7353 * XmlDataSourcePropertyDescriptor.cs: Implemented.
7354 * PagerSettings.cs: Mostly implemented.
7355 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
7356 * DataBoundControl.cs: Added null check.
7357 * GridView.cs: Initial implementation.
7358 * CompositeDataBoundControl.cs: Implemented.
7359 * BoundField.cs: Initial implementation.
7360 * GridViewRowCollection.cs: Initial implementation.
7361 * DataControlFieldCollection.cs: Initial implementation.
7362 * DataControlFieldCell.cs: Fixed control tag.
7363 * GridViewRow: Initial implementation.
7364 * XmlDataSourceNodeDescriptor.cs: Implemented.
7366 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7368 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
7369 is zero, use the TagName no matter its value. Fixes bug #72415.
7371 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
7373 * Style.cs: Method name fix.
7374 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
7375 * BaseCompareValidator.cs: Method signature fix.
7376 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
7377 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
7378 * BulletedList.cs: Added missing method.
7379 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
7381 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
7383 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
7384 * RadioButton.cs: Added missing 2.0 methods.
7385 * ListItem.cs: Added Enabled property.
7386 * MailMessageEventArgs.cs: Use the correct message class.
7387 * ListControl.cs: Implemented missing properties and support for
7388 control state. Implemented base RenderContents method.
7389 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
7391 * BaseCompareValidator.cs: Implemented methods that support conditional
7392 use of the invariant culture.
7393 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
7394 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
7395 It takes a DbCommand instead of a IDbCommand.
7396 * GridViewSortEventArgs.cs: Added SortDirection property.
7397 * TextBox.cs, CheckBoxList.cs: Added protected version of
7398 IPostBackDataHandler methods.
7399 * RadioButtonList.cs: Added protected version of
7400 IPostBackDataHandler and IRepeatInfoUser methods.
7401 * Repeater.cs: Updated some method names.
7402 * DropDownList.cs: Added protected version of
7403 IPostBackDataHandler methods. Reuse RenderContents from base class.
7404 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
7405 * GridViewUpdatedEventArgs.cs: Fix typo.
7406 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
7407 Reuse RenderContents from base class.
7408 * BaseDataBoundControl.cs: Several fixes.
7409 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
7411 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7413 * CheckBoxList.cs: Fix build.
7415 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7417 * Button.cs: Use validation group when validating page.
7418 * XmlDataSourceView.cs: Implemented ExecuteSelect.
7419 * Menu.cs: Minor fix.
7420 * CheckBox.cs: Added 2.0 properties and methods.
7421 * BaseDataList.cs: Always databind the control if view state
7423 * DataList.cs: In 2.0, use control state to save the selected index.
7424 * DetailsViewUpdatedEventArgs.cs: Fix typo.
7425 * CustomValidator.cs: Implement IStaticTextControl interface.
7426 * CheckBoxList.cs: Added missing 2.0 methods.
7427 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
7429 * XmlDataSource.cs: Return childs of DocumentElement, not the root
7431 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
7432 Implemented 2.0 API.
7435 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
7437 * Button.cs: Implemented all missing 2.0 features.
7438 * Table.cs: Render the table caption, when specified.
7439 * Calendar.cs: Implemented most of missing 2.0 features.
7440 * TableCell.cs: Fixed attributes.
7442 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7444 * ControlPropertyNameConverter.cs: Added file.
7446 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7448 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
7449 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
7450 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
7451 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
7452 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
7453 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
7454 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
7455 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
7456 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
7457 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
7458 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
7459 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
7460 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
7461 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
7462 DataGridSortCommandEventArgs.cs, Repeater.cs,
7463 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
7464 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
7465 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
7466 CompareValidator.cs, HierarchicalDataBoundControl.cs,
7467 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
7468 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
7469 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
7470 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
7471 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
7472 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
7473 AdCreatedEventArgs.cs:
7475 General 2.0 API fixes: missing attributes, incorrect inheritance,
7476 missing sealed keywords, wrong signatures, etc.
7478 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
7480 * Table.cs: Added some 2.0 properties.
7481 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
7483 * BaseValidator.cs: Fix warning.
7484 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
7486 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
7488 * Menu.cs: Rendering fixes.
7490 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
7492 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
7493 ContentPlaceHolderBuilder.cs: Implemented.
7495 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7497 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
7498 attributes that are meant to be in the input tag in their place.
7500 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
7502 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
7503 generates invalid html).
7505 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
7507 * Menu.cs: Implemented most of missing properties. Added support for
7508 item templates. Implemented menu scrolling.
7509 * MenuItemBinding.cs: Implemented most of missing properties.
7510 * MenuItem.cs: Implemented most of missing properties.
7511 * Menu.js: Implemented scrolling and menu reposition into screen.
7512 * MenuItemTemplateContainer.cs: Implemented.
7513 * SubMenuStyle.cs: Implemented.
7515 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
7517 * Style.cs: Implemented RegisteredCssClass property. Added
7518 CopyTextStylesFrom method, which copies styles that only apply to text.
7519 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
7520 in the page stylesheet. Added support for ItemSpacing property.
7521 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
7523 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
7525 * Style.cs: Generate styles using a CssStyleCollection, so the code can
7526 be reused for the 2.0 FillStyleAttributes method.
7527 * Menu.cs: Implemented more properties and events. Rendering is very
7529 * MenuItem.cs: Added PopOutImageUrl property.
7530 * Menu.js: More work on submenu management.
7532 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
7534 * Menu.cs: Implemented basic rendering. Added some missing properties.
7535 * MenuItem.cs: Improved implementation of Depth.
7536 * Unit.cs: Added serializable attribute.
7537 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
7538 so it can be reused.
7539 * Menu.js: New script to support he Menu control.
7541 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
7543 * MenuEventArgs.cs: Changed to sealed.
7544 * TreeView.cs: Minor fix.
7545 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
7546 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
7547 MenuItemStyleCollection.cs: Initial Menu code.
7549 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
7551 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
7552 Implemented SetDirtyObject.
7553 * Style.cs: Implemented SetDirty().
7554 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
7555 * TreeNode.cs: Added missing attributes added support for
7556 PopulateOnDemand. Added some missing property bindings.
7557 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
7558 to newly added elements to make sure al new data is saved.
7559 * TreeView.js: Implemented support for client population of nodes.
7560 * TreeNodeStyle.cs: Added missing attributes.
7561 * TreeView.cs: Implemented support for PopulateNodesFromClient and
7562 PopulateOnDemand. Improved rendering.
7564 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
7566 * DataControlField.cs:
7567 * DataControlFieldCell.cs: Initial implementation.
7569 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
7571 * TreeNodeBindingCollection.cs: Implemented.
7572 * TreeNodeBinding.cs: Implemented.
7573 * TreeNode.cs: Added support for data binding.
7574 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
7575 TreeView_Default_NoExpand.gif: Moved to resources directory.
7576 * ListControl.cs: Fixed api.
7577 * XmlHierarchicalEnumerable.cs: Made internal.
7578 * DataBoundControl.cs: Modified api to match latest ms.net.
7579 * TreeView.js: New javascript file to support TreeView in the client.
7580 * XmlDataSource.cs: Added missing attributes.
7581 * HierarchicalDataBoundControl.cs: Mostly implemented.
7582 * BaseDataBoundControl.cs: Mostly implemented.
7583 * XmlHierarchyData.cs: Made internal.
7584 * TreeView.cs: Mostly implemented. The major missing feature is
7585 client side tree population.
7587 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
7590 * DataBountControl.cs:
7591 * Repeater.cs: Added SelectArguments property and updated.
7592 * SiteMapDataSourceView.cs:
7593 * SqlDataSourceView.cs:
7594 * XmlDataSourceView.cs: Removed extra method, which was there to
7595 keep things compiling.
7597 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
7599 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
7600 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
7601 TreeView.cs: Initial implementation.
7602 * DataBoundControl.cs: Set the correct base class.
7603 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
7604 * TreeNodeSelectAction.cs: Formatting.
7605 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
7606 TreeView_Default_NoExpand.gif: TreeView images.
7608 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
7610 * SqlDataSourceView.cs: Updated methods and added one property.
7612 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7614 * AccessDataSource.cs:
7615 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
7616 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7618 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
7619 * SqlDataSourceView.cs: Updated constructor.
7621 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7623 * AccessDataSourceView.cs: Added new class.
7625 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7627 * SqlDataSourceView.cs: Corrected exception handling in
7628 ExecuteSelect method.
7630 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
7632 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
7633 * SiteMapDataSourceView.cs: Minor fix.
7635 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7637 * SqlDataSourceView.cs: Updated ExecuteSelect method.
7639 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7641 * SqlDataSource.cs: Corrected Select method.
7643 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7645 * SqlDataSource.cs: Updated Select method definition.
7646 * SqlDataSourceStatusEventArgs.cs: Updated class.
7648 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
7650 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
7651 from DataSourceView.cs).
7653 2004-11-10 Raja R Harinath <rharinath@novell.com>
7655 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
7657 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
7659 * SqlDataSource.cs: Corrected method calls.
7660 * SqlDataSourceView.cs: Partial implementation of few methods.
7662 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7664 * ListItemCollection.cs: fixed bug when indexing changed elements in
7665 LoadViewState. Patch from Alois Bělaška.
7667 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
7669 * SiteMapDataSourceView.cs:
7670 * SqlDataSourceView.cs:
7671 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
7672 base class, DataSourceView. Changes are to keep things compiling.
7674 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
7676 * SiteMapDataSourceView.cs: Corrected class definition and updated.
7677 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
7680 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
7682 * AdRotator.cs: Updated.
7684 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
7686 * AccessDataSource.cs: Updated.
7688 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7690 * ValidatedControlConverter.cs: Updated.
7692 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7694 * AssociatedControlConverter.cs: Implemented.
7696 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7698 * ControlIDConverter.cs: Initial implementation.
7700 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7702 * IButtonControl.cs: Corrected property name.
7704 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7706 * ParameterCollection.cs: Updated.
7708 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7710 * Parameter.cs: Updated and completed implementation.
7712 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7714 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
7717 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7719 * AccessDataSource.cs: Initial implementation.
7721 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
7723 * DataControlRowState.cs:
7725 * TreeNodeTypes.cs: Added attribute.
7726 * DataControlRowType.cs:
7728 * SortDirection.cs: Corrected enumeration values.
7729 * TableRowSection.cs: Added new enumeration.
7730 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
7732 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7734 * TableStyle.cs: don't render empty 'rules' attribute (again).
7736 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
7738 * FormViewUpdatedEventArgs.cs: Spelling mistake.
7740 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
7742 * Literal.cs: Added new method Focus().
7744 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7746 * RadioButton.cs: fix GroupName when the control is inside a
7747 NamingContainer different from Page. Closes bug #65586.
7749 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
7751 * Localize.cs: Added new class.
7753 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
7755 * CompositeControl.cs : Completed
7756 * Login.cs : Initial implementation.
7758 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7760 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
7761 don't call MapPathSecure on the content itself.
7763 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
7764 document is checked at parse time and will be checked again at run time.
7768 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
7770 * AuthenticateEventHandler.cs:
7771 * CreateUserErrorEventArgs.cs:
7772 * CreateUserErrorEventHandler.cs:
7773 * DetailsViewCommandEventHandler.cs:
7774 * DetailsViewDeleteEventArgs.cs:
7775 * DetailsViewDeleteEventHandler.cs:
7776 * DetailsViewDeletedEventArgs.cs:
7777 * DetailsViewDeletedEventHandler.cs:
7778 * DetailsViewInsertEventArgs.cs:
7779 * DetailsViewInsertEventHandler.cs:
7780 * DetailsViewInsertedEventArgs.cs:
7781 * DetailsViewInsertedEventHandler.cs:
7782 * DetailsViewModeEventArgs.cs:
7783 * DetailsViewModeEventHandler.cs:
7784 * DetailsViewPageEventHandler.cs:
7785 * DetailsViewUpdateEventArgs.cs:
7786 * DetailsViewUpdateEventHandler.cs:
7787 * DetailsViewUpdatedEventArgs.cs:
7788 * DetailsViewUpdatedEventHandler.cs:
7789 * FormViewCommandEventHandler.cs:
7790 * FormViewDeleteEventArgs.cs:
7791 * FormViewDeleteEventHandler.cs:
7792 * FormViewDeletedEventArgs.cs:
7793 * FormViewDeletedEventHandler.cs:
7794 * FormViewInsertEventArgs.cs:
7795 * FormViewInsertEventHandler.cs:
7796 * FormViewInsertedEventArgs.cs:
7797 * FormViewInsertedEventHandler.cs:
7798 * FormViewModeEventHandler.cs:
7799 * FormViewPageEventHandler.cs:
7800 * FormViewUpdateEventArgs.cs:
7801 * FormViewUpdateEventHandler.cs:
7802 * FormViewUpdatedEventArgs.cs:
7803 * FormViewUpdatedEventHandler.cs:
7804 * GridViewCancelEditEventArgs.cs:
7805 * GridViewCancelEditEventHandler.cs:
7806 * GridViewCommandEventHandler.cs:
7807 * GridViewDeleteEventArgs.cs:
7808 * GridViewDeleteEventHandler.cs:
7809 * GridViewDeletedEventArgs.cs:
7810 * GridViewDeletedEventHandler.cs:
7811 * GridViewEditEventHandler.cs:
7812 * GridViewPageEventHandler.cs:
7813 * GridViewRowEventHandler.cs:
7814 * GridViewSelectEventHandler.cs:
7815 * GridViewSortEventArgs.cs:
7816 * GridViewSortEventHandler.cs:
7817 * GridViewUpdateEventArgs.cs:
7818 * GridViewUpdateEventHandler.cs:
7819 * GridViewUpdatedEventArgs.cs:
7820 * GridViewUpdatedEventHandler.cs:
7821 * ImageMapEventHandler.cs:
7822 * MailMessageEventHandler.cs:
7823 * MenuEventHandler.cs:
7824 * ObjectDataSourceDisposingEventHandler.cs:
7825 * ObjectDataSourceEventHandler.cs:
7826 * ObjectDataSourceMethodEventArgs.cs:
7827 * ObjectDataSourceMethodEventHandler.cs:
7828 * ObjectDataSourceSelectingEventArgs.cs:
7829 * ObjectDataSourceSelectingEventHandler.cs:
7830 * ObjectDataSourceStatusEventArgs.cs:
7831 * ObjectDataSourceStatusEventHandler.cs:
7832 * SendMailErrorEventHandler.cs:
7833 * SiteMapNodeItemEventHandler.cs:
7834 * SqlDataSourceSelectingEventArgs.cs:
7835 * SqlDataSourceSelectingEventHandler.cs:
7836 * TreeNodeEventHandler.cs:
7837 * WizardNavigationEventArgs.cs:
7838 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
7839 corrections and removing "sealed" access specifier from *EventHandler.cs
7841 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
7843 * Literal.cs: Added new attributes and property for .Net 2.0
7845 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
7847 * GridViewDeleteEventArgs.cs: Removed extra code.
7849 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
7851 * SendMailErrorEventArgs.cs:
7852 * SendMailErrorEventHandler.cs:
7853 * SiteMapNodeItemEventArgs.cs:
7854 * SiteMapNodeItemEventHandler.cs:
7855 * SqlDataSourceSelectingEventArgs.cs:
7856 * SqlDataSourceSelectingEventHandler.cs:
7857 * TreeNodeEventArgs.cs:
7858 * TreeNodeEventHandler.cs:
7859 * WizardNavigationEventArgs.cs:
7860 * WizardNavigationEventHandler.cs: Added new delegates.
7862 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7864 * ImageMapEventArgs.cs:
7865 * ImageMapEventHandler.cs:
7866 * MailMessageEventArgs.cs:
7867 * MailMessageEventHandler.cs:
7869 * MenuEventHandler.cs:
7870 * ObjectDataSourceDisposingEventArgs.cs:
7871 * ObjectDataSourceDisposingEventHandler.cs:
7872 * ObjectDataSourceEventArgs.cs:
7873 * ObjectDataSourceEventHandler.cs:
7874 * ObjectDataSourceMethodEventArgs.cs:
7875 * ObjectDataSourceMethodEventHandler.cs:
7876 * ObjectDataSourceSelectingEventArgs.cs:
7877 * ObjectDataSourceSelectingEventHandler.cs:
7878 * ObjectDataSourceStatusEventArgs.cs:
7879 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
7881 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7883 * DetailsViewCommandEventArgs.cs:
7884 * FormViewCommandEventArgs.cs:
7885 * GridViewCommandEventArgs.cs: Corrected constructor.
7887 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7889 * GridViewCancelEditEventArgs.cs:
7890 * GridViewCancelEditEventHandler.cs:
7891 * GridViewCommandEventArgs.cs:
7892 * GridViewCommandEventHandler.cs:
7893 * GridViewDeletedEventArgs.cs:
7894 * GridViewDeletedEventHandler.cs:
7895 * GridViewDeleteEventArgs.cs:
7896 * GridViewDeleteEventHandler.cs:
7897 * GridViewEditEventArgs.cs:
7898 * GridViewEditEventHandler.cs:
7899 * GridViewPageEventArgs.cs:
7900 * GridViewPageEventHandler.cs:
7901 * GridViewRowEventArgs.cs:
7902 * GridViewRowEventHandler.cs:
7903 * GridViewSelectEventArgs.cs:
7904 * GridViewSelectEventHandler.cs:
7905 * GridViewSortEventArgs.cs:
7906 * GridViewSortEventHandler.cs:
7907 * GridViewUpdatedEventArgs.cs:
7908 * GridViewUpdatedEventHandler.cs:
7909 * GridViewUpdateEventArgs.cs:
7910 * GridViewUpdateEventHandler.cs: Added new delegates.
7912 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7914 * FormViewUpdatedEventArgs.cs: Corrected constructor.
7916 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7918 * FormViewCommandEventArgs.cs: Corrected name of class.
7920 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7922 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
7925 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7927 * FormViewCommandEventArgs.cs:
7928 * FormViewCommandEventHandler.cs:
7929 * FormViewDeletedEventArgs.cs:
7930 * FormViewDeletedEventHandler.cs:
7931 * FormViewDeleteEventArgs.cs:
7932 * FormViewDeleteEventHandler.cs:
7933 * FormViewInsertedEventArgs.cs:
7934 * FormViewInsertedEventHandler.cs:
7935 * FormViewInsertEventArgs.cs:
7936 * FormViewInsertEventHandler.cs:
7937 * FormViewModeEventArgs.cs:
7938 * FormViewModeEventHandler.cs:
7939 * FormViewPageEventArgs.cs:
7940 * FormViewPageEventHandler.cs:
7941 * FormViewUpdatedEventArgs.cs:
7942 * FormViewUpdatedEventHandler.cs:
7943 * FormViewUpdateEventArgs.cs:
7944 * FormViewUpdateEventHandler.cs: Added new delegates.
7946 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7948 * DetailsViewCommandEventArgs.cs:
7949 * DetailsViewCommandEventHandler.cs:
7950 * DetailsViewDeletedEventArgs.cs:
7951 * DetailsViewDeletedEventHandler.cs:
7952 * DetailsViewDeleteEventArgs.cs:
7953 * DetailsViewDeleteEventHandler.cs:
7954 * DetailsViewInsertedEventArgs.cs:
7955 * DetailsViewInsertedEventHandler.cs:
7956 * DetailsViewInsertEventArgs.cs:
7957 * DetailsViewInsertEventHandler.cs:
7958 * DetailsViewModeEventArgs.cs:
7959 * DetailsViewModeEventHandler.cs:
7960 * DetailsViewPageEventArgs.cs:
7961 * DetailsViewPageEventHandler.cs:
7962 * DetailsViewUpdatedEventArgs.cs:
7963 * DetailsViewUpdatedEventHandler.cs:
7964 * DetailsViewUpdateEventArgs.cs:
7965 * DetailsViewUpdateEventHandler.cs: Added new delegates.
7967 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
7969 * AuthenticateEventArgs.cs:
7970 * AuthenticateEventHandler.cs:
7971 * CreateUserErrorEventArgs.cs:
7972 * CreateUserErrorEventHandler.cs: Added new delegates.
7974 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
7976 * IButtonControl.cs:
7977 * ICallbackContainer.cs:
7978 * ICompositeControlDesignerAccessor.cs:
7979 * IPostBackContainer.cs: Added new interfaces.
7981 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
7984 * AutoCompleteType.cs:
7985 * ContentDirection.cs:
7986 * DataControlCellType.cs:
7987 * DataControlRowState.cs:
7988 * DataControlRowType.cs:
7989 * DetailsViewMode.cs:
7990 * DynamicImageParameterMode.cs:
7993 * ImageFieldMode.cs:
8000 * SiteMapNodeItemType.cs:
8001 * SiteMapNodeType.cs:
8002 * SiteMapViewType.cs:
8004 * TableCaptionAlign.cs:
8005 * TableHeaderScope.cs:
8007 * TreeNodeSelectAction.cs:
8009 * TreeViewImageSet.cs:
8010 * WizardStepType.cs: Added enumerations
8012 2004-08-02 Duncan Mak <duncan@ximian.com>
8015 * LoginFailureAction.cs:
8016 * LoginTextLayout.cs: Added enumerations.
8018 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8020 * BaseValidator.cs: in Validate(), when the control is not visible or
8021 enabled, return inmediately after setting IsValid to true. Fixes bug
8024 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8026 * DataList.cs: s/HasChildren/HasControls()/.
8028 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8030 * DataList.cs: style.
8032 2004-07-27 Alon Gazit <along@mainsoft.com>
8033 * DataList.cs: Replaced foreach statement with for statement,
8034 in order to improve performence.
8036 2004-07-27 Alon Gazit <along@mainsoft.com>
8037 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
8039 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
8040 switch statements in order to improve performance.
8042 2004-06-10 Alon Gazit <along@mainsoft.com>
8043 * WebControl.cs: fixed LoadViewState().
8044 Creates new attributes state bag only when the current is null.
8046 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8048 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
8050 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8052 * Calendar.cs: set the title class attribute if we have it. Fixes bug
8055 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8057 * Style.cs: added SetBit.
8059 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8062 * CompareValidator.cs:
8065 * WebControl.cs: Added protected missing members and attributes.
8067 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8069 * TextBox.cs: don't save the Text if in ViewState if it's a password.
8070 Save it if the control is not visible or not enabled. Fixes bug #58497.
8072 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8074 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
8077 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
8079 * SqlDataSourceCommandEventArgs:
8080 * XmlDataSource.cs : removed temporary workarounds for CLS
8081 compliance as System.Data is now CLS compliant
8083 2004-05-06 Alon Gazit <along@mainsoft.com>
8084 * WebControl.cs: fixed LoadViewState() and SaveViewState().
8085 Before the change the Enabled property wasn't updated when a postback
8087 * ListControl.cs: fixed SelectedIndex property implementation.
8088 Prevents throwing ArgumentOutOfRangeException (that should not be
8089 thrown), when the list is empty.
8091 2004-04-28 Alon Gazit <along@mainsoft.com>
8092 * WebControl.cs: fixed LoadViewState().
8093 Always loading the saved attributes collection.
8095 2004-04-18 Alon Gazit <along@mainsoft.com>
8096 * Repeater.cs: fixed InstantiateItem() and DataSource property.
8097 The change in DataSource prevents throwing ArgumentException while
8098 setting property value to null.
8099 The change in InstantiateItem() prevents NullReferenceException.
8101 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
8103 * BaseValidator.cs: Store Display property in the correct ViewState
8104 property. Don't render anything if Display is ValidatorDisplay.None.
8106 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
8108 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
8109 since it is already a physical path. Fixes bug #55334.
8111 2004-02-13 Jackson Harper <jackson@ximian.com>
8113 * Calendar.cs: Match MS postback data. This allows sites that
8114 parse the postback data manually to work.
8116 2004-02-04 Alon Gazit <along@mainsoft.com>
8117 * EditCommandColumn.cs: fixed InitializeCell().
8118 The rendered LiteralControl should contain " " and not " ".
8120 2004-02-01 Alon Gazit <along@mainsoft.com>
8122 * DataGrid.cs: fixed a problem in the paging mechanism in the method
8124 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
8125 while clicking the "..." link in the second page.
8127 2004-01-28 Alon Gazit <along@mainsoft.com>
8129 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
8131 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8133 * Calendar.cs: when rendering days, add a LiteralControl containing the
8134 day before OnDayRender is called. Only generate the default links for
8135 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
8137 2004-01-21 Martin Baulig <martin@ximian.com>
8139 * XmlHierarchyData.cs: Make this compile with csc.
8141 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
8142 accessor since the base class doesn't have one.
8144 2004-01-18 Alon Gazit <along@mainsoft.com>
8146 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
8148 2004-01-18 Alon Gazit <along@mainsoft.com>
8150 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
8151 Property default value.
8152 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
8153 Property default value.
8155 2004-01-15 Alon Gazit <along@mainsoft.com>
8157 * RadioButtonList.cs: RepeatLayout property should affect the rendered
8160 2004-01-15 Alon Gazit <along@mainsoft.com>
8161 * FontInfo.cs: Add validation check to Size property.
8163 2004-01-07 Alon Gazit <along@mainsoft.com>
8164 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8165 merge the column's style to the cell's style and not to
8166 the item's(row) style.
8168 2004-01-04 Alon Gazit <along@mainsoft.com>
8169 * RangeValidator.cs: Fixed ControlPropertiesValid().
8171 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8173 * Xml.cs: mono-stylized and removed warnings.
8175 2004-1-1 Alon Gazit <along@mainsoft.com>
8176 * RadioButtonList.cs: update RenderItem() so that each RadioButton
8177 is enabled or disabled like the RadioButtonList.
8178 * CheckBoxList.cs: update RenderItem() so that each CheckBox
8179 is enabled or disabled like the CheckBoxList.
8181 2004-1-1 Alon Gazit <along@mainsoft.com>
8182 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8183 The Header or Footer Style shouldn't merge with the cells Style.
8185 2004-1-1 Alon Gazit <along@mainsoft.com>
8186 * DataGridColumn.cs: Headers and Footers are initialized
8187 with the relevant Style object.
8189 2003-12-30 Alon Gazit <along@mainsoft.com>
8190 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8191 DoHorizontalRendering().
8192 Current implementation produces few extra html tags.
8194 2003-12-29 Alon Gazit <along@mainsoft.com>
8196 * CheckBox.cs: change the implementation of LoadPostData.
8197 Currently, while the AutoPostBack property equals true ,
8198 it isn't possible to perform uncheck.
8200 2003-12-19 Jackson Harper <jackson@ximian.com>
8202 * TableCell.cs: Setting a cells text should clear its control
8203 collection as per la specification. This fixes bug #51825.
8205 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8207 * DataGridColumn.cs: stylized LoadViewState.
8208 * DataGridColumnCollection.cs: when TrackViewState is called, also
8209 call it on all the existing columns. Fixes bug #52334.
8211 2003-12-18 Alon Gazit <along@mainsoft.com>
8213 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
8216 2003-12-18 Alon Gazit <along@mainsoft.com>
8218 * TableStyle.cs: merge TableStyle properties when Style is empty.
8220 2003-12-16 Alon Gazit <along@mainsoft.com>
8222 * HyperLink.cs: Change Text property implementation. in MS when the Text
8223 property is set, all the controls in the HyperLink are being deleted.
8224 This fixes bug #52239.
8226 2003-12-15 Alon Gazit <along@mainsoft.com>
8227 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8228 DoHorizontalRendering().
8229 Both methods add additional empty table row in the head of each item
8230 table when the variable named isTable equals true (happenes with the
8231 default instantiation of RepeatInfo). These additional rows should be
8232 added when isTable equals false.
8233 This fixes bug #52225.
8235 2003-12-15 Alon Gazit <along@mainsoft.com>
8237 * RepeatInfo.cs: Fixed DoVerticalRendering() and
8238 DoHorizontalRendering().
8239 Both methods add to rendered Header a colspan attribute according to the
8240 rows count. after the change the colspan is added according to the
8243 2003-12-15 Alon Gazit <along@mainsoft.com>
8244 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
8245 In .NET if the checkbox is disabled ,its text appears disabled too.
8246 In Mono the text appears enabled. the fix is in Render().
8247 This fixes bug #52180.
8249 2003-12-15 Alon Gazit <along@mainsoft.com>
8250 * Repeater.cs: Change the implementation of CreateControlHierarchy().
8251 The current implementation renders extra Header and footer
8252 without Repeater.DataSource assign.
8253 This fixes bug #52179.
8255 2003-12-15 Alon Gazit <along@mainsoft.com>
8256 * DataGrid.cs: Change the implementation of the property
8257 BackImageUrl. The current implementation has no influence
8258 on the rendered Html.
8260 2003-12-15 Alon Gazit <along@mainsoft.com>
8261 * WebControl.cs: Change the implementation of the property
8262 Enabled. Before the change the WebControl also looked at
8263 parent.Enabled . fixed bug #52171.
8265 2003-12-11 Jackson Harper <jackson@ximian.com>
8267 * RepeatInfo.cs: When rendering vertically figure out how many
8268 colmns are not going to be filled in in the last row, and adjust
8269 things accordingly. This fixes bug #51863.
8271 2003-12-10 Alon Gazit <along@mainsoft.com>
8272 * TableRow.cs: Change the implementation of the properties
8273 HorizontalAlign and VerticalAlign. The current implementation
8274 has no influence on the rendered Html.
8276 2003-12-10 Alon Gazit <along@mainsoft.com>
8277 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
8278 property's set method.
8280 2003-12-09 Jackson Harper <jackson@ximian.com>
8282 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
8283 Increment counter when moving to start. Fixes bug #51926.
8285 2003-12-08 Jackson Harper <jackson@ximian.com>
8287 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
8288 Benjamin Jemlich. Fixes bug #51823.
8290 2003-12-07 Alon Gazit <along@mainsoft.com>
8291 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
8292 property is set to false. Fixes bug #58120.
8294 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8296 * TableItemStyle.cs: merge TableItemStyle properties when Style is
8297 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
8299 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8301 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
8304 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8306 * WebControl.cs: don't create the attributes when GetAttribute is
8309 2003-12-01 Jackson Harper <jackson@ximian.com>
8311 * WebControl.cs: Only allow access keys to be null or a single
8312 char. Patch by Alon Gazit <along@mainsoft.com>.
8314 2003-11-30 Jackson Harper <jackson@ximian.com>
8316 * CheckBoxList.cs: A checkbox will have null post data if it is
8317 unselected. This fixes bug #51516.
8319 2003-11-29 Jackson Harper <jackson@ximian.com>
8321 * DataGrid.cs: Display paging controls even when there is no
8322 data. Path by Mohammad DAMT. Fixes bug #51487.
8324 2003-11-29 Jackson Harper <jackson@ximian.com>
8326 * DataGrid.cs: Call TrackViewState when loading bound columns view
8327 state. So that their state is saved. This fixes bug #51424. Also
8330 2003-11-26 Jackson Harper <jackson@ximian.com>
8332 * BaseDataList.cs: Change && to || We will call that a typo so no
8333 one gets embarrased.
8335 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8337 * BaseDataList.cs: allow setting null as Datasource.
8339 * DataGrid.cs: keep autogenerated columns in the ViewState.
8341 Patches by Alon Gazit <along@mainsoft.com>.
8343 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8345 * SqlDataSource*: Implement almost everything. Data access is
8348 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8350 * Calendar.cs (SaveViewState):
8351 - We were allocating a 11 item array, we only used 10 items,
8352 so only allocate 10.
8353 - We only need to save the selected dates if there are any.
8354 * DataGrid.cs (SaveViewState):
8355 * DataGridColumn.cs (SaveViewState):
8356 * DataGridColumnCollection.cs (SaveViewState):
8357 - Only return the array if there is anything in it
8358 * Style.cs (SaveViewState):
8359 - Only save the bits if there were changes.
8360 * WebControl.cs (SaveViewState), (LoadViewState):
8361 - Don't save Enabled into the viewstate here, we already
8362 do it in the property. This just caused *EVERY* control
8363 to have a non-null state, taking up lots of extra room
8365 - The style will always be created with this control's
8366 viewstate, so the style will always return null for the
8367 viewstate. As such, we do not need to store it. We can
8368 also reduce the triplet to a pair because of this.
8370 2003-11-22 Jackson Harper <jackson@ximian.com>
8372 * ValidationSummary.cs: Fix number of messages and message array computation.
8374 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8376 * Xml.cs: Corrected attribute
8377 * XmlBuilder.cs: Added
8379 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8381 * Xml.cs: class status based fixes.
8383 2003-11-19 Jackson Harper <jackson@ximian.com>
8385 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
8387 2003-11-19 Jackson Harper <jackson@ximian.com>
8389 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
8390 teh applications base directory. This fixes bug #51092.
8392 2003-11-18 Todd Berman <tberman@gentoo.org>
8394 * ControlParameter.cs:
8395 * CookieParameter.cs:
8397 * QueryStringParameter.cs:
8398 * SessionParameter.cs: added public .ctor ()
8399 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
8400 and handling, as well as internal ParameterValue for easy access.
8401 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
8402 * ParameterCollection.cs: implementation redux.
8404 2003-11-18 Todd Berman <tberman@gentoo.org>
8406 * ParameterCollection.cs: Implemented
8407 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
8408 ToString () now matches asp.net
8410 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
8412 * ControlParameter.cs:
8413 * CookieParameter.cs:
8416 * QueryStringParameter.cs: New v2 files. Mostly
8417 implemented, still need a few methods.
8419 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8421 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
8422 Gazit <along@mainsoft.com>.
8424 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8426 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
8427 Patch by Alon Gazit <along@mainsoft.com>.
8429 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8431 * DataBoundControl.cs: Implement
8432 * ListControl.cs: inherit from the above.
8433 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
8435 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8440 * Repeater.cs: add v2 databinding stuff
8441 * XmlDataSource.cs: make it load the xml.
8443 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8446 * XmlDataSourceView.cs:
8447 * XmlHierarchicalDataSourceView.cs:
8448 * XmlHierarchicalEnumerable.cs:
8449 * XmlHierarchyData.cs: Implement
8451 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
8453 * SiteMapDataSourceView.cs: Implement.
8455 2003-11-07 Jackson Harper <jackson@ximian.com>
8457 * ImageButton.cs: This is a workaround for bug #49819. It appears
8458 that the .x and .y values are not being posted, and only the x
8459 value is being posted with the ctrl's id as the key.
8461 2003-11-07 Jackson Harper <jackson@ximian.com>
8463 * DataGrid.cs (CreateControlHierarchy): Current page index is
8464 alolowed to equal page count. This prevents an exception being
8465 thrown when both are zero.
8467 2003-11-06 Jackson Harper <jackson@ximian.com>
8469 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
8470 * BaseValidator.cs: Disable base control so the isValid flag is
8473 2003-11-03 Jackson Harper <jackson@ximian.com>
8475 * TemplateColumn.cs: Use the same renderer for selected items as
8476 normal items. This fixes bug #49744.
8478 2003-11-03 Jackson Harper <jackson@ximian.com>
8481 * WebControl.cs: Fix argument out of range exceptions on
8482 properties. Patch by Yaron Shkop.
8484 2003-11-03 Jackson Harper <jackson@ximian.com>
8486 * TemplateColumn.cs: If the item is selected but there is no
8487 editItemTemplate use the itemTemplate. This matches MS behvoir.
8489 2003-11-03 Jackson Harper <jackson@ximian.com>
8491 * Repeater.cs: Always set alternating items to the AlternatingItem
8492 type, when instantiating alternating items use the itemTemplate if
8493 the alternatingItem template is null. This matches MS behavoir and
8496 2003-11-03 Jackson Harper <jackson@ximian.com>
8498 * DataGridPagerStyle.cs: Name of view state attribute is
8499 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
8500 visibility is changed. Patch by Yaron Shkop.
8502 2003-11-03 Jackson Harper <jackson@ximian.com>
8504 * RepeatInfo.cs: When doing horizontal rendering use the repeat
8505 columns as the number of columns in a row. This fixes bug #49016.
8507 2003-11-03 Jackson Harper <jackson@ximian.com>
8509 * PagedDataSource.cs (PageCount): Return page count of 1 if there
8510 paging is disabled. Patch by Yaron Shkop.
8511 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
8512 * TableStyle.cs (AddAttributesToRender): Render border style
8513 collapse. Patch by Yaron Shkop.
8515 * TableItemStyle.cs:
8516 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
8517 the wrong type. Patch by Yaron Shkop.
8519 2003-11-03 Jackson Harper <jackson@ximian.com>
8521 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
8523 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
8526 * BulletedListDisplayMode.cs:
8527 * BulletedListEventHandler.cs:
8529 * BulletedListEventArgs.cs: V2 controls (yay!)
8531 2003-10-30 Jackson Harper <jackson@ximian.com>
8533 * Repeater.cs: Throw an exception if the datasource is set to
8534 something that does not implement either IListSource or
8535 IEnumerable. This fixes bug #50155.
8537 2003-10-30 Jackson Harper <jackson@ximian.com>
8539 * DataGridPagerStyle.cs: Do not allow page button counts to be set
8540 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
8542 2003-10-29 Jackson Harper <jackson@ximian.com>
8544 * ButtonColumn.cs: Format string and text to format were
8545 inversed. This fixes bug #50171.
8547 2003-10-29 Jackson Harper <jackson@ximian.com>
8549 * DataGridColumn.cs: If an item style is set apply it to the
8550 cell. This fixes bug #50173.
8552 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
8554 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
8555 old debugging value.
8557 2003-10-29 Jackson Harper <jackson@ximian.com>
8559 * PagedDataSource.cs:
8560 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
8561 end of the last page. Fixes bug #5085.
8563 2003-10-29 Jackson Harper <jackson@ximian.com>
8565 * CheckBox.cs: Do not change the status of a checkbox when there
8566 is no post data. This fixes bug #49091.
8567 * CheckBoxList.cs: Do not change the status of the checkboxes when
8568 there is no post data. This fixes bug #49093.
8570 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
8572 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
8573 RadioButton. Fixes #50132
8575 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8577 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
8578 paging from working. Fixes #48814.
8580 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8582 * DataGrid.cs: A few typos kept us from viewing datagrids
8583 that were based on customized collections.
8585 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
8587 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
8589 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
8591 * Calendar.cs: render the next month button so that aligns to the
8594 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8596 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
8597 was just changing && by || after the first Match.
8599 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8601 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
8602 Patch by Yaron Shkop.
8604 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8606 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
8607 that fixes bug #49744. Now the selection doesn't lose its data.
8609 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8611 * EditCommandColumn.cs: Implement; fix #49736
8613 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8615 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
8616 the forground color. bug #49738
8618 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8620 * Calendar.cs: fixed bug #49727.
8622 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
8624 * TableStyle.cs: fix #49740.
8626 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8628 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
8629 * ValidationSummary.cs: fixes bug #49669.
8631 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8633 * Calendar.cs: apply the calendar style to the new Table, not to itself.
8636 * CheckBox.cs: render the hidden fields if AutoPostBack.
8638 * Style.cs: don't render empty width/height. Small improvement in
8641 * Table.cs: fixed condition for border width.
8644 (CopyFrom): always call the base class to copy other attributes. Fixes
8645 bug #49408. Don't render empty 'rules' attribute.
8647 * WebControl.cs: track viewstate when enabled. Don't overwrite source
8648 control attributes in CopyBaseAttributes.
8650 * ChangeLog: fixed dates.
8653 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8655 * WebControl.cs : Attributes { get; } - Is Complete.
8656 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
8659 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8661 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
8662 : RegisterValidatorCommonScript()
8663 - More code, I need HELP!
8664 : RegisterValidatorDeclaration()
8665 - More code, I need HELP!
8667 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8669 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
8672 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8674 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
8675 ClearViewState only called when no items.
8677 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8679 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
8681 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8683 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
8685 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8687 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
8690 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8692 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
8695 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8697 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
8698 * WebControl.cs: fixed Enabled property and save it in ViewState.
8702 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8704 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
8706 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8708 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
8711 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8713 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
8714 <rich@velvetsea.net>.
8716 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8718 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
8719 Skripsky <juraj@hotfeet.ch>
8721 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8723 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
8724 fixes rendering of the end tag.
8726 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8728 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
8729 (Yaron Shkop). Closes bug #48060.
8731 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8733 * CheckBox.cs: in LoadPostData, only return
8734 true when the new data is different from the one we had. Fixed
8735 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
8738 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8740 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
8742 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8744 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
8745 of Enable in ViewState. Fixes bug #47865.
8747 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8749 * Style.cs: the MARKED bit is not send set in ViewState unless something
8750 is changed. Fixed TrackViewState condition.
8752 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
8753 because it uses the same ViewState as the control. Fixes bug #47725.
8755 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8757 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
8758 that fixes databinding when only DataTextField or DataNavigateUrlField
8761 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8763 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
8764 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
8765 values before assigning a data source and other issues.
8767 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8769 * CheckBox.cs: save viewstate when needed and correctly handle post
8770 data. Fixes bug #47462.
8772 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8774 * ButtonColumn.cs: Removed additional attributes
8775 * CheckBox.cs: Added attribute
8776 * DataGrid.cs: Added attributes
8777 * HyperLinkColumn.cs: Changed attributes, added lamespec
8778 * Style.cs: Removed attributes
8779 * TextBox.cs: Added/ removed attributes
8781 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8783 * AdRotator.cs: Added all attributes
8784 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
8785 * BaseValidator.cs: Added all attributes
8786 * BoundColumn.cs: Added all attributes
8787 * Button.cs: Added all attributes
8788 * ButtonColumn.cs: Added all attributes, added lamespec
8789 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
8790 * CheckBox.cs: Added all attributes
8791 * CheckBoxList.cs: Added all attributes
8792 * CompareValidator.cs: Added all attributes
8793 * CustomValidator.cs: Added all attributes
8794 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
8795 * DataGridColumn.cs: Added all attributes
8796 * DataGridColumnCollection.cs: Added all attributes
8797 * DataGridPagerStyle.cs: Added all attributes
8798 * DataGridTableInternal.cs: Made DataGridTableInternal internal
8799 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
8800 * DropDownList.cs: Added all attributes
8801 * FontInfo.cs: Added all attributes
8802 * HyperLink.cs: Added all attributes
8803 * HyperLinkColumn.cs: Added all attributes
8804 * Image.cs: Added all attributes
8805 * ImageButton.cs: Added all attributes
8806 * Label.cs: Added all attributes
8807 * LinkButton.cs: Added all attributes
8808 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
8809 * ListControl.cs: Added all attributes
8810 * ListItem.cs: Added all attributes
8811 * ListItemCollection.cs: Added attribute
8812 * Literal.cs: Added all attributes
8813 * Panel.cs: Added all attributes
8814 * RadioButton.cs: Added all attributes
8815 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
8816 * RangeValidator.cs: Added all attributes
8817 * RegularExpressionValidator.cs: Added all attributes
8818 * Repeater.cs: Added all attributes
8820 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8822 * RequiredFieldValidator.cs: Added all attributes
8823 * Style.cs: Added all attributes
8824 * Table.cs: Added all attributes
8825 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
8826 * TableCellCollection.cs: Added attribute
8827 * TableRow.cs: Added all attributes
8828 * TableRowCollection: Added attribute
8829 * TableStyle.cs: Added all attributes, improved error messages
8830 * TemplateColumn.cs: Added all attributes
8831 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
8832 * ValidationSummary.cs: Added all attributes
8833 * WebControl.cs: Added all attributes
8834 * Xml.cs: Added all attributes
8836 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8838 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
8839 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
8841 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8843 * CheckBoxList.cs: fixes bug reported on the list about the state of
8844 the CheckButtons not being preserved across posts.
8846 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8848 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
8850 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8852 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
8854 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8856 * ListControl.cs: save viewstate data when any of the 3 values is not
8857 null. Fixed condition to save selection indices. Closes bug #45493.
8859 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8861 * DataGrid.cs: fixed bug #43823.
8863 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8865 * DataGrid.cs: fixed delegate type for SortCommand.
8867 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8869 * DataGridColumnCollection.cs: added missing return in RemoveAt.
8871 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8873 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
8874 Don't save ViewState is the number of columns is 0.
8876 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8878 * DataGrid.cs: get the right item Type for the property we're reading
8879 fromt the data source.
8881 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8884 * TextBox.cs: added control builder attribute.
8886 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8888 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
8890 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
8892 * Unit.cs: Called the correct method to get the Numeric locale for the
8895 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8897 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
8898 correctly the header of the column.
8900 * DataGridTableInternal.cs: don't assign a default ID to this control.
8902 * LinkButton.cs: raise bubble event in OnCommand.
8904 * TableCellCollection.cs: fixed the index returned by Add.
8906 * TableRowCollection.cs: ditto.
8908 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8910 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
8912 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8914 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
8915 for reporting the bug and providing the fix.
8917 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8919 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
8920 CreateColumnSet. Set the owner of the column when auto generated.
8921 In PrepareControlHierarchyForItem, fixed for loop bound.
8923 * LinkButtonInternal.cs: fixed infinite recursion bug.
8927 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
8929 * Xml.cs: a few fixes.
8931 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8933 * DataList.cs: handle the exception when adding new keys to
8936 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8938 * BaseDataList.cs: what can I say for this one? I spent so many time
8939 until I finally found this that I'm gonna miss this f....g bug... ;-).
8940 Farewell. Now we can get events from image buttons inside Data*.
8942 * DataList.cs: now the value stored in ViewState for item count is
8945 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8947 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
8949 * DataGridColumn.cs: added SetOwner method.
8950 * DataGridColumnCollection.cs: set the owner of the column when added.
8952 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8954 * BoundColumn.cs: typo.
8955 * DataGrid.cs: use 'as' instead of casting. Typo.
8956 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
8959 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8961 * HyperLink.cs: fixes bug #36336.
8963 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8965 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
8967 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8969 * BaseValidator.cs: return an empty string in GetControlValidationValue
8970 when GetValue returned null.
8972 * CompareValidator.cs: fixed EvaluateIsValid.
8974 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
8976 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8978 * Xml.cs: use MapPathSecure to get the path of the document.
8980 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8982 * DataList.cs: fixed header & footer.
8984 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8986 * DataList.cs: for header and footer don't use data source.
8987 Instantiate in the DataListItem, not in the DataList.
8988 databind-template.aspx works now.
8990 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8993 (Render): call RenderContents (), not base.RenderContents ().
8995 * DataList.cs: style.
8997 But I still haven't found what i'm looking for....
8999 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9001 * Calendar.cs: fixed loading/saving selected dates.
9002 * SelectedDatesCollection.cs: added internal function to get the
9003 underlying ArrayList.
9005 Calendar navigation works again. Selecting dates too.
9007 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9009 * DataList.cs: added a few attributes and fixed infinite recursion.
9011 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9013 * ListItemCollection.cs: fixed LoadViewState.
9015 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9017 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
9018 Commented out some code until it works.
9020 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
9022 * BaseCompareValidator.cs - Fixed operator bug in
9023 Compare(string, string, ...)
9024 * CompareValidator.cs - EvaluateIsValid() : Implemented.
9026 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9028 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
9030 - All Properties : Now make use of ViewState.
9032 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9034 * BaseValidator.cs - Uncomment NotImplementedException.
9036 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9038 * BaseValidator.cs - Minor changes in TODO comments.
9040 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9042 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
9043 the NotImplementedException being thrown.
9044 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
9045 * DataGridLinkButton.cs - Added new class (private) : Implemented.
9046 * DataGrid.cs - InitializePager(DataGridItem, int,
9047 PagedDataSource) : Implemented.
9049 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9051 * DataList.cs - PrepareControlHierarchy() : Implemented.
9053 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9055 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
9056 - GetItem(ListItemType, int) : Removed TODO.
9057 - CreateControlHierarchy(bool) : Implemented.
9058 - CreateItem(int, ListItemType) : Implemented.
9059 - CreateItem(int, ListItemType,
9060 bool, object) : Implemented.
9061 - InitializeItem(DataItem) : Implemented.
9062 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
9063 The ViewState["_!ItemCount"],
9064 ViewState["_!DataSource_ItemCount"]
9065 are shared by DataList and DataGrid, and hence
9066 should share the same name.
9067 - ResolveDataSource(object, string)
9068 : Removed. Use System.Web.UI.Utils.DataSourceHelper
9069 ::GetResolvedDataSource(object, string).
9072 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9074 * DataGrid.cs: fixed compilation
9076 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
9078 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
9079 * DataGrid.cs - CreateControlHierarchy(bool)
9080 : working towards completion.
9081 - ResolveDataSource(object, string)
9082 : stubbed new method
9084 : stubbed new method
9085 Well. It's almost done.
9086 * DataGridTableInternal.cs
9087 - Added new internal class.
9089 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
9091 * DataSourceInternal.cs - Added new class (internal).
9093 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9096 * HorizontalAlign.cs:
9098 * VerticalAlign.cs: fixes based on class status page.
9100 * HorizontalAlignConverter.cs: implemented.
9101 * VerticalAlignConverter.cs: implemented.
9103 * FontUnitConverter.cs: implemented GetStandardValues ().
9105 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
9107 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9109 * DataGrid.cs - AutoCreateColumns: Bug fixes.
9111 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9113 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
9115 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9117 * DataGrid.cs - Working on the undocumented protected
9118 method CreateColumnSet. AutoCreateColumns method
9119 stubbed. Left CreateControlHierarchy for the time
9120 being, looks like I'm going insane. ;-)
9122 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9124 * Button.cs - Steffen's OnCommand bug fix.
9126 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
9128 * DataGrid.cs - Added protected method (skeleton)
9129 CreateColumnSet(PagedDataSource, bool)
9130 Still trying to know how will it be used
9133 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9135 * PagedDataSource.cs: fixed compilation.
9137 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
9139 * DataGrid.cs - Added private method
9140 CreatePagedDataSource
9142 CreateControlHierarchy(bool)
9143 * PagedDataSource.cs - Bug fixed.
9144 CurrentPageIndex is writable.
9146 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9148 * DataGrid.cs: fixed typo.
9149 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
9151 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9153 * DataGridColumn.cs - Added internal methods to get the
9154 various styles (needed in DataGrid.cs)
9155 * DataGrid.cs - Completed the method
9156 PrepareControlHierarchy()
9158 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9160 * DataGrid.cs - Wokring on PrepareControlHierarchy()
9161 - Added private method
9162 PrepareControlHierarchyForItem()
9164 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
9166 * DataGrid.cs - Completed method
9167 OnBubbleEvent(object, EventArgs)
9169 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9171 * Xml.cs: implemented document/transform load.
9173 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9175 * Calendar.cs: added myself to the list of authors.
9176 * DropDownList.cs: fixed a few properties.
9177 * ListControl.cs: fixed SelectedIndex.
9179 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9181 * Calendar.cs: lots of fixes. Render days. Still left to persist
9182 selected days when changing month.
9184 * Unit.cs: fixed Percentage and Pixel.
9186 * WebControl.cs: a few properties are now using ControlStyle instead
9187 of ViewState to persist.
9189 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9191 * BaseValidator.cs: it works now.
9192 * DataGridColumn.cs: added attribute and made it abstract.
9193 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
9195 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9197 * TextBox.cs: default for Wrap is true.
9198 (OnPreRender): don't save Text if there are no listeners on TextChanged.
9200 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9206 (LoadViewState): fixed.
9208 * ListItemCollection.cs:
9209 (TrackViewState): use items instead of 'this' in foreach.
9212 (LoadViewState): more checking of parameters.
9214 * WebControl.cs: implemented LoadViewState and SaveViewState.
9217 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9219 * ListItem.cs: there was no code to unset the flags!!!
9221 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9223 * FontUnit.cs: use a hashtable for mapping size name to value.
9224 * HyperLink.cs: fixed a bug and a typo.
9225 * Unit.cs: some fixes to internal constructor.
9227 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9229 * ListControl.cs: fixed a couple of range checks.
9230 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
9231 an HtmlForm (p.e., Label).
9233 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9243 * HyperLinkColumn.cs:
9252 * RadioButtonList.cs:
9256 * WebControl.cs: removed attributes added by mistake (i used
9257 GetCustomAttributes (true), d'oh!).
9259 * DataListItem.cs: implemented RenderItem.
9261 * Repeater.cs: implemented CreateItem and InitializeItem.
9263 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9265 * BaseDataList.cs: a couple of fiex and added attributes.
9266 * DataGrid.cs: little fixes.
9268 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9277 * RadioButtonList.cs:
9280 * Xml.cs: forgot to add using System.ComponentModel.
9282 * BaseValidator.cs: use explicitly
9283 System.ComponentModel.AttributeCollection as there is another class
9284 with the same name under System.Web.UI.
9286 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9305 * RadioButtonList.cs:
9310 * Xml.cs: added/fixed all attributes used by xsp.
9312 * BaseValidator.cs: some fixes.
9314 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9317 (AddAttributesToRender): correctly default to border=1.
9319 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9322 (LoadAdFile): make the dictionary null after every iteration.
9326 * ListItem.cs: fixed warnings.
9328 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
9330 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
9332 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9334 * DataGridColumn.cs:
9335 * DataGridPagerStyle.cs:
9342 * ListItemCollection.cs:
9344 * ServerValidateEventArgs.cs:
9348 * Xml.cs: more class status page based changes.
9350 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9353 (.ctor): fixed to render the correct tag.
9354 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
9356 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9359 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
9360 WebControl derived classes should be rendered inside a HtmlForm.
9362 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9364 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
9367 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9369 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9370 * RepeatInfo.cs: implemented DoHorizontalRendering.
9372 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9374 * System.Web.UI.WebControls/Repeater.cs:
9376 (OnDataBinding): fixed stack overflow.
9378 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9380 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9381 * RepeatInfo.cs: implemented DoHorizontalRendering.
9383 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9386 (CopyBaseAttributes): copy Attributes and don't throw exception.
9388 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9390 * ListBox.cs: mono-stylized.
9391 (AddAttributesToRender): call parent class method.
9393 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9395 * Style.cs: fixed IsEmpty and Width.
9397 * Table.cs: mono-stylized.
9398 (TableRowControlCollection.AddAt): fixed.
9399 (AddAttributesToRender): fixed.
9401 * TableCell.cs: mono-stylized.
9402 (.ctor): use PreventAutoID.
9403 (AddAttributesToRender): fixed.
9404 (AddParsedSubObject): fixed.
9406 * TableRow.cs: mono-stylized. Added
9407 ParseChildren attribute.
9410 (get_GridLine): fixed.
9412 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9414 * Panel.cs: fixed stack overflow.
9415 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
9416 and SingleConverter.
9418 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9420 * RadioButton.cs: mono-stylized and some little fixes.
9422 * TextBox.cs: mono-stylized.
9423 (MaxLength): fixed typo.
9425 (AddAttributesToRender): don't render the text between the tags for
9426 SingleLine, use value attribute for it. Don't render the text for
9429 (OnPreRender): don't throw exception and call base.OnPreRender.
9431 (Render): for MultiLine, render the text between the opening and
9432 closing tags encoded as HTML.
9434 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9437 (AddAttributesToRender): fixer another stack overflow.
9440 (TagName): modified to use TagKey instead of tagKey as the property
9443 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9445 * LinkButton.cs: mono-stylized.
9446 (AddParsedSubObject):
9447 (RenderControls): little fixes.
9450 (AddAttributesToRender): fixed usage of IEnumerator.
9452 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9454 * Literal.cs: beautified.
9456 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9458 * Label.cs: beautified and fixed a couple of 'classic' bugs.
9460 * WebControl.cs: use Span as default tag when no other provided in
9461 constructor. That is what MS renders.
9463 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9466 (AddAttributesToRender): fixed (classic) stack overflow.
9468 * CheckBox.cs: mono-stylized.
9469 (AutoPostBack): fixed stack overflow.
9470 (Render): fixed alignment issues. Also set the For attribute always
9473 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9475 * AdRotator.cs: GetData does not work as it should, but now it returns
9476 useful data (only the first ad in the file). Set the NavigateUrl
9477 property in the hyperlink if available.
9479 * HyperLink.cs: fixed constructor and a couple of stack overflows.
9481 * Image.cs: added an attribute and fixed stack overflow.
9484 (RenderBeginTag): fixed.
9485 (TagName): don't call Enum.IsDefined twice.
9487 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9489 * WebControl.cs: added attributes PersistChildrenAttribute and
9490 ParseChildrenAttribute.
9492 2002-05-24 Duncan Mak <duncan@ximian.com>
9494 * DataGridItem.cs (SetItemType): Changed function signature to
9497 * ListItemCollection.cs (this): Changes the visibility level of
9500 * Repeater.cs (OnItemCommand):
9502 (OnItemDataBound): Added necessary casts.
9504 2002-05-07 Duncan Mak <duncan@ximian.com>
9506 * Button.cs (AddAttributesToRender):
9507 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
9508 GetClientValidatedEvent method.
9510 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
9512 * Removed extra methods, corrected access modifiers to several
9515 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
9517 * <SeveralFiles>.cs - Added some attributes
9518 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
9519 methods. Will complete them later. Right now, busy with
9520 the attributes part.
9521 * RepeaterItem.cs - Completed.
9523 Oh God! Mercy! I will die applying attributes. I look at the missing
9524 part in the class-status - daemon! Kyrie eleison!
9526 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
9530 * AdRotator.cs - Added definition for Font.
9531 * BaseCompareValidator.cs - Added definition for Controls.
9532 * Calendar.cs - SelectMonthText definition corrected.
9533 * DataList.cs - Added definition for SeparatorTemplate.
9534 * BorderStyle.cs - Namespace correction. It belongs not to UI,
9535 but to UI.WebControls.
9537 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
9539 Finally, I have made it. Today I did a second build for the
9540 System.Web assembly. It compiled 195 classes today.
9541 I am waiting eagerly for the runtime to come up so that the objects
9542 may be tested to their last levels. Several of the methods are still
9543 under the tag of "TODO" throwing NotImplementedException. Well, I
9544 hope to remove them soon, but how far is this soon - even I don't
9545 know, though I am happy to make the build a success even before
9546 the vacations to come.
9548 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
9550 Yesterday and today I tried to do some building of the aseembly,
9551 but was dumped with uncoutably infinite errors. ;-)
9552 I have put the copies of the recent errors on my home page, want
9553 to have a look at them? See:
9554 http://mastergaurav.virtualave.net/mono/
9555 I don't know what to do with these errors. Oh! The buggy me! How
9556 will I overcome myself. Hopefully, by when my vacations over, I
9557 should have made a repository where the build will not fail.
9559 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
9561 I am now going to do a build that will include the
9562 System.Web.UI.WebControls namespace. Hoping that I will make it
9563 soon. My exams are coming near and I have to pack up soon.
9566 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
9569 And with this, ie, today's work, all the objects mentioned in the
9570 namespace appear in the implementation. But it may not be worth
9571 trying to go for a build because of dependence of several of the
9572 internal methods that may clash with already available assembly
9575 Also, the classes lack possible attributes, like those informing
9576 about child-controls etc. But I have to first create the attribute
9577 classes before I attach the attributes to the classes.
9579 * CustomValidator.cs - Completed. In process realized that
9580 I have to complete / rejuvinate BaseValidator class.
9581 * BaseValidator.cs - Complete rejuvination. Completed 80%
9582 of the job. All that is left is Render(HtmlTextWriter),
9583 DetermineRenderUplevel(), RegisterValidatorCommonScript()
9584 RegisterValidatorDeclaration()
9585 * DataGridPagerStyle.cs - Completed. That adds one more missle
9587 * DataKeyCollection.cs - Completed. Petty small.
9588 * Repeater.cs - Work started off. This is a quite
9590 * DataGridItemEventArgs.cs,
9591 * DataGridShortCommandEventArgs.cs,
9592 * DataListItemEventArgs.cs,
9593 * MonthChangedEventArgs.cs,
9594 * RepeaterItemEventArgs.cs,
9595 * ServerValidateEventArgs.cs,
9596 * DataGridPageChangedEventArgs.cs
9597 - Damn, I marked them "*", while they
9599 * Repeater.cs - Done all except for an undocumented
9600 method CreateControlHierarchy(bool). Though the method
9601 is quite clear by its name, but it will take some time
9602 for me to come with some material to flush in.
9604 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
9606 * SelectedDatesCollection.cs - Completed.
9607 * PagedDataSource.cs - Completed. Pathetically nice class.
9608 * RegularExpressionValidator.cs
9609 - Completed. Ridiculously small and
9610 annoyinglyc crazy-driving class, basically the method
9612 * RangeValidator.cs - Completed.
9613 * DataGridColumn.cs - Completed.
9614 * EditCommandColumn.cs - All is complete except for the
9615 InitializeCell(TableCell, int, ListItemType) method.
9616 * DataListItem.cs - All done except for a longish method
9617 RenderItem(HtmlTextWriter, bool, bool)
9619 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
9621 * RepeaterItemCollection.cs - Completed.
9622 I love *Collection classes. I am planning to make a
9623 program that will generate a *Collection class. It's so
9624 simple and the same. ;-)
9625 * DataGridColumnCollection.cs - Completed.
9626 ... except probably for *ColumnCollection classes, where
9627 you have to put in some more effort. Still, these class
9628 generation can be automated.
9629 * DataListItemCollection.cs - Completed.
9630 See, how easily, in less than a quarter of a minute, I
9631 completed this class - manually. Copy-Paste/Cut-Replace.
9633 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
9635 * DataGrid.cs - Following methods implemented:
9636 TrackViewState(), LoadViewState(object), SaveViewState(),
9637 On* -- The event raisers.
9638 OnBubbleEvent(object, EventArgs) is still incomplete.
9639 * DataGridItem.cs - Initial Implementation
9640 * DataGridItemCollection.cs - Completed.
9642 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
9644 * DataGrid.cs - Initial Implementation. Worked
9645 primarily with some properties.
9647 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
9649 * ListBox.cs - Completed. Implemented
9650 LoadPostData(string, NameValueCollection)
9651 * RequiredFieldValidator.cs - Completed. Pretty simple class.
9653 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
9655 * ListBox.cs - Implemented the following:
9656 RaisePostDataChangedEvent()
9658 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
9660 * ListBox.cs - Supports the following properties:
9661 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
9664 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
9665 RenderContents(HtmlTextWriter)
9668 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
9670 * TargetConverter.cs - Completed
9671 * TemplateColumn.cs - Completed
9672 * DataList.cs - Corrected the get-er methods for the
9673 *Style objects. Corrected the get/set-er methods for ViewState
9675 Addded support for properties:
9676 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
9677 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
9678 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
9679 SeparatorStyle, SeparatorItemTemplate.
9681 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
9682 ItemCreated, ItemDataBound, UpdateCommand.
9684 CreateControlStyle(), LoadViewState(object),
9685 SaveViewState(), TrackViewState
9687 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
9688 OnEditCommand, OnItemCommand, OnItemCreated,
9689 OnItemDataBound, OnUpdateCommand
9690 Added dummy methods for some undocumented methods:
9691 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
9692 CreateItem(int, ListItemType, bool, object),
9693 PrepareControlHierarchy(), InitializeItem(DataListItem)
9694 * ListBox.cs - Started working.
9698 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
9700 * RepeaterInfo.cs - Initial Implementation. Done all
9701 except for RepeatDirection.Vertical
9702 * TableStyle.cs - Completed
9704 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
9706 * DropDownList.cs - Completed
9707 * ListItemCollection.cs - Added method FindByValueInternal to
9708 assist in the derived classes.
9709 Discovered bug in FindByValue. Removed
9710 * UnitConverter.cs - Completed
9711 * PlaceHolder.cs - What can be simpler than this?
9712 * PlaceHolderControlBuilder.cs
9713 - Uh! Damn cool one.
9714 * RadioButtonList.cs - Initial Implementation. All is done
9715 except for the implementation of
9716 method IRepeatInfoUser.RenderItem(...)
9717 * ValidatedControlConverter.cs
9718 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
9719 * ValidationSummary.cs - Initial Implementation.
9720 * WebColorConverter.cs - Initial Implementation
9722 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9724 * FontNamesConverter.cs - Completed
9725 * FontUnitConverter.cs - Partial Implementation
9726 * ListItemControlBuilder.cs - Completed
9728 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9730 * TextBox.cs - All done except *Render* methods
9731 * TextBoxControlBuilder.cs - Completed
9732 * Xml.cs - Partial Implementation
9734 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
9736 * RadioButton.cs - Completed
9737 * TextBox.cs - Partial Implementation
9739 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
9741 * Panel.cs - Completed
9742 * TableItemStyle.cs - Completed
9744 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
9746 * TableCellCollection.cs - Completed
9747 * TableRowCollection.cs - Completed
9748 * TableHeaderCell.cs - Completed
9749 * TableRow.cs - Completed
9751 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
9753 * TableCellControlBuilder.cs - Completed
9754 * Table.cs - Completed
9755 * TableCell.cs - Completed
9757 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
9759 * CheckBoxList.cs - Completed
9760 * ButtonColumn.cs - Completed
9761 * Button.cs - Completed
9763 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
9765 * HyperLink.cs - Completed
9766 * Image.cs - Completed
9767 * ImageButton.cs - Completed
9768 * Label.cs - Completed
9769 * LabelControlBuilder.cs - Completed
9770 * LinkButton.cs - Completed
9771 * LinkButtonControlBuilder.cs - Completed
9772 * Literal.cs - Completed
9773 * LieteralControlBuilder.cs - Completed
9774 * FontUnit.cs - Completed
9777 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
9779 * Calendar.cs - Completed the functions of Render*,
9780 ViewStates (Track/View/Save),
9782 Left: RenderAllDays (partially)
9784 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
9786 * Calendar.cs - Added some more functions
9787 * Style.cs - Completed
9788 * ListItem.cs - Completed
9789 * ListItemCollection.cs - Completed
9791 Made the first successful build of System.Web.dll that included
9792 System.Web.UI.WebControls!
9794 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
9796 FontInfo.cs - Complete revamp. Completed
9798 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
9800 ListItemCollection.cs - Completed
9801 ListItem.cs - Initial Implementation
9802 Style.cs - Initial Implementation
9804 Right now I am in a total mood to do a successful build. Creating so many
9805 classes, completing classes in System.Web System.Web.UI namespaces.
9807 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
9809 TODO - Properly added
9810 CheckBox.cs - Completed
9811 BaseDataList.cs - Completed
9812 DayRenderEventArgs.cs - Completed
9813 RepeaterItem.cs - Initial implementation
9815 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
9817 BaseCompareValidator.cs - Completed
9818 AdRotator.cs - Completed
9820 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
9822 CommandEventArgs.cs - Completed
9823 DataGridCommandEventArgs.cs - Completed
9824 RepeaterCommandEventArgs.cs - Completed
9825 DataListCommandEventArgs.cs - Completed
9826 CompareValidator.cs - Partial Implementation
9828 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
9830 CheckBoxList.cs - Partial Implementation.
9833 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
9835 ListControl.cs - Completed
9837 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
9839 CheckBox.cs - Completed
9840 ListControl.cs - Initial Implementation
9841 CheckBoxList.cs - Started with it, but first needed
9842 ListControl. Left it.
9844 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
9846 CalendarDay.cs - Making a note that this
9847 has been implemented
9848 Calendar.cs - Making a note that have made some changes.
9849 Unimplmented functions throw
9850 NotImplementedException
9851 CheckBox.cs - Can now "Render" and "LoadPostData"
9854 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
9855 WebControl.cs - Total Revamp, Partial Implementation
9856 AdRotator.cs - Able to load files
9857 AdCreatedEventArgs.cs - Implemented
9859 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
9860 Calendar.cs - Initial Implementation
9861 ButtonColumn.cs - Initial Implementation
9862 Button.cs - Initial Implementation
9863 BoundColumn.cs - Initial Implementation
9864 BaseCompareValidator.cs - Minor Changes
9865 DataList.cs, BaseValidator.cs, BaseDataList.cs
9866 - Added more functions, other changes
9868 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
9869 WebControl.cs - Initial Implementation
9870 DataList.cs - Initial Implementation
9871 BaseValidator.cs - Initial Implementation
9872 BaseDataList.cs - Initial Implementation
9874 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
9876 AdCreatedEventArgs.cs - Initial Implementation
9877 AdCratedEventHandler.cs - Implemented
9878 AdRotator.cs - Initial Implementation
9879 BorderStyle.cs - Implemented
9880 ButtonColumnStyle.cs - Implemented
9881 CalendarSelectionMode.cs - Implemented
9882 DayNameFormat.cs - Implemented
9883 FirstDayOfWeek - Implemented
9884 FontInfo.cs - Partial Implementation
9885 FontSize.cs - Implemented
9886 GridLines.cs - Implemented
9887 HorizontalAlign.cs - Implemented
9888 HyperLink.cs - Initial Implementation
9889 ImageAlign.cs - Implemented
9890 IRepeatInfoUser.cs - Implemented
9891 ListItemType.cs - Implemented
9892 ListSelectionMode.cs - Implemented
9893 NextPrevFormat.cs - Implemented
9894 PagerMode.cs - Implemented
9895 PagerPosition.cs - Implemented
9896 RepeatDirection.cs - Implemented
9897 RepeatLayout.cs - Implemented
9898 TextAlign.cs - Implemented
9899 TextBoxMode.cs - Implemented
9900 TitleFormat.cs - Implemented
9901 UnitType.cs - Implemented
9902 ValidationCompareOperator.cs
9904 ValidationDataType.cs - Implemented
9905 ValidationSummaryDisplayMode.cs
9907 ValidatorDisplay.cs - Implemented
9908 VerticalAlign.cs - Implemented
9912 i/ File Created 2001-11-13