1 2010-07-16 Marek Habersack <mhabersack@novell.com>
3 * FormViewRow.cs: added internal property RenderJustCellContents
4 which makes the control render only its children (4.0)
6 * FormView.cs: implemented RenderOuterTable property and the
7 ModifiedOuterTableStylePropertyName method (4.0)
9 2010-07-15 Marek Habersack <mhabersack@novell.com>
11 * WebControl.cs: implemented verifying that no inline style
12 property is set for controls which support the RenderOuterTable
15 * IRenderOuterTable.cs: internal helper interface for controls
16 which support the RenderOuterTable property (for now only
17 ChangePassword, 3 more to come)
19 * ChangePassword.cs: implemented RenderOuterTable property and the
20 corresponding behavior of not rendering surrounding table when the
21 property is set to false (4.0).
22 Modified BaseChangePasswordContainer to not inherit from Table
23 anymore. Table is an instance variable (always used as the
24 template container in 2.0) which is optionally (and by default)
25 used to contain the templates.
27 * PlaceHolder.cs, View.cs, WizardStepBase: added EnableTheming
30 * MultiViewControlBuilder.cs: added
32 2010-07-14 Marek Habersack <mhabersack@novell.com>
34 * Menu.cs: fixed skip link rendering (no child controls are added
35 in the process, writing directly to HtmlTextWriter). Fixes tests
37 If StaticSubMenuIndent equals Unit.Empty on 4.0, default to using
38 16px as the value of the margin-left CSS attribute.
40 2010-07-13 Marek Habersack <mhabersack@novell.com>
42 * BoundField.cs: implemented HtmlEncodeFormatString property
43 (3.5+) and modified the way FormatDataValue works accordingly.
45 * ListBox.cs, CheckBoxList.cs, ListControl.cs: VerifyMultiSelect
46 is not part of the official API. MultiSelect capability validation
47 is performed using an internal virtual method MultiSelectOk ().
49 * BaseDataList.cs: OnPagePreLoad is not part of the official API
51 * BaseDataBoundControl.cs, BaseDataList.cs, DataListItem.cs,
52 ValidationSummary.cs: implemented 4.0 SupportsDisabledAttribute
55 * Wizard.cs: wizard table doesn't contain any instances of
56 HtmlAnchor or Image controls. Moved rendering of the skip link
57 anchor to the TableCellNamingContainer class, which does that in
58 RenderChildren by directly writing to the passed writer. Fixes 4.0
59 rendering and all the failing Wizard tests.
61 2010-07-08 Marek Habersack <mhabersack@novell.com>
63 * CheckBoxList.cs: RepeatLayout property update for new values of
64 the RepeatLayout enum in 4.0
66 * TreeView.cs: in 4.0, checkbox renders the value of the current
67 node's ToolTip, if anything, and not Text.
69 * RepeatLayout.cs: added two new members, UnorderedList and
72 * ImageMap.cs: implemented missing Enabled property (2.0+)
73 RaisePostBackEvent must be protected and virtual (2.0+)
74 NavigateUrl is ignored if the control is disabled (4.0)
76 2010-07-07 Marek Habersack <mhabersack@novell.com>
78 * TreeView.cs: 4.0 rendering changes.
79 When using registered CSS classes, the node style must use them in
82 2010-07-06 Marek Habersack <mhabersack@novell.com>
84 * HyperLink.cs: the associated image is not rendered using the
87 2010-07-02 Marek Habersack <mhabersack@novell.com>
89 * Menu.cs: 4.0 API updates.
91 * GridView.cs: implemented 4.0 properties -
92 SortedAscendingCellStyle, SortedAscendingHeaderStyle,
93 SortedDescendingCellStyle, SortedDescendingHeaderStyle,
94 ClientIDRowSuffix, ClientIDRowSuffixDataKeys, ShowHeaderWhenEmpty
95 along with associated rendering changes.
97 * DetailsView.cs, FormView.cs, GridView.cs: 4.0 API changes -
98 renamed ShowPage to SetPageIndex and made it public.
99 Added 4.0 interfaces to inheritance list and implemented them.
101 * DataKeyArray.cs: added internal constructor which accepts IList
102 instead of ArrayList. Changed the 'keys' field type to IList.
104 * ContainedTable.cs: the 'id' attribute must be rendered last.
106 * CheckBox.cs, CheckBoxList.cs, SiteMapPath.cs, Table.cs,
107 TableStyle.cs, TextBox.cs, WebControl.cs: 4.0 rendering changes.
109 * Calendar.cs, CompositeControl.cs, DropDownList.cs, HyperLink.cs,
110 Image.cs, ImageButton.cs, Label.cs, LinkButton.cs, LoginName.cs,
111 Panel.cs, Table.cs, TableCell.cs, TableRow.cs:
112 added new 4.0 property, SupportsDisabledAttribute.
114 2010-06-21 Marek Habersack <mhabersack@novell.com>
116 * BaseValidator.cs, BulletedList.cs, Calendar.cs, CheckBox.cs,
117 CheckBoxList.cs, DataGrid.cs, DropDownList.cs, GridView.cs,
118 HyperLink.cs, ImageButton.cs, LinkButton.cs, ListBox.cs,
119 ListControl.cs, Menu.cs, RadioButton.cs, RadioButtonList.cs,
120 RepeatInfo.cs, Repeater.cs, TextBox.cs, TreeView.cs,
121 ValidationSummary.cs, WebControl.cs: use WebControl.IsEnabled
122 instead of Enabled wherever necessary.
124 2010-06-16 Marek Habersack <mhabersack@novell.com>
126 * FormView.cs: row values must be retrieved with inclusion of
127 keys. Fixes bug #607722
129 2010-06-03 Marek Habersack <mhabersack@novell.com>
131 * Parameter.cs, ControlParameter.cs, SessionParameter.cs,
132 CookieParameter.cs, FormParameter.cs, ProfileParameter.cs,
133 QueryStringParameter.cs: Evaluate is 'protected internal virtual'
136 * RouteParameter.cs: implemented.
138 2010-04-28 Marek Habersack <mhabersack@novell.com>
140 * CheckBoxList.cs: do not modify list item status in LoadPostData
141 when the list control is disabled.
142 If an item is selected and it was unchecked by the user, deselect
143 it. Fixes bug #600415
145 2010-04-13 Marek Habersack <mhabersack@novell.com>
147 * GridView.cs: make sure Header and Footer visibility are set when
148 binding the data. Fixes bug #595567
150 * ImageField.cs, CheckBoxField.cs: OnDataBindField must expect
151 sender to be something else than DataControlFieldCell. Fixes bug
154 2010-04-07 Marek Habersack <mhabersack@novell.com>
156 * FormParameter.cs, CookieParameter.cs, ProfileParameter.cs,
157 QueryStringParameter.cs, SessionParameter.cs: implemented
158 constructor overloads which take DbType as one of the arguments.
160 2010-04-01 Marek Habersack <mhabersack@novell.com>
162 * FormView.cs: do not show the pager if PagerSettings.Visible is
163 false. Fixes bug #578863
165 2010-03-29 Marek Habersack <mhabersack@novell.com>
167 * GridView.cs: main table must be created and added to the
168 controls collection before any OnRowCreated event is fired.
170 2010-03-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
172 * TreeView.cs: use enums instead of strings for attributes.
174 2010-03-06 Marek Habersack <mhabersack@novell.com>
176 * XmlDataSource.cs: reload document when one of Data, DataFile,
177 Transform or TransformFile properties is set. Fixes bug
178 #585968. Fix based on patch from Jeffrey Alvarez
179 <kuritsu@gmail.com>, thanks.
181 2010-02-19 Marek Habersack <mhabersack@novell.com>
183 * SqlDataSource.cs: call base.OnInit in OnInit. Fixes bug #572781
185 2010-02-18 Marek Habersack <mhabersack@novell.com>
187 * ListItemCollection.cs: ItemsEnabled and associated code removed
188 - there's no need to alter ListItem's Enabled property when
191 * ListControl.cs: SaveViewState doesn't set the items collection's
192 ItemsEnabled property as it was removed from ListItemCollection
194 * CheckBoxList.cs: LoadPostData never unselects any item. A better
196 RenderItem renders items as disabled when Enabled is false, but if
197 Enabled is true, item is rendered according to the value of its
198 own Enabled property. Fixes bug #578770
200 * TreeView.cs: RegisterStyle must copy CssClass in addition to
201 other style properties. Fixes bug #580692
203 2010-01-18 Marek Habersack <mhabersack@novell.com>
205 * Parameter.cs: added missing 3.5 APIs - constructors taking
206 DbType as one of the parameters, ConvertDbTypeToTypeCode,
207 ConvertTypeCodeToDbType and GetDatabaseType. Fixes bug #567850
209 2010-01-15 Marek Habersack <mhabersack@novell.com>
211 * ChangePassword.cs: BaseChangePasswordContainer forwards
212 EnsureChildControls call to its owner, so that finding controls in
213 the container works correctly.
215 2009-11-30 Marek Habersack <mhabersack@novell.com>
217 * WebControl.cs: HasAttributes made available as internal for 1.1
218 Avoid calling the Attributes getter many times in
220 If TrackViewState is called and attributes state bag already
221 exists, mark all items in the latter as dirty.
223 * CheckBox.cs, Button.cs, ImageButton.cs, LinkButton.cs: do not
224 create the Attributes collection if not necessary.
226 2009-11-16 Marek Habersack <mhabersack@novell.com>
228 * TreeNodeCollection.cs: whenever a node is added, let the owner
231 * TreeNode.cs: added internal property HadChildrenBeforePopulating
232 which is used to let TreeView know about an error condition where
233 a populate-on-demand node contains children added outside the
234 OnTreeNodePopulate event
236 * TreeView.cs: if a node has any child nodes and PopulatOnDemand
237 is set, throw an exception from RenderNode. This is the behavior
240 2009-11-13 Marek Habersack <mhabersack@novell.com>
242 * TableRowCollection.cs: added .NET compatibility NREX throws to
244 Whenever a row is added/removed, its Container property is
245 set. Fixes bug #551666
247 * TableRow.cs: introduced an internal property, Container, which
248 is set by TableRowCollection whenever this row is added/removed
249 to/from the collection. This allows the row to notify the
250 collectio and, in consequence, collection owner that TableSection
251 has been set and thead/tbody/tfoot elements need to be
252 generated. Fixes bug #551666
254 2009-11-10 Marek Habersack <mhabersack@novell.com>
256 * PasswordRecovery.cs:
257 {Question,Success,UserName}TemplateContainer must all be populated
258 the first time the property is accessed, so that calling
259 FindControl on the container returns valid and expected
260 results. If the associated template is not defined, though,
261 populating is postponed till CreateChildControls is called -
262 that's where default, empty, template will be created. This is
263 required to fix YetAnotherForum's password recovery control.
264 Mail template used in SendPasswordByMail must match the one used
265 in .NET (it has to end with a newline) as YAF parses the message
266 to retrieve user name and password and breaks if the last line
267 doesn't end with a newline character.
269 2009-10-30 Marek Habersack <mhabersack@novell.com>
271 * PasswordRecovery.cs: mail message replacements should include <%
272 Password %> and <% UserName %> and matching should be
273 case-insensitive. Fixes bug #545370
275 2009-10-28 Marek Habersack <mhabersack@novell.com>
277 * ListControl.cs: OnDataBinding must call base implementation
278 before performing the binding, so that DataSource can be assigned
279 from within the handler.
281 2009-10-13 Marek Safar <marek.safar@novell.com>
283 * WebColorConverter.cs: Delegate ConvertFrom to
284 ColorTranslator.FromHtml, it is correctly implemented and knows
287 2009-10-13 Marek Habersack <mhabersack@novell.com>
289 * WebColorConverter.cs: don't use a dictionary to check for valid
290 color names, use Color.IsKnownColor instead. Update for bug
292 Added more CSS2 color name mappings.
294 2009-10-12 Marek Habersack <mhabersack@novell.com>
296 * WebColorConverter.cs: when converting from color name, check if
297 the returned color's name is a member of the
298 System.Drawing.KnownColor enumeration to test for error condition,
299 as some colors might be #000000. Preserve the old error check as a
301 Map "captiontext" and "background" color names to
302 "ActiveCaptionText" and "Desktop", respectively, before passing
303 them to Color.FromName (). Fixes bug #546173
305 2009-10-02 Marek Habersack <mhabersack@novell.com>
307 * GridView.cs: added two 3.5 properties - SelectedPersistedDataKey
308 and IPersistedSelector.DataKey.
310 * BaseDataBoundControl.cs: slight optimizations to FindDataSource
312 2009-09-28 Marek Habersack <mhabersack@novell.com>
314 * DataBoundControl.cs: Initialize sets RequiresDataBinding
315 properly, only when we're not data-bound already, when we aren't
316 in postback or when we are in postback, but with viewstate
317 enabled. Fixes bug #542076
319 2009-09-01 Marek Habersack <mhabersack@novell.com>
321 * ObjectDataSourceView.cs: ExecuteSelect must call
322 QueryTotalRowCount after executing the select method (that's what
325 2009-08-25 Marek Habersack <mhabersack@novell.com>
327 * WebColorConverter.cs: inform the user that the might need to
328 check if libgdiplus is installed when parsing a color name
329 fails. Fixes bug #533749
331 2009-08-21 Marek Habersack <mhabersack@novell.com>
333 * Menu.cs: separator image is rendered next to the item in
334 horizontal layout and is preceeded by 3px spacer (unless
335 itemSpacing is set) to make output match .NET. Fixes bug #474716
337 * TreeNodeCollection.cs: {Save,Load}ViewState now store/load the
338 type of the node, if node is a of a custom type. Fixes bug #475997
340 2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
342 * Parameter.cs: add new DbType property.
344 2009-06-16 Marek Habersack <mhabersack@novell.com>
346 * IPersistedSelector.cs: removed AspNetHostingPermission
347 attributes from the 4.0 profile.
349 * IDataBoundControl.cs, IDataBoundItemControl.cs,
350 IDataBoundListControl.cs, IFieldControl.cs: added
352 * DetailsView.cs: control implements 4.0 IDataBoundItemControl
355 * DataBoundControl.cs: implemented 4.0 property DataSourceObject
356 (internal for 2.0) and made the InternalPerformDataBinding method
357 internal for the 4.0 profile.
359 2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
361 * ContentControlBuilderInternal.cs: detect missing
362 ContentPlaceHolderID attribute when parsing instead of throwing a
365 2009-05-29 Marek Habersack <mhabersack@novell.com>
367 * ListItem.cs: when tracking view state is turned on after
368 attributes have been set, make sure that the associated state bag
369 begins tracking state and that all of its existing items are
370 marked as dirty. Do the same after loading view state. Fixes bug
373 2009-04-29 Marek Habersack <mhabersack@novell.com>
375 * DataBoundControl.cs: added InternalGetDataSource method, used by
378 2009-04-28 Marek Habersack <mhabersack@novell.com>
380 * GridView.cs: implemented ColumnsGenerator and enabled its use in
383 * DetailsView.cs: implemented the RowsGenerator property and
384 enabled its use in CreateFieldSet.
386 2009-04-07 Marek Habersack <mhabersack@novell.com>
388 * TreeView.js: removed nodeText parameter from the JS calls.
390 * TreeView.cs: encode | characters into U+007C, so that
391 RaiseCallbackEvent doesn't get confused.
392 Removed nodeText parameter from the JS calls.
394 2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
396 * TreeNode.cs: reset the path data for all child nodes too.
397 * TreeView.cs: HtmlAttribute encode the node text. When rebuilding the
398 node tree, set the correct index for the nodes so that the Path is
401 2009-04-06 Marek Habersack <mhabersack@novell.com>
403 * TreeView.js: TreeView_ToggleExpand now takes more parameters - a
404 full definition of treeview's node contents.
405 Added new function, TreeView_PopulateNode, which partially takes
406 over role of the PopulateNode function generated in
407 TreeView.OnPreRender (see below). Fixes bug #492307
409 * TreeView.cs: RaiseCallbackEvent needs to recreate the event
410 target's parental tree all the way from the root to the node and
411 populate only the leaf (requested) node. This avoids calling the
412 TreeNodePopulate handler more times than needed. Fixes bug #492307
413 OnPreRender: moved the script code to constants and the script
414 body is now generated using StringBuilder instead of a series of
416 GetClientExpandEvent: adjusted code for new TreeView JavaScript
419 2009-03-17 Marek Habersack <mhabersack@novell.com>
421 * Unit.cs: introduced a field to tell the difference between empty
422 (as in Unit.Empty) and 0px units.
424 2009-03-06 Marek Habersack <mhabersack@novell.com>
426 * WebControl.cs: if savedState is not an instance of Pair in
427 LoadViewState, do not attempt to load from it.
429 2009-02-10 Marek Habersack <mhabersack@novell.com>
431 * ImageButton.cs: AddAttributesToRender renders the onclick
432 attribute only if any of the following is true:
433 - OnClientClick is not empty
434 - Validation is enabled for the control
435 - PostBackUrl is used
436 PostBackOptions now indicate that control requires the javascript
437 protocol for the handler.
438 RaisePostBackEvent passes String.Empty as the argument.
441 2009-02-09 Marek Habersack <mhabersack@novell.com>
443 * ObjectDataSourceView.cs: ExecuteSelect returns a single-item
444 array of objects containing the result, if the result isn't one of
445 DataSet, DataTable or IEnumerable. Fixes bug #471767
447 2009-02-06 Marek Habersack <mhabersack@novell.com>
449 * Style.cs: if CssClass is null, return String.Empty. Fixes bug
451 Added a range check to the BorderStyle property.
453 2009-02-05 Marek Habersack <mhabersack@novell.com>
455 * Login.cs: check the value of DisplayRememberMe when creating
456 the child controls. Fixes #468359
458 2009-01-20 Marek Habersack <mhabersack@novell.com>
460 * Substitution.cs: added. Fixes bug #467460
462 2009-01-13 Marek Habersack <mhabersack@novell.com>
464 * XmlBuilder.cs: updates related to ControlBuilder cleanup.
466 2008-12-01 Marek Habersack <mhabersack@novell.com>
468 * Style.cs: WriteStyleAttributes must not use the fontinfo field
469 directly, it has to be done via the Font property. Fixes bug
472 2008-11-15 Marek Habersack <mhabersack@novell.com>
474 * ContentPlaceHolder.cs, Content.cs, FormViewPagerRow.cs,
475 ChangePassword.cs, DetailsViewPagerRow.cs: implements
476 INonBindingContainer interface.
478 * Wizard.cs: implement INonBindingContainer interface for several
479 private/internal classes.
481 2008-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
483 * ImageButton.cs: clicking an image causes a postback.
486 2008-10-24 Marek Habersack <mhabersack@novell.com>
488 * CheckBox.cs: register for event validation in Render ().
490 2008-10-21 Marek Habersack <mhabersack@novell.com>
492 * XmlDataSource.cs: DataFile may be an URL.
494 2008-10-17 Marek Habersack <mhabersack@novell.com>
496 * ImageMap.cs: added the SupportsEventValidation attribute to the
498 Validate the event in RaisePostBackEvent ().
499 Register for event validation in Render ().
501 * DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().
503 * TextBox.cs: validate the event in LoadPostData ().
504 Register for event validation in AddAttributesToRender ().
506 * HiddenField.cs: validate the event in RaisePostDataChangedEvent.
507 Register for event validation in Render ().
509 * RadioButton.cs: validate the event in LoadPostData ().
510 Register for event validation in InternalAddAttributesToRender.
512 * CheckBox.cs, RadioButtonList.cs: validate the event in
513 RaisePostDataChangedEvent.
515 * Menu.cs: added the SupportsEventValidation attribute to the
517 Validate the event in RaisePostBackEvent ().
518 Register for event validation in GetClientEvent ().
520 * DetailsView.cs, GridView.cs: validate the event in
521 RaisePostBackEvent ().
522 Register for validation in GetCallbackScript () and in OnPreRender
524 * Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
525 ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().
527 2008-10-14 Marek Habersack <mhabersack@novell.com>
529 * CompositeDataBoundControl.cs: renamed the itemcount ViewState
530 item from "_ItemCount" to "_!ItemCount" for .NET
531 compatibility. This item is accessed and used by some commercial
534 * DataBoundControl.cs: OnPagePreLoad must force databinding also
535 when the request is not a postback.
537 2008-10-13 Marek Habersack <mhabersack@novell.com>
539 * Table.cs, TableRowCollection.cs, TableRow.cs: render table
540 sections when necessary. Fixes bug #434555
542 2008-10-08 Marek Habersack <mhabersack@novell.com>
544 * ControlParameter.cs: Evaluate calls DataBinder.Eval to do the
545 evaluation now. This makes it support complex expressions.
547 2008-09-30 Sebastien Pouliot <sebastien@ximian.com>
549 * RoleGroupCollection.cs: Fix recursive calls (wrong target)
550 [Found using Gendarme's BadRecursiveInvocationRule]
552 2008-09-28 Sebastien Pouliot <sebastien@ximian.com>
554 * XmlDataSource.cs: Make sure the result of the multiplication is a
555 long (not an integer casted into a long since it could overflow).
556 [Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
558 2008-09-17 Juraj Skripsky <js@hotfeet.ch>
560 * RadioButton.cs (ValueAttribute, LoadPostData): Fixes bug #426959.
562 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
564 * IPersistedSelector.cs : new in 3.5 SP1.
566 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
568 * DataBoundControlMode.cs : new 3.5 SP1 type.
570 2008-08-25 Marek Habersack <mhabersack@novell.com>
572 * DataBoundControl.cs: set RequiresDataBinding to true in
573 Initialize only if not in a postback, if not data bound and if the
574 view state is enabled. Fixes bug #398318
575 UpdateViewData removes the OnDataSourceViewChanged handler before
576 connecting to the datasource and restores it before returning to
578 OnLoad gets the data source before initialization, to avoid
579 premature OnDataSourceViewChanged triggers. Fixes bug #398318
580 Do not reconnect to the data source if we already have a valid one.
582 2008-08-18 Marek Habersack <mhabersack@novell.com>
584 * Unit.cs: rewrote the unit parser in a slightly slower, but more
585 correct, way. Fixes bug #417502
587 2008-07-28 Marek Habersack <mhabersack@novell.com>
589 * TreeView.cs: when TreeView is displaying a site map and there is
590 no node selected by the user, select the node corresponding to the
591 current page, if any.
593 2008-07-24 Marek Habersack <mhabersack@novell.com>
595 * DataGrid.cs: removed the private class TableID and moved its
596 code to ChildTable.cs (see below). 2.0 instantiates teh ChildTable
597 with the owner parameter now. Fixes bug #400377
599 * ChildTable.cs: refactoring - moved code from TableID previously
600 defined in DataGrid.cs to here and made the class available under
601 different names for both 1.x and 2.x profiles. Fixes bug #400377
603 * MailDefinition.cs: look for the mail body file in the correct
604 path. Patch from Jackson Harper <jaharper@novell.com>,
605 thanks! Fixes bug #408699
607 * PasswordRecovery.cs: do not ask password recovery question if
608 it's disabled. Patch from Jackson Harper <jaharper@novell.com>,
609 thanks! Fixes bug #408696
611 2008-07-16 Marek Habersack <mhabersack@novell.com>
613 * XmlDataSource.cs: check if Page isn't null before stringifying
614 it in GetDataKey (), fixes bug #409492
616 2008-07-13 Roei Erez <roeie@mainsoft.com>
618 * GridView.cs: When the RowDataBound event is invoked, the value
619 of GridView1.DataKeys should contains all the keys up untill the
620 current row, and not be empty.
621 I only changed the order of the user event invocation and the addition
624 2008-07-13 Roei Erez <roeie@mainsoft.com>
626 * TreeView.cs: In case of multiple tree node bingings, select
627 The first one and not the last one.
629 2008-07-10 Roei Erez <roeie@mainsoft.com>
631 * HyperlinkField.cs: Changed behavior of HyperLinkField bound field key
632 to be case insensitive.
634 2008-07-03 Marek Habersack <mhabersack@novell.com>
636 * CheckBox.cs: do not render the language="javascript" attribute
639 2008-07-02 Marek Habersack <mhabersack@novell.com>
641 * GridView.cs: minor optimizations (removed a foreach loop,
642 replaced calls to Array.Length with a variable containing the
645 2008-06-30 Marek Habersack <mhabersack@novell.com>
647 * ObjectDataSourceView.cs, Menu.cs, DataList.cs,
648 CustomValidator.cs: hush the warnings
650 2008-06-10 Noam Lampert <noaml@mainsoft.com>
652 * ListItemCollection.cs: Provide viewstate for dirty collection even if it is empty.
654 2008-05-30 Marek Habersack <mhabersack@novell.com>
656 * BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
657 DataControlFieldCollection.cs, DataControlField.cs,
658 PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
659 event accessors (to avoid locks).
661 2008-05-18 Marek Habersack <mhabersack@novell.com>
663 * HierarchicalDataBoundControl.cs: Modified GetData method to check if
664 DataSource implements IHierarchicalEnumerable and if so constructs and
665 returns a new instance of ReadOnlyDataSourceView. This provides functional
666 compatibility with the Microsoft.NET framework. Fixes bug
667 #395209. Patch contributed by James Fitzsimons
668 <james.fitzsimons@gmail.com>, thanks!
670 2008-05-06 Marek Habersack <mhabersack@novell.com>
672 * Calendar.cs: do not create dateInfo in the constructor - culture
673 might be not set yet at this point. Fixes bug #323566
674 Added a private property, DateInfo, which creates the dateInfo
677 2008-05-05 Sebastien Pouliot <sebastien@ximian.com>
679 * BulletedList.cs: Avoid calling ToString on a string.
680 * ButtonField.cs: Throw, not just create, the exceptions.
681 * HyperLinkField.cs: Throw, not just create, the exceptions.
682 * ImageField.cs: Throw, not just create, the exception. Avoid calling
683 ToString on a string.
684 * ListControl.cs: Avoid calling ToString on a string.
685 [All issues were found using Gendarme]
687 2008-04-30 Marek Habersack <mhabersack@novell.com>
689 * SiteMapDataSource.cs: when no starting node is found, return
690 null instead of Provider.RootNode. Fixes bug #323994
692 2008-04-24 Marek Habersack <mhabersack@novell.com>
694 * SqlDataSource.cs: raise the DataSourceChangedEvent when setting
695 ConnectionString, ProviderName or DataSourceMode properties only
696 when the new value differs from the old one. Fixes bug #359392
698 2008-04-16 Marek Habersack <mhabersack@novell.com>
700 * ObjectDataSourceView.cs: ExecuteSelect should return an empty
701 aray when no data has been retrieved from the specified source
702 type. Fixes bug #380106
704 2008-04-15 Marek Habersack <mhabersack@novell.com>
706 * MailDefinition.cs: dispose of streams the way it should
709 2008-04-10 Marek Habersack <mhabersack@novell.com>
711 * RadioButton.cs: adjust 'name' and 'value' attribute values to
712 match MS.NET. Fixes bug #378024
714 * CheckBoxList.cs: set the Selected property to the value in POST
715 data only if the item in question was enabled before postback
716 occurred. Fixes bug #377703
718 * ListControl.cs: make sure the owned items' Enabled property is
719 set to the same value what ListControl's. Fixes bug #377703
721 * ListItemCollection.cs: fixed SetDirty to store the index of the
722 last dirtied item properly. Fixes bug #377703
723 For the 2.0 profile, set the ListItem instances Enabled property
724 to the value of the owning ListControl (internal ItemsEnabled
725 property was added to make it possible). Fixes bug #377703
727 2008-04-08 Dean Brettle <dean@brettle.com>
729 * DataBoundControl.cs (InternalPerformDataBinding),
730 HierarchicalDataBoundControl.cs (InternalPerformDataBinding),
731 WebControl.cs (Render): fixed cast errors when a ControlAdapter
732 that wasn't of the type corresponding to the control was used.
734 2008-04-03 Marek Habersack <mhabersack@novell.com>
736 * DataList.cs: use the value of SelectedIndex, not selectedIndex,
737 to return the key value in the SelectedValue property. Fixes bug
738 #376519. Patch from Sergey Kuleshov <svyatogor@gmail.com>, thanks!
740 2008-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
742 * AutoGeneratedField.cs, CheckBoxField.cs: fixed OnDataBindField,
743 should hide checkbox only if DataItem is not defined
745 2008-03-09 Dean Brettle <dean@brettle.com>
747 * DetailsView.cs, ListControl.cs, DataBoundControl.cs,
748 FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs:
749 added support for using ControlAdapters when present.
751 * WebControl.cs: fixed implementation of IsEnabled to match
754 * Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of
755 RenderMenuItem() if an adapter is present. MenuAdapter.RenderItem()
756 calls back to new Menu.RenderItem() internal method which calls
757 RenderMenuItem() with the appropriate parameters.
759 2008-02-25 Igor Zelmanovich <igorz@mainsoft.com>
762 at Update and Delete use not read only coppies of dictionaries
763 in event argumens, that allows user to change them before corresponding
764 DataSource's method is called.
766 2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>
768 * Login.cs: render id attribute of root element correctly.
770 2008-02-18 Marek Habersack <mhabersack@novell.com>
772 * FormView.cs: the ItemCreated must be fired before data is bound
773 to the FormView. Fixes bug #360434
775 2008-02-07 Igor Zelmanovich <igorz@mainsoft.com>
777 * Login.cs: render id attribute of root element correctly.
779 2008-02-05 Marek Habersack <mhabersack@novell.com>
781 * FileUpload.cs: make sure FileContent always returns the input
782 stream positioned at the beginning. Fixes bug #356846
784 2008-01-31 Igor Zelmanovich <igorz@mainsoft.com>
786 * Calendar.cs: resolve Next/Prev. month link date correctly.
788 2008-01-29 Igor Zelmanovich <igorz@mainsoft.com>
790 * TreeView.cs: add XPFileExplorer icon set.
792 2008-01-28 Igor Zelmanovich <igorz@mainsoft.com>
794 * Menu.js: dynamic nodes are positioned after hover style of
795 parent node is applied.
797 2008-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
799 * DataSourceCacheManager.cs: fixed GetKeyFromParameters, incase more
800 than one datasource using the same object with the same select method
802 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
804 * ValidationSummary.cs:
805 refactoring: If page contents instance of IScriptManager, it calls
806 it's API instead Page.ClientScript.
808 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
810 * Menu.cs: fixed rendering.
812 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
815 manage history state on "MovePrevious" action.
817 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
820 resolve BulletImageUrl,
821 register for event validation.
823 2008-01-13 Igor Zelmanovich <igorz@mainsoft.com>
827 upgrade client side script due to changes in webform.js.
829 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
831 * BaseCompareValidator.cs:
833 * CompareValidator.cs:
834 * CustomValidator.cs:
836 * RegularExpressionValidator.cs:
837 * RequiredFieldValidator.cs:
838 refactoring: If page contents instance of IScriptManager, validators call
839 it's API instead Page.ClientScript.
841 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
846 for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
847 in GetPostBackOptions.
849 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
851 * DetailsView.cs: render invisible rows correct.
853 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
855 * DataControlField.cs: prevent infinite recursion
857 2008-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
859 * DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding
862 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
864 * DataSourceCacheManager.cs: fixed SetCachedObject, fixed
867 2007-12-24 Igor Zelmanovich <igorz@mainsoft.com>
869 * TreeView.cs: revert changes from r91230
871 2007-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
873 * ListControl.cs: fixed Load/SaveViewState, removed selected indices
875 * ListItem.cs: fixed Load/SaveViewState, added selected state storing
876 * ListItemCollection.cs: fixed Load/SaveViewState, added flag to not
877 rebuild the collection if was'nt changed
879 2007-12-13 Marek Habersack <mhabersack@novell.com>
881 * Menu.cs, TreeView.cs: optimize use of String.Format in
883 Speed optimization - use String.Concat instead of String.Format in
886 * GridView.cs, DetailsView.cs: optimize use of String.Format in
889 * CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
890 WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
891 ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
892 optimization - use String.Concat instead of String.Format in some cases.
894 2007-12-13 Vladimir Krasnov <vladimirk@mainsoft.com>
896 * Menu.cs: fixed rendering without head tag on page
898 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
900 * Calendar.cs: performance optimizations:
901 BuildLink fixed, StringBuilder used.
902 TodaysDate DateTime.Today call cahced.
904 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
906 * Unit.cs: performance optimization: ToString fixed, string.Concat used
907 instead of string.Format
909 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
911 * Style.cs: performance optimization: suppress finalizer added
913 2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>
917 evaluate bound value using ThisExpession ("!") properly
919 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
921 * WebControl.cs: enabled state restored properly.
923 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
926 refactoring for NET_2_0:
927 Text is removed from view state in case of need at SaveViewState phase.
929 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
932 SelectedValue/SelectedIndex is set during DataBinding always.
934 2007-11-06 Marek Habersack <mhabersack@novell.com>
936 * DataGrid.cs: add RenderTable before the DataGridItems, so that
937 numbering of children is the same what on MS.NET.
938 If there are any data items, require a postback script.
941 * ChildTable.cs: removed DOS EOLs.
943 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
946 does not perform authentication if Page.IsValid returns false;
947 the fix makes control works with disabled client side validation.
949 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
952 state of DataList.Items are restored correct on PostBack
953 such Items.Count and ItemType.
955 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
958 validator is rendered correct if EnabledClientClient is false.
960 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
962 * Image.cs: fixed management state of Enabled property.
963 * WebControl.cs: refactoring in management state of Enabled property.
965 2007-10-23 Marek Habersack <mhabersack@novell.com>
967 * ListBox.cs, Table.cs: use Render{Begin,End}Tag
968 instead of the Write* counterparts when rendering contents.
970 2007-10-18 Marek Habersack <mhabersack@novell.com>
972 * Menu.js: a workaround for an IE bug. IE recalculates element's
973 offsetWidth when the element's _height_ is set - which in case of
974 elements with overflowing content results in a value that's just
975 slightly smaller than the client window width. In effect, a long
976 submenu will also be very wide, which isn't desirable. Fixes bug
979 2007-10-15 Marek Habersack <mhabersack@novell.com>
981 * ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
984 * BulletedList.cs: html encode the item text. Fixes bug #333550.
986 2007-10-01 Marek Habersack <mhabersack@novell.com>
988 * ListItem.cs: make HasAttributes available for the 1.1 profile as
991 * DropDownList.cs: render custom ListItem attributes in the 1.1
992 profile. Fixes bug #326288
994 2007-09-27 Marek Habersack <mhabersack@novell.com>
996 * Button.cs: added missing OnPreRender method.
998 2007-09-25 Marek Habersack <mhabersack@novell.com>
1000 * WebControl.cs: added an internal method, BuildScriptAttribute,
1001 which merges the specified JavaScript code in an attribute, with
1002 the value of that attribute specified by the user.
1004 * CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
1005 preserve user-specified attribute value, if present.
1007 * ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
1008 after doing its job. AutoPostBack handling makes sure to preserve
1009 user-specified attribute value, if present. Fixes bug #327816.
1011 2007-09-21 Marek Habersack <mhabersack@novell.com>
1013 * ListItem.cs: don't save StateBag in the control state - the
1014 class is not serializable and therefore ObjectStateFormatter
1015 cannot convert it. Instead have the sb object save its own state
1016 and store the returned value. Fixes bug #326288.
1018 2007-09-20 Marek Habersack <mhabersack@novell.com>
1020 * LoginView.cs: implemented RoleGroups support. Fixes bug
1023 2007-09-19 Marek Habersack <mhabersack@novell.com>
1025 * GridView.cs: copy attributes from GridView to the child table,
1026 as this is where the rendering takes place. Fixes bug #326309.
1028 2007-09-18 Marek Habersack <mhabersack@novell.com>
1030 * Calendar.cs: correctly apply day cell style. Fixes bug #315903
1032 2007-09-17 Marek Habersack <mhabersack@novell.com>
1034 * Calendar.cs: style attribute value must be enclosed in quotes.
1036 * TableStyle.cs: do not capitalize the align styles. Fixes bug
1039 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
1041 * ListControl.cs: partially restored r85314
1042 whenever a property that can affect data binding
1043 is set, make sure to set RequiresDataBinding.
1045 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
1047 * DataBoundControl.cs: fixed DataBind flow:
1048 prevent double binding when not necessary.
1051 2007-08-31 Marek Habersack <mhabersack@novell.com>
1053 * GridView.cs: instead of not adding hidden fields to the rows,
1054 mark the cells they would contain as invisible. Fixes bug #82615.
1056 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1060 make Menu work in multi form environment.
1062 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1064 * ListControl.cs: fixed selected items state management.
1066 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1068 * BaseCompareValidator.cs:
1070 * CompareValidator.cs:
1071 * CustomValidator.cs:
1072 * RangeValidator.cs:
1073 * RegularExpressionValidator.cs:
1074 * RequiredFieldValidator.cs:
1075 all Validators use RegisterExpandoAttribute for
1076 not XHTML compliant attributes.
1078 2007-08-23 Igor Zelmanovich <igorz@mainsoft.com>
1080 * Panel.cs: client script consider MultiForm environment.
1082 2007-08-21 Marek Habersack <mhabersack@novell.com>
1084 * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
1087 2007-08-20 Marek Habersack <mhabersack@novell.com>
1089 * ContentPlaceHolderBuilder.cs: store place holder id in the
1090 parser's internal place holder id list for later reference. Fixes
1093 2007-08-19 Vladimir Krasnov <vladimirk@mainsoft.com>
1095 * BoundField.cs: FormatDataValue, refactored multiple use of ToString
1097 2007-08-14 Marek Habersack <mhabersack@novell.com>
1099 * ObjectDataSourceView.cs: remove unused variable.
1101 * ChangePassword.cs: remove unused variable.
1102 The change password button id changed to
1103 "ChangePasswordPushButton", the cancel button id changed to
1104 "CancelPushButton". The change makes the generated ids the same
1105 what on MS.NET. Fixes bug #82418.
1107 * RoleGroupCollection.cs: OnValidate shouldn't be overridden.
1109 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1111 * ParameterCollection.cs: fixed IndexOfString, should use ordinal
1114 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1116 * Menu.cs: performance refactoring, used AddAttribute overload without
1117 encoding on known attribute values, optimized DynamicMenu rendering
1119 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1121 * TreeView.cs: refactoring, used AddAttribute overload without encoding
1122 on known attribute values,
1123 used Page.ClientScript.GetWebResourceUrl call instead of
1124 AssemblyResourceLoader.GetResourceUrl
1126 2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
1128 * AccessDataSource.cs: does not subscribed on view changed event.
1129 * ObjectDataSource.cs: fixed state management.
1130 * SqlDataSource.cs: fixed state management.
1132 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1135 DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs,
1136 RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs,
1137 TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs,
1138 BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs,
1139 RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs,
1140 ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs,
1141 TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs:
1142 refactoring, used AddAttribute overload without encoding on known attribute
1145 2007-08-01 Igor Zelmanovich <igorz@mainsoft.com>
1147 * DropDownList.cs: fixed onchange attibute.
1149 2007-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
1151 * ListItemCollection.cs: fixed LoadViewState, items restored from
1152 viewstate were not saved, fixes bug #82192
1154 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1156 * BaseValidator.cs: All client scripts are rendered
1157 according IsMultiForm property.
1159 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1161 * TreeView.cs: refactoring:
1163 used ClientScriptManager.GetCallbackEventReference API instead calling
1164 WebForm_DoCallback explicit.
1166 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1168 * BaseValidator.cs: for NET_2_0: fixed client side validation.
1169 validation is performed in WebForm_DoPostback,
1170 and there is no need to do it twice in ValidatorOnSubmit.
1172 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1174 * Calendar.cs: fixed: correct 'id' attribute is rendered.
1176 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
1178 * ListItemCollection.cs: optimized SetDirty method
1180 2007-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1184 * ListItemCollection.cs: controls based on ListControl should not save
1185 view state before than TrackViewState called
1187 2007-07-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1189 * WebControl.cs: fixed AddDisplayStyleAttribute, returns if
1190 ControlStyle is not created
1192 2007-07-02 Marek Habersack <mhabersack@novell.com>
1194 * WebControl.cs: Revert r80368, as it wasn't the correct
1195 fix. Fixes bug #81945.
1197 * ListControl.cs: if there are no items in the collection, do not
1198 return an empty ArrayList from GetSelectedIndicesInternal. Fixes
1199 bug #81945 and properly fixes bug #78533.
1201 * ListItemCollection.cs: if there are no items in collection,
1204 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1207 the Pager is created but unvisible for only one page.
1208 the Patch submitted by Dumitru Ban [dban@dako.ro]
1210 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1215 does not requires data binding if any ITemplate property is set.
1217 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1219 * CheckBox.cs: fixed Render, HasAttributes called instead
1222 2007-06-24 Igor Zelmanovich <igorz@mainsoft.com>
1224 * GridView.cs: fixed AllowPaging feature:
1225 When the AllowPaging is true the GridView control should automatically
1226 hide the pager row when the data source contains fewer than 2 records.
1227 patch Patch submitted by Dumitru Ban [dban@dako.ro]
1229 2007-06-20 Marek Habersack <mhabersack@novell.com>
1231 * WebControl.cs: if savedState is a Triplet, take the actual state
1232 data from savedState.First. Also make sure that the data is a
1233 Pair. Fixes bug #78533.
1235 * DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
1236 to keep private entries.
1237 * XmlDataSource.cs: as above
1239 2007-05-31 Vladimir Krasnov <vladimirk@mainsoft.com>
1241 * BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed
1242 to ClientScriptManager
1244 2007-05-29 Igor Zelmanovich <igorz@mainsoft.com>
1246 * ObjectDataSourceView.cs:
1247 * SiteMapDataSource.cs:
1249 * SqlDataSourceView.cs:
1250 DataSourceChanged and DataSourceViewChanged are raised in right case, when
1251 different properties changed their value.
1253 2007-05-27 Igor Zelmanovich <igorz@mainsoft.com>
1255 * ObjectDataSourceView.cs: fixed SelectMethod and SelectCountMethod properties:
1256 when changed, DataSourceViewChanged event is raised.
1258 * SqlDataSourceView: fixed SelectCommand property:
1259 when changed, DataSourceViewChanged event is raised.
1261 2007-05-25 Marek Habersack <mhabersack@novell.com>
1263 * ObjectDataSourceView.cs: CreateDataObject must pay attention to
1264 TypeConverter attributes on the property being converted.
1266 2007-05-24 Igor Zelmanovich <igorz@mainsoft.com>
1268 * Menu.cs: fixed: alt attribute is rendered as well.
1270 2007-05-16 Marek Habersack <mhabersack@novell.com>
1272 * CompareValidator.cs: formatting changes
1274 2007-05-15 Marek Habersack <mhabersack@novell.com>
1276 * ObjectDataSourceView.cs: refactoring - use
1277 HttpApplication.LoadType to look up types.
1279 2007-05-10 Marek Habersack <mhabersack@novell.com>
1281 * Table.cs: render rows, not controls
1283 * HyperLink.cs: RenderContents must check if the render method
1284 delegate is present and, if yes, call the base RenderContents.
1286 * LinkButton.cs: as above.
1288 * Label.cs: as above.
1290 * TableCell.cs: as above.
1291 This change makes the HeaderTemplate in the Wizard control work.
1293 * Wizard.cs: if a next/previous step handler modifies
1294 ActiveStepIndex do not, respectively, increase/decrease the
1295 current step, but use whatever was set in the handler.
1297 2007-05-09 Marek Habersack <mhabersack@novell.com>
1299 * TreeNodeStyleCollection.cs: do not set font's underline flag to
1300 false, set it to its own value instead.
1302 * TreeView.cs: if level style exists and has ChildNodesPadding
1303 set, it takes precedence over the node style setting (if any).
1305 2007-05-08 Marek Habersack <mhabersack@novell.com>
1307 * TreeView.cs: children padding is rendered only before and after
1308 the children are rendered, not between them. Also, render padding
1309 only if there are any nodes to follow the current one.
1311 2007-05-07 Marek Habersack <mhabersack@novell.com>
1313 * Wizard.cs: additional checks to see whether the wizard needs to
1314 move to a next step or not. Fixes bug #81532. Patch sent by Mike
1315 Morano <mmorano@mikeandwan.us>, thanks!
1317 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1319 * FormView.cs: fixed:
1320 avoid NullReferenceException when used EditTemplate w/o binding
1321 directive such Eval or Bind.
1323 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1325 * MenuItem.cs: fixed:
1326 when 'Value' property is not set, value of 'Text' property is used
1327 instead and vice versa.
1329 2007-05-06 Igor Zelmanovich <igorz@mainsoft.com>
1331 * TreeNode.cs: fixed:
1332 when 'Value' property is not set, value of 'Text' property is used
1333 instead and vice versa.
1335 2007-05-04 Marek Habersack <mhabersack@novell.com>
1337 * AdRotator.cs: use the new GetPhysicalFilePath method to look up
1338 the physical path of the ad file.
1340 2007-05-03 Marek Habersack <mhabersack@novell.com>
1342 * TreeView.cs: honor ChildNodesPadding of the NodeStyle.
1344 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1346 * ControlPropertyNameConverter.css:
1347 * FontUnitConverter.cs:
1349 * ValidatedControlConverter.cs:
1352 2007-05-03 Marek Habersack <mhabersack@novell.com>
1354 * TreeNode.cs: correct version of the fix in r76488. Nodes
1355 retrieved from a navigation data source which have empty URL will
1358 * TreeView.cs: revert r76488, it wasn't entirely correct. I need
1359 to investigate the special cases it solved a bit more.
1361 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
1363 * SqlDataSourceView.cs:
1364 make CancelSelectOnNullParameter property works.
1366 2007-05-01 Marek Habersack <mhabersack@novell.com>
1368 * BaseValidator.cs: do not use User-Agent directly, we must take
1369 ClientTarget into account.
1371 2007-04-30 Marek Habersack <mhabersack@novell.com>
1373 * TreeView.cs: bring rendering closer to the MS.NET rendering.
1375 * SqlDataSource.cs: do not catch the exception if ProviderName is
1376 not null or empty (as per docs and what MS.NET does).
1378 2007-04-19 Igor Zelmanovich <igorz@mainsoft.com>
1380 * ChangePassword.cs:
1381 does not accept invalid new password.
1383 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1387 added MonoLimitation attributes
1389 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1391 * BaseValidator.cs: for TARGET_J2EE:
1392 used Page.Request.Browser to determine RenderUplevel
1394 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1397 when databound with AutoGenerateColumns = true,
1398 data source enumerator created only once.
1400 2007-04-18 Marek Habersack <mhabersack@novell.com>
1402 * SiteMapDataSource.cs: query the site map for the current node
1403 when configured to use it as the start point. Fixes bug #81376,
1404 patch from Mike Morano <mmorano@mikeandwan.us>.
1406 * Calendar.cs: change year/month format to be culture aware. Fix
1407 for bug #81390. Patch submitted by Atsushi Enomoto
1408 <atsushi@ximian.com>
1410 2007-04-17 Daniel Nauck <dna@mono-project.de>
1412 * PasswordRecovery.cs: fixed typo (AnswerLabel.Text).
1414 2007-04-17 Marek Habersack <mhabersack@novell.com>
1416 * BaseValidator.cs: use the new uplevel browser detection code.
1418 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1420 * SqlDataSourceView.cs: fixed: InitializeParameters:
1421 restored flow, broken in r75137.
1423 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1425 * Menu.cs: popup menu is posed correctly if menu is placed within
1426 container with position=relative
1428 2007-04-12 Marek Habersack <mhabersack@novell.com>
1430 * LoginView.cs: do not call CreateChildControls directly from the
1431 IsAuthenticated setter since that would destroy the controls the
1432 user might've configured from their Page_PreRender method.
1433 Do not use IsAuthenticated in CreateChildControls since that
1434 prevents the _correct_ template from being instantiated before the
1435 control is transferred to the user's OnPreRender handler. Fixes
1438 2007-04-11 Marek Habersack <mhabersack@novell.com>
1440 * ImageButton.cs: implement the Enable property and do not
1441 register for post back if the control isn't enabled.
1443 2007-04-06 Marek Habersack <mhabersack@novell.com>
1445 * GridView.cs: don't render invisible fields. Fixes bug #80061.
1447 * DetailsView.cs: don't render invisible fields.
1449 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1451 * Menu.cs: resolve selected MenuItem if bounded with SiteMapeDataSource.
1453 2007-04-05 Marek Habersack <mhabersack@novell.com>
1455 * BaseDataBoundControl.cs: restore the LAMESPEC note and code it
1456 describes - tests show this is what's happening on MS.NET as
1459 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1462 * BaseDataBoundControl.cs:
1463 Break recursion when the property is set from within the OnSelect handler
1464 in user's code. fixes bug #81175.
1466 2007-04-05 Marek Habersack <mhabersack@novell.com>
1468 * SiteMapDataSource.cs: fix GetStartNode for situations when the
1469 current URL is not defined in the sitemap file. Fixes bug
1470 #81314. Patch from Mike Morano <mmorano@mikeandwan.us>.
1472 2007-04-03 Marek Habersack <mhabersack@novell.com>
1474 * BaseDataBoundControl.cs: adjust for lame specs on MSDN.
1476 2007-04-02 Gert Driesen <drieseng@users.sourceforge.net>
1478 * MenuItem.cs: Use INavigateUIData.Description as ToolTip. Fixed line
1481 2007-03-29 Adar Wesley <adarw@mainsoft.com>
1483 * ObjectDataSourceView.cs: fixed events so they are raized at the
1484 right times. Added many tests to verify the correct time.
1485 * SqlDataSourceView.cs: fixed events so they are raized at the right
1486 times. Added many tests to verify the correct time.
1488 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1492 avoid Exception if HierarchicalDataSourceView.Select() returns null.
1494 2007-03-22 Igor Zelmanovich <igorz@mainsoft.com>
1496 * ObjectDataSource.cs:
1497 * ObjectDataSourceView.cs:
1499 * SqlDataSourceView.cs:
1500 fixed flow: changes in Insert/Update/DeleteParameters does not
1501 cause DataSourceViewChanged event.
1503 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1505 * BaseDataBoundControl.cs: fix as per MSDN - the property is set
1506 only if data binding doesn't occur.
1508 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1510 * GridView.cs: fixed: PageIndex considers PageCount.
1512 2007-03-20 Marek Habersack <mhabersack@novell.com>
1514 * DataBoundControl.cs: avoid endless recursion here. Fixes bug #81175
1516 * LoginStatus.cs: render login/logout controls with the CssClass
1517 set from the parent control. Fixes bug #81196
1519 2007-03-19 Igor Zelmanovich <igorz@mainsoft.com>
1521 * DataGrid.cs: fixed Save/Load view state, applying styles.
1523 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
1525 * Style.cs: optimization: used CssStyleCollection .ctor w/o parameters.
1527 2007-03-09 Marek Habersack <mhabersack@novell.com>
1529 * Login.cs: Make command name comparison case-insensitive in
1530 OnBubbleEvent. Patch from Mike Morano <mmorano@mikeandwan.us>
1532 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1534 * DataGrid.cs: fixed:
1535 Auto-generated columns are restored properly on postback from view state.
1537 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1540 when AddAttributesToRender(System.Web.UI.HtmlTextWriter, WebControl)
1541 is called, WebControl parameter is passed as argument to
1542 FillStyleAttributes (CssStyleCollection, IUrlResolutionService) method.
1544 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1548 fixed applying styles if ExtractTemplateRows=true.
1550 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1552 * DropDownList.cs: in 2.0 first item is rendered with selected attribute
1553 is Enabled=false and no selected items.
1555 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1557 * CheckBoxList.cs: in 2.0 access key attribute is rendered in 'input' tags.
1559 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1565 * RadioButtonList.cs:
1566 fixed: list controls consider ListItem.Attributes property on render.
1568 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1570 * CheckBox.cs: fixed: 'span' tag is not rendered if all attributes
1571 are rendered in 'input' tag.
1573 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1577 used "ONLY_1_1" instead "!NET_2_0"
1579 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1581 * BaseDataBoundControl.cs:
1582 * DataBoundControl.cs:
1583 * HierarchicalDataBoundControl.cs:
1584 refactoring: DataBoundControl and HierarchicalDataBoundControl use internal
1585 method in BaseDataBoundControl to find a data source control.
1587 2007-03-05 Marek Habersack <mhabersack@novell.com>
1589 * Unit.cs: Support parsing of units in the form ".9em" etc.
1591 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1593 * TemplateColumn.cs: fixed: if ItemTemplate is null, " " is rendered.
1595 2007-03-05 Marek Habersack <mhabersack@novell.com>
1597 * BaseValidator.cs: make validators work correctly with
1598 ListItems. Patch from Daniel Nauck <dna@informatik.uni-kiel.de>
1600 2007-03-04 Marek Habersack <mhabersack@novell.com>
1602 * HierarchicalDataBoundControl.cs: Use the method described below
1603 to get the data source named in DataSourceID.
1605 * BaseDataBoundControl.cs: add an internal method to find a data
1606 source control within all the naming containers above a given
1607 control. The method makes it possible to find controls that reside
1610 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1612 * Repeater.cs: fixed: data-binding flow for 2.0 features.
1614 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1617 * ParameterCollection.cs:
1618 fixed GetValue/s and UpdateValue/s.
1620 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1622 * TreeNodeCollection.cs:
1623 fixed Save/Load viewstate.
1625 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1627 * MenuItemCollection.cs:
1628 fixed Save/Load viewstate.
1630 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1632 * CreateUserWizard.cs:
1634 fixed CausesValidaion and ValidationGroup for navigation buttons.
1636 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1640 fixed LoadPostData to restore checked state for node's checkboxes.
1642 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1644 * TreeNodeCollection.cs: 'dirty' flag is assigned if 'marked' only
1646 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1648 * BaseDataBoundControl.cs: setting DataSource to null does not
1649 call ValidateDataSource.
1650 * HierarchicalDataBoundControl.cs: ValidateDataSource does not
1651 throw exception if argument is null.
1653 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1655 * WebControl.cs: implemented IsEnabled and HasAttributes.
1657 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1659 * BaseDataList.cs: fixed: data-binding flow for 2.0 features.
1661 2007-02-27 Marek Habersack <grendello@gmail.com>
1663 * FileUpload.cs: HasFile is true only if PostedFile is not null
1664 and it actually has an associated file.
1666 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1668 * LoginView.cs: fixed:
1669 ViewChanging and ViewChanged are fired.
1670 optimized Save/Load control state.
1672 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1674 * CreateUserWizard.cs: fixed: does not attempt to send email if
1675 MailDefinition is not defined.
1677 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1680 considers FormsAuthentication.ReturnUrl only if is placed in
1681 the login page defined in web.config.
1683 2007-02-23 Marek Habersack <grendello@gmail.com>
1685 * ObjectDataSourceView.cs: Fix saving/restoring the view state.
1687 * CreateUserWizard.cs: support for sending mail when a new user is
1688 created. Patch from dban@dako.ro.
1690 2007-02-22 Marek Habersack <grendello@gmail.com>
1692 * LoginStatus.cs: Handle OnLoggedOut properly. Patch from
1695 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1697 * ObjectDataSourceView.cs: fixed ViewState behavior to match MS. Added relevant tests.
1699 2007-02-20 Gert Driesen <drieseng@users.sourceforge.net>
1701 * Calendar.cs: Fixed bug #80881 by using Thread's CurrentCulture
1702 instead of CurrentUICulture for DateFormatInfo.
1704 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1706 * SqlDataSource.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1707 * SqlDataSourceView.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1709 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
1711 * ChangePassword.cs: fixed:
1712 ChangePasswordContainer and SuccessContainer cannot be BindingContainer.
1714 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1716 * SqlDataSourceView.cs: Fixed parameter merging logic and some bug fixing.
1719 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
1724 implemented Form.SubmitDisabledControls feature.
1726 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1728 * GridView.cs: IsBindableType for decimal returns true.
1730 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1732 * Menu.js: client script: support IE6.
1734 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1736 * Menu.cs: fixed: considers item.ToolTip, render image inside 'a' tag.
1738 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
1740 * Button.cs, ImageButton.cs, LinkButton.cs: Hanlding of PostbackOptions for
1741 TARGET_J2EE is now centralized in ClientScriptManager.
1742 * TreeView.cs, DetailsView.cs, GridView.cs, TreeView.js, DetailsView.js,
1743 GridView.js: Added a field to the controls JavaScript 'data' object. The
1744 form is initialized to the page 'theForm'. This is used for J2EE portlets
1747 2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1750 first step is recognized as 'finish' if only two steps
1751 and last step is 'complete'
1753 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1755 * BaseValidator: ControlPropertiesValid is called on PreRender
1756 * CompareValidator.cs:
1757 * RangeValidator.cs: fixed ControlPropertiesValid, EvaluateIsValid.
1759 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1761 * BaseCompareValidator.cs: fixed: support for type=Currency on client side.
1763 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1765 * ParameterCollection.cs: fixed IndexOfString, this indexer should be
1768 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
1770 * TreeView.js: refactoring:
1771 removed TreeView_ErrorCallback, used TreeView_PopulateCallback instead.
1773 2007-02-13 Adar Wesley <adarw@mainsoft.com>
1775 * ObjectDataSourceView.cs: fixed parameter merging and added more tests
1777 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1779 * Literal.cs: implemented 2.0 feature - Mode.
1781 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1783 * ViewCollection.cs: fixed public API.
1785 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1787 * RepeaterItem.cs: implemented IDataItemContainer interface.
1789 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1791 * TreeNodeStyle.cs: fixed public API.
1793 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1795 * MenuItemStyle.cs: fixed public API.
1797 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1800 * DayRenderEventArgs.cs:
1801 implemented 2.0 feature - SelectUrl.
1803 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1805 * GridViewRowCollection.cs: implemented IsReadOnly property.
1807 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1809 * BaseValidator.cs: implemented SetFocusOnError feature.
1811 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1813 * Wizard.cs: refactoring:
1814 used ContainedTable for ID attribute is rendered properly.
1816 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1818 * CreateUserWizard.cs:
1822 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1824 * DataList.cs: fixed: OnBubbleEvent() will return true if event is handled
1826 2007-02-09 Gert Driesen <drieseng@users.sourceforge.net>
1828 * FontUnit.cs: Fixed ToString () to use current locale.
1830 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1832 * BaseValidator.cs: fixed render, works in static mode properly
1833 * CreateUserWizard.cs: fixed display mode for validators.
1835 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1839 implemented FormViewPagerRow class
1841 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1844 header and footer visibility is set at creation.
1846 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1848 * FormView.cs: fixed:
1849 header and footer are not created with empty row.
1851 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1853 * FormView.cs: fixed:
1854 works properly with not ICollection data source.
1856 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1858 * DetailsView.cs: fixed:
1859 PageIndex, CreateChildControls,
1860 works properly with not ICollection data source.
1862 2007-02-06 Eyal Alaluf <eyala@mainsoft.com>
1864 * Menu.cs ImageMap.cs Panel.cs TreeView.cs: Ensure that the NavigateUrl
1865 property is rendered as a RenderURL for J2EE portlets.
1867 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1869 * BaseValidator.cs: refactored RegisterValidatorCommonScript to use
1870 RegisterClientScriptInclude instead of RegisterClientScriptBlock
1872 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1874 * DataBoundControl.cs:
1877 PerformDataBinding is called with RequiresDataBinding was set false
1879 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1882 fixed validation flow.
1884 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1887 fixed validation flow.
1889 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1891 * CustomValidator.cs:
1892 ValidateEmptyText is considered on client side.
1894 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1899 * DataControlButton.cs:
1900 * DataControlField.cs:
1903 Internal classes are used in databound controls for buttons
1904 are derived from right types. It allows to have access to them by casting
1905 to public types. This trick is used in one of starter kits of MS.
1907 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1909 * Panel.cs: fixed: reverted r71441.
1910 * TreeView.cs: used internal RegisterWebFormClientScript API
1911 to cause the relevant script be included.
1913 2007-02-01 Adar Wesley <adarw@mainsoft.com>
1915 * FormView.cs: fixed events ModeChanging and ModeChanged
1916 to be raized in all relevant situations.
1918 2007-02-01 Igor Zelmanovich <igorz@mainsoft.com>
1920 * ValidationSammary.cs: fixed:
1921 control is rendered even if there is no validators on the page.
1922 important if the page contain a client side script that refer to the
1923 id of the validation summary div.
1925 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1930 * RadioButtonList.cs:
1931 EnsureDataBound is called when PostData is processed to restore
1932 'state' of control if EnableViewState is false
1934 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1936 * GridView.cs: fixed:
1937 RowDataBound is fired for PagerRow.
1938 Styles are applied using MergeWith instead CopyFrom
1939 to allow using custom styles for rows in code-behind.
1941 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1943 * GridView.cs: fixed: RowCommand event is fired properly.
1945 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1947 * GridView.cs: fixed: created rows are added in table after initialization.
1950 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1952 * Panel.cs: fixed 'background-image' attribute.
1954 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1956 * BaseDataBoundControl.cs:
1957 * DataBoundControl.cs:
1958 fixed DataBinding flow: RequiresDataBinding is set to false in
1960 * HierarchicalDataBoundControl.cs: implemented MarkAsDataBound().
1962 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1966 fixed DataBinding flow for Insert mode.
1968 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1971 does not RegisterRequiresPostBack if is not enabled.
1973 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1977 fixed PopulateOnDemand: used UniqueID to call WebForms_DoCallBack().
1979 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
1981 * MultyView.cs: OnActiveViewChanged is called.
1983 2007-01-29 Vladimir Krasnov <vladimirk@mainsoft.com>
1985 * Panel.cs: fixed AddAttributesToRender for 2.0, text align should be
1988 2007-01-29 Adar Wesley <adarw@mainsoft.com>
1990 * EditCommandColumn.cs: implemented CausesValidation and
1991 ValidationGroup and coresponding tests.
1992 * DataGrid.cs: fixed generated table to be compatible with MS 2.0
1994 2007-01-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1996 * WebControl.cs: added internal method AddDisplayStyleAttribute for
1997 display:inline-block style attribute
2000 * CheckBox.cs: added call to AddDisplayStyleAttribute on rendering
2002 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
2004 * TreeView.js: Used WebForm_GetFormFromCtrl to lookup the form.
2006 2007-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
2008 * TextBox.cs: implemented AutoCompleteType property, fixed
2009 AddAttributesToRender
2011 2007-01-24 Ilya Kharmatsky <ilya -at- decode-systems.com>
2013 * DetailsView.cs: fixed problems with rendering of control, when
2014 empty data source is provided. Respective tests are provided
2015 in DetailsViewTest.cs
2017 2007-01-21 Konstantin Triger <kostat@mainsoft.com>
2019 * TreeView.js, DetailsView.js, Menu.js, GridView.js:
2020 suppress exception if eval() fails.
2022 2007-01-20 Miguel de Icaza <miguel@novell.com>
2024 * DataControlFieldCollection.cs (RemoveAt): remove unused
2027 * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
2030 * RadioButton.cs (RaisePostDataChangedEvent): This method was not
2031 used in 1.0, so put the whole method in 2.0
2033 2007-01-18 Adar Wesley <adarw@mainsoft.com>
2035 * Xml.cs: added support for XPathNavigator, fixed DocumentContent
2036 to be compatible with MS 2.0, implemented EnableTheming, implemented
2037 SkinID, fixed Focus behavior.
2039 2007-01-18 Vladimir Krasnov <vladimirk@mainsoft.com>
2041 * Menu.js, Menu.js: added null reference checking for every getTree or
2044 2007-01-18 Adar Wesley <adarw@mainsoft.com>
2046 * SiteMapDataSource.cs: implemented logic of GetStartNode when
2047 StartingNodeOffset is positive.
2049 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
2051 * BaseValidator.cs: ToString the validating property value or
2052 if null return an empty string.
2054 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2056 * TreeView.cs: fixed RegisterStyle, style names should be without
2057 leading underscore. fixed RenderNode, node icons should be taken also
2060 2007-01-17 Adar Wesley <adarw@mainsoft.com>
2062 * Repeater.cs: refactored GetData to return data both from DataSource
2063 and DataSrouceID, Implemented EnableTheming, updated initialization of
2064 DataBinding according to the pattern of BaseDataBoundControl, fixed
2065 SelectArguments implementation to call the virtual
2066 CreateDataSourceSelectArguments method.
2068 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
2070 * GridView.cs: don't force creating rows collection when SelectedIndex
2071 changes; EnsureDatabound on select.
2073 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2075 * TreeNode.cs: fixed Bind, fixed Value updating
2077 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2079 * DataList.cs: fixed OnBubbleEvent, added SelectedIndex updating
2081 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2083 * DetailsView.cs: fixed CreateChildControls, PageIndex cannot be less
2086 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2088 * DetailsView.cs: fixed CreateChildControls, PageIndex should be less
2089 or equal to PageCount
2091 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2093 * Menu.cs: added z-index attribute to popup div's.
2095 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2097 * FileUpload.cs: fixed FileName property, should return filename
2098 without full path on client side
2100 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
2105 Implemented the protected net_2_0 method 'VerifyMultiSelect' with
2106 proper overloading in derived types.
2108 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2111 considers INavigateUIData.NavigateUrl when bound.
2113 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2115 * CompleteWizardStep.cs
2116 * CreateUserWizard.cs
2117 * CreateUserWizardStep.cs
2118 * TemplatedWizardStep.cs
2120 make the design complied to .NET
2121 build all possible controls at once and manage render by Visible property
2123 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
2124 * Button.cs, HyperLink.cs, DataGrid.cs, ImageButton.cs, LinkButton.cs,
2125 PagedDataSource.cs: Added J2EE Portal support for TARGET_J2EE.
2127 2007-01-14 Ilya Kharmatsky <ilyak-at-mainsoft.com>
2128 * BaseCompareValidator
2130 Added support for CultureInvariantValues property, which should be
2131 counted in new 2.0 methods such as - Compare, Convert etc. The code
2132 has been changed in such way, that the old - 1.1 method implementation
2133 could use the new methods defined for 2.0 version.
2135 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2137 * XmlDataSource.cs: refactored to use cached collection.
2138 * SqlDataSource.cs: refactored to use cached collection;
2139 don't throw exception on 'DefaultView'.
2140 * ObjectDataSource.cs: refactored to use cached collection.
2142 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2144 * ObjectDataSourceView.cs: consider parameter names and
2145 DataObjectMethodAttribute during method resolution.
2147 2007-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2149 * SqlDataSourceView.cs: fixed OnUpdating, OnInserting call with
2150 SqlDataSourceCommandEventArgs
2152 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2154 * ObjectDataSourceView.cs: use case unsensitive comparer for
2155 parameters collection.
2157 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2159 * LoginStatus.cs: fixed: not causes page validation.
2161 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2163 * CreateUserWizard.cs: fixed: resolves ErrorMessage control correct.
2164 * CreateUserWizardStep.cs:
2166 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2168 * TreeView.cs: fixed: SelectedNode, CheckedNodes.
2170 * TreeNodeCollection.cs:
2172 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2174 * GridView.cs: fixed: header and footer does not appear in no items.
2175 * CompositeDataBoundControl.cs:
2177 2007-01-09 Konstantin Triger <kostat@mainsoft.com>
2179 * AdRotator.cs: Backport the fix for AdRotator AbsoluteUri to 1.1.
2181 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2183 * GridView.cs: fixed: SelectedDataKey.
2185 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2189 implemented 2.0 features.
2191 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2193 * SqlDataSourceView.cs: fixed parameters init for ExecuteUpdate
2195 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2197 * DataSourceCacheManager.cs:
2198 * ObjectDataSource.cs:
2200 fixed: cache considers parameters values changes.
2202 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2204 * DetailsView.cs: fixed DeleteItem, excluded keys for new values
2205 * SqlDataSourceView.cs: fixed ExecuteDelete, check cancel in
2208 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2210 * GridView.cs: fixed: show all rows when AllowPaging=false
2212 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2214 * SqlDataSourceView.cs: fixed CreateDbParameter, used DBNull for value=null.
2216 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2218 * ButtonField.cs: fixed: consider its CausesValidation property.
2220 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2222 * GridView.cs: fixed:
2223 ReadOnly property is false for AutoGeneratedColumn if field is DataKey.
2224 causesValidation parameter is considered properly in UpdateRow.
2225 OldValues contains readonly fields values
2227 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2229 * SqlDataSourceView.cs: fixed InitializeParameters, added
2230 ParameterPrefix when check that param is already in collection
2232 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2234 * AdRotator.cs: fixed: considers absolute uri such html://......
2236 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2238 * SqlDataSourceView.cs: fixed insert, delete, update methods, added
2239 calls to OnDataSourceViewChanged
2241 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2243 * added ProfileParameter.cs
2245 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2247 * Label.cs: fixed: according MSDN OnPreRender is not overridden.
2249 2007-01-04 Adar Wesley <adarw@mainsoft.com>
2251 * ImageButton.cs: implemented GenerateEmptyAlternateText
2253 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2255 * FormView.cs: fixed data binding flow considers Insert mode.
2257 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2259 * DataBoundControl.cs: fixed Init flow.
2261 2007-01-4 Adar Wesley <adarw@mainsoft.com>
2263 * RadioButtonList.cs: Implemented properties of IRepeatInfoUser as public virtual
2265 2007-01-03 Marek Habersack <grendello@gmail.com>
2267 * ObjectDataSourceView.cs: Look for unqualified type also in the top-level assemblies.
2269 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2271 * FormView.cs: fixed PageIndex property.
2273 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2275 * ListControl.cs: fixed SelectedValue and SelectedIndex properties.
2276 set accessor works differently in 2.0.
2278 2007-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
2280 * SqlDataSourceView.cs,ObjectDataSourceView.cs: fixed parameter merge
2281 when values and old values are null
2283 2006-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2285 * ListControl.cs: reverted r70112, fixed in r70319.
2287 2007-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2289 * DetailsView.cs: fixed CreateAutoGeneratedRows.
2291 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2293 * AutoGeneratedField.cs: is editable in Insest mode.
2294 * BoundField.cs: is editable in Insest mode.
2295 * CheckBoxField.cs: is editable in Insest mode.
2296 * DetailsView.cs: fixed DataBinding flow.
2298 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2300 * BaseDataBoundControl.cs:
2301 * CompositeDataBoundControl.cs: fixed DataBinding flow.
2303 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2305 * LinkButton.cs: show the validation summary when client validation
2306 and linkbuttons are used. Patch by Juraj Skripsky.
2308 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2310 * TextBox.cs: consider ToolTip property
2312 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2314 * ContainedTable.cs:
2315 * DataControlButton.cs:
2316 * DetailsView.cs: fixed EnablePagingCallbacks
2319 * GridView.js: fixed EnableSortingAndPagingCallbacks
2321 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2324 ResolveClientUrl used with LineImagesFolder, ExpandImageUrl,
2325 CollapseImageUrl and NoExpandImageUrl properties.
2327 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2329 * SqlDataSource.cs: Added parameters update on OnInit
2331 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2333 * LoginView.cs: fixed rendering LoggedInTemplate even after user
2336 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2341 control's behavior depends on using DataSource or DataSourceID
2342 property for binding
2344 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2346 * CommandField.cs: fixed:
2347 when ShowEditButton=false Update/Cancel button doesn't appear.
2348 when ShowInsertButton=false Insert/Cancel button doesn't appear.
2350 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2352 * Login.cs: fixed AuthenticateUser, should redirect to ReturnUrl when
2354 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2356 * Parameter.cs: fixed ConvertValue to coorect handle TypeCode.Empty
2357 * ObjectDataSourceView.cs: fixed MergeParameterValues,
2358 call Parameter.ConvertValue
2359 fixed ConvertParameter to hanlde TypeCode.Empty
2360 * SqlDataSourceView.cs: fixed InitializeParameters,
2361 call Parameter.ConvertValue
2362 fixed ParameterPrefix property
2363 fixed CreateDbParameter, added usege of ParameterPrefix
2365 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2367 * ListControl.cs: fixed: when is used with DataSourceID data bind is not
2368 perfomed on PostBack because Items collection is restored from View state.
2370 2006-12-26 Igor Zelmanovich <igorz@mainsoft.com>
2372 * DataGridPagerStyle.cs:
2377 * TableItemStyle.cs:
2382 fixed: Load/Save viewstate of WebControl does not call Load/Save viewstate
2383 for it's ControlStyle, but the shared ViewState is used to manage style's
2386 2006-12-21 Igor Zelmanovich <igorz@mainsoft.com>
2388 * CompleteWizardStep.cs:
2389 * CreateUserWizard.cs:
2390 * CreateUserWizardStep.cs:
2391 * TemplatedWizardStep.cs:
2393 fixed: CreateUserWizard works properly in advanced scenarios
2394 such being used with additional steps or/and with custom templates.
2395 Styles are aplied properly.
2397 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
2399 * SqlDataSourceView.cs: fixed InitializeParameters, parameters order
2400 parameters case insensetive search
2401 * ObjectDataSourceView.cs: fixed MergeParameterValues, parameters
2402 case insensetive search
2404 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2406 * Menu.cs: fixed: ResolveClientUrl used with src and href attributes
2408 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2412 TreeNodeCollapsed is not raised for leaf node.
2414 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2416 * DataGrid.cs, RepeatInfo.cs: fixed accessibility features
2418 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2420 * Calendar.cs: support DayNameFormat.Shortest
2422 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2424 * HiddenField.cs: implemented
2426 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2428 * FormView.cs: fixed: FillRowDataKey
2429 * DetailsView.cs: fixed: FillRowDataKey
2431 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2433 * TreeView.cs: fixed: ResolveClientUrl used with ImageUrl and NavigateUrl
2435 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2437 * Login.cs: refactored rendering, fixed OnAuthenticate event
2439 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2441 * GridView.cs: fixed: Update works not only for EditRow
2443 * CompositeDataBoundControl.cs:
2445 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2447 * RadioButton.cs: fixed:
2448 When GroupName is not defined UniqueID is used instead for name attribute.
2449 CheckedChanged is raised only when control is checked.
2451 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2453 * Menu.cs: fixed: rendering.
2455 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2457 * Menu.cs: fixed: rendering.
2459 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2464 fixed rendering for 2.0
2466 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2468 * DetaisView.cs: fixed: rendering.
2469 * DataControlButton.cs:
2472 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2474 * FormView.cs: fixed: avoid empty row rendering.
2476 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2478 * AdRotator.cs: fixed:
2479 MSDN: The ImageUrl and NavigateUrl attributes can be a full URL, a
2480 root-relative path, or a relative path. If you use a root-relative path,
2481 the path is relative to the same Web site. If you use a relative path,
2482 the path is relative to the directory that contains the advertisement file.
2484 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2486 * BaseCompareValidator.cs: fixed: support for type=Date on client side.
2488 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2490 * TreeView.cs: fixed: support for event validation.
2492 2006-12-04 Igor Zelmanovich <igorz@mainsoft.com>
2494 * DataGridPagerStyle.cs: chenged values of DataGridPagerStyles flags.
2496 2006-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2498 * CreateUserWizard.cs: implement GeneratePassword based on Membership.
2500 2006-11-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2502 * Wizard.cs: fixed GetStepType method that returned wrong type if the
2503 last step type is Complete.
2504 fixed ProcessEvent method, corrected FinishButtonClick behavior
2506 2006-11-26 Marek Habersack <grendello@gmail.com>
2508 * Calendar.cs: Fixed event validation registration. Now it
2509 registers all the arguments that can be passed by this control to
2512 2006-11-25 Marek Habersack <grendello@gmail.com>
2514 * FileUpload.cs: Implementation of SaveAs
2516 * TreeView.cs: A few optimizations for empty style collections.
2518 * Menu.cs: A few optimizations for empty style collections.
2520 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2522 * BoundField.cs: fixed: GetDesignTimeValue()
2524 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2526 * SiteMapDataSource.cs: fixed: GetViewNames()
2528 2006-11-23 Vladimir Krasnov <vladimirk@mainsoft.com>
2530 * ChangePassword.cs: implemented functionality
2531 * MailDefinition.cs: implemented CreateMailMessage method
2532 * PasswordRecovery.cs: implemented functionality
2534 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2536 * CircleHotSpot.cs: fixed:
2537 setting Radius with value <0 throws ArgumentOutOfRangeException.
2539 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2541 * CookieParameter.cs: fixed Evaluate method.
2543 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2545 * Parameter.cs: fixed Evaluate, ToString methods.
2546 * QueryStringParameter.cs: fixed Evaluate method.
2547 * SessionParameter.cs: fixed Evaluate method.
2549 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2551 * ImageMap.cs: fixed rendering.
2553 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2555 * HotSpot.cs: fixed: AccessKey and HotSpotMode
2556 throw ArgumentOutOfRangeException.
2558 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2560 * ControlParameter.cs: fixed: Evaluate method
2561 throws exceptions correctly.
2563 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2565 * CheckBox.cs: fixed: new 2.0 features such
2566 LabelAttributes and InputAttributes.
2568 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2570 * GridView.cs: fixed: header, footer and empty rows are databound.
2572 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2574 * Style.cs: added internal helper method RemoveTextStyles.
2576 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2578 * Button.cs: fixed: support for event validation.
2579 * CheckBox.cs: fixed: support for event validation.
2580 * FormView.cs: fixed: support for event validation.
2581 * ImageButton.cs: fixed: support for event validation.
2582 * ListBox.cs: fixed: support for event validation.
2583 * TextBox.cs: fixed: support for event validation.
2585 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2587 * DropDownList.cs: fixed: support for event validation.
2589 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2591 * LinkButton.cs: optimized: support for event validation.
2592 * DataControlButton.cs: Added support for event validation.
2593 * DetailsView.cs: fixed: RowIndex for DetailsViewRow.
2595 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2597 * LinkButton.cs: Added support for event validation.
2599 2006-11-17 Marek Habersack <grendello@gmail.com>
2601 * ImageButton.cs: Added support for event validation.
2603 * ListBox.cs: Added support for event validation.
2605 * Calendar.cs: Added support for event validation.
2607 * DropDownList.cs: Added support for event validation.
2609 * FormView.cs: Added support for event validation.
2611 * RadioButtonList.cs: Added support for event validation.
2613 * TextBox.cs: Added support for event validation.
2615 * BulletedList.cs: Added support for event validation.
2617 * CheckBox.cs: Added support for event validation.
2619 * Button.cs: Added support for event validation.
2621 2006-11-16 Igor Zelmanovich <igorz@mainsoft.com>
2623 * CreateUserWizard.cs: fixed: ActiveStepIndex property.
2625 2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>
2627 * ListControl.cs: fixed: DataBinding for 2.0, for 1.x - refactoring only.
2629 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2631 * GridView.cs: fixed: Rows property, DataBinding flow.
2632 * DataBoundControl.cs:
2633 * BaseDataBoundControl.cs:
2635 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2637 * CompositeDataBoundControl.cs: fixed:
2638 DataBind call Controls.Clear().
2640 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
2642 * CompositeDataBoundControl.cs: fixed:
2643 DataBind sets ChildControlsCreated=true.
2645 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2647 * Login.cs: fixed CreateChildControls, throws exception if needed
2649 * LoginView.cs: fixed CreateChildControls, check templates for null
2651 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2653 * Wizard.cs: fixed ActiveStepIndex property, fixed SideBar button
2654 rendering, fixed history updating
2655 * WizardStepCollection.cs: fixed implemented interfaces
2657 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2659 * XmlDataSource.cs: CacheKeyDependency fixed
2661 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
2663 * DetailsView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2665 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2667 * DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.
2669 2006-11-09 Vladimir Krasnov <vladimirk@mainsoft.com>
2671 * ParameterCollection.cs: fixed SetDirtyObject method
2672 * ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState
2673 utilization for control's properties, implemented caching
2674 * SqlDataSource.cs, SqlDataSourceView.cs: implemented caching
2676 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2678 * GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2680 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2682 * DataBoundControl.cs: fixed:
2683 ConfirmInitState method s called by
2684 the DataBoundControl class in its OnLoad method.
2686 2006-11-06 Igor Zelmanovich <igorz@mainsoft.com>
2688 * FormView.cs: fixed: DataBinding flow.
2690 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2692 * CustomValidator.cs: implemented ValidateEmptyText fixture.
2694 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2696 * BaseCompareValidator.cs: fixed: CultureInvariantValues, Type properties.
2698 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2700 * Menu.cs: fixed: RenderEndTag.
2701 Dynamic menu is rendered when StaticDisplayLevels=1
2703 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2705 * GridView.cs: fixed: UpdateRow, DeleteRow, RowCreated.
2707 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2709 * FormView.cs: fixed: UpdateItem, DeleteItem.
2711 2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>
2713 * DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.
2715 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2717 * RadioButtonList.cs: fixed: has no html output when Items.Count=0.
2719 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2721 * ListControl.cs: fixed: setting SelectedVolue for 2.0.
2723 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2725 * DataBoundControl: fixed: ValidateDataSource allows null as dataSource.
2727 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2729 * ListControl.cs: fixed: assigning SelectedIndex with too hight value.
2731 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2733 * ListControl.cs: fixed: DataBinding for 2.0.
2734 for 1.x refactoring only.
2736 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2738 * ChangePassword.cs: new class was implemented.
2740 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2742 * EmbeddedMailObject.cs: new class was implemented.
2743 * EmbeddedMailObjectsCollection.cs: new class was implemented.
2744 * MailDefinition.cs: new class was implemented.
2746 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2748 * PagerSettings.cs: fixed: CreatePagerControl.
2750 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2752 * CommandField.cs: fixed:
2753 considers CaseValidation, ValidationGroup, ButtonType.
2754 * DataControlButton.cs: refactoring:
2756 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2758 * DetailsView.cs: implemented: GetCallbackScript method.
2760 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2762 * FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2764 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2766 * FormFiew.cs: fixed: UpdateItem, InsertItem.
2768 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2770 * FormFiew.cs: fixed: PageIndex, rendering.
2772 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2774 * DropDownList.cs: fixed: rendering "name" attribute".
2776 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2778 * GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2779 * DataControlButton.cs:
2780 * CommandField.cs: CausesValidation feature must be implemented other way
2782 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2784 * CompositeDataBoundControl.cs: fixed: CreateChildControls flow.
2786 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2788 * FormView.cs: fixed: OnBubbleEvent returns true when event is handled.
2790 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2792 * DetailsView.cs: fixed: OnBubbleEvent works properly.
2794 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2796 * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
2798 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2800 * DetailsView.cs: fixed: CurrentMode property.
2802 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2804 * DetailsView.cs: fixed: current state are not changed during paging.
2806 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2808 * DetailsView.cs: fixed:
2809 in Insert mode Select not invoked from DataSource
2811 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
2813 * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
2815 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2817 * FormView.cs: fixed: CreateDataSourceSelectArguments method.
2818 (corresponding test does not work because bug in ObjectDataSourceView)
2820 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2822 * DataBoundControl.cs: fixed: DataBind calls
2823 CreateDataSourceSelectArguments() and stores result in SelectArguments
2825 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2829 fixed: EnablePagingCallbacks feature.
2830 when postback is invoked after callback control state is restored
2833 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2835 * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
2837 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2839 * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
2840 (corresponding test does not work because bug in ObjectDataSourceView)
2842 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2844 * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
2845 when postback is invoked after callback control state is restored
2848 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2850 * GridView.cs: fixed: Sorting feature.
2851 When sorting EditIndex and PageIndex are reseted
2853 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2855 * GridView.cs: fixed: Sorting feature.
2856 CreateDataSourceSelectArguments considers SortExpression and SortDirection.
2857 (corresponding test does not work because bug in ObjectDataSourceView)
2859 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2861 * GridView.cs: fixed:
2862 CreateDataSourceSelectArguments works according to MSDN.
2863 (corresponding test does not work because bug in ObjectDataSourceView)
2865 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2867 * ObjectDataSourceView.cs: fixed:
2868 CanRetrieveTotalRowCount returns true if EnablePaging = false
2870 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
2872 * DataBoundControl.cs: fixed: DataBind flow
2873 CreateDataSourceSelectArguments() is called
2874 each time as DataBind() is called
2876 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2878 * BoundField.cs: implemented ValidateSupportsCallback().
2880 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2882 * CommandField.cs: ValidateSupportsCallback(): exception's message.
2884 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2886 * FormView.cs: fixed: CurrentMode property.
2888 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2894 reverted r66222, problem solved in r66283: command buttons inherit ForeColor
2896 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2898 * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
2901 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2903 * HyperLink.cs: don't render the img tag 'by hand' but use an Image
2904 instead, which takes care of the 0/0px case. Also set the ToolTip
2905 property. Fixes bug #79585.
2907 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2909 * DetailsView.cs: optimization for previous patch
2911 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2913 * FormView.cs: optimization for previous patch
2915 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2918 * DetailsViewRow.cs:
2919 implemented PrepareControlHierarchy()
2920 styles are applied correct
2922 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2925 implemented PrepareControlHierarchy()
2926 styles are applied correct
2928 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2931 * DataControlButton.cs:
2932 * DataControlField.cs:
2933 implemented PrepareControlHierarchy()
2934 styles are applied correct
2935 command buttons inherit ForeColor
2937 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2939 * WebControl.cs: fixed: CreateControlStyle()
2941 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2947 corrected pager rendering: Color style applied to A tag,
2948 Input type="image" used if ImageUrl is not empty.
2950 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2952 * GridView.cs: corrected rendering
2953 * ContainedTable.cs: added new helper class
2955 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2957 * FormView.cs: fixed:
2958 in Insert mode Select not invoked from DataSource
2960 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2962 * FormView.cs: fixed:
2963 Pager is not shown when page count < 1
2964 in Edit mode use EmptyDataTemplate if there is no DataItem
2965 when page changed FormView stays in current state.
2967 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
2969 * FormView.cs: fixed: OnBubbleEvent works properly
2971 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
2973 * DataBoundControl.cs: fixed: DataBind flow
2974 GetData return "empty" DataSourceView when no DataSource and DataSourceID
2975 was assigned to cause PerformDataBinding be called.
2977 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2979 * DataList.cs: use ExtractTemplateRows to determine if the style is
2980 applied to the Table in a template or to its rows. Fixes bug #78058.
2982 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2984 * ListBox.cs: if the list is not enabled, don't require a postback.
2987 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2989 * HyperLink.cs: don't output the nabvigate url if disabled.
2990 * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
2991 the link URL if disabled.
2994 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2996 * RadioButtonList.cs:
2997 make it to consider CausesValidation and ValidationGroup properties
2999 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3002 make it to consider CausesValidation and ValidationGroup properties
3004 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3007 Page.Validate() is called when CausesValidation=true
3009 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3012 make onclick attribute to consider ValidationGroup property.
3014 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3017 make rendering of the href attribute to consider ValidationGroup property.
3018 Page.Validate() is called when CausesValidation=true
3020 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3023 make rendering of the onchange attribute to consider ValidationGroup
3025 Page.Validate() is called when CausesValidation=true
3027 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3030 make rendering of the onclick attribute to consider ValidationGroup property
3031 Page.Validate() is called when CausesValidation=true
3033 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3036 VewState saving and restoring rolled back to 1.1 implementation
3037 (fixed corresponding test), corrected public interface (there are no
3038 overriden methods SaveControlState, LoadControlState and OnInit),
3039 implemented CausesValidation and ValidationGroup properties.
3041 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3044 make rendering of the onclick attribute to consider ValidationGroup property
3045 Page.Validate() is called when CausesValidation=true
3047 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3050 implemented: RaisePostBackEvent,
3051 refactoring: GetPostBackOptions used to build onclick client event
3053 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3055 * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
3057 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3059 * BaseValidator.cs: implemented ValidationGroup feature on client side
3060 * ValidationSummary.cs:
3062 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
3064 * TreeView.cs: corrected rendering
3067 2006-09-11 Konstantin Triger <kostat@mainsoft.com>
3069 * Login.cs: ensure the urls are correctly resolved.
3071 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3073 * TreeView.cs: corrected rendering: styles are applied correct
3077 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3079 * TreeView.cs: corrected rendering: HoverNodeStyle works
3083 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3085 * TreeNodeStyle.cs: fixed: ViewState restored properly
3087 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3091 * TableItemStyle.cs:
3092 * DataGridPagerStyle.cs:
3093 refactoring: makes Style class more flexible for inheriting and reuse
3095 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3097 * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked
3098 state restored correct on PostBack.
3101 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3103 * ObjectDataSourceView.cs: correctly find the type when it is not in the
3104 executing assembly. Fixes bug #78321. Patch by Marek Habersack.
3106 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3108 * ControlParameter.cs: fix search for controls so that they use their
3109 NamingContainer, not the Page. Patch by Marek Habersack that fixes
3112 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3114 * Login.cs: fix problem with the login control and master pages.
3115 Patch by Marek Habersack that fixes bug #78219.
3117 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3119 * TreeView.cs: fixed: populating nodes.
3122 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3124 * TreeNode.cs: fixed: ToggleExpandState.
3126 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
3128 * SqlDataSourceView.cs: return DataView from ExecuteSelect when
3129 DataSourceMode is DataSet.
3131 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3133 * TreeView.cs: fixed: populating nodes flow.
3134 * TreeNodeCollection.cs
3137 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3139 * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.
3141 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3143 * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.
3145 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3147 * TreeView.cs: fixed: when specified value is not one of
3148 the TreeNodeTypes values exception is threw.
3150 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3152 * TreeView.cs: fixed: when specified image set is not one of
3153 the TreeViewImageSet values exception is threw.
3155 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
3157 * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.
3159 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
3161 * Style.cs: implemented SetBit().
3163 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3165 * CompareValidator.cs: fixed controltocompare attribute.
3167 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3170 when login attempt was not successful FailureText is shown.
3172 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3174 * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage
3175 is formatted correct.
3177 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3179 * CreateUserWizard.cs:
3180 * CompleteWizardStep.cs:
3181 * CreateUserWizardStep.cs:
3183 fixed: ContinueButtonClick occurs when the user clicks
3184 the Continue button in the final user account creation step.
3185 ContinueDestinationPageUrl - redirected after clicking
3186 the Continue button on the success page.
3188 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3190 * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
3191 insted internal DataControlButton.
3193 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3195 * Button.cs: implemented GetPostBackOptions + refactoring
3197 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3199 * ImageButton.cs: implemented 2.0 features
3200 OnClientClick attached to onclick attribute.
3201 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3202 generate onclick attribute.
3204 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3206 * LinkButton.cs: typo fix
3208 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3210 * Button.cs: refactoring
3212 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3214 * LinkButton.cs: implemented 2.0 features
3215 OnClientClick attached to onclick attribute.
3216 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3219 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
3221 * Button.cs: implemented 2.0 features
3223 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
3225 * Menu.cs: refactoring
3228 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3230 * TreeView.cs: fixed data binding
3232 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3234 * TreeNodeBinding.cs: fixed ToString method
3236 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3238 * MenuItem.cs: typo fix
3240 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3242 * CreateUserWizardStep.cs: fixed validators message display
3244 2006-08-25 Kornél Pál <kornelpal@gmail.com>
3246 * FileUpload.cs: Use assembly name constants.
3248 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3250 * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
3251 always creates ExtractTemplateValuesMethod delegate
3253 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
3255 * TreeNodeBinding.cs: corrected public interface
3258 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3260 * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
3261 case, but there are many others.
3263 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3265 * Menu.cs: corrected rendering of static and dynamic items
3268 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3272 fixed: AddAttributesToRender method calls FillStyleAttributes,
3273 text styles applied correct.
3275 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3278 fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
3279 refactoring: Name and Names properties has same source in bag.
3281 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3283 * Style.cs: restored r63894: for 1.x is refactoring only
3285 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3288 fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
3289 added ClearDefaults method for 2.0.
3291 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3293 * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
3296 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3298 * SubMenuStyle.cs: fixed:
3299 Unit.ToString() already include unit (e.g. "3px")
3301 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3304 * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
3305 submitted for review and it only added tests for the 2.0 profile.
3307 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3309 * FormView.cs: added explicit implementation of
3310 IDataItemContainer.DataItemIndex, as documented
3312 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
3315 When style is registered with StyleSheet AddAttributesToRender method
3316 adds class attribute but not style to writer
3318 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
3321 OnBubleEvent works properly - controls like Button, LinkButton nested into template
3322 can raise MenuItemClick event,
3323 ViewState of Items saved and restored properly.
3325 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
3327 * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
3330 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
3332 * Menu.cs: fixed databinding feature:
3333 ensure that items initialization occurs only once
3335 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
3337 * Menu.cs, MenuItem.cs: fixed databinding feature
3339 2006-08-09 Robert Jordan <robertj@gmx.net>
3341 * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
3342 replace ResolveUrl with ResolveClientUrl to match MS.NET's
3343 behaviour. Fixes bug #77539.
3345 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
3347 * HierarchicalDataBoundControl.cs: fixed DataBind flow
3349 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3355 * WebControl.cs: fixed ParseChildren attribute to be compliant
3358 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3360 * MultiView.cs: fixed: EnableTheming property
3362 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3366 * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
3368 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3370 * Style.cs: fixed restoring FontInfo from ViewState
3372 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3374 * XmlDataSource.cs: implemented caching functionality
3376 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3378 * PagerSettings.cs: Fixed the pager range calculation formula. The old
3379 one didn't work with more than 20 pages. Patch by Marek Habersack that
3382 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3384 * FormView.cs: fixes to make Render more similar to dotnet.
3386 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
3388 * Wizard.cs: fixed return value of OnBubbleEvent
3390 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3392 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
3393 handle null result of GetData().
3395 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3397 * FormView.cs: use TableStyle for ControlStyle.
3399 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3401 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
3403 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3405 * FormView.cs: init DataKeys and fix null reference.
3407 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3409 * TreeView.cs: several changes to improve compatibility with MS.
3410 Patch by Marek Habersack that fixes bug #77551.
3412 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3414 * Style.cs: output the text-decoration value even when it is 'none'.
3415 Patch by Marek Habersack that fixes bug #78968.
3417 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3419 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
3422 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3424 * DetailsViewRowCollection.cs: returns this in SyncRoot.
3426 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3428 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
3431 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3433 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
3435 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3437 * AutoGeneratedField.cs: fix the internal constructor according to test
3438 DetailsView_CreateAutoGenerateRow.
3440 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
3442 * XmlDataSource.cs: implemented XSLT, removed properties from
3444 * XmlDataSourceView.cs: fixed default xpath
3446 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
3448 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
3450 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
3452 * Wizard.cs: fixed ActiveStep property
3453 fixed templated side bar
3455 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3457 * ImageField.cs: fix null reference bug.
3459 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3461 * DetailsView.cs: init DataKey property with empty collection.
3462 * DataKey.cs: fix unexpected exception bug.
3463 * DataControlField.cs: override ToString according to MSDN.
3465 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3467 * DetailsView.cs: create table style in CreateControlStyle.
3469 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3471 * DetailsView.cs: don't throw the exception which .Net does not throw.
3473 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3475 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
3476 to match .Net; fix PageCount to match record count.
3478 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3480 * Menu.cs: fixed properties default values, fixed rendering
3483 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3485 * Wizard.cs: implemented SkipLinkText, TagKey
3486 fixed rendering bugs, fixed templated button bar rendering
3487 fixed side bar rendering
3488 * WizardStepBase.cs: fixed Name property
3490 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3492 * DetailsView.cs: fix the regressions, caused by the previous commit.
3494 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3496 * DetailsView.cs: correct handling the different default values of
3497 DetailsView.CellSpacing and Table.CellSpacing.
3499 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3501 * DetailsView.cs: create a pager row when needed.
3503 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3507 * PagedDataSource.cs:
3510 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
3511 support it. The GridView control will no longer throw an exception when
3512 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
3514 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3516 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
3517 Rows with empty collection; call EnsureChildControls from get Row;
3518 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
3519 implemented IPostBackContainer.GetPostBackOptions.
3521 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3523 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
3524 and FooterText are empty, to match .NET. Otherwise we have NullReference
3527 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3529 * DetailsView.cs: Render fix.
3531 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3533 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
3536 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3538 * DetailsView.cs: NullReferenceException fix
3540 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3542 * PagerSettings.cs: implemented PropertyGhanged event
3544 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3546 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
3547 with .Net; don't throw NotImplemented when base class implementation
3550 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3552 * DetailsViewPagerRow.cs: add a stub for this class
3554 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3556 * GridView: fixed DataKeyNames property, moved to ControlState
3557 fixed PageCount property, initial PageCount ahould be zero
3558 fixed SelectedDataKey, should throw exception if not initialized
3559 fixed CreateColumns, wrong order of columns
3560 fixed CreateControlStyle,
3561 fixed InitializePager, no columnspan attrib on only one column
3562 fixed LoadControlState, SaveControlState added DataKeyNames
3563 fixed Render, RenderGrid should render within div tag
3564 implemented GetPostBackOptions
3565 * DataControlButton.cs: fixed Render, fixed style for img button
3567 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3569 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
3572 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3574 * CommandField.cs: fixed ValidateSupportsCallback
3576 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3578 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
3579 affect the flow yet.
3581 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3583 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
3585 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3587 * WebControl.cs: fix for AddAttributesToRender - add display
3588 style when appropriate
3590 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3592 * CommandField.cs: fixed InitializeCell, wrong order of command
3594 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
3595 should be rendered as label
3596 * BoundField.cs: empty null value should be rendered as nbsp
3597 * GridViewRowCollection.cs: fixed SyncRoot
3599 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3601 * SiteMapPath.cs: create Literal instead of Label according to the
3602 MSDN and test SiteMapPath_InitializeItem.
3604 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3606 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
3607 * Image.cs: in 2.0 there is no border attribute, but border-width
3610 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3612 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
3614 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3616 * DataList.cs: correctly initialize editable items when there's an
3617 EditItemTemplate. Patch by Jarosław Pawlak.
3619 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
3621 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
3624 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3626 * BulletedList.cs: fixed Render, RenderBulletText, various properties
3627 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
3630 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3632 * MultiView.cs: 'initied' state variable was changed to views count in
3633 the views collection.
3635 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3637 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
3638 checkbox should have tooltip
3639 * HyperLinkField.cs: fixed InitializeCell, should create link control
3640 only in data cell (not in header or footer), initialization of
3642 * ImageField.cs: fixed InitializeDataCell, initialization of
3645 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3647 * MultiView.cs: removed exception throwing from ActiveViewIndex
3649 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
3651 * DataControlFieldCollection.cs: added OnClearComplete override;
3652 refactor to eliminate null reference exception.
3654 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3656 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
3657 * View.cs: fixed Visible property
3659 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
3661 * ImageField.cs: fixing .net compliancy.
3663 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
3665 * SiteMapPath.cs: fix the default PathSeparator value.
3667 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3669 * GridView.cs: always create Header/Fotter rows, but render only when
3670 ShowHeader/Footer is true. Compute Header/Footer rows from rows
3672 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
3673 add ToolTip and Text to the created CheckBox,
3674 wrap exception thrown in OnDataBindField in httpException.
3676 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3678 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
3680 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3682 * DataControlField.cs: correct handling empty header/footer text.
3683 * TemplateField.cs: correct initialization according to
3684 DataControlRowState.
3686 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
3688 * Wizard.cs: added functionality for Templated WizardStep
3689 and CreateUserWizard
3690 * added CompleteWizardStep.cs, CreateUserWizard.cs,
3691 CreateUserWizardStep.cs, TemplatedWizardStep.cs
3693 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3695 * AutoGeneratedField.cs: correcting default dataType.
3697 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3699 * DataControlField.cs: fixed Initialize, should always return false
3701 2006-07-03 Lluis Sanchez <lluis@novell.com>
3703 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
3705 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3707 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
3708 setting RequiresDataBinding in OnLoad event.
3709 * GridView.cs: DataBind rows before other control can access the data.
3710 * BoundField.cs: add unique ID to control for postback parameters.
3712 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3714 * WebControl.cs: fix typo in EnableTheming.
3716 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
3718 * MenuItemCollection.cs: save items if the collection is dirty.
3719 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
3720 Add item to collection before binding to let the state be correctly tracked.
3721 * Menu.cs: Add item to collection before binding to let the state be correctly
3724 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
3726 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
3727 test against with "^...$" if necessary. MS.NET does this too.
3729 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
3731 * WizardStepCollection.cs: Fixed Add methods to initialize
3732 WizardStep.Wizard property
3733 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
3734 Fixed GetStepType, if only one step present, it should be FinishStep
3735 Fixed styles of tables for more accurate rendering, fixed Wizard
3738 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
3740 * FormView.cs: instantiate correct template when the bounding data source is
3743 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
3745 * FormView.cs: disabling setting out of range FormView.PageIndex.
3747 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
3749 * FileUpload.cs: added
3751 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
3753 * FormView.cs: handle CssClass attribute
3755 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3757 * Button.cs: do something in PostBackUrl.
3758 * Repeater.cs: when creating the RepeaterItemCollection, initialize
3759 'items' if it hasn't been done yet. Fixes bug #78417.
3761 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
3763 * BaseDataList.cs: added ConnectToDataSource method that called from
3764 OnLoad, fixed GetData method
3765 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
3768 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
3770 * Menu.cs: add CssStyle value to the rendered class attribute
3772 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
3774 * Calendar.cs: Make sure WebControls.Enabled is respected.
3775 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
3776 to 12:00am as MS.NET does the same.
3779 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3781 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
3782 DataSourceViewChanged, looks for a datasource in its parent control
3783 fixed GetData method, should not get data if datasource is null
3785 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
3787 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
3789 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3791 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
3793 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3795 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
3797 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3799 * DataList.cs: Fixed LoadViewState method
3801 2006-05-04 Lluis Sanchez <lluis@novell.com>
3803 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
3805 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3807 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
3809 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3811 * FormView.cs: fix FormView.PageCount after data binding.
3813 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3815 * CheckBox.cs: certain attributes have to be rendered in the input tag,
3816 not the <span>. Fixes bug #71251.
3818 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3820 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
3823 ensure rebinding when FormView.PageIndex is called.
3824 and bind to the correct PageIndex.
3826 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3828 * MenuItem.cs: when binding to IHierarchyData, check whether
3829 it implements INavigateUIData and retrieve NavigateUrl.
3830 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
3832 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
3833 Provide basic CreateChildControls implementation by ensuring the control is bound.
3834 Ensure the child controls are created when the postback event is raised.
3835 Provide default implementation for SkipLinkText to let the default functionality to work.
3837 2006-04-11 Lluis Sanchez <lluis@novell.com>
3839 * TreeNodeBinding.cs: Added HasPropertyValue property
3840 to check if some properties have a value in the
3842 * TreeNode.cs: Lazily get the dataPath. Instead of getting
3843 bound properties when they are requested, get all of
3844 them when the node is bound and store their values in
3845 the state bag. In this way it won't be necessary to
3846 query every time the datasource to get the values.
3847 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
3848 * TreeView.cs: Call base in OnInit(). Bind nodes after
3849 adding them to the list, to properly keep track of
3850 changes. Don't databind in postbacks.
3852 2006-04-11 Chris Toshok <toshok@ximian.com>
3854 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
3856 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3858 * BaseDataList.cs: Fix searching control by DataSourceID.
3859 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
3862 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3864 * Login.cs: Added LayoutTemplate property support.
3865 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
3866 DataBind: correctly bind child controls.
3867 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
3869 2006-03-29 Robert Jordan <robertj@gmx.net>
3871 * DataGrid.cs: if custom paging is enabled the persisted item count
3872 must be the count of the rendered items, otherwise paging from the
3873 last to a previous page won't work correctly. Fixes bug #77556.
3875 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
3877 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
3878 when rendering disabled list control
3880 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3882 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
3884 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
3886 * FontInfo.cs: Implemented ShouldSerializeNames
3888 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3890 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
3892 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3894 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
3896 in PrepareControlHierarchy fixed style applying to AlternatingItem
3898 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
3900 * DataList.cs: fixed RepeatColumns property, added value validation
3901 in PrepareControlHierarchy method fixed style applying for
3902 AlternatingItem, EditItem and Separator item
3903 fixed RenderContents method, if no items exist, no nned to
3904 render emty table strructure.
3906 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3908 * CompareValidator.cs: when searching for the control to compare, use
3909 NamingContainer instead of Page. Fixes bug #77793.
3911 2006-03-15 Chris Toshok <toshok@ximian.com>
3913 * SiteMapPath.cs (InitializeItem): in the Current and Root node
3914 cases, apply the NodeTemplate if it exists and there isn't a
3915 CurrentNodeTemplate or RootNodeTemplate, respectively.
3917 2006-03-15 Chris Toshok <toshok@ximian.com>
3919 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
3921 * SiteMapDataSource.cs (StartingNodeOffset): new property.
3922 (GetStartNode): add code to handle StartNodeOffset < 0.
3924 * CompositeControl.cs
3925 (ICompositeControlDesignerAccessor.RecreateChildControls): just
3926 call the non-iface method.
3928 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
3929 traverse up the naming container tree looking for our datasource
3930 if we're bound using a DataSourceID. This fixes things in the
3931 sitemap1 test, which uses a mixture of templates and
3932 ContentPlaceholders with the sitemapdatasource and sitemappath at
3933 different levels in the naming container tree (let along the
3936 * SiteMapPath.cs (DataBind): implement this by chaining up to
3937 base.DataBind, then by looping over our children, emitting
3938 OnItemDataBound for each SiteMapNodeItem.
3939 (AddAttributesToRender): remove.
3940 (CreateChildControls): call DataBind as the final step here.. I
3941 have, of course, no idea if this is right.
3942 (CreateControlHierarchy): don't databind our children here, as
3943 they need to be in the Controls collection before we do.
3944 (RenderContents): render our accessibility/screenreader stuff
3945 here, if SkipLinkText != "".
3947 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
3949 * DataGridPagerStyle.cs: fixed PrevPageText property
3951 2006-03-13 Chris Toshok <toshok@ximian.com>
3953 * BaseCompareValidator.cs (Convert): make the
3954 ValidationDataType.String case a bit more compact.
3956 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3959 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
3960 Patch by Hubert Fongarnand.
3962 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3964 * FontInfo.cs: fixed CopyFrom, this method should not reset the
3965 received fontinfo if it is the same instance
3966 fixed ToString, corrected output where only font size specified
3968 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3970 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
3971 if it not set but the border has width
3972 fixes in CopyFrom, MergeWith correct unit compare when it has zero
3975 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3977 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
3978 properties of custom class
3979 fixed InitializeNumericPager, pager numbers should be a Label control
3980 fixed CreateControlHierarchy, corrected dataset index of items if
3983 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
3985 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
3987 fixed CreateControlStyle to set correct cellspacing of table style
3988 fixed InitializeItem to correct applying template to selected and
3991 2006-03-08 Chris Toshok <toshok@ximian.com>
3993 * SiteMapNodeType.cs: nuke.
3995 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
3996 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
3997 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
3998 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
3999 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
4000 ValidationCompareOperator.cs, ValidationDataType.cs,
4001 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
4002 [Serializable] in 2.0.
4004 * DayNameFormat.cs: add "Shortest".
4006 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
4008 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
4011 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
4013 * TextBox.cs: fixed missing value validations, fixed rendering
4014 of empty value attribute
4016 2006-03-07 Chris Toshok <toshok@ximian.com>
4018 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
4019 by chaining up to base.EnableTheming.
4021 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
4023 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
4025 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
4027 * RadioButton.cs: added ValueAttribute property to store the button
4029 * RadioButtonList.cs: fixed tab index when rendering.
4031 2006-03-02 Chris Toshok <toshok@ximian.com>
4033 * WebControl.cs (SkinID): implement setter/getter, and have them
4034 just chain up to base.SkinID.
4036 2006-02-27 Chris Toshok <toshok@ximian.com>
4038 * SqlDataSource.cs: track change to DataSourceControl's protected
4041 * AccessDataSource.cs: same.
4043 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
4045 * ListControl.cs: fixed SelectedIndex property, fixed selection
4046 reset on incorrect value
4048 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
4050 * TableStyle.cs: fixed AddAttributesToRender function, style
4051 BorderCollapse:Collapse was added if table's CellSpacing is zero
4053 2006-02-23 Chris Toshok <toshok@ximian.com>
4055 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
4056 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
4057 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
4058 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
4059 ImageButton.cs, ImageField.cs, Literal.cs,
4060 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
4062 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
4063 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
4064 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
4065 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
4066 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
4067 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
4068 errors. most were caused by a property/method being virtual when
4069 it shouldn't be, or vice versa.
4071 2006-02-22 Chris Toshok <toshok@ximian.com>
4073 * ObjectDataSource.cs: corcompare work.
4075 2006-02-22 Chris Toshok <toshok@ximian.com>
4077 * ParameterCollection.cs: add an EditorAttribute to the class.
4079 * Parameter.cs: cleanup, fix the Value property, and implement the
4082 * SqlDataSourceView.cs: clean things up a bit, and add handling
4085 2006-02-22 Chris Toshok <toshok@ximian.com>
4087 * SqlDataSourceFilteringEventArgs.cs: formatting.
4089 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
4090 both the property and ctor arg.
4092 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
4093 not CommandEventArgs. Also, cast the return value of
4094 oleCommand.ExecuteReader.
4096 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
4098 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
4099 (GetPhysicalDataFilePath): implement, again naively. this is
4100 where the NRE is generated when we access ConnectionString in a
4102 (ConnectionString): dynamically generate this based on our
4104 (DataFile): clear the ConnectionString in the setter so we'll
4106 (ProviderName): use base.ProviderName in the getter, not
4107 this.ProviderName, so we don't recurse infinitely.
4109 * SqlDataSourceView.cs: start reworking this class.
4111 * SqlDataSource.cs (GetDbProviderFactory): implement this,
4112 following the MS docs on the matter (if ProviderName is null/"",
4113 return SqlClientFactory.Instance.)
4114 (GetDbProviderFactoryInternal): add an internal method for use by
4116 (TrackViewState): don't invoke View.TrackViewState unless we have
4118 (Selecting): change event handler type to match MS.
4119 (Filtering): add missing event.
4120 (View): call CreateDataSourceView, don't just create an
4123 2006-02-21 Chris Toshok <toshok@ximian.com>
4125 * BoundField.cs: ues the ViewState.Get* pattern with default
4126 instead of the explicit ViewState lookup + null check, and fix the
4127 scope of InitializeDataCell.
4129 * ButtonField.cs: ues the ViewState.Get* pattern with default
4130 instead of the explicit ViewState lookup + null check.
4132 * CommandField.cs: same.
4134 * CheckBox.cs: same.
4136 * AutoGeneratedFieldProperties.cs: same.
4138 * BaseDataList.cs: same.
4140 * CircleHotSpot.cs: same.
4142 * BulletedList.cs: same.
4144 * DataBoundControl.cs: same.
4146 * CookieParameter.cs: same.
4148 * ControlParameter.cs: same.
4150 * CustomValidator.cs: same.
4152 * ButtonFieldBase.cs: same.
4154 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
4156 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
4158 * BaseValidator.cs: same, and clean up the getter/setter formatting.
4160 * CompareValidator.cs: same.
4162 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4164 * ListControl.cs: fixed DataSource property, to throw
4165 ArgumentException on incorrect value
4167 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4169 * Image.cs: fixed missing border="0" attribute, when image has style,
4170 but border width is not specified.
4172 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4174 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
4175 correct the "disabled" attribute in CheckBoxList
4176 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
4177 attribute in CheckBoxList
4179 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4181 * CheckBox.cs: fixed Render function, removed rendering of empty
4182 <span> element if ControlStyleCreated but it's empty.
4183 fixed "disabled" attribute, it should be placed into span element
4185 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4187 * BoundColumn.cs: fixed InitializeCell function, if DataField is
4188 null or empty string, the cell should not be bound.
4190 2006-02-08 Chris Toshok <toshok@ximian.com>
4192 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
4193 AppendDataBoundItems != false. Also, split all the databinding
4194 logic out to DoDataBinding, which we call from here only if
4196 (DoDataBinding): new function. actually perform the binding.
4197 (PerformDataBinding): implement.
4198 (PerformSelect): chain up to base class.
4200 2006-02-07 Chris Toshok <toshok@ximian.com>
4202 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
4204 * Content.cs: use ContentControlBuilderInternal, and add a bunch
4205 of unused (for now) EventHandler's here.
4207 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
4210 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4212 * ListControl.cs: bound checking for Items when loading the control
4213 state, as the number might have been changed on the fly. Patch by
4216 2006-01-22 Chris Toshok <toshok@ximian.com>
4218 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
4220 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
4221 the intended comparison right and quiet mcs.
4223 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4225 * Button.cs: Add semicolon after client script if does not exist.
4227 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4229 * Button.cs: preserve user logic when adding client validation.
4231 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4233 * BaseValidator.cs: fixing visibility bahavior
4235 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4237 * RangeValidator.cs: allow empty data from the control. Patch from Marek
4238 Habersack that fixes bug #77239.
4240 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4242 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
4243 by Cyrille Colin. Closes bug #77184.
4245 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
4247 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
4248 compilation pass with csc 1.1.
4250 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4252 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
4254 2005-12-07 Chris Toshok <toshok@ximian.com>
4256 * BaseValidator.cs: in the uplevel rendering case, don't render
4257 the text if the validator's Display attribute is "None". Should
4260 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4262 * RadioButton.cs: if the 'value' attribute is set explicitly (as
4263 RadioButtonList does now), use that as the 'name' attribute.
4264 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
4269 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4271 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
4272 the 'name' attribute when not aligninng to the right.
4273 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
4274 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
4276 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4278 * DataGrid.cs: clear the control collection on every call to
4279 CreateControlHierarchy. Fixes bug #76732.
4281 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4283 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
4285 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4287 * CheckBox.cs: use the NameAttribute property for setting 'name'.
4288 * RadioButton.cs: get a UniqueID based identifier for 'name'.
4291 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4293 * LinkButton.cs: don't output any javascript when the linkbutton is
4294 disabled. Fixes bug #76713.
4296 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4298 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
4299 UseAccesibleHeader property is true. Patch by Robert Jordan.
4301 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4303 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
4304 control to validate. Fixes bug #76641.
4306 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4308 * BoundColumn.cs: when the column is readonly and we're in edit mode,
4309 keep it as a TextBox. Fixes bug #76714.
4311 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4313 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
4314 enabled. Fixes bug #76608.
4316 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4318 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
4319 the logic to Render and make it render the ID, which fixes bug #76596.
4321 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4323 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
4325 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4327 * Literal.cs: allow LiteralControl as child, but instead of adding it
4328 to the control collection, it just gets the Text out of it.
4330 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4332 * PagedDataSource.cs: fix range when we're at the last page.
4333 * DataGrid.cs: only need to keep the item count in the viewstate.
4336 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4338 * ListControl.cs: made GetSelectedIndices() internal.
4339 * ListBox.cs: html-encode the item text. Fixed single and multiple
4340 selection handling. All the tests pass now. Closes bug #76478.
4342 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4344 * ListControl.cs: throw when the selected value is not in the
4345 items collection. Fixes bug #76415.
4347 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4349 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
4350 throw a nullref, so we have to do it by ourselves here to make
4353 * BaseValidator.cs: render the text of the error message even if
4354 we set IsValid programatically. Don't use 'valid' directly, as
4359 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4361 * CustomValidator.cs: an empty ControlToValidate is valid.
4363 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
4365 * RequiredFieldValidator.cs: Added missing permissions.
4367 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4369 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
4370 Now the items get the attributes from the styles in datalist. Add the
4371 separators after each item, not before. GetItemStyle returns the actual
4372 item style, not the styles in the datalist. Fixes bug #76384 and all
4375 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4377 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
4380 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4382 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
4385 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
4387 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
4388 inheritance demands.
4389 * FontUnit.cs: Structs are sealed so there's no need for inheritance
4391 * Unit.cs: Structs are sealed so there's no need for inheritance
4394 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4396 * PagedDataSource.cs: fix the upper bound for collection and ilist
4399 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4401 * DataGrid.cs: change the ListItemType for the item selected, set
4402 SelectedIndex before calling OnSelectedIndexChanged and set the selected
4403 item type correctly when creating the columns. Fixes bug #76334.
4406 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
4407 selecting the row, the button keep the regular link color.
4409 * DataGridColumn.cs: made the class internal.
4411 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4413 * DataGrid.cs: fix breakaga of alternating item style in one of my
4416 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4418 * Calendar.cs: remove Console.
4419 * ListBox.cs: the name is the UniqueID, not the ClientID.
4420 * WebControl.cs: Attributes is case insensitive.
4422 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4424 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
4425 UniqueID without appending a ".x" or ".y". Fixes several issues in
4426 mojoPortal. Thanks to Joe Audetter for his patience.
4428 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4430 * ButtonColumn.cs: it was lacking databinding, so copied most of it
4433 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4435 * FontInfo.cs: removed useless ctor.
4436 * Style.cs: keep here some commented out debugging code.
4437 * DataGrid.cs: the Items property does not create a new arraylist if
4438 the items_list was already initialized. Add case for Separator.
4439 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
4440 in the header columns has a special ForeColor handling.
4442 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4444 * DataGrid.cs: PageCount must persist in ViewState too and returns the
4445 number of pages in the paged data source once we set that. Fix checks
4446 for visibility of the pager: no more 2 pagers when custom paging is
4449 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4451 * ImageButton.cs: fix a bug reported on the list. We were triggering the
4452 command event on every POST. And the 'name' attribute was not being
4453 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
4454 and we couldn't find the values.
4456 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4458 * DataGrid.cs: fix the links for the numeric pager.
4460 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4462 * DataGrid.cs: when paging is enable, the actual number of items is not
4463 the number of items rendered before the postback, but that number times
4464 the number of pages. Now we store the page count in the viewstate. Also,
4465 as the number might be big, don't allocate an array of objects to fake
4466 the collection for the PagedDataSource, but use the new NCollection
4467 class instead, which provides cheap (memory wise) enumerator for an
4468 arbitrary number of items. Thanks to "Adriano" for the test case.
4470 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4472 * Xml.cs: the show must go on. Removed a few NotImplemented.
4474 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4476 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
4477 existing code in 1.1 (or viceversa). RenderContents() does nothing.
4479 * DataGrid.cs: changed autoid api.
4481 * EditCommandColumn.cs: only 'Update' causes validation.
4483 * TableCell.cs: changed autoid api. RenderContents checks the number
4484 of controls to decide what to do, not the value of Text in the
4487 * TableRow.cs: changed autoid api.
4489 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
4490 event. When we get an EditItem, we need a TextBox to be created and
4491 this one will be the one that gets the event. Changed
4492 ItemDataBinding to deal with a TextBox too.
4494 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4496 * PagedDataSource.cs: fix IsLastPage. All tests pass.
4497 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
4498 need to keep the old one in a field. Now all tests pass here too.
4500 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4502 * PagedDataSource.cs: don't use the properties when they just return a
4503 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
4504 before ICollection (otherwise, an IList will always fall under the
4505 ICollection case). The enumerator for lists will be empty if 'start'
4506 is beyond the list size. All existing tests pass, but one in
4507 DataGridTest that fails because of some problem with the paging.
4509 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4511 * Style.cs: fix the 2.0 build.
4513 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4515 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
4516 instead write the style attributes directly to the HtmlTextWriter.
4518 * CheckBox.cs: adapted to new API.
4520 * DataGrid.cs: handle null data sources. Fixed the contions that make
4521 the table to be added to the Controls collection.
4523 * Calendar.cs: the table needed an ID and the attributes from the
4524 parent. Also don't create the ControlStyleCollection if it has not
4525 already been created.
4527 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4529 * DataGrid.cs: handle null data sources. Fixed the contions that make
4530 the table to be added to the Controls collection.
4532 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4534 * Calendar.cs: TrackViewState should be called upon creation, not on
4535 every get_XXX call. Cleanup.
4537 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4539 * DataGrid.cs: fix another test. The ID of the table generated by the
4540 datagrid is set to the one on the datagrid if no one set the ID for the
4543 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4545 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
4548 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4550 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
4551 converted to string as X{1,2}-.*. All FontUnitTests pass now.
4552 * Unit.cs: throw a format exception when there's not number or minus
4553 sign in the first non-whitespace character.
4555 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4557 * ListControl.cs: SelectedIndex/SelectedValue can be set before
4558 DataBinding () is called on the control, so we have to keep this values
4559 around and use them after the data is read. If both properties are
4560 used, they must refer to the same item.
4562 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4564 * DataList.cs: fill in the data keys from BaseDataList so that the
4565 events can see them. Only assign DataItem when using data binding and
4566 nullify it after all events are raised.
4568 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4570 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
4573 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4575 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
4577 * DataGrid.cs: Fix TagKey (table) for 2.0.
4578 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
4579 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
4581 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
4583 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
4584 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
4586 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
4588 * TreeView.cs: Added declarative security (Link and Inheritance
4589 demands) for Minimal.
4590 * XmlDataSource.cs: Added declarative security (Link and Inheritance
4591 demands) for Minimal.
4593 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4595 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
4596 Inheritance demands) for Minimal.
4597 * Label.cs: Added declarative security (Link and Inheritance demands)
4599 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
4600 * ListItemCollection.cs: Added declarative security (LinkDemands) for
4602 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
4603 2.0, Inheritance demands) for Minimal.
4604 * PagedDataSource.cs: Added declarative security (LinkDemands) for
4606 * Panel.cs: Added declarative security (Link and Inheritance demands)
4608 * Repeater.cs: Added declarative security (Link and Inheritance
4609 demands) for Minimal.
4610 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
4611 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
4613 * TargetConverter.cs: Added declarative security (Link and Inheritance
4614 demands) for Minimal.
4615 * Unit.cs: Added, but only for 1.x, declarative security (Link and
4616 Inheritance demands) for Minimal.
4617 * ValidatedControlConverter.cs: Added declarative security (Link and
4618 Inheritance demands) for Minimal.
4619 * WebColorConverter.cs: Added declarative security (Link and
4620 Inheritance demands) for Minimal.
4621 * Xml.cs: Added declarative security (Link and Inheritance demands)
4623 * ValidationSummary.cs: Added declarative security (Link and
4624 Inheritance demands) for Minimal.
4626 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4628 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
4630 2005-09-22 Ben Maurer <bmaurer@ximian.com>
4632 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
4633 it took O(height) time, not O(1).
4635 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4637 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
4639 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4641 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
4642 2.0, Inheritance demands) for Minimal.
4643 * BaseCompareValidator.cs: Added declarative security (Link and
4644 Inheritance demands) for Minimal.
4645 * BaseDataBoundControl.cs: Added declarative security (Link and
4646 Inheritance demands) for Minimal.
4647 * BaseValidator.cs: Added declarative security (Link and Inheritance
4648 demands) for Minimal.
4649 * BoundColumn.cs: Added declarative security (Link and Inheritance
4650 demands) for Minimal.
4651 * ButtonColumn.cs: Added declarative security (Link and Inheritance
4652 demands) for Minimal.
4653 * CalendarDay.cs: Added declarative security (Link and Inheritance
4654 demands) for Minimal.
4655 * CheckBoxList.cs: Added declarative security (Link and Inheritance
4656 demands) for Minimal.
4657 * CompareValidator.cs: Added declarative security (Link and
4658 Inheritance demands) for Minimal.
4659 * CustomValidator.cs: Added declarative security (Link and Inheritance
4660 demands) for Minimal.
4661 * DataBoundControl.cs: Added declarative security (Link and
4662 Inheritance demands) for Minimal.
4663 * DataGridItemCollection.cs: Added declarative security (Link and
4664 Inheritance demands) for Minimal.
4665 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
4667 * DataListItemCollection.cs: Added declarative security (LinkDemands)
4669 * DataListItem.cs: Added declarative security (Link and Inheritance
4670 demands) for Minimal.
4671 * FontNamesConverter.cs: Added declarative security (Link and
4672 Inheritance demands) for Minimal.
4673 * HyperLink.cs: Added declarative security (Link and Inheritance
4674 demands) for Minimal.
4675 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
4676 demands) for Minimal.
4677 * Image.cs: Added declarative security (Link and Inheritance demands)
4680 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4682 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
4684 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
4685 a data source, first try reflection, then componentmodel. If we get
4686 an enumerator, keep it around, as MS only calls GetEnumerator once.
4687 Throw an exception if no columns can be created from the given data
4688 source. Tested with DbDataRecord, DataTable, ArrayList and
4689 ICustomTypeDescriptor.
4691 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
4693 * AccessDataSource.cs: Added declarative security (Link and Inheritance
4694 demands) for Minimal. Added [ToolboxBitmap] on class.
4695 * AdRotator.cs: Added declarative security (Link and Inheritance
4696 demands) for Minimal. Removed extra Page and ViewState properties.
4697 * BulletedList.cs: Added declarative security (Link and Inheritance
4698 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4699 * Button.cs: Added declarative security (Link and Inheritance demands)
4700 for Minimal. Added [SupportsEventValidation] on class (2.0).
4701 * Calendar.cs: Added declarative security (Link and Inheritance
4702 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4703 * CheckBox.cs: Added declarative security (Link and Inheritance
4704 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4705 * CompositeControl.cs: Added declarative security (Link and Inheritance
4706 demands) for Minimal. Added new protected RecreateChildControls method.
4707 * DataControlCommands.cs: Added declarative security (LinkDemands) for
4708 Minimal. Added private ctor.
4709 * DataGrid.cs: Added declarative security (Link and Inheritance
4710 demands) for Minimal. Fixed properties for 2.0 (mostly removing
4711 [Bindable]). Added override for TagKey property.
4712 * DataGridColumn.cs: Added declarative security (Link and Inheritance
4713 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
4714 * DataGridItem.cs: Added declarative security (Link and Inheritance
4715 demands) for Minimal. Added IDataItemContainer interface for 2.0.
4716 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
4717 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
4718 * DataList.cs: Removed [Load|Save]ControlState methods.
4719 * DropDownList.cs: Added declarative security (Link and Inheritance
4720 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4721 * EditCommandColumn.cs: Added declarative security (Link and
4722 Inheritance demands) for Minimal. Added missing attributes,
4723 [DefaultValue] and [Localize] for 2.0.
4724 * FontInfo.cs: Added declarative security (Link and Inheritance
4725 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
4727 * Login.cs: Added declarative security (Link and Inheritance demands)
4728 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
4729 * ImageButton.cs: Added declarative security (Link and Inheritance
4730 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4731 * LinkButton.cs: Added declarative security (Link and Inheritance
4732 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4733 * ListBox.cs: Added declarative security (Link and Inheritance demands)
4734 for Minimal. Added [SupportsEventValidation] on class (2.0).
4735 * Literal.cs: Added declarative security (Link and Inheritance demands)
4736 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
4737 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
4738 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
4739 but will be shown as extra).
4740 * RadioButton.cs: Added declarative security (Link and Inheritance
4741 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4742 * RadioButtonList.cs: Added declarative security (Link and Inheritance
4743 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4744 * RangeValidator.cs: Added declarative security (Link and Inheritance
4745 demands) for Minimal. Added missing [Themeable] attributes.
4746 * RegularExpressionValidator.cs: Added declarative security (Link and
4747 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
4749 * RoleGroupCollection.cs: Added declarative security (Link and
4750 Inheritance demands) for Minimal. Fixed base class (changed in RC).
4751 Re-implemented CopyTo. Removed some methods.
4752 * Style.cs: Added declarative security (Link and Inheritance demands)
4753 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
4754 is now public in 2.0.
4755 * Table.cs: Added declarative security (Link and Inheritance demands)
4756 for Minimal. Added [SupportsEventValidation] on class (2.0).
4757 * TableCell.cs: Fixed PersistenceMode for 2.0.
4758 * TextBox.cs: Added declarative security (Link and Inheritance demands)
4759 for Minimal. Added [SupportsEventValidation] on class (2.0).
4760 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
4761 but will be shown as extra).
4762 * WebControl.cs: Added declarative security (Link and Inheritance
4763 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
4766 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4768 * TableStyle.cs: fixed typo that prevented restoring GridLines from
4771 * DataGrid.cs: the table does not get an auto ID. When restoring from
4772 viewstate, use all the saved columns, not just that data bound ones. Set
4773 the owner of the BoundColumns created. Save/restore columns.
4774 OnItemCreated happens after the item is initialized and the data item is
4775 set before the event and nullified after OnItemDataBound.
4776 Add the render_table to the Controls immediately, otherwise we might get
4777 errors from child controls such as "must be rendered inside a form".
4778 Keep the items created in the list waiting for them.
4779 The table uses the attributes from the DataGrid and ControlStyle.
4780 Raise OnItemCommand on all bubble events and don't propagate bubble
4781 event up in the hierarchy
4783 * TableCell.cs: it does not get an automatic ID.
4784 * BoundColumn.cs: FormatDataValue returns an empty string on null input
4785 (there was already a test for this).
4789 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4791 * DataGridColumnCollection.cs: track the view state in the newly added
4794 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4796 * DataGrid.cs: merge column styles too. Fixes bug #76106.
4797 * DataGridColumn.cs: new internal method to retrieve the styles without
4798 creating an instance for them.
4800 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
4802 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
4803 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
4804 StateBag.SetDirty (true).
4806 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
4808 * Menu.cs: Fixed parameter orders for CreateStyleRule.
4810 2005-09-13 Chris Toshok <toshok@ximian.com>
4812 * Style.cs: corcompare stuff.
4814 * RequiredFieldValidator.cs: more corcompare stuff.
4816 * CheckBoxList.cs: clean up some of the interface methods vs
4817 protected virtual 2.0 calls.
4819 * SubMenuStyle.cs: corcompare says this should implement
4820 ICustomTypeDescriptor... sooo, make it.
4822 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4824 * TableCell.cs: do the same as HyperLink and others in
4825 AddParsedSubobject so that adding a literal control does not remove the
4826 existing controls if any. Fixes bug #76078.
4828 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4830 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
4832 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4834 * ImageButton.cs: fix invalid cast exception.
4836 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4838 * ListItem.cs: throw in AddParsedSubObject if the object is not a
4840 * RadioButtonList.cs: implemented LoadPostData and
4841 RaisePostDataChangedEvent.
4843 2005-09-09 Chris Toshok <toshok@ximian.com>
4845 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
4846 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
4847 LoadPostData/RaisePostDataChangedEvent.
4849 2005-09-09 Chris Toshok <toshok@ximian.com>
4851 * FontInfo.cs (IsEmpty): new internal property, used by
4854 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
4857 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4859 * ListItemCollection.cs: remove obsoleted methods.
4860 * ListBox.cs: use IStateManager on the item collection.
4862 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
4864 * Use C# 1.0 style of delegate instantiating. Needed to compile
4865 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
4867 2005-09-07 Chris Toshok <toshok@ximian.com>
4869 * Calendar.cs (WriteDay): always add BackColor=Silver,
4870 ForeColor=White to selected day cells, before copying over the
4871 selectedDayStyle, if it exists.
4872 (WriteDays): fix nunit test - if the first day of the month falls
4873 on the first day of the week, go back one week (effectively adding
4874 a row of dates from the previous month.)
4875 (WriteTitle): don't copy the control style to the tableTitle,
4876 since it might have height specifications, which would make the
4877 title look rather off.
4879 2005-09-07 Chris Toshok <toshok@ximian.com>
4881 * ValidationSummary.cs (AddAttributesToRender): we only set
4882 display=none if there are no errors.
4884 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
4885 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
4887 2005-09-07 Chris Toshok <toshok@ximian.com>
4889 * ListControl.cs (SelectedIndex): add comment about how you'd
4890 think OnSelectedIndexChanged would be called.. and you'd be wrong.
4891 (Text): implement in terms of SelectedValue.
4892 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
4893 (LoadControlState): implement - this is where the selected index
4894 ArrayList gets stuffed in 2.0.
4895 (OnInit): call Page.RegisterRequiresControlState.
4896 (OnTextChanged): implement.
4897 (RenderContents): for now just chain up to base.RenderContents.
4898 (SaveControlState): save our control state properly.
4899 (GetSelectedIndices): split this out from SaveViewState to it can
4900 be used by both that and SaveControlState.
4901 (SaveViewState): mangle this function so it works in both 2.0 and
4903 (LoadViewState): same.
4905 2005-09-06 Chris Toshok <toshok@ximian.com>
4907 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
4908 we weren't assigned an ID.
4910 * ValidationSummary.cs (AddAttributesToRender): same.
4912 2005-09-06 Chris Toshok <toshok@ximian.com>
4914 * WebControl.cs: revert the last change.
4916 2005-09-06 Chris Toshok <toshok@ximian.com>
4918 * WebControl.cs (AddAttributesToRender): always render ClientID.
4920 * ValidationSummary.cs (Render): same.
4922 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
4925 2005-09-06 Chris Toshok <toshok@ximian.com>
4927 * ValidationSummary.cs (Render): only do the JS stuff when the
4928 validators on the page are uplevel.
4930 * BaseValidator.cs (Render): remove unnecessary comment.
4932 2005-09-05 Chris Toshok <toshok@ximian.com>
4934 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
4935 stored in the ViewState.
4937 2005-09-02 Chris Toshok <toshok@ximian.com>
4939 * Repeater.cs (GetData): change this slightly so the Repeater
4940 doesn't keep a ref to the return value of GetData.
4942 2005-09-01 Chris Toshok <toshok@ximian.com>
4944 * ListControl.cs (AppendDataBoundItems): implement (2.0)
4947 2005-09-01 Chris Toshok <toshok@ximian.com>
4949 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
4950 System.Web.UI.WebControls/ValidatedControlConverter.cs,
4951 System.Web.UI.WebControls/Xml.cs,
4952 System.Web.UI.WebControls/RegularExpressionValidator.cs,
4953 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
4954 System.Web.UI.WebControls/Menu.cs,
4955 System.Web.UI.WebControls/MailMessageEventArgs.cs,
4956 System.Web.UI.WebControls/MenuItemStyle.cs,
4957 System.Web.UI.WebControls/RangeValidator.cs,
4958 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
4959 System.Web.UI.WebControls/MenuItem.cs,
4960 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
4961 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
4962 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
4963 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
4964 System.Web.UI.WebControls/XmlBuilder.cs,
4965 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
4968 2005-09-01 Chris Toshok <toshok@ximian.com>
4970 * System.Web.UI.WebControls/Button.cs,
4971 System.Web.UI.WebControls/ButtonField.cs,
4972 System.Web.UI.WebControls/DataControlField.cs,
4973 System.Web.UI.WebControls/BaseCompareValidator.cs,
4974 System.Web.UI.WebControls/AutoGeneratedField.cs,
4975 System.Web.UI.WebControls/CustomValidator.cs,
4976 System.Web.UI.WebControls/Content.cs,
4977 System.Web.UI.WebControls/BoundField.cs,
4978 System.Web.UI.WebControls/AdRotator.cs,
4979 System.Web.UI.WebControls/ButtonColumn.cs,
4980 System.Web.UI.WebControls/CompareValidator.cs,
4981 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
4982 work. Stub things out, and add attributes.
4984 2005-09-01 Chris Toshok <toshok@ximian.com>
4986 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
4987 CommandField.cs, HyperLinkColumn.cs, Table.cs,
4988 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
4989 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
4990 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
4991 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
4992 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
4993 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
4994 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
4995 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
4996 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
4997 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
4998 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
4999 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
5000 TableItemStyle.cs: Add some WebCategory and WebSysDescription
5003 2005-09-01 Chris Toshok <toshok@ximian.com>
5005 * AccessDataSource.cs: corcompare work.
5007 * SqlDataSource.cs: same.
5009 2005-09-01 Miguel de Icaza <miguel@novell.com>
5011 * Various places: make sure that the DefaultValue matches the
5012 type. Thanks to Michael for pointing this out.
5014 In future audits, you might want to use the following awk command:
5016 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
5017 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
5018 print $0; looking = 0; } /public/ && looking { looking = 0; } '
5021 The above skips bools, strings and ints as those were fine as we
5022 set them. The bug was on the other ones.
5024 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5026 * Repeater.cs: fix the build.
5028 2005-08-31 Chris Toshok <toshok@ximian.com>
5030 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
5031 {Base}DataList, and also from debug spew garnered from some
5032 Repeater subclass tests on MS.
5033 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
5034 the IEnumerable by calling GetData().
5035 (DataBind): reset RequiresDataBinding to false (2.0).
5036 (DataMember): copy the set implementation from DataList, and add
5037 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
5038 (DataSource): more c&p.
5039 (DataSourceID); implement (2.0)
5040 (Initialized): implement (2.0)
5041 (IsBoundUsingDataSource): implement (2.0)
5042 (RequiresDataBinding): implement (2.0)
5043 (SelectArguments): implement (2.0)
5044 (CreateDataSourceSelectArguments): implement (2.0)
5045 (EnsureDataBound): implement (2.0)
5046 (GetData): implement.
5047 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
5049 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
5050 leave the MonoTODO. (2.0)
5051 (OnInit): call base.OnInit instead of throwing NIE, but leave the
5053 (OnLoad): implement.
5054 (OnPreRender): implement.
5055 (ConnectToDataSource): new method - look for the right control.
5057 2005-08-31 Chris Toshok <toshok@ximian.com>
5059 * XmlDataSourceView.cs: fix the scope of our select. Don't use
5060 call SelectNodes on the XmlDocument, not on
5061 XmlDocument.DocumentElement.
5063 2005-08-31 Chris Toshok <toshok@ximian.com>
5065 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
5066 (DoXPathSelect): put the xpath selection stuff here.
5067 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
5070 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
5071 select here, the view does it.
5073 2005-08-31 Jackson Harper <jackson@ximian.com>
5075 * DataList.cs: Remove some debugging code that was starting to bug
5078 2005-08-31 Chris Toshok <toshok@ximian.com>
5080 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
5081 create our Navigator by calling node.CreateNavigator().
5083 2005-08-31 Chris Toshok <toshok@ximian.com>
5085 * XmlDataSource.cs (GetXmlDataDocument): rename this to
5086 GetXmlDocument, and change the return value from XmlDataDocument
5088 (LoadXmlDataDocument): similar change.
5089 (Save): xmlDataDocument -> xmlDocument.
5090 (CanBeSaved): there's no ReadOnly attribute.
5091 (LoadViewState, SaveViewState, TrackViewState): nuke.
5092 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
5093 (CacheDuration): stub out with NIE.
5094 (CacheExpirationPolocy): same.
5095 (CacheKeyDependency): same.
5096 (EnableCaching): same.
5098 (Data, DataFile): xmlDataDocument -> xmlDocument.
5099 (Schema, SchemaFile): nuke.
5100 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
5102 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
5104 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
5105 Don't use the obsolete IsSet method.
5106 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
5107 * CheckBox.cs: Implement some 2.0 methods.
5108 * GridView.cs: Removed some "throw new NotImplementedException"
5110 2005-08-29 Chris Toshok <toshok@ximian.com>
5112 * TreeView.cs: Use the StateBag accessors Ben added, and implement
5113 SkipLinkText and Visible.
5115 2005-08-29 Chris Toshok <toshok@ximian.com>
5117 * TreeView.cs: fix typo in an attribute.
5119 2005-08-29 Jackson Harper <jackson@ximian.com>
5121 * PagedDataSource.cs: If it's not a list or collection we don't
5122 use a bounded enumerator.
5124 2005-08-29 Chris Toshok <toshok@ximian.com>
5126 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
5128 * CheckBox.cs: same.
5130 * BaseValidator.cs: same.
5132 * DropDownList.cs: same.
5134 * ValidationSummary.cs: same.
5136 2005-08-28 Chris Toshok <toshok@ximian.com>
5138 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
5140 2005-08-26 Chris Toshok <toshok@ximian.com>
5142 * TextBox.cs: implement ValidationGroup and CausesValidation
5145 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
5147 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
5150 2005-08-26 Chris Toshok <toshok@ximian.com>
5152 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
5154 * FontUnit.cs: add two 2.0 ctors, and the 2.0
5155 ToString(IFormatProvider) method.
5157 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
5159 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
5160 no items are present in the list.
5161 * RoleGroup.cs: Added missing attributes.
5162 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
5163 documented) methods.
5164 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
5165 must be done in the HtmlTextWriter (not in the TableStyle).
5167 2005-08-26 Chris Toshok <toshok@ximian.com>
5169 * Calendar.cs (UseAccessibleHeader): implement.
5170 (RaisePostBackEvent): some #ifdef ugliness to get this all working
5171 propertly between 1.x and 2.0
5172 (WriteDayHeader): if UseAccessibleHeader == true, render header
5173 cells as th's, not td's, and add abbr and scope attributes.
5175 2005-08-25 Chris Toshok <toshok@ximian.com>
5177 * Calendar.cs (Caption, CaptionAlign): implement these properties.
5178 (Render): if we have a non-empty caption, show it.
5179 (WriteCaption): new method, output the caption.
5181 2005-08-25 Chris Toshok <toshok@ximian.com>
5183 * Calendar.cs (Render): Copy the entire style from the Calendar to
5184 the Table, not just the font.
5185 (WriteDay): don't just write the link/text/etc. Create a
5186 LiteralControl as a child of the cell, before the call to
5187 OnDayRender, with its text set to the day number. After
5188 OnDayRender, set the literal's text to either the number again (if
5189 it's not selectable) or the full text of the js __doPostBack
5190 hyperlink (if it is.) Also, use cell.RenderControl here so we can
5191 render child controls with the id's listed properly (and arguably
5193 (ApplyTitleStyleCell): remove.
5194 (WriteTitle): apply the titleStyle to the enclosing table, not the
5195 table cell containing the month name. Also, copy from the
5196 Calendar's ControlStyle to populate tableTitle's style initially.
5197 We end up with more (superfluous) style attributes than MS, but
5198 it's better than having less.
5200 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5202 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
5205 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5207 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
5208 and RegisteredCssClass property
5210 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5212 * LoginView.cs: Fixed attributes.
5213 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
5214 an exception to allow pages to work on 2.x.
5216 2005-08-25 Chris Toshok <toshok@ximian.com>
5218 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
5220 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
5223 * HiddenField.cs: stub out this class and label everything
5226 2005-08-25 Jackson Harper <jackson@ximian.com>
5228 * DataGrid.cs: Disable the pager row if there no paging enabled
5231 2005-08-25 Chris Toshok <toshok@ximian.com>
5233 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
5236 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
5237 add a using statement.
5239 2005-08-25 Chris Toshok <toshok@ximian.com>
5241 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
5244 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
5247 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5249 * Login.cs: Added rendering and fixed parts of the authentication.
5250 Now using IStateManager to allow compilation in another assembly (e.g.
5251 to test the control under IIS). Needs more tests (error conditions)
5252 once we get a "real" Membership provider running.
5253 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
5256 2005-08-25 Chris Toshok <toshok@ximian.com>
5258 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
5260 2005-08-25 Chris Toshok <toshok@ximian.com>
5262 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
5263 calling base.Foo to get the standalone adrotator (1.0) tests to
5264 run without throwing exceptions.
5266 2005-08-25 Chris Toshok <toshok@ximian.com>
5268 * ValidationSummary.cs (ValidationGroup): implement.
5269 (Render): use Page.GetValidators in .net 2.0, so we can support
5270 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
5273 2005-08-25 Chris Toshok <toshok@ximian.com>
5275 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
5276 2.0 attribute modifiers, and revert back to "override".
5278 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
5279 2.0 attribute modifiers, and revert back to "override".
5280 (BorderStyle): same.
5281 (BorderWidth): same.
5283 * TextBox.cs (SaveViewState): implement naively, calling
5285 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
5286 modifiers, and revert back to "override".
5288 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5290 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
5291 Load ViewState for derived classes; no public LoadViewState override
5292 exists in those classes
5293 * Style.cs: Added 2.0 IsStyleEmpty method
5295 2005-08-25 Jackson Harper <jackson@ximian.com>
5297 * DataGrid.cs: The number of pages set in the pager is specified
5300 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5302 * LoginView.cs: New (2.0). Work in progress.
5304 2005-08-24 Chris Toshok <toshok@ximian.com>
5306 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
5307 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
5308 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
5309 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
5310 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
5311 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
5312 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
5313 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
5314 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
5315 Add MonoTODO's for all things that throw NotImplementException.
5317 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
5319 * RoleGroup.cs: New (2.0). Complete implementation.
5320 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
5322 2005-08-23 Chris Toshok <toshok@ximian.com>
5324 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
5325 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
5326 even though they were written for the 1.0 stuff.
5328 2005-08-23 Chris Toshok <toshok@ximian.com>
5330 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
5331 output. Our tests now pass on both mono and ms, with both 1.x and
5334 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
5336 * Login.cs: Throw exception if the specified provider doesn't exists.
5337 * LoginStatus.cs: Complete events.
5339 2005-08-22 Jackson Harper <jackson@ximian.com>
5341 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
5343 (InitializeNumericPager): Now that the pager actually renders
5344 properly I can see that I was computing it incorrectly.
5346 2005-08-22 Jackson Harper <jackson@ximian.com>
5348 * DataGrid.cs (RenderTable): Make sure the new table gets the
5350 (CreateColumnSet): Clear the data source columnbs before adding
5351 new ones regardless of whether or not a property descriptor was
5353 (InitializePager): pager_cell needs to be a member so it isn't
5354 created more then once per a render.
5355 (InitializeNumericPager): Compute start and end more
5357 - Link commands are 1 indexed.
5358 (CreateControlHierarchy): Clear the table before we begin
5360 - Revert patch that made adding the pagers conditional. This is
5361 incorrect, the pagers are always added. Only their visibility is
5362 affected by the pager style.
5363 - Save the entire count in the viewstate, not just the rendered
5364 count. So when paging is enabled the pager's count isn't broken by
5367 2005-08-22 Chris Toshok <toshok@ximian.com>
5369 * LinkButton.cs (ValidationGroup): implement.
5370 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
5371 pass ValidationGroup to Page.Validate.
5373 2005-08-22 Chris Toshok <toshok@ximian.com>
5375 * ImageButton.cs (ValidationGroup): implement.
5376 (IPostBackEventHandler.RaisePostBackEvent): if we cause
5377 validation, call Page.Validate properly (in both profiles).
5379 2005-08-22 Chris Toshok <toshok@ximian.com>
5381 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
5382 case, pass ValidationGroup to Page.Validate.
5383 (ValidationGroup): implement using ViewState.
5385 2005-08-22 Chris Toshok <toshok@ximian.com>
5387 * BaseValidator.cs (Text): 2.0 only. implement naively, just
5389 (OnInit): add 2.0 support for validation groups.
5392 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
5394 * LoginName.cs: New (2.0) web control.
5395 * LoginStatus.cs: New (2.0) web control.
5397 2005-08-19 Chris Toshok <toshok@ximian.com>
5399 * LinkButton.cs (ValidationGroup): implement getter/setter.
5400 (RaisePostBackEvent): implement naively, by c&p'ing the old
5401 implementation of IPostBackEventHandler.RaisePostBackEvent, but
5402 making use of the ValidationGroup in the call to Page.Validate.
5406 * Style.cs (LoadViewState): set our style flags for all the things
5407 we have flags for. Seems like the subclass flags should be
5408 handled in overridden LoadViewState methods, but none of the Style
5409 subclasses seem to override this method.
5411 2005-08-19 Chris Toshok <toshok@ximian.com>
5413 * TableStyle.cs (Merge, MergeWith): make these look a bit more
5414 like Copy/CopyFrom, with the styles checks instead of just
5417 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
5420 2005-08-19 Chris Toshok <toshok@ximian.com>
5422 * DataGrid.cs (InitializePager): don't unconditionally set
5423 pager_cell to the numeric pager (especially after setting it
5424 conditionally to the nextprev pager.)
5425 (InitializeNumericPager): the link buttons don't participate in
5427 (InitializeNextPrevPager): same.
5428 (CreateControlHierarchy): create the top/bottom pagers only if the
5429 PagerStyle says too.
5431 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
5433 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
5435 2005-08-18 Chris Toshok <toshok@ximian.com>
5437 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
5438 the start of this method so templates are created properly.
5440 2005-08-18 Dick Porter <dick@ximian.com>
5442 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
5443 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
5444 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
5445 BaseDataList.cs, DataList.cs, BulletedList.cs,
5446 DataBoundControl.cs, Login.cs, GridView.cs,
5447 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
5448 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
5449 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
5450 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
5451 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
5452 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
5453 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
5454 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
5457 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
5459 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
5461 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
5462 empty array of objects just to get the number of items.
5463 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
5464 but we're missing some bits from the class lib to complete all this...
5466 2005-08-17 Jackson Harper <jackson@ximian.com>
5468 * DataGrid.cs: Only create one pager and add it to both the top
5469 and bottom of the grid, this way all the id numbers stay the same
5470 and we save a bunch of cycles.
5472 2005-08-17 Jackson Harper <jackson@ximian.com>
5474 * DataGrid.cs: The top and bottom pagers are always created. Just
5475 the visibility is changed by the PagerStyle::Position.
5477 2005-08-17 Chris Toshok <toshok@ximian.com>
5479 * CompositeControl.cs (RecreateChildControls): implement naively -
5480 just call CreateChildControls. We might need to call
5481 Controls.Clear() as well, but for the time being, this is ok.
5483 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
5485 * BaseDataList.cs: Completed implementation for 2.0.
5487 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5489 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
5490 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
5492 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5494 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
5496 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
5497 Adjusted size and ordering of the ViewState (new element #0 is still
5498 unknown). Properly fixed the TagKey in 2.0.
5499 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
5500 all properties using enums.
5501 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
5502 * TableItemStyle.cs: Fixed attribute rendering to use style to render
5503 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
5505 2005-08-15 Jackson Harper <jackson@ximian.com>
5507 * EditCommandColumn.cs: Use a normal LinkButton.
5509 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5511 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
5512 viewstate (even if assigned to the default value).
5513 * TableRow.cs: Implement TableSection property (2.0). It has no effect
5514 on the rendering of the table row.
5516 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5518 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
5519 and removed [Bindable] attributes for 2.0.
5520 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
5521 attributes (for 2.0).
5522 * DataListCommandEventArgs.cs: Not sealed in 2.0.
5523 * DataListItemEventArgs.cs: Not sealed in 2.0.
5524 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
5525 attributes for URLs.
5526 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
5527 attributes for URLs.
5528 * Table.cs: Fixed [Editor] attribute for 2.0.
5529 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5530 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
5531 AssociatedHeaderCellID and it's [DefaultValue] attribute.
5532 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
5533 and Scope attributes.
5534 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
5535 on TableSection attribute.
5536 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5538 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
5540 * Image.cs: Fixed attributes for 2.0 profile.
5541 * Login.cs: Fixed some attributes and default values.
5542 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
5543 RaisePostBackEvent (TODO) in 2.0 profile.
5544 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
5545 and added AssociateHeaderCellID property (TODO).
5546 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5547 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
5548 page (if the device requires to breaks the table into multiple pages).
5549 This seems to be a "flag" class, the real work will be in Table.
5550 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
5551 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
5552 page (if the device requires to breaks the table into multiple pages).
5553 This seems to be a "flag" class, the real work will be in Table.
5554 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
5555 * TableRow.cs: Remove [Bindable (true)] from properties and add
5556 [Bindable (false)] and [Designer] on class. Added new TableSection
5558 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5559 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
5560 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
5561 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
5562 FillStyleAttributes method (2.0).
5564 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
5566 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
5567 attributes from existing controls.
5568 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
5569 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
5571 2005-08-12 Jackson Harper <jackson@ximian.com>
5573 * TableRow.cs: No AutoID for TableRows.
5575 2005-08-12 Jackson Harper <jackson@ximian.com>
5577 * DataGrid.cs (CreateRenderColumns): If we aren't using data
5578 binding grab the rendercols from the data source columns.
5579 (LoadViewState): Restore the bound columns when reloading the
5581 (InitializeNumericPager): Create elipsised pagers.
5582 (CreateItem): Don't set the item's ID.
5583 (CreateItem): Add the control to the table before it is databound
5584 so that it's value is saved in the viewstate.
5585 (CreateControlHierarchy): Create a fake data source when not using
5586 databinding. Don't add controls to the table as they are added in
5588 (PrepareControlHierarchy): Make footers and header non visible if
5589 they aren't enabled.
5591 2005-08-12 Chris Toshok <toshok@ximian.com>
5593 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
5594 docs says these methods/properties "ensure the child controls are
5595 created" -- so call EnsureChildControls() before invoking the base
5598 2005-08-12 Jackson Harper <jackson@ximian.com>
5600 * BoundColumn.cs: Set the controls text instead of adding a
5601 literal control. So it is saved in the controls viewstate.
5603 2005-08-11 Jackson Harper <jackson@ximian.com>
5605 * CheckBoxList.cs: Set the tabindex on the checkbox control and
5606 don't render it on the main table (Setting it to zero causes it to
5607 not be rendered). Also use the invariant culture on the id.
5609 2005-08-11 Dick Porter <dick@ximian.com>
5611 * CheckBox.cs: Let ViewState manage removals; apply styles and
5612 "style" attributes in a surrounding <span>. Fixes unit tests.
5614 2005-08-10 Chris Toshok <toshok@ximian.com>
5616 * Label.cs (LoadViewState): set the Text attribute from our
5617 ViewState (if it exists) to clear out any child controls. Fixes
5618 jsunit test label/label-child-control-postback.aspx.
5620 2005-08-10 Jackson Harper <jackson@ximian.com>
5622 * PagedDataSource.cs: Respect paging with all data source types.
5624 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
5626 * BaseDataList.cs: Changed Controls property from "virtual new"
5627 (2.0 doc) to "override" (monop) to fix the Visible bug (see
5628 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
5629 any controls (required due to change to Controls). Implemented
5630 DataBind(bool) for 2.0.
5631 * DataListItem.cs: Fix the multiple table when extractRows is used.
5632 Removed extra span tags by rendering contents (not control). Added
5633 support for IDataItemContainer (2.0).
5635 2005-08-08 Jackson Harper <jackson@ximian.com>
5637 * DataGrid.cs: Apply the styles to each item type.
5639 2005-08-08 Jackson Harper <jackson@ximian.com>
5641 * PagedDataSource.cs: If paging is not enabled keep enumerating to
5642 the end of the list.
5644 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
5646 * BaseDataList.cs: Remove old compatibility stuff.
5647 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
5648 * WebControl.cs: Always call CreateControlStyle to create the
5649 ControlStyle. Fix the exception for datalist-style-edit.aspx.
5651 2005-08-05 Jackson Harper <jackson@ximian.com>
5653 * DataGrid.cs: Don't make the current page index a link in the
5656 2005-08-05 Jackson Harper <jackson@ximian.com>
5658 * DataGrid.cs: Honour PagerPosition.
5660 2005-08-05 Jackson Harper <jackson@ximian.com>
5662 * PagedDataSource.cs: Round PageCount properly.
5664 2005-08-05 Dick Porter <dick@ximian.com>
5666 * CheckBox.cs: Shut corcompare up a bit more. Still need to
5667 figure out how to not use AddAttributesToRender to get it
5670 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
5672 * DataGridColumn.cs: Added the duplicate viewstate manipulation
5675 2005-08-05 Chris Toshok <toshok@ximian.com>
5677 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
5678 null when it comes to the format string.
5679 (FormatDataTextValue): same.
5681 2005-08-04 Chris Toshok <toshok@ximian.com>
5683 * BaseValidator.cs (Validate): only test a validator if it's both
5684 enabled and visible.
5686 2005-08-04 Chris Toshok <toshok@ximian.com>
5688 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
5691 2005-08-04 Jackson Harper <jackson@ximian.com>
5693 * DataGrid.cs: Add a new space control for each link. Also make
5694 the link's text 1 indexed. Don't add the space after the last
5697 2005-08-04 Ben Maurer <bmaurer@ximian.com>
5699 * LinkButton.cs: Fix up the test suite here.
5701 * Panel.cs: Fix up nowrap
5703 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5705 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
5706 * ListControl.cs: Clear item list before adding data (again)
5708 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
5710 * Calendar.cs: fixes issues with OnDayRender event and others
5712 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5714 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
5716 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
5717 if DataTextField is bound
5718 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
5719 two controls in edit mode, lets do the same
5721 2005-08-03 Jackson Harper <jackson@ximian.com>
5723 * BoundColumn.cs: Respek for the thisExpr when data binding.
5725 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5727 * EditCommandColumn.cs: No need to offer edit when in edit mode.
5730 2005-08-04 Dick Porter <dick@ximian.com>
5732 * DataGridColumn.cs: New implementation
5735 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
5737 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5739 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
5742 2005-08-03 Ben Maurer <bmaurer@ximian.com>
5744 * RepeatInfo.cs: Finally figured out how to use base control
5746 2005-08-03 Jackson Harper <jackson@ximian.com>
5748 * ButtonColumn.cs: Partial implementation.
5750 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5752 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
5755 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5757 * Calendar.cs: fixes Save/Load state
5759 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5761 * Calendar.cs: bug fixes
5763 2005-08-03 Jackson Harper <jackson@ximian.com>
5765 * DataGrid.cs: Merge the table style with the render table. Some
5766 initial work on the numeric pager. Remove some debugging code.
5768 2005-08-03 Jackson Harper <jackson@ximian.com>
5770 * BoundColumn.cs: Implement Initialize and InitializeCell. When
5771 Data is formated it uses the DataFormatString that was set at the
5772 time Initialize was called (or null if initialize was never
5775 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5777 * RadioButtonList.cs: bug fixes
5779 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5781 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
5782 AddAttributesToRender
5783 * RadioButtonList.cs: Implementation
5785 2005-08-01 Jackson Harper <jackson@ximian.com>
5787 * TableStyle.cs: Copy style bit when copying from another style.
5789 2005-08-01 Jackson Harper <jackson@ximian.com>
5791 * PagedDataSource.cs: Implement missing properties, use yield for
5792 the Enumerator methods. Only allow the enums to return one page at
5795 2005-08-01 Chris Toshok <toshok@ximian.com>
5797 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
5799 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5801 * WebControl.cs: Track enabled state across sessions
5803 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5805 * ListControl.cs(OnDatabinding): Value is equivalent to text if
5808 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
5810 * ImageButton.cs: fixes, complete missing parts
5812 2005-07-31 Ben Maurer <bmaurer@ximian.com>
5814 * TextBox.cs: Html encode for multiline text boxes
5816 * HyperLink.cs: Resolve images
5818 2005-07-30 Chris Toshok <toshok@ximian.com>
5820 * BaseValidator.cs: initial version of 2.0 properties
5821 ValidationGroup and SetFocusOnError.
5823 2005-07-30 Chris Toshok <toshok@ximian.com>
5825 * HyperLinkColumn.cs (InitializeCell): clean this up.
5827 2005-07-30 Chris Toshok <toshok@ximian.com>
5829 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
5830 DataBinder.FormatResult.
5831 (FormatDataTextValue): same.
5832 (Initialize): call base.Initialize.
5833 (ItemDataBinding): new function, get the text/navigateurl and set
5834 them on our HyperLink control.
5835 (InitializeCell): create a hyperlink control in the
5836 Item/EditItem/AlternatingItem case.
5838 2005-07-30 Ben Maurer <bmaurer@ximian.com>
5840 * RepeatInfo.cs: Handle 0 items situations correctly
5842 * HyperLink.cs: Resolve urls correctly
5844 * CheckBox.cs: use the correct ID for the label element.
5846 * Label.cs: Correct AddParsedSubObject impl. See FAQ
5848 2005-07-29 Chris Toshok <toshok@ximian.com>
5850 * BaseCompareValidator.cs (GetDateElementOrder): implement.
5852 2005-07-29 Chris Toshok <toshok@ximian.com>
5854 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
5855 #if'ed out version follows microsoft's docs on msdn, but doesn't
5856 match ms's behavior. The other matches their behavior but not
5857 their docs. we use the latter. go figure.
5858 (get_CutoffYear): implement using
5859 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
5861 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5864 - Name property now throws exception when set to null
5865 - Names now handles situation where our bit tells us we have
5866 a font, but it's not in the StateBag (null removal)
5867 * RangeValidator.cs: Removed unused vars
5869 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5871 * Label.cs: ClientID should be used rather than UniqueID to get
5874 2005-07-29 Chris Toshok <toshok@ximian.com>
5876 * BaseValidator.cs (Validatate): not sure if this is entirely
5877 correct (some fairly deep testing required), but setting Enabled =
5878 false has the effect of setting IsValid = true.
5880 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5882 * RadioButton.cs: The "remove from groupstate" isn't needed any
5883 more, now that statebag is correct.
5885 2005-07-29 Dick Porter <dick@ximian.com>
5887 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
5888 ViewState when it is null.
5890 * CheckBox.cs: Hide nonstandard API
5892 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
5894 * Calendar.cs: fixes exceptions, bug fixes, new features
5895 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
5896 * CalendarDay.cs: fixes default value
5898 2005-07-28 Ben Maurer <bmaurer@ximian.com>
5900 * CompositeControl.cs: Stub
5902 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5904 * EditCommandColumn.cs: Implemented
5906 2005-07-27 Chris Toshok <toshok@ximian.com>
5908 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
5910 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5912 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
5915 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5917 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
5918 for it's constructor, so remove it
5919 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
5921 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5923 * DataGridPagerStyle.cs: Implemented
5924 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
5925 * Style.cs: Added Styles enum values for DataGridPagerStyle
5927 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
5929 * Calendar.cs: get the styles right, honors more properties, fixes, fix
5932 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5934 * DataGridItem.cs: Implemented
5936 2005-07-26 Chris Toshok <toshok@ximian.com>
5938 * LinkButton.cs (AddParsedSubObject): reversed the order of
5939 Controls.Add() and Text = null
5940 (set_Text): call Controls.Clear()
5941 (RenderContents): use HasControls() for the if test instead of
5944 * HyperLink.cs (AddParsedSubObject): reversed the order of
5945 Controls.Add () and Text = null;
5947 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5949 * DataGridItemCollection.cs: Implemented
5951 2005-07-26 Chris Toshok <toshok@ximian.com>
5953 * LinkButton.cs (AddParsedSubObject): copy implementation from
5955 (RenderContents): only call writer.Write(Text) if Text != "".
5956 Otherwise default to base.RenderContents.
5958 2005-07-26 Chris Toshok <toshok@ximian.com>
5960 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5961 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
5962 (Page != null) around my last commit.
5964 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5966 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
5967 Fixed use of literal strings, instead using Consts
5968 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
5969 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
5970 Panel.cs, Literal.cs: Added attributes
5971 * BaseValidator.cs: Added missing override
5973 2005-07-26 Chris Toshok <toshok@ximian.com>
5975 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5976 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
5977 Page.VerifyRenderingInServerFormHere.
5979 2005-07-26 Chris Toshok <toshok@ximian.com>
5981 * BaseValidator.cs: remove some MonoTODO's about the client side
5984 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
5986 * Calendar.cs: selection of dates, state load, save, track, support
5987 for new properties, many fixes.
5989 2005-07-26 Miguel de Icaza <miguel@novell.com>
5991 * Style.cs: Temporary methods to help buliding .NET 2.x
5993 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5995 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
5997 * Xml.cs: Fixed base class, attributes
5998 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
5999 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
6000 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
6001 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
6002 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
6004 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6006 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
6009 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6011 * RepeatInfo.cs: If the repeater has one column, the separators
6012 are rendered on a different line
6014 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6016 * DataGridSortCommandEventArgs: Sealed class
6017 * ButtonColumn.cs, Calendar.cs: Added Attributes
6019 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6021 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
6022 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
6024 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6026 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
6027 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
6029 2005-07-25 Chris Toshok <toshok@ximian.com>
6031 * ValidationSummary.cs (AddAttributesToRender): add client side
6033 (OnPreRender): set the "been here" flag.
6034 (Render): add client side support.
6036 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6038 * RepeatInfo.cs: Split the horiz and vertical cases, because this
6039 class has rules that are beyond strange. Continue working to make
6042 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6044 * RepeatInfo.cs: Misc fixes for my test suite.
6046 2005-07-25 Jackson Harper <jackson@ximian.com>
6048 * DataGrid.cs: Set the command name and args on the link buttons.
6050 2005-07-25 Jackson Harper <jackson@ximian.com>
6052 * DataGrid.cs: Lots o implementation.
6054 2005-07-25 Jackson Harper <jackson@ximian.com>
6056 * BoundColumn.cs: Partial implementation to get the DataGrid tests
6059 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
6061 * Button.cs: fixes events, adds attributes
6063 2005-07-23 Chris Toshok <toshok@ximian.com>
6065 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
6066 prop.GetValue results.
6067 (Render): fix the static non-uplevel case, so that we display text
6068 when there's an error.
6070 2005-07-22 Chris Toshok <toshok@ximian.com>
6072 * RegularExpressionValidator.cs (AddAttributesToRender): only
6073 output ValidationExpression if it's != null.
6075 2005-07-22 Chris Toshok <toshok@ximian.com>
6077 * BaseValidator.cs (AddAttributesToRender): fix up the Display
6078 rendering such it matches MS's output.
6079 (Render): stop using the huge complicated if's for each output
6080 stage and move to boolean flags, and fix the static-nonuplevel
6081 case, where a validator outputs as nothing but
6083 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
6084 * Calendar.cs: Initial implementation
6085 * CalendarSelectionMode.cs: fix enum order
6087 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
6089 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
6090 (or more?) specific cases - including correct support for separators.
6091 Added some (commented) debugging code.
6092 * HyperLink.cs: Only render href and target attributes if they're not
6093 empty. Add "border=0" when rendering <img> tag. Fix Target default
6096 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
6098 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
6100 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
6102 * Style.cs (CopyFrom): Reset our styles and don't set bits from
6103 target explicitly, properties will set them
6105 2005-07-22 Dick Porter <dick@ximian.com>
6108 * ButtonColumn.cs: Initial stubs
6110 2005-07-22 Dick Porter <dick@ximian.com>
6113 * CheckBox.cs: Add assembly attributes
6115 2005-07-22 Ben Maurer <bmaurer@ximian.com>
6117 * HyperLink.cs: Handle non-literal children.
6119 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6121 * Label.cs: SP1 stuff
6123 2005-07-21 Chris Toshok <toshok@ximian.com>
6125 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
6126 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
6127 stuff WebUIValidation.js uses, so we don't support it for uplevel
6130 2005-07-21 Chris Toshok <toshok@ximian.com>
6132 * BaseValidator.cs (DetermineRenderUplevel): include checks for
6133 the EcmaScriptVersion and W3CDomVersion.
6135 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6137 * BaseDataList.cs: Support IEnumerable.
6138 * DataList.cs: Fix alternate items.
6139 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
6140 controls and the Text property.
6142 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6144 * TextBoxMode.cs: Wrong ordering of enum...
6146 2005-07-21 Chris Toshok <toshok@ximian.com>
6148 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
6151 2005-07-21 Chris Toshok <toshok@ximian.com>
6153 * BaseValidator.cs (get_PropertiesValid): use our containing
6154 NamingContainer, not ourselves, to look up controls.
6155 (CheckControlValidationProperty): same.
6156 (GetControlRenderID): same.
6157 (GetControlValidationValue): same.
6158 (AddAttributesToRender): add the display style attribute if
6159 Display != Static, and add the value of IsValid if it's false.
6160 (DetermineRenderUplevel): use a try block around (Page.Request)
6161 since that can raise an exception.
6162 (OnPreRender): set pre_render_called, so we can consult it in
6164 (Render): complicate this method more to handle more of the
6165 Display/pre_render_called permutations.
6167 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
6169 * CustomValidator.cs: Initial implementation, still work in progress
6171 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6173 * DataList.cs: Fix rendering for special items (-1).
6175 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6177 * RepeatInfo.cs: Fix most of the tests.
6179 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6181 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
6182 Add a border=0 attribute if no style is defined.
6183 * TableCell.cs: Use HtmlTextWriterTag (not a string).
6184 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
6185 * TableRow.cs: Use HtmlTextWriterTag (not a string).
6187 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6189 * BaseDataList.cs: Fix attributes.
6190 * HorizontalAlign.cs: Fix attributes.
6191 * Image.cs: Fix attributes and enums checks.
6192 * Table.cs: Fix attributes an enums checks.
6193 * TableCell.cs: Fix attributes.
6194 * TableCellCollection.cs: Fix attributes.
6195 * TableItemStyle.cs: Fix attributes and enums checks.
6196 * TableRowCollection.cs: Fix attributes.
6197 * TableRow.cs: Fix attributes.
6198 * TableStyle.cs: Fix attributes and enums checks.
6199 * VerticalAlign.cs: Fix attributes.
6201 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6203 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
6204 * DataList.cs: Added rendering support when ExtractTemplatesRows
6205 property is true (but RepeatInfo needs to be fixed to see it works).
6206 * DataListItem.cs: Added rendering support when extractRows parameter
6207 is true (but RepeatInfo still needs to be fixed ;-)
6209 2005-07-21 Duncan Mak <duncan@novell.com>
6211 * HyperLinkColumn.cs: Initial implementation.
6212 Todo: Figure out Initialize and InitializeCell.
6214 2005-07-20 Chris Toshok <toshok@ximian.com>
6216 * BaseValidator.cs: don't use Page.FindControl, use this Control's
6217 FindControl, so it'll use the same naming container.
6219 2005-07-21 Duncan Mak <duncan@novell.com>
6221 * DataGridCommandEventArgs.cs:
6222 * DataGridPageChangedEventArgs.cs:
6223 * RepeaterCommandEventArgs.cs: Fixed visibility.
6225 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
6226 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
6228 2005-07-20 Chris Toshok <toshok@ximian.com>
6230 * Button.cs: hook up the client side validation stuff.
6232 * ImageButton.cs: same.
6234 * LinkButton.cs: same, although it's a little more complicated
6237 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6240 - Implemented RaisePostDataChangedEvent()
6241 - Spewing postback command if AutoPostBack is true
6243 2005-07-20 Chris Toshok <toshok@ximian.com>
6245 * BaseValidator.cs: another Page != null check when uplevel
6248 2005-07-20 Chris Toshok <toshok@ximian.com>
6250 * BaseValidator.cs: check Page != null when determining if we're
6251 rendering uplevel or not.
6253 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6255 * ListItemCollection.cs: Removed obsolete method that's no longer
6258 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6260 * DropDownList.cs: Oops. Forgot to implement LoadPostData
6261 * ListItemCollection.cs: Added convenience method to have faster
6264 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6267 - Automatically select the first item if none are selected
6268 - Throw exception if more than one item is selected
6270 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6272 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
6273 handled by RepeatInfo).
6275 2005-07-20 Jackson Harper <jackson@ximian.com>
6277 * DataGrid.cs: Store the data source created columns in a
6278 DataGridColumnCollection. This way they can be put in the
6279 view state more easily, and accessed without casting.
6281 2005-07-20 Chris Toshok <toshok@ximian.com>
6283 * BaseValidator.cs (AddAttributesToRender): render the client side
6284 attributes if we're in uplevel mode.
6285 (DetermineRenderUplevel): flesh out a bit - for now basically
6286 return true unless the control has it disabled.
6287 (OnInit): only add the validator to Page's list if there is, in
6289 (OnUnload): same for removal.
6290 (OnPreRender): hook up client scripting stuff here. Only the call
6291 to RegisterValidatorCommonScript is a for sure thing here, the
6292 registering of the submit statement and startup script should
6293 probably go elsewhere, but I don't know where.
6294 (RegisterValidatorCommonScript): register the <script
6295 src=".../WebUIValidation.js"> tag, if it's not already there.
6296 (RegisterValidatorDeclaration): add our span object to the
6297 Page_Validators JS array.
6298 (Render): always render the tags (although this is probably not
6299 right), and call RegisterValidatorDeclaration here.
6301 * BaseCompareValidator.cs (AddAttributesToRender): render the
6302 client side attributes if we're in uplevel mode.
6303 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
6304 call base.DetermineRenderUplevel for now.
6306 * RegularExpressionValidator.cs (AddAttributesToRender): render
6307 the client side attributes if we're in uplevel mode.
6309 * RequiredFieldValidator.cs (AddAttributesToRender): same.
6311 * CompareValidator.cs (AddAttributesToRender): same.
6313 2005-07-20 Jackson Harper <jackson@ximian.com>
6315 * DataGrid.cs: Save the data source created column set in the
6318 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6320 * DataList.cs: Fix events and properties exceptions. Give the right
6321 informations to RenderItem.
6323 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6325 * ValidationSummary.cs: Implemented rendering
6327 2005-07-20 Jackson Harper <jackson@ximian.com>
6329 * DataGrid.cs: column names are cached and only regenerated if useDataSource
6330 is set to true. Otherwise they are just fetched from the last set that
6331 was generated from the source.
6333 2005-07-20 Jackson Harper <jackson@ximian.com>
6335 * DataGrid.cs: Assign some properties of newly created BoundColumns.
6337 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6339 * DataList.cs: Fix viewstate ordering.
6341 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6343 * SelectedDatesCollection.cs: Apprarently, I don't write code well
6346 * Repeater.cs: Uh, actually add stuff to the items collection
6349 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6351 * BaseDataList.cs: EnsureChildControls on Controls property.
6352 * DataList.cs: Fix rendering and Controls/Items differences.
6353 * DataListItem.cs: Added rendering of controls.
6355 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6357 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
6359 2005-07-20 Jackson Harper <jackson@ximian.com>
6361 * DataGrid.cs: Add some of the collections. Implement
6364 2005-07-20 Jackson Harper <jackson@ximian.com>
6366 * PagedDataSource.cs: Implement GetItemProperties, this is
6367 needed for the datagrid.
6369 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6371 * DataGridColumnCollection.cs: New impl
6373 * TemplateColumn.cs: New impl
6375 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6377 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
6378 * DataList.cs: Work in progress... Added attributes, proper
6379 IRepeatInfoUser support and cool things stolen from other classes.
6380 * DataListCommandEventArgs.cs: Class is sealed.
6381 * DataListItem.cs: RenderItem is public.
6383 2005-07-19 Jackson Harper <jackson@ximian.com>
6385 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
6386 a viewstate object if all the viewstate stuff is null.
6388 2005-07-19 Jackson Harper <jackson@ximian.com>
6390 * DataGrid.cs: Implement style properties and viewstate
6391 saving/loading/tracking.
6393 2005-07-19 Chris Toshok <toshok@ximian.com>
6395 * BaseValidator.cs: more fixes from pdb.
6397 2005-07-19 Chris Toshok <toshok@ximian.com>
6399 * BaseValidator.cs: some test-driven fixes.
6401 2005-07-19 Chris Toshok <toshok@ximian.com>
6403 * BaseValidator.cs: Initial implementation.
6405 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6407 * Repeater.cs: Fix small typo.
6409 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
6411 * ValidationSummaryTest.cs: Started implementation
6412 * RangeValidator.cs: Implemented
6413 * ValidatedControlConverter.cs: Implemented
6414 * DropDownList.cs: Implemented
6416 2005-07-19 Jackson Harper <jackson@ximian.com>
6418 * DataGrid.cs: Implement bubble event.
6420 2005-07-19 Jackson Harper <jackson@ximian.com>
6422 * DataGrid.cs: New implementation. Just properties and events for
6425 2005-07-18 Chris Toshok <toshok@ximian.com>
6427 * BaseCompareValidator.cs: Initial implementation, with some NYI.
6429 2005-07-19 Ben Maurer <bmaurer@ximian.com>
6431 * FontUnit.cs: Corcompare fixes
6433 * UnitConverter.cs: Fix api diffs
6435 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6437 * ListControl.cs: Fix api differences
6439 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6441 * Table.cs: Fix indentation for caption. Simplify check when adding
6443 * TableRow.cs: Simplify check when adding controls.
6445 2005-07-18 Chris Toshok <toshok@ximian.com>
6447 * CompareValidator.cs: wtf, just use the base class's methods.
6449 2005-07-18 Chris Toshok <toshok@ximian.com>
6451 * CompareValidator.cs: do comparisons based on
6452 BaseCompareValidator.Type.
6454 2005-07-18 Chris Toshok <toshok@ximian.com>
6456 * CompareValidator.cs: initial implementation.
6458 2005-07-18 Chris Toshok <toshok@ximian.com>
6460 * RegularExpressionValidator.cs: initial implementation.
6462 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6464 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
6466 2005-07-18 Jackson Harper <jackson@ximian.com>
6468 * CheckBoxList.cs: Implement LoadPostBackData. Also register
6469 checkboxes for postback if they are checked so we can find
6470 out when they are unchecked. Copy the AutoPostBack variable
6471 to the to be rendered checkbox when rendering.
6473 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6475 * TextBox.cs: Finish this up.
6477 * AdRotator.cs: Fix issues in the test suite. Minor style
6480 * Repeater.cs: Fix a bug where the datasource is null and we do
6483 * WebColorConverter.cs: Optimize by not doing a concat on a
6486 2005-07-17 Ben Maurer <bmaurer@ximian.com>
6488 * ListItemCollection.cs: Multiple uses of equals rather than
6489 string.compare as below. Remove unreachable code warning.
6491 * WebColorConverter.cs (ConvertTo): Use the == operator on string
6492 rather than an invariant non-case ignoring compare. They are
6493 exactly the same thing. Use proper coding style in this method.
6495 * WebControl.cs: Return null when saving the view state if there
6496 is no state in any of the things we save. This creates a fairly
6497 large savings, because we can avoid saving anything about many
6498 levels of deaply nested controls.
6500 2005-07-15 Jackson Harper <jackson@ximian.com>
6502 * CheckBoxList.cs: Use the index as the ID, the rest of the
6503 id is built by being in the NamingContainer.
6505 2005-07-15 Jackson Harper <jackson@ximian.com>
6507 * ListControl.cs: Use enum instead of string. Saves a lookup.
6509 2005-07-15 Jackson Harper <jackson@ximian.com>
6511 * CheckBoxList.cs: FindControl always returns 'this' according
6514 2005-07-15 Jackson Harper <jackson@ximian.com>
6516 * CheckBoxList.cs: New impl.
6518 2005-07-15 Jackson Harper <jackson@ximian.com>
6520 * WebControl.cs: Use the ClientID when rendering a controls ID
6521 attribute so that naming containers are honoured.
6523 2005-07-15 Jackson Harper <jackson@ximian.com>
6525 * ListControl.cs: use the state manager interface for tracking
6528 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6530 * Repeater.cs (DoItem): Add the DataItem before we call user
6531 methods, as it seems to be there with msft.
6533 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
6535 * BaseDataList.cs: New. (mostly complete) implementation.
6536 * DataKeyCollection.cs: New. Implementation (complete).
6537 * DataList.cs: New. (mostly incomplete) implementation.
6538 * DataListItem.cs: New. (mostly complete) implementation.
6539 * DataListItemCollection.cs: New. Implementation (complete).
6541 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6543 * Repeater.cs (DoItem): We need to .Add the control *before* we
6544 data bind it so that the state gets tracked correctly. Fixes the
6547 2005-07-15 Jackson Harper <jackson@ximian.com>
6549 * ListControl.cs: Simplify comparison.
6551 2005-07-15 Jackson Harper <jackson@ximian.com>
6554 * Repeater.cs: Use new utility class for resolving data sources.
6556 2005-07-15 Jackson Harper <jackson@ximian.com>
6558 * ListControl.cs: Add attributes so the sub items get parsed
6559 properly. Remove old unneeded code for resolving lists.
6561 2005-07-15 Jackson Harper <jackson@ximian.com>
6563 * ListControl.cs: Use the DataSourceHelper so DataMembers are
6566 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6569 - Some optimizations
6570 * Don't use enum formatting stuff, it is 1) expensive 2) does
6571 allocations. Use a new method in HtmlControl to do the right
6573 * Don't use Enum.IsDefined but an explicit check.
6574 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
6575 - Use the correct coding style.
6577 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6579 * WebColorConverter.cs:
6580 - Alpha of 255 is only set if the hex number is exactly 6 digits
6581 - Ben didn't like the catch { throw; } (even though MS documents to
6583 - Use Invariant Culture for parsing (thanks, Ben)
6585 2005-07-14 Jackson Harper <jackson@ximian.com>
6587 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
6588 code-reuse-arific. Also use the IStateManager interface for loading
6589 data instead of the old internal method.
6591 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6593 * WebColorConverter.cs: Implemented
6595 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6597 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
6599 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6601 * Repeater.cs: Get it working
6603 2005-07-14 Jackson Harper <jackson@ximian.com>
6605 * ListControl.cs: Initial implementation of Databinding. Make sure
6606 that the ListItemCollection is created when we load its ViewState.
6608 2005-07-14 Jackson Harper <jackson@ximian.com>
6610 * ListControl.cs: Fix typo.
6612 2005-07-14 Jackson Harper <jackson@ximian.com>
6614 * ListControl.cs: New Implementation. Lacks databinding support.
6616 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6618 * Repeater.cs: The beginnings of this control
6620 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6622 * TargetConverter.cs: Implemented
6624 2005-07-14 Duncan Mak <duncan@novell.com>
6626 * PagedDataSource.cs: Initial implementation.
6628 Methods that need to be figured out:
6629 CopyTo, GetItemProperties, PageCount, IsLastPage.
6631 To complete: CollectionEnumerator, ListEnumerator.
6633 2005-07-13 Duncan Mak <duncan@novell.com>
6635 * RepeatDirection.cs:
6637 * ValidationCompareOperator.cs:
6638 * ValidationDataType.cs:
6639 * ValidationSummaryDisplayMode.cs:
6640 * ValidatorDisplay.cs: Added remaining enumerations.
6642 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6644 * FontNamesConverter.cs: Implemented
6646 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6648 * RepeaterItem.cs: Compile fix
6650 * RepeaterItemCollection.cs: New file
6652 * RepeaterItem.cs: get OnBubbleEvent right.
6654 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6656 * ListItemCollection.cs: Count can be derived from the array, which
6657 allows us to use a Pair instead of a Triplet and save some space
6659 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6661 * RepeaterItem.cs: Stub
6663 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6665 * ListItemCollection.cs: Implemented
6666 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
6668 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6670 * RepeatInfo.cs: Impl.
6672 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6674 * FirstDayOfWeek.cs: Added
6676 2005-07-13 Jackson Harper <jackson@ximian.com>
6678 * ListBox.cs: Some parameter checking.
6680 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6682 * Image.cs: Added support for DescriptionUrl as this property was
6683 added in Fx 1.1 SP1.
6685 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6687 * Style.cs (AddAttributesToRender): Don't render attributes if they
6688 contain only their default value
6690 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6692 * Table.cs: New. Initial re-implementation.
6693 * TableCell.cs: New. Initial re-implementation.
6694 * TableCellCollection.cs: New. Initial re-implementation.
6695 * TableHeaderCell.cs: New. Initial re-implementation.
6696 * TableItemStyle.cs: New. Initial re-implementation.
6697 * TableRow.cs: New. Initial re-implementation.
6698 * TableRowCollection.cs: New. Initial re-implementation.
6699 * TableStyle.cs: New. Initial re-implementation.
6701 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6703 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
6704 unit tests (for Style) and more tests in Table* classes.
6706 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6708 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
6709 however IsEmpty returns false if any of their properties are set.
6710 Looks ugly but it's compatible with MS implementation (feature and
6713 2005-07-13 Dick Porter <dick@ximian.com>
6715 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
6716 null Text properties from the ViewState, test for TextAlign being
6717 out of range. All to make tests pass on both mono and ms
6720 2005-07-13 Jackson Harper <jackson@ximian.com>
6722 * ListBox.cs: Use invariant culture when doing a ToString,
6723 set value to the item's value, not to its Text.
6725 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6727 * WebControl.cs (AddAttributesToRender): Added ID to rendered
6730 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6732 * Style.cs(MergeWith): Handle null styles
6734 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
6736 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
6737 the #if NET_2_0 on it.
6739 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6741 * Style.cs: Only render font elements if fontinfo object exists
6743 - Implemented SaveViewState()
6744 - Added loading of Style to LoadViewState
6745 - Implemented IAttributeAccessor methods
6747 2005-07-12 Jackson Harper <jackson@ximian.com>
6749 * ListBox.cs: Even track default values in the viewstate. Call
6750 base's RenderContents.
6752 2005-07-12 Jackson Harper <jackson@ximian.com>
6754 * ListBox.cs: New impl.
6756 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6759 - Implemented methods
6762 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6764 * ListItem.cs: New impl.
6766 2005-07-12 Duncan Mak <duncan@novell.com>
6768 * DayNameFormat.cs: Added.
6770 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6772 * WebControl.cs: Implemented properties
6774 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6776 * TextBox.cs: Passwords seem 1) not to be rendered to the client
6777 if set, 2) not kept in view state (for security reasons...)
6780 * Button.cs: Page.Validate () if needed. Gets the validator tests
6783 * TextBox.cs: Properties to get the validator stuff to work.
6785 2005-07-12 Miguel de Icaza <miguel@novell.com>
6787 * Unit.cs: If the units are pixels, then truncate the value.
6789 2005-07-12 Dick Porter <dick@ximian.com>
6791 * RadioButton.cs: New implementation
6793 * CheckBox.cs: Rearrange the attributes rendering to allow
6794 RadioButton to derive from this
6796 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6798 * TitleFormat.cs: Add attribute
6799 * TextBoxMode.cs: Add attribute
6800 * CalendarDay.cs: Initial implementation
6801 * ImageButton.cs: Initial implementation
6802 * CalendarSelectionMode.cs:Initial implementation
6804 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6806 * TextBoxMode.cs: simple enum
6807 * TitleFormat.cs: simple enum
6809 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6811 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
6813 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6815 * FontUnit.cs: Added TypeConverter attribute to class
6816 * FontUnitConverter.cs: Implemented
6818 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6821 * Button.cs: Bubble the Command event.
6823 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6826 - Clean up style (with my wonderful state bag hack!)
6827 - Fix a view state typo.
6828 - Use AddAttributesToRender
6829 - Don't add an extra <span>
6831 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6833 * Style.cs: Handle null constructor argument for bag
6835 2005-07-11 Dick Porter <dick@ximian.com>
6837 * CheckBox.cs: New implementation
6839 * RadioButton.cs: Initial stubbed version that just compiles
6841 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
6843 * Button.cs: Initial Button implementation
6845 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
6847 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
6849 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6851 * HorizontalAlign.cs: Typo in header.
6852 * VerticalAlign.cs: New. Required enum for TableRow control.
6854 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6856 * TextBox.cs: More work on this
6858 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6860 * GridLines.cs: New. Required enum for Table control.
6861 * HorizontalAlign.cs: New. Required enum for Table control.
6863 2005-07-09 Duncan Mak <duncan@novell.com>
6865 * CommandEventHandler.cs:
6866 * DataGridCommandEventHandler.cs:
6867 * DataGridItemEventHandler.cs:
6868 * DataGridPageChangedEventHandler.cs:
6869 * DataGridSortCommandEventHandler.cs:
6870 * DataListCommandEventHandler.cs:
6871 * DayRenderEventHandler.cs:
6872 * RepeaterCommandEventHandler.cs:
6873 * ServerValidateEventHandler.cs: Add delegates.
6876 * ListSelectionMode.cs:
6877 * NextPrevFormat.cs:
6879 * PagerPosition.cs: Add enums.
6881 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6883 * TextBox.cs: Add the work I did on this today. It's not complete
6884 yet, but its a start!
6886 2005-07-09 Duncan Mak <duncan@novell.com>
6888 * CommandEventArgs.cs:
6889 * DataGridCommandEventArgs.cs:
6890 * DataGridItemEventArgs.cs:
6891 * DataGridPageChangedEventArgs.cs:
6892 * DataGridSortCommandEventArgs.cs:
6893 * DataListCommandEventArgs.cs:
6894 * DataListItemEventArgs.cs:
6895 * DayRenderEventArgs.cs:
6896 * RepeaterCommandEventArgs.cs:
6897 * RepeaterItemEventArgs.cs:
6898 * ServerValidateEventArgs.cs: Implemented.
6900 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
6902 * Image.cs: New. Image class implementation.
6903 * ImageAlign.cs: New. ImageAlign enum definitions.
6905 2005-07-08 Jackson Harper <jackson@ximian.com>
6907 * Literal.cs: New implentation.
6908 * MonthChangedEventArgs.cs: new
6909 * MonthChangedEventHandler.cs: new
6911 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6913 * LinkButton.cs: Command impl
6915 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6917 * LinkButton.cs: Initial impl
6919 2005-07-08 Jackson Harper <jackson@ximian.com>
6921 * AdCreatedeventArgs.cs: New implementation.
6923 2005-07-08 Dick Porter <dick@ximian.com>
6926 * BorderStyle.cs: Added
6928 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6930 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
6932 2005-07-07 Miguel de Icaza <miguel@novell.com>
6934 * Xml.cs: New implementation. R00lz.
6936 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6938 * FontInfo.cs: Added and implemented.
6939 * Style.cs: Fixed behaviour discrepancies showed by tests
6941 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6943 * PlaceHolderControlBuilder.cs: new file
6945 * LabelControlBuilder.cs: New file
6947 * HyperLink.cs: use control builder; fix parsing stuff
6949 * HyperLinkControlBuilder.cs: new file
6951 * Panel.cs: misc fixes
6953 2005-07-07 Miguel de Icaza <miguel@novell.com>
6955 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
6957 * UnitConverter.cs: Add new file, learned from the
6958 System.Drawing.ColorConverter.
6960 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6962 * PlaceHolder.cs: New file. Seems to do nothing
6964 * Label.cs: Use my new statebag trick to reduce typing
6966 * HyperLink.cs: New file
6968 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6970 * Style.cs: Added and implemented.
6972 2005-07-06 Miguel de Icaza <miguel@novell.com>
6974 * FontUnit.cs: New file.
6976 * Unit.cs: New file.
6978 Added support for null and empty string constructors.
6980 2005-07-06 Ben Maurer <bmaurer@ximian.com>
6982 * Unit.cs: cctor not needed; static fields are 0 init'd by default
6984 * WebControl.cs: Kothari & Datye's book explains how these work.
6986 * IRepeatInfoUser.cs: Reimpl.
6988 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6990 * WebControl.cs: Added stub
6992 2005-07-05 Miguel de Icaza <miguel@novell.com>
6994 * Label.cs: First control.
6996 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
6998 * DataControlField.cs: Ignore the ShowHeader property when
6999 building the control's content. It is the resposability of
7000 the field container to decide if the header should be shown
7003 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
7006 * ImageFieldMode.cs:
7007 * DynamicImageParameterMode.cs:
7008 * TableViewMode.cs: Removed.
7012 * TableRowSection.cs:
7013 * AutoCompleteType.cs:
7014 * DayNameFormat.cs: Track changes in 2.0 api.
7016 * StringArrayConverter.cs: This class is 2.0 only.
7018 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
7022 * DetailsView.cs: Bind the control after creating all child
7024 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
7025 the correct methods.
7026 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
7027 in this class. This is done in DataBoundControl. All this fixes
7030 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7032 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
7033 FindByText. Closes bug #74205.
7035 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7037 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
7038 1 when there's a datasource and 0 pages. Closes bug #73864.
7040 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
7047 * MenuItemTemplateContainer.cs:
7048 * DetailsView.cs: Track changes in the IDataItemContainer interface.
7050 * CommandField.cs: Added CausesValidation property. Set that
7051 property value to all buttons of the field.
7053 * SqlDataSourceView.cs:
7054 * CollectionDataSource.cs:
7055 * XmlDataSourceView.cs: Properly initialize the base class.
7057 * SiteMapDataSource.cs:
7058 * SiteMapHierarchicalDataSourceView.cs:
7059 * SiteMapNodeItem.cs:
7060 * SiteMapDataSourceView.cs:
7061 * SiteMapPath.cs: Mostly implemented.
7063 * HierarchicalDataBoundControl.cs: Always bind the control when the
7064 page is loaded for the first time.
7066 * TreeView.cs: Properly bind the control when loaded from a callback.
7068 2005-05-21 Ben Maurer <bmaurer@ximian.com>
7070 * BaseDataList.cs: Caption is in 1.1 too, though not
7071 documented. Gonz owes me [more] ice cream. Yummmmm.
7073 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7075 * BaseDataList.cs: implemented 2.0 Caption property.
7077 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
7079 * TreeView.cs: Always render the startup script. This fixes
7082 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
7084 * WizardStepBase.cs:
7085 * WizardStep.cs: Added missing attributes.
7086 * Wizard.cs: Implemented missing methods and properties. It can now
7087 be considered feature complete.
7089 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7091 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
7092 the method if the data source was en empty IEnumerator. Fixes
7095 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
7099 * Menu.cs: Implemented some new properties from beta 2.
7101 * DataControlButton.cs: Render the ControlStyle if it
7105 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
7106 It will now generate an object creation, instead of a Parse call.
7108 * GridViewCommandEventArgs.cs: Added missing property.
7109 * SubMenuStyleCollection.cs: This class is not sealed.
7110 * MultiView.cs: Set Visible=false to all views that are not
7111 shown. This ensures that it's view state is saved.
7113 * BaseDataBoundControl.cs:
7114 * GridViewDeletedEventArgs.cs: Minor api fixes.
7116 * FormViewDeleteEventArgs.cs:
7117 * DetailsViewDeletedEventArgs.cs:
7118 * ListControl.cs: Fix warnings.
7122 * HotSpotCollection.cs
7125 * RectangleHotSpot.cs
7126 * WizardStepCollection.cs : Implemented.
7130 * Wizard.cs: Initial implementation.
7132 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
7134 * DataControlField.cs:
7138 * DataControlCommands.cs:
7139 * DetailsView.cs: Use constants to identify commands.
7141 * SubMenuStyle.cs: Use Unit instead of int for padding.
7142 * SubMenuStyleCollection.cs: Implemented.
7145 * Menu.cs: Added some missing methods and properties.
7148 * DataGridPagerStyle.cs: Fixed default value attributes.
7149 * ListControl.cs: Implemented IEditableTextControl interface.
7151 * MenuItemBinding.cs: Added Selectable property.
7152 * CustomValidator.cs: removed interface.
7154 * MenuItem.cs: Added support for custom binding.
7155 * DropDownList.cs: Moved text properties to base class.
7157 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7159 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
7161 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7163 * Calendar.cs: when the day is active, modify the text of the literal
7164 control that holds the number, not the text of the TableCell. Also call
7165 OnDayRender before updating that text. Fixes bug #74718.
7167 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
7169 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
7171 * DataControlFieldHeaderCell.cs: Save Scope in view state.
7172 Added AbbreviatedText property.
7173 * AutoGeneratedField.cs: The constructor should actually be internal.
7174 * DataGridItem.cs: Added implemented interface in 2.0.
7175 * DataControlFieldCollection.cs: Implemented CloneFields and
7179 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7181 * StringArrayConverter.cs:
7182 * Calendar.cs: warnings.
7184 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
7186 * FormViewDeleteEventArgs.cs:
7187 * FormViewInsertEventArgs.cs:
7188 * FormViewUpdateEventArgs.cs:
7189 * FormViewDeletedEventArgs.cs:
7190 * FormViewUpdatedEventArgs.cs:
7191 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
7194 * IButtonControl.cs:
7195 * Button.cs: Removed SoftKey property.
7197 * CheckBox.cs: Don't try to load post back data if the control
7201 * AutoGeneratedField.cs:
7202 * DataControlField.cs:
7204 * ButtonFieldBase.cs:
7208 * ButtonField.cs: Don't bind fields in Insert state.
7209 Implemented CreateField and CopyProperties.
7212 * DetailsView.cs: Removed some unneeded interfaces. Don't
7213 generate the field rows if there are no items in the data source.
7214 Don't get the current keys until the whole control has been
7217 * DetailsViewInsertedEventArgs.cs:
7218 * DataBoundControl.cs:
7219 * ObjectDataSourceView.cs: Made some methods private.
7222 * Menu.cs: Changed some properties from int to Unit.
7224 * DataControlButton.cs: javascript prefix is needed when raising
7225 the postback event from a link.
7227 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
7228 The result was wrong when the total data source count was 0.
7230 * FormView.cs: Implemented.
7231 * FormViewRow.cs: Implemented.
7234 * Localize.cs: Fixed base interface.
7236 * BaseDataBoundControl.cs: In DataBind() call the base class
7237 DataBind method, so the binding context is properly set.
7239 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
7241 * DetailsView.cs: Added some null checks.
7242 * TemplateField.cs: Implemented support for two-way bindings.
7244 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
7246 * DetailsView.cs: Implemented support for Insert operation.
7247 Added header and footer templates. Added missing style
7249 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
7250 to get filter values. Other minor fixes.
7251 * CommandField.cs: Properly render the Insert and New buttons.
7252 * ObjectDataSource.cs: Update the parameter collections after
7253 the page is loaded. This will fire the ParameterChanged event
7255 * DataBoundControl.cs: The OnDataSourceViewChanged method
7256 is called when the view changes, not when the datasource
7259 * DetailsViewInsertedEventArgs.cs:
7260 * DetailsViewInsertEventArgs.cs: Implement Values property.
7263 * AutoGeneratedField.cs
7266 Take into account the Insert mode.
7268 * ParameterCollection.cs: Implemented UpdateValues and fixed
7269 GetValues (values can't be cached because can change).
7270 * Parameter.cs: Detect value changes in GetValue, and fire
7271 the change event if needed. Removed unused ParameterValue
7272 property. Other fixes.
7274 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
7276 * DetailsView.cs: Initial implementation.
7277 * ObjectDataSourceView.cs: Notify changes in the parameters.
7278 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
7279 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
7280 Implemented some properties.
7281 * GridView.cs: Added null check in SelectedValue. Don't return null
7282 for empty DataKeyNames list.
7283 * DetailsViewRowCollection.cs: Implemented.
7284 * DetailsViewRow.cs: Implemented.
7285 * ButtonFieldBase.cs: By default button field don't have headers.
7286 * BoundField.cs: Don't bind header fields.
7288 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
7290 * ButtonField.cs: Get data item properties using TypeDescriptor.
7291 Made OnDataBindField private.
7292 * ObjectDataSourceView.cs: Implemented support for Delete and
7293 Insert operations, support for filtering and sorting,
7294 conflict detection, etc. It's now complete.
7295 * ObjectDataSource.cs: Completed most of functionality. Only
7296 caching support is missing.
7297 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
7298 * TreeNode.cs: Get data item properties using TypeDescriptor.
7299 * PagerSettings.cs: Flush.
7300 * ObjectDataSourceFilteringEventArgs.cs: New event args.
7301 * GridView.cs: Get data item properties using TypeDescriptor
7302 and cache them. Properly set descending order in the sort
7303 expression. In UpdateRow, make sure we get the old values
7304 before the control is bound again.
7305 * ImageField.cs: Implemented.
7306 * AutoGeneratedField.cs: Initialize the field's sort
7307 expression in the constructor.
7308 * MenuItem.cs: Get data item properties using TypeDescriptor.
7309 * BoundField.cs: Get data item properties using TypeDescriptor.
7310 * CheckBoxField.cs: Added missing attributes.
7311 * TemplateField.cs: Implemented.
7313 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7316 * FontUnitConverter.cs: fixed ConvertTo to work with target
7317 InstanceDescriptor and value as a string.
7319 * Unit.cs: culture might be null.
7323 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
7325 * ButtonField.cs: Mostly implemented.
7326 * DataControlFieldHeaderCell.cs: Implemented.
7327 * ObjectDataSourceView.cs: Initial implementation.
7328 * DataControlButton.cs: Added support for real buttons.
7329 * Label.cs, DataControlField.cs: Flush.
7330 * ObjectDataSource.cs: Initial implementation.
7331 * HiddenField.cs: Added class stub.
7332 * GridView.cs: Load autogenerated field properties before
7333 creating the children, to make sure that column info is ready.
7334 * ControlParameter.cs: Implemented Evaluate method.
7335 * ImageField.cs: Added class stub.
7336 * BoundField.cs: Added HtmlEncode property.
7337 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
7339 * CheckBoxField.cs: Mostly implemented.
7340 * TemplateField.cs: Added class stub.
7341 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
7342 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
7343 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
7345 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
7347 * DataControlField.cs: Added missing InsertVisible property.
7348 * AutoGeneratedFieldProperties.cs: Implemented.
7349 * PagerSettings.cs: Minor fix.
7350 * GridView.cs: Implemented support for autogenerated fields, templates,
7351 accessible headers. Implemented paging using PagedDataSource.
7352 Implemented missing overridable methods.
7353 * AutoGeneratedField.cs: Initial implementation.
7354 * BoundField.cs: Added ReadOnly property.
7355 * PagedDataSource.cs: Implemented 2.0 api.
7356 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
7357 cell class to be used by accessible headers.
7358 * TableCell.cs: Removed unneded constructor. If the cell is bound to
7359 a template, call the default RenderContents method.
7361 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7363 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
7364 event when loading the view state. Fixes #73746.
7366 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7368 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
7370 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
7372 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
7374 * CommandField.cs: Mostly implemented.
7375 * Menu.cs: Use callback methods moved to ClientScriptManager.
7376 * DataControlButton.cs: Internal control used to implement buttons
7377 for navigating in data bound controls.
7378 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
7379 to render the column headers.
7380 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
7381 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
7382 Don't use Page.GetPostBackClientEvent
7383 since it is deprecated in 2.0.
7384 * GridView.cs: Implemented some several interfaces.
7385 Implemented support client sorting and page navigation (using callbacks).
7386 Implemented the autogenerated command column using the new CommandField
7388 * ButtonFieldBase.cs: Implemented.
7389 * GridView.js: New helper script to support client side sorting and
7390 paging in the grid view.
7392 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
7394 * DataKey.cs: Implemented.
7395 * XmlDataSourceView.cs: Implemented support for row pagging.
7396 * Table.cs: Fixed attribute value.
7397 * DataControlField.cs: Added support for sorting headers.
7398 * ChildTable.cs: Created.
7399 * ListControl.cs: Delay selection assignment, since control state
7400 is now loaded before view state.
7401 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
7402 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
7403 several missing properties.
7404 * PagerSettings.cs: Fully implemented.
7405 * BaseDataList.cs: Added null check.
7406 * GridView.cs: Implemented more functionality.
7407 * BoundField.cs: Added support for cell editing.
7408 * StringArrayConverter.cs: Implemented.
7409 * DataKeyArray.cs: Implemented.
7410 * BaseDataBoundControl.cs: Reset the requires binding flag before
7411 executing the query. This avoids recursive query calls.
7412 * GridViewRow.cs: Handler commands raised from row childs.
7414 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
7416 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
7417 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
7418 it is possible to query for properties fore each data item.
7419 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
7420 when loading its view state.
7421 * DataControlField.cs: Implement properties using a StateBag.
7422 * XmlDataSourcePropertyDescriptor.cs: Implemented.
7423 * PagerSettings.cs: Mostly implemented.
7424 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
7425 * DataBoundControl.cs: Added null check.
7426 * GridView.cs: Initial implementation.
7427 * CompositeDataBoundControl.cs: Implemented.
7428 * BoundField.cs: Initial implementation.
7429 * GridViewRowCollection.cs: Initial implementation.
7430 * DataControlFieldCollection.cs: Initial implementation.
7431 * DataControlFieldCell.cs: Fixed control tag.
7432 * GridViewRow: Initial implementation.
7433 * XmlDataSourceNodeDescriptor.cs: Implemented.
7435 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7437 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
7438 is zero, use the TagName no matter its value. Fixes bug #72415.
7440 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
7442 * Style.cs: Method name fix.
7443 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
7444 * BaseCompareValidator.cs: Method signature fix.
7445 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
7446 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
7447 * BulletedList.cs: Added missing method.
7448 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
7450 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
7452 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
7453 * RadioButton.cs: Added missing 2.0 methods.
7454 * ListItem.cs: Added Enabled property.
7455 * MailMessageEventArgs.cs: Use the correct message class.
7456 * ListControl.cs: Implemented missing properties and support for
7457 control state. Implemented base RenderContents method.
7458 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
7460 * BaseCompareValidator.cs: Implemented methods that support conditional
7461 use of the invariant culture.
7462 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
7463 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
7464 It takes a DbCommand instead of a IDbCommand.
7465 * GridViewSortEventArgs.cs: Added SortDirection property.
7466 * TextBox.cs, CheckBoxList.cs: Added protected version of
7467 IPostBackDataHandler methods.
7468 * RadioButtonList.cs: Added protected version of
7469 IPostBackDataHandler and IRepeatInfoUser methods.
7470 * Repeater.cs: Updated some method names.
7471 * DropDownList.cs: Added protected version of
7472 IPostBackDataHandler methods. Reuse RenderContents from base class.
7473 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
7474 * GridViewUpdatedEventArgs.cs: Fix typo.
7475 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
7476 Reuse RenderContents from base class.
7477 * BaseDataBoundControl.cs: Several fixes.
7478 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
7480 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7482 * CheckBoxList.cs: Fix build.
7484 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7486 * Button.cs: Use validation group when validating page.
7487 * XmlDataSourceView.cs: Implemented ExecuteSelect.
7488 * Menu.cs: Minor fix.
7489 * CheckBox.cs: Added 2.0 properties and methods.
7490 * BaseDataList.cs: Always databind the control if view state
7492 * DataList.cs: In 2.0, use control state to save the selected index.
7493 * DetailsViewUpdatedEventArgs.cs: Fix typo.
7494 * CustomValidator.cs: Implement IStaticTextControl interface.
7495 * CheckBoxList.cs: Added missing 2.0 methods.
7496 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
7498 * XmlDataSource.cs: Return childs of DocumentElement, not the root
7500 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
7501 Implemented 2.0 API.
7504 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
7506 * Button.cs: Implemented all missing 2.0 features.
7507 * Table.cs: Render the table caption, when specified.
7508 * Calendar.cs: Implemented most of missing 2.0 features.
7509 * TableCell.cs: Fixed attributes.
7511 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7513 * ControlPropertyNameConverter.cs: Added file.
7515 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7517 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
7518 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
7519 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
7520 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
7521 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
7522 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
7523 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
7524 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
7525 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
7526 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
7527 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
7528 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
7529 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
7530 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
7531 DataGridSortCommandEventArgs.cs, Repeater.cs,
7532 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
7533 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
7534 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
7535 CompareValidator.cs, HierarchicalDataBoundControl.cs,
7536 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
7537 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
7538 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
7539 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
7540 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
7541 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
7542 AdCreatedEventArgs.cs:
7544 General 2.0 API fixes: missing attributes, incorrect inheritance,
7545 missing sealed keywords, wrong signatures, etc.
7547 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
7549 * Table.cs: Added some 2.0 properties.
7550 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
7552 * BaseValidator.cs: Fix warning.
7553 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
7555 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
7557 * Menu.cs: Rendering fixes.
7559 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
7561 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
7562 ContentPlaceHolderBuilder.cs: Implemented.
7564 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7566 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
7567 attributes that are meant to be in the input tag in their place.
7569 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
7571 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
7572 generates invalid html).
7574 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
7576 * Menu.cs: Implemented most of missing properties. Added support for
7577 item templates. Implemented menu scrolling.
7578 * MenuItemBinding.cs: Implemented most of missing properties.
7579 * MenuItem.cs: Implemented most of missing properties.
7580 * Menu.js: Implemented scrolling and menu reposition into screen.
7581 * MenuItemTemplateContainer.cs: Implemented.
7582 * SubMenuStyle.cs: Implemented.
7584 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
7586 * Style.cs: Implemented RegisteredCssClass property. Added
7587 CopyTextStylesFrom method, which copies styles that only apply to text.
7588 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
7589 in the page stylesheet. Added support for ItemSpacing property.
7590 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
7592 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
7594 * Style.cs: Generate styles using a CssStyleCollection, so the code can
7595 be reused for the 2.0 FillStyleAttributes method.
7596 * Menu.cs: Implemented more properties and events. Rendering is very
7598 * MenuItem.cs: Added PopOutImageUrl property.
7599 * Menu.js: More work on submenu management.
7601 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
7603 * Menu.cs: Implemented basic rendering. Added some missing properties.
7604 * MenuItem.cs: Improved implementation of Depth.
7605 * Unit.cs: Added serializable attribute.
7606 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
7607 so it can be reused.
7608 * Menu.js: New script to support he Menu control.
7610 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
7612 * MenuEventArgs.cs: Changed to sealed.
7613 * TreeView.cs: Minor fix.
7614 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
7615 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
7616 MenuItemStyleCollection.cs: Initial Menu code.
7618 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
7620 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
7621 Implemented SetDirtyObject.
7622 * Style.cs: Implemented SetDirty().
7623 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
7624 * TreeNode.cs: Added missing attributes added support for
7625 PopulateOnDemand. Added some missing property bindings.
7626 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
7627 to newly added elements to make sure al new data is saved.
7628 * TreeView.js: Implemented support for client population of nodes.
7629 * TreeNodeStyle.cs: Added missing attributes.
7630 * TreeView.cs: Implemented support for PopulateNodesFromClient and
7631 PopulateOnDemand. Improved rendering.
7633 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
7635 * DataControlField.cs:
7636 * DataControlFieldCell.cs: Initial implementation.
7638 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
7640 * TreeNodeBindingCollection.cs: Implemented.
7641 * TreeNodeBinding.cs: Implemented.
7642 * TreeNode.cs: Added support for data binding.
7643 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
7644 TreeView_Default_NoExpand.gif: Moved to resources directory.
7645 * ListControl.cs: Fixed api.
7646 * XmlHierarchicalEnumerable.cs: Made internal.
7647 * DataBoundControl.cs: Modified api to match latest ms.net.
7648 * TreeView.js: New javascript file to support TreeView in the client.
7649 * XmlDataSource.cs: Added missing attributes.
7650 * HierarchicalDataBoundControl.cs: Mostly implemented.
7651 * BaseDataBoundControl.cs: Mostly implemented.
7652 * XmlHierarchyData.cs: Made internal.
7653 * TreeView.cs: Mostly implemented. The major missing feature is
7654 client side tree population.
7656 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
7659 * DataBountControl.cs:
7660 * Repeater.cs: Added SelectArguments property and updated.
7661 * SiteMapDataSourceView.cs:
7662 * SqlDataSourceView.cs:
7663 * XmlDataSourceView.cs: Removed extra method, which was there to
7664 keep things compiling.
7666 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
7668 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
7669 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
7670 TreeView.cs: Initial implementation.
7671 * DataBoundControl.cs: Set the correct base class.
7672 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
7673 * TreeNodeSelectAction.cs: Formatting.
7674 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
7675 TreeView_Default_NoExpand.gif: TreeView images.
7677 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
7679 * SqlDataSourceView.cs: Updated methods and added one property.
7681 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7683 * AccessDataSource.cs:
7684 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
7685 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7687 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
7688 * SqlDataSourceView.cs: Updated constructor.
7690 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7692 * AccessDataSourceView.cs: Added new class.
7694 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7696 * SqlDataSourceView.cs: Corrected exception handling in
7697 ExecuteSelect method.
7699 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
7701 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
7702 * SiteMapDataSourceView.cs: Minor fix.
7704 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7706 * SqlDataSourceView.cs: Updated ExecuteSelect method.
7708 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7710 * SqlDataSource.cs: Corrected Select method.
7712 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7714 * SqlDataSource.cs: Updated Select method definition.
7715 * SqlDataSourceStatusEventArgs.cs: Updated class.
7717 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
7719 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
7720 from DataSourceView.cs).
7722 2004-11-10 Raja R Harinath <rharinath@novell.com>
7724 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
7726 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
7728 * SqlDataSource.cs: Corrected method calls.
7729 * SqlDataSourceView.cs: Partial implementation of few methods.
7731 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7733 * ListItemCollection.cs: fixed bug when indexing changed elements in
7734 LoadViewState. Patch from Alois Bělaška.
7736 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
7738 * SiteMapDataSourceView.cs:
7739 * SqlDataSourceView.cs:
7740 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
7741 base class, DataSourceView. Changes are to keep things compiling.
7743 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
7745 * SiteMapDataSourceView.cs: Corrected class definition and updated.
7746 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
7749 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
7751 * AdRotator.cs: Updated.
7753 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
7755 * AccessDataSource.cs: Updated.
7757 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7759 * ValidatedControlConverter.cs: Updated.
7761 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7763 * AssociatedControlConverter.cs: Implemented.
7765 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7767 * ControlIDConverter.cs: Initial implementation.
7769 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7771 * IButtonControl.cs: Corrected property name.
7773 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7775 * ParameterCollection.cs: Updated.
7777 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7779 * Parameter.cs: Updated and completed implementation.
7781 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7783 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
7786 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7788 * AccessDataSource.cs: Initial implementation.
7790 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
7792 * DataControlRowState.cs:
7794 * TreeNodeTypes.cs: Added attribute.
7795 * DataControlRowType.cs:
7797 * SortDirection.cs: Corrected enumeration values.
7798 * TableRowSection.cs: Added new enumeration.
7799 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
7801 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7803 * TableStyle.cs: don't render empty 'rules' attribute (again).
7805 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
7807 * FormViewUpdatedEventArgs.cs: Spelling mistake.
7809 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
7811 * Literal.cs: Added new method Focus().
7813 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7815 * RadioButton.cs: fix GroupName when the control is inside a
7816 NamingContainer different from Page. Closes bug #65586.
7818 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
7820 * Localize.cs: Added new class.
7822 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
7824 * CompositeControl.cs : Completed
7825 * Login.cs : Initial implementation.
7827 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7829 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
7830 don't call MapPathSecure on the content itself.
7832 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
7833 document is checked at parse time and will be checked again at run time.
7837 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
7839 * AuthenticateEventHandler.cs:
7840 * CreateUserErrorEventArgs.cs:
7841 * CreateUserErrorEventHandler.cs:
7842 * DetailsViewCommandEventHandler.cs:
7843 * DetailsViewDeleteEventArgs.cs:
7844 * DetailsViewDeleteEventHandler.cs:
7845 * DetailsViewDeletedEventArgs.cs:
7846 * DetailsViewDeletedEventHandler.cs:
7847 * DetailsViewInsertEventArgs.cs:
7848 * DetailsViewInsertEventHandler.cs:
7849 * DetailsViewInsertedEventArgs.cs:
7850 * DetailsViewInsertedEventHandler.cs:
7851 * DetailsViewModeEventArgs.cs:
7852 * DetailsViewModeEventHandler.cs:
7853 * DetailsViewPageEventHandler.cs:
7854 * DetailsViewUpdateEventArgs.cs:
7855 * DetailsViewUpdateEventHandler.cs:
7856 * DetailsViewUpdatedEventArgs.cs:
7857 * DetailsViewUpdatedEventHandler.cs:
7858 * FormViewCommandEventHandler.cs:
7859 * FormViewDeleteEventArgs.cs:
7860 * FormViewDeleteEventHandler.cs:
7861 * FormViewDeletedEventArgs.cs:
7862 * FormViewDeletedEventHandler.cs:
7863 * FormViewInsertEventArgs.cs:
7864 * FormViewInsertEventHandler.cs:
7865 * FormViewInsertedEventArgs.cs:
7866 * FormViewInsertedEventHandler.cs:
7867 * FormViewModeEventHandler.cs:
7868 * FormViewPageEventHandler.cs:
7869 * FormViewUpdateEventArgs.cs:
7870 * FormViewUpdateEventHandler.cs:
7871 * FormViewUpdatedEventArgs.cs:
7872 * FormViewUpdatedEventHandler.cs:
7873 * GridViewCancelEditEventArgs.cs:
7874 * GridViewCancelEditEventHandler.cs:
7875 * GridViewCommandEventHandler.cs:
7876 * GridViewDeleteEventArgs.cs:
7877 * GridViewDeleteEventHandler.cs:
7878 * GridViewDeletedEventArgs.cs:
7879 * GridViewDeletedEventHandler.cs:
7880 * GridViewEditEventHandler.cs:
7881 * GridViewPageEventHandler.cs:
7882 * GridViewRowEventHandler.cs:
7883 * GridViewSelectEventHandler.cs:
7884 * GridViewSortEventArgs.cs:
7885 * GridViewSortEventHandler.cs:
7886 * GridViewUpdateEventArgs.cs:
7887 * GridViewUpdateEventHandler.cs:
7888 * GridViewUpdatedEventArgs.cs:
7889 * GridViewUpdatedEventHandler.cs:
7890 * ImageMapEventHandler.cs:
7891 * MailMessageEventHandler.cs:
7892 * MenuEventHandler.cs:
7893 * ObjectDataSourceDisposingEventHandler.cs:
7894 * ObjectDataSourceEventHandler.cs:
7895 * ObjectDataSourceMethodEventArgs.cs:
7896 * ObjectDataSourceMethodEventHandler.cs:
7897 * ObjectDataSourceSelectingEventArgs.cs:
7898 * ObjectDataSourceSelectingEventHandler.cs:
7899 * ObjectDataSourceStatusEventArgs.cs:
7900 * ObjectDataSourceStatusEventHandler.cs:
7901 * SendMailErrorEventHandler.cs:
7902 * SiteMapNodeItemEventHandler.cs:
7903 * SqlDataSourceSelectingEventArgs.cs:
7904 * SqlDataSourceSelectingEventHandler.cs:
7905 * TreeNodeEventHandler.cs:
7906 * WizardNavigationEventArgs.cs:
7907 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
7908 corrections and removing "sealed" access specifier from *EventHandler.cs
7910 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
7912 * Literal.cs: Added new attributes and property for .Net 2.0
7914 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
7916 * GridViewDeleteEventArgs.cs: Removed extra code.
7918 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
7920 * SendMailErrorEventArgs.cs:
7921 * SendMailErrorEventHandler.cs:
7922 * SiteMapNodeItemEventArgs.cs:
7923 * SiteMapNodeItemEventHandler.cs:
7924 * SqlDataSourceSelectingEventArgs.cs:
7925 * SqlDataSourceSelectingEventHandler.cs:
7926 * TreeNodeEventArgs.cs:
7927 * TreeNodeEventHandler.cs:
7928 * WizardNavigationEventArgs.cs:
7929 * WizardNavigationEventHandler.cs: Added new delegates.
7931 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7933 * ImageMapEventArgs.cs:
7934 * ImageMapEventHandler.cs:
7935 * MailMessageEventArgs.cs:
7936 * MailMessageEventHandler.cs:
7938 * MenuEventHandler.cs:
7939 * ObjectDataSourceDisposingEventArgs.cs:
7940 * ObjectDataSourceDisposingEventHandler.cs:
7941 * ObjectDataSourceEventArgs.cs:
7942 * ObjectDataSourceEventHandler.cs:
7943 * ObjectDataSourceMethodEventArgs.cs:
7944 * ObjectDataSourceMethodEventHandler.cs:
7945 * ObjectDataSourceSelectingEventArgs.cs:
7946 * ObjectDataSourceSelectingEventHandler.cs:
7947 * ObjectDataSourceStatusEventArgs.cs:
7948 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
7950 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7952 * DetailsViewCommandEventArgs.cs:
7953 * FormViewCommandEventArgs.cs:
7954 * GridViewCommandEventArgs.cs: Corrected constructor.
7956 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7958 * GridViewCancelEditEventArgs.cs:
7959 * GridViewCancelEditEventHandler.cs:
7960 * GridViewCommandEventArgs.cs:
7961 * GridViewCommandEventHandler.cs:
7962 * GridViewDeletedEventArgs.cs:
7963 * GridViewDeletedEventHandler.cs:
7964 * GridViewDeleteEventArgs.cs:
7965 * GridViewDeleteEventHandler.cs:
7966 * GridViewEditEventArgs.cs:
7967 * GridViewEditEventHandler.cs:
7968 * GridViewPageEventArgs.cs:
7969 * GridViewPageEventHandler.cs:
7970 * GridViewRowEventArgs.cs:
7971 * GridViewRowEventHandler.cs:
7972 * GridViewSelectEventArgs.cs:
7973 * GridViewSelectEventHandler.cs:
7974 * GridViewSortEventArgs.cs:
7975 * GridViewSortEventHandler.cs:
7976 * GridViewUpdatedEventArgs.cs:
7977 * GridViewUpdatedEventHandler.cs:
7978 * GridViewUpdateEventArgs.cs:
7979 * GridViewUpdateEventHandler.cs: Added new delegates.
7981 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7983 * FormViewUpdatedEventArgs.cs: Corrected constructor.
7985 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7987 * FormViewCommandEventArgs.cs: Corrected name of class.
7989 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7991 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
7994 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7996 * FormViewCommandEventArgs.cs:
7997 * FormViewCommandEventHandler.cs:
7998 * FormViewDeletedEventArgs.cs:
7999 * FormViewDeletedEventHandler.cs:
8000 * FormViewDeleteEventArgs.cs:
8001 * FormViewDeleteEventHandler.cs:
8002 * FormViewInsertedEventArgs.cs:
8003 * FormViewInsertedEventHandler.cs:
8004 * FormViewInsertEventArgs.cs:
8005 * FormViewInsertEventHandler.cs:
8006 * FormViewModeEventArgs.cs:
8007 * FormViewModeEventHandler.cs:
8008 * FormViewPageEventArgs.cs:
8009 * FormViewPageEventHandler.cs:
8010 * FormViewUpdatedEventArgs.cs:
8011 * FormViewUpdatedEventHandler.cs:
8012 * FormViewUpdateEventArgs.cs:
8013 * FormViewUpdateEventHandler.cs: Added new delegates.
8015 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
8017 * DetailsViewCommandEventArgs.cs:
8018 * DetailsViewCommandEventHandler.cs:
8019 * DetailsViewDeletedEventArgs.cs:
8020 * DetailsViewDeletedEventHandler.cs:
8021 * DetailsViewDeleteEventArgs.cs:
8022 * DetailsViewDeleteEventHandler.cs:
8023 * DetailsViewInsertedEventArgs.cs:
8024 * DetailsViewInsertedEventHandler.cs:
8025 * DetailsViewInsertEventArgs.cs:
8026 * DetailsViewInsertEventHandler.cs:
8027 * DetailsViewModeEventArgs.cs:
8028 * DetailsViewModeEventHandler.cs:
8029 * DetailsViewPageEventArgs.cs:
8030 * DetailsViewPageEventHandler.cs:
8031 * DetailsViewUpdatedEventArgs.cs:
8032 * DetailsViewUpdatedEventHandler.cs:
8033 * DetailsViewUpdateEventArgs.cs:
8034 * DetailsViewUpdateEventHandler.cs: Added new delegates.
8036 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
8038 * AuthenticateEventArgs.cs:
8039 * AuthenticateEventHandler.cs:
8040 * CreateUserErrorEventArgs.cs:
8041 * CreateUserErrorEventHandler.cs: Added new delegates.
8043 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
8045 * IButtonControl.cs:
8046 * ICallbackContainer.cs:
8047 * ICompositeControlDesignerAccessor.cs:
8048 * IPostBackContainer.cs: Added new interfaces.
8050 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
8053 * AutoCompleteType.cs:
8054 * ContentDirection.cs:
8055 * DataControlCellType.cs:
8056 * DataControlRowState.cs:
8057 * DataControlRowType.cs:
8058 * DetailsViewMode.cs:
8059 * DynamicImageParameterMode.cs:
8062 * ImageFieldMode.cs:
8069 * SiteMapNodeItemType.cs:
8070 * SiteMapNodeType.cs:
8071 * SiteMapViewType.cs:
8073 * TableCaptionAlign.cs:
8074 * TableHeaderScope.cs:
8076 * TreeNodeSelectAction.cs:
8078 * TreeViewImageSet.cs:
8079 * WizardStepType.cs: Added enumerations
8081 2004-08-02 Duncan Mak <duncan@ximian.com>
8084 * LoginFailureAction.cs:
8085 * LoginTextLayout.cs: Added enumerations.
8087 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8089 * BaseValidator.cs: in Validate(), when the control is not visible or
8090 enabled, return inmediately after setting IsValid to true. Fixes bug
8093 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8095 * DataList.cs: s/HasChildren/HasControls()/.
8097 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8099 * DataList.cs: style.
8101 2004-07-27 Alon Gazit <along@mainsoft.com>
8102 * DataList.cs: Replaced foreach statement with for statement,
8103 in order to improve performence.
8105 2004-07-27 Alon Gazit <along@mainsoft.com>
8106 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
8108 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
8109 switch statements in order to improve performance.
8111 2004-06-10 Alon Gazit <along@mainsoft.com>
8112 * WebControl.cs: fixed LoadViewState().
8113 Creates new attributes state bag only when the current is null.
8115 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8117 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
8119 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8121 * Calendar.cs: set the title class attribute if we have it. Fixes bug
8124 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8126 * Style.cs: added SetBit.
8128 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8131 * CompareValidator.cs:
8134 * WebControl.cs: Added protected missing members and attributes.
8136 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8138 * TextBox.cs: don't save the Text if in ViewState if it's a password.
8139 Save it if the control is not visible or not enabled. Fixes bug #58497.
8141 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8143 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
8146 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
8148 * SqlDataSourceCommandEventArgs:
8149 * XmlDataSource.cs : removed temporary workarounds for CLS
8150 compliance as System.Data is now CLS compliant
8152 2004-05-06 Alon Gazit <along@mainsoft.com>
8153 * WebControl.cs: fixed LoadViewState() and SaveViewState().
8154 Before the change the Enabled property wasn't updated when a postback
8156 * ListControl.cs: fixed SelectedIndex property implementation.
8157 Prevents throwing ArgumentOutOfRangeException (that should not be
8158 thrown), when the list is empty.
8160 2004-04-28 Alon Gazit <along@mainsoft.com>
8161 * WebControl.cs: fixed LoadViewState().
8162 Always loading the saved attributes collection.
8164 2004-04-18 Alon Gazit <along@mainsoft.com>
8165 * Repeater.cs: fixed InstantiateItem() and DataSource property.
8166 The change in DataSource prevents throwing ArgumentException while
8167 setting property value to null.
8168 The change in InstantiateItem() prevents NullReferenceException.
8170 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
8172 * BaseValidator.cs: Store Display property in the correct ViewState
8173 property. Don't render anything if Display is ValidatorDisplay.None.
8175 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
8177 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
8178 since it is already a physical path. Fixes bug #55334.
8180 2004-02-13 Jackson Harper <jackson@ximian.com>
8182 * Calendar.cs: Match MS postback data. This allows sites that
8183 parse the postback data manually to work.
8185 2004-02-04 Alon Gazit <along@mainsoft.com>
8186 * EditCommandColumn.cs: fixed InitializeCell().
8187 The rendered LiteralControl should contain " " and not " ".
8189 2004-02-01 Alon Gazit <along@mainsoft.com>
8191 * DataGrid.cs: fixed a problem in the paging mechanism in the method
8193 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
8194 while clicking the "..." link in the second page.
8196 2004-01-28 Alon Gazit <along@mainsoft.com>
8198 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
8200 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8202 * Calendar.cs: when rendering days, add a LiteralControl containing the
8203 day before OnDayRender is called. Only generate the default links for
8204 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
8206 2004-01-21 Martin Baulig <martin@ximian.com>
8208 * XmlHierarchyData.cs: Make this compile with csc.
8210 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
8211 accessor since the base class doesn't have one.
8213 2004-01-18 Alon Gazit <along@mainsoft.com>
8215 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
8217 2004-01-18 Alon Gazit <along@mainsoft.com>
8219 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
8220 Property default value.
8221 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
8222 Property default value.
8224 2004-01-15 Alon Gazit <along@mainsoft.com>
8226 * RadioButtonList.cs: RepeatLayout property should affect the rendered
8229 2004-01-15 Alon Gazit <along@mainsoft.com>
8230 * FontInfo.cs: Add validation check to Size property.
8232 2004-01-07 Alon Gazit <along@mainsoft.com>
8233 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8234 merge the column's style to the cell's style and not to
8235 the item's(row) style.
8237 2004-01-04 Alon Gazit <along@mainsoft.com>
8238 * RangeValidator.cs: Fixed ControlPropertiesValid().
8240 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8242 * Xml.cs: mono-stylized and removed warnings.
8244 2004-1-1 Alon Gazit <along@mainsoft.com>
8245 * RadioButtonList.cs: update RenderItem() so that each RadioButton
8246 is enabled or disabled like the RadioButtonList.
8247 * CheckBoxList.cs: update RenderItem() so that each CheckBox
8248 is enabled or disabled like the CheckBoxList.
8250 2004-1-1 Alon Gazit <along@mainsoft.com>
8251 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8252 The Header or Footer Style shouldn't merge with the cells Style.
8254 2004-1-1 Alon Gazit <along@mainsoft.com>
8255 * DataGridColumn.cs: Headers and Footers are initialized
8256 with the relevant Style object.
8258 2003-12-30 Alon Gazit <along@mainsoft.com>
8259 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8260 DoHorizontalRendering().
8261 Current implementation produces few extra html tags.
8263 2003-12-29 Alon Gazit <along@mainsoft.com>
8265 * CheckBox.cs: change the implementation of LoadPostData.
8266 Currently, while the AutoPostBack property equals true ,
8267 it isn't possible to perform uncheck.
8269 2003-12-19 Jackson Harper <jackson@ximian.com>
8271 * TableCell.cs: Setting a cells text should clear its control
8272 collection as per la specification. This fixes bug #51825.
8274 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8276 * DataGridColumn.cs: stylized LoadViewState.
8277 * DataGridColumnCollection.cs: when TrackViewState is called, also
8278 call it on all the existing columns. Fixes bug #52334.
8280 2003-12-18 Alon Gazit <along@mainsoft.com>
8282 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
8285 2003-12-18 Alon Gazit <along@mainsoft.com>
8287 * TableStyle.cs: merge TableStyle properties when Style is empty.
8289 2003-12-16 Alon Gazit <along@mainsoft.com>
8291 * HyperLink.cs: Change Text property implementation. in MS when the Text
8292 property is set, all the controls in the HyperLink are being deleted.
8293 This fixes bug #52239.
8295 2003-12-15 Alon Gazit <along@mainsoft.com>
8296 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8297 DoHorizontalRendering().
8298 Both methods add additional empty table row in the head of each item
8299 table when the variable named isTable equals true (happenes with the
8300 default instantiation of RepeatInfo). These additional rows should be
8301 added when isTable equals false.
8302 This fixes bug #52225.
8304 2003-12-15 Alon Gazit <along@mainsoft.com>
8306 * RepeatInfo.cs: Fixed DoVerticalRendering() and
8307 DoHorizontalRendering().
8308 Both methods add to rendered Header a colspan attribute according to the
8309 rows count. after the change the colspan is added according to the
8312 2003-12-15 Alon Gazit <along@mainsoft.com>
8313 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
8314 In .NET if the checkbox is disabled ,its text appears disabled too.
8315 In Mono the text appears enabled. the fix is in Render().
8316 This fixes bug #52180.
8318 2003-12-15 Alon Gazit <along@mainsoft.com>
8319 * Repeater.cs: Change the implementation of CreateControlHierarchy().
8320 The current implementation renders extra Header and footer
8321 without Repeater.DataSource assign.
8322 This fixes bug #52179.
8324 2003-12-15 Alon Gazit <along@mainsoft.com>
8325 * DataGrid.cs: Change the implementation of the property
8326 BackImageUrl. The current implementation has no influence
8327 on the rendered Html.
8329 2003-12-15 Alon Gazit <along@mainsoft.com>
8330 * WebControl.cs: Change the implementation of the property
8331 Enabled. Before the change the WebControl also looked at
8332 parent.Enabled . fixed bug #52171.
8334 2003-12-11 Jackson Harper <jackson@ximian.com>
8336 * RepeatInfo.cs: When rendering vertically figure out how many
8337 colmns are not going to be filled in in the last row, and adjust
8338 things accordingly. This fixes bug #51863.
8340 2003-12-10 Alon Gazit <along@mainsoft.com>
8341 * TableRow.cs: Change the implementation of the properties
8342 HorizontalAlign and VerticalAlign. The current implementation
8343 has no influence on the rendered Html.
8345 2003-12-10 Alon Gazit <along@mainsoft.com>
8346 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
8347 property's set method.
8349 2003-12-09 Jackson Harper <jackson@ximian.com>
8351 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
8352 Increment counter when moving to start. Fixes bug #51926.
8354 2003-12-08 Jackson Harper <jackson@ximian.com>
8356 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
8357 Benjamin Jemlich. Fixes bug #51823.
8359 2003-12-07 Alon Gazit <along@mainsoft.com>
8360 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
8361 property is set to false. Fixes bug #58120.
8363 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8365 * TableItemStyle.cs: merge TableItemStyle properties when Style is
8366 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
8368 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8370 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
8373 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8375 * WebControl.cs: don't create the attributes when GetAttribute is
8378 2003-12-01 Jackson Harper <jackson@ximian.com>
8380 * WebControl.cs: Only allow access keys to be null or a single
8381 char. Patch by Alon Gazit <along@mainsoft.com>.
8383 2003-11-30 Jackson Harper <jackson@ximian.com>
8385 * CheckBoxList.cs: A checkbox will have null post data if it is
8386 unselected. This fixes bug #51516.
8388 2003-11-29 Jackson Harper <jackson@ximian.com>
8390 * DataGrid.cs: Display paging controls even when there is no
8391 data. Path by Mohammad DAMT. Fixes bug #51487.
8393 2003-11-29 Jackson Harper <jackson@ximian.com>
8395 * DataGrid.cs: Call TrackViewState when loading bound columns view
8396 state. So that their state is saved. This fixes bug #51424. Also
8399 2003-11-26 Jackson Harper <jackson@ximian.com>
8401 * BaseDataList.cs: Change && to || We will call that a typo so no
8402 one gets embarrased.
8404 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8406 * BaseDataList.cs: allow setting null as Datasource.
8408 * DataGrid.cs: keep autogenerated columns in the ViewState.
8410 Patches by Alon Gazit <along@mainsoft.com>.
8412 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8414 * SqlDataSource*: Implement almost everything. Data access is
8417 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8419 * Calendar.cs (SaveViewState):
8420 - We were allocating a 11 item array, we only used 10 items,
8421 so only allocate 10.
8422 - We only need to save the selected dates if there are any.
8423 * DataGrid.cs (SaveViewState):
8424 * DataGridColumn.cs (SaveViewState):
8425 * DataGridColumnCollection.cs (SaveViewState):
8426 - Only return the array if there is anything in it
8427 * Style.cs (SaveViewState):
8428 - Only save the bits if there were changes.
8429 * WebControl.cs (SaveViewState), (LoadViewState):
8430 - Don't save Enabled into the viewstate here, we already
8431 do it in the property. This just caused *EVERY* control
8432 to have a non-null state, taking up lots of extra room
8434 - The style will always be created with this control's
8435 viewstate, so the style will always return null for the
8436 viewstate. As such, we do not need to store it. We can
8437 also reduce the triplet to a pair because of this.
8439 2003-11-22 Jackson Harper <jackson@ximian.com>
8441 * ValidationSummary.cs: Fix number of messages and message array computation.
8443 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8445 * Xml.cs: Corrected attribute
8446 * XmlBuilder.cs: Added
8448 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8450 * Xml.cs: class status based fixes.
8452 2003-11-19 Jackson Harper <jackson@ximian.com>
8454 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
8456 2003-11-19 Jackson Harper <jackson@ximian.com>
8458 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
8459 teh applications base directory. This fixes bug #51092.
8461 2003-11-18 Todd Berman <tberman@gentoo.org>
8463 * ControlParameter.cs:
8464 * CookieParameter.cs:
8466 * QueryStringParameter.cs:
8467 * SessionParameter.cs: added public .ctor ()
8468 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
8469 and handling, as well as internal ParameterValue for easy access.
8470 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
8471 * ParameterCollection.cs: implementation redux.
8473 2003-11-18 Todd Berman <tberman@gentoo.org>
8475 * ParameterCollection.cs: Implemented
8476 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
8477 ToString () now matches asp.net
8479 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
8481 * ControlParameter.cs:
8482 * CookieParameter.cs:
8485 * QueryStringParameter.cs: New v2 files. Mostly
8486 implemented, still need a few methods.
8488 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8490 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
8491 Gazit <along@mainsoft.com>.
8493 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8495 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
8496 Patch by Alon Gazit <along@mainsoft.com>.
8498 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8500 * DataBoundControl.cs: Implement
8501 * ListControl.cs: inherit from the above.
8502 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
8504 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8509 * Repeater.cs: add v2 databinding stuff
8510 * XmlDataSource.cs: make it load the xml.
8512 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8515 * XmlDataSourceView.cs:
8516 * XmlHierarchicalDataSourceView.cs:
8517 * XmlHierarchicalEnumerable.cs:
8518 * XmlHierarchyData.cs: Implement
8520 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
8522 * SiteMapDataSourceView.cs: Implement.
8524 2003-11-07 Jackson Harper <jackson@ximian.com>
8526 * ImageButton.cs: This is a workaround for bug #49819. It appears
8527 that the .x and .y values are not being posted, and only the x
8528 value is being posted with the ctrl's id as the key.
8530 2003-11-07 Jackson Harper <jackson@ximian.com>
8532 * DataGrid.cs (CreateControlHierarchy): Current page index is
8533 alolowed to equal page count. This prevents an exception being
8534 thrown when both are zero.
8536 2003-11-06 Jackson Harper <jackson@ximian.com>
8538 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
8539 * BaseValidator.cs: Disable base control so the isValid flag is
8542 2003-11-03 Jackson Harper <jackson@ximian.com>
8544 * TemplateColumn.cs: Use the same renderer for selected items as
8545 normal items. This fixes bug #49744.
8547 2003-11-03 Jackson Harper <jackson@ximian.com>
8550 * WebControl.cs: Fix argument out of range exceptions on
8551 properties. Patch by Yaron Shkop.
8553 2003-11-03 Jackson Harper <jackson@ximian.com>
8555 * TemplateColumn.cs: If the item is selected but there is no
8556 editItemTemplate use the itemTemplate. This matches MS behvoir.
8558 2003-11-03 Jackson Harper <jackson@ximian.com>
8560 * Repeater.cs: Always set alternating items to the AlternatingItem
8561 type, when instantiating alternating items use the itemTemplate if
8562 the alternatingItem template is null. This matches MS behavoir and
8565 2003-11-03 Jackson Harper <jackson@ximian.com>
8567 * DataGridPagerStyle.cs: Name of view state attribute is
8568 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
8569 visibility is changed. Patch by Yaron Shkop.
8571 2003-11-03 Jackson Harper <jackson@ximian.com>
8573 * RepeatInfo.cs: When doing horizontal rendering use the repeat
8574 columns as the number of columns in a row. This fixes bug #49016.
8576 2003-11-03 Jackson Harper <jackson@ximian.com>
8578 * PagedDataSource.cs (PageCount): Return page count of 1 if there
8579 paging is disabled. Patch by Yaron Shkop.
8580 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
8581 * TableStyle.cs (AddAttributesToRender): Render border style
8582 collapse. Patch by Yaron Shkop.
8584 * TableItemStyle.cs:
8585 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
8586 the wrong type. Patch by Yaron Shkop.
8588 2003-11-03 Jackson Harper <jackson@ximian.com>
8590 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
8592 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
8595 * BulletedListDisplayMode.cs:
8596 * BulletedListEventHandler.cs:
8598 * BulletedListEventArgs.cs: V2 controls (yay!)
8600 2003-10-30 Jackson Harper <jackson@ximian.com>
8602 * Repeater.cs: Throw an exception if the datasource is set to
8603 something that does not implement either IListSource or
8604 IEnumerable. This fixes bug #50155.
8606 2003-10-30 Jackson Harper <jackson@ximian.com>
8608 * DataGridPagerStyle.cs: Do not allow page button counts to be set
8609 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
8611 2003-10-29 Jackson Harper <jackson@ximian.com>
8613 * ButtonColumn.cs: Format string and text to format were
8614 inversed. This fixes bug #50171.
8616 2003-10-29 Jackson Harper <jackson@ximian.com>
8618 * DataGridColumn.cs: If an item style is set apply it to the
8619 cell. This fixes bug #50173.
8621 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
8623 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
8624 old debugging value.
8626 2003-10-29 Jackson Harper <jackson@ximian.com>
8628 * PagedDataSource.cs:
8629 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
8630 end of the last page. Fixes bug #5085.
8632 2003-10-29 Jackson Harper <jackson@ximian.com>
8634 * CheckBox.cs: Do not change the status of a checkbox when there
8635 is no post data. This fixes bug #49091.
8636 * CheckBoxList.cs: Do not change the status of the checkboxes when
8637 there is no post data. This fixes bug #49093.
8639 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
8641 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
8642 RadioButton. Fixes #50132
8644 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8646 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
8647 paging from working. Fixes #48814.
8649 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8651 * DataGrid.cs: A few typos kept us from viewing datagrids
8652 that were based on customized collections.
8654 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
8656 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
8658 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
8660 * Calendar.cs: render the next month button so that aligns to the
8663 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8665 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
8666 was just changing && by || after the first Match.
8668 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8670 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
8671 Patch by Yaron Shkop.
8673 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8675 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
8676 that fixes bug #49744. Now the selection doesn't lose its data.
8678 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8680 * EditCommandColumn.cs: Implement; fix #49736
8682 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8684 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
8685 the forground color. bug #49738
8687 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8689 * Calendar.cs: fixed bug #49727.
8691 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
8693 * TableStyle.cs: fix #49740.
8695 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8697 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
8698 * ValidationSummary.cs: fixes bug #49669.
8700 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8702 * Calendar.cs: apply the calendar style to the new Table, not to itself.
8705 * CheckBox.cs: render the hidden fields if AutoPostBack.
8707 * Style.cs: don't render empty width/height. Small improvement in
8710 * Table.cs: fixed condition for border width.
8713 (CopyFrom): always call the base class to copy other attributes. Fixes
8714 bug #49408. Don't render empty 'rules' attribute.
8716 * WebControl.cs: track viewstate when enabled. Don't overwrite source
8717 control attributes in CopyBaseAttributes.
8719 * ChangeLog: fixed dates.
8722 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8724 * WebControl.cs : Attributes { get; } - Is Complete.
8725 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
8728 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8730 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
8731 : RegisterValidatorCommonScript()
8732 - More code, I need HELP!
8733 : RegisterValidatorDeclaration()
8734 - More code, I need HELP!
8736 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8738 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
8741 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8743 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
8744 ClearViewState only called when no items.
8746 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8748 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
8750 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8752 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
8754 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8756 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
8759 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8761 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
8764 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8766 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
8767 * WebControl.cs: fixed Enabled property and save it in ViewState.
8771 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8773 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
8775 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8777 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
8780 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8782 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
8783 <rich@velvetsea.net>.
8785 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8787 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
8788 Skripsky <juraj@hotfeet.ch>
8790 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8792 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
8793 fixes rendering of the end tag.
8795 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8797 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
8798 (Yaron Shkop). Closes bug #48060.
8800 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8802 * CheckBox.cs: in LoadPostData, only return
8803 true when the new data is different from the one we had. Fixed
8804 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
8807 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8809 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
8811 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8813 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
8814 of Enable in ViewState. Fixes bug #47865.
8816 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8818 * Style.cs: the MARKED bit is not send set in ViewState unless something
8819 is changed. Fixed TrackViewState condition.
8821 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
8822 because it uses the same ViewState as the control. Fixes bug #47725.
8824 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8826 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
8827 that fixes databinding when only DataTextField or DataNavigateUrlField
8830 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8832 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
8833 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
8834 values before assigning a data source and other issues.
8836 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8838 * CheckBox.cs: save viewstate when needed and correctly handle post
8839 data. Fixes bug #47462.
8841 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8843 * ButtonColumn.cs: Removed additional attributes
8844 * CheckBox.cs: Added attribute
8845 * DataGrid.cs: Added attributes
8846 * HyperLinkColumn.cs: Changed attributes, added lamespec
8847 * Style.cs: Removed attributes
8848 * TextBox.cs: Added/ removed attributes
8850 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8852 * AdRotator.cs: Added all attributes
8853 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
8854 * BaseValidator.cs: Added all attributes
8855 * BoundColumn.cs: Added all attributes
8856 * Button.cs: Added all attributes
8857 * ButtonColumn.cs: Added all attributes, added lamespec
8858 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
8859 * CheckBox.cs: Added all attributes
8860 * CheckBoxList.cs: Added all attributes
8861 * CompareValidator.cs: Added all attributes
8862 * CustomValidator.cs: Added all attributes
8863 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
8864 * DataGridColumn.cs: Added all attributes
8865 * DataGridColumnCollection.cs: Added all attributes
8866 * DataGridPagerStyle.cs: Added all attributes
8867 * DataGridTableInternal.cs: Made DataGridTableInternal internal
8868 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
8869 * DropDownList.cs: Added all attributes
8870 * FontInfo.cs: Added all attributes
8871 * HyperLink.cs: Added all attributes
8872 * HyperLinkColumn.cs: Added all attributes
8873 * Image.cs: Added all attributes
8874 * ImageButton.cs: Added all attributes
8875 * Label.cs: Added all attributes
8876 * LinkButton.cs: Added all attributes
8877 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
8878 * ListControl.cs: Added all attributes
8879 * ListItem.cs: Added all attributes
8880 * ListItemCollection.cs: Added attribute
8881 * Literal.cs: Added all attributes
8882 * Panel.cs: Added all attributes
8883 * RadioButton.cs: Added all attributes
8884 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
8885 * RangeValidator.cs: Added all attributes
8886 * RegularExpressionValidator.cs: Added all attributes
8887 * Repeater.cs: Added all attributes
8889 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8891 * RequiredFieldValidator.cs: Added all attributes
8892 * Style.cs: Added all attributes
8893 * Table.cs: Added all attributes
8894 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
8895 * TableCellCollection.cs: Added attribute
8896 * TableRow.cs: Added all attributes
8897 * TableRowCollection: Added attribute
8898 * TableStyle.cs: Added all attributes, improved error messages
8899 * TemplateColumn.cs: Added all attributes
8900 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
8901 * ValidationSummary.cs: Added all attributes
8902 * WebControl.cs: Added all attributes
8903 * Xml.cs: Added all attributes
8905 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8907 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
8908 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
8910 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8912 * CheckBoxList.cs: fixes bug reported on the list about the state of
8913 the CheckButtons not being preserved across posts.
8915 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8917 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
8919 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8921 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
8923 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8925 * ListControl.cs: save viewstate data when any of the 3 values is not
8926 null. Fixed condition to save selection indices. Closes bug #45493.
8928 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8930 * DataGrid.cs: fixed bug #43823.
8932 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8934 * DataGrid.cs: fixed delegate type for SortCommand.
8936 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8938 * DataGridColumnCollection.cs: added missing return in RemoveAt.
8940 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8942 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
8943 Don't save ViewState is the number of columns is 0.
8945 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8947 * DataGrid.cs: get the right item Type for the property we're reading
8948 fromt the data source.
8950 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8953 * TextBox.cs: added control builder attribute.
8955 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8957 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
8959 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
8961 * Unit.cs: Called the correct method to get the Numeric locale for the
8964 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8966 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
8967 correctly the header of the column.
8969 * DataGridTableInternal.cs: don't assign a default ID to this control.
8971 * LinkButton.cs: raise bubble event in OnCommand.
8973 * TableCellCollection.cs: fixed the index returned by Add.
8975 * TableRowCollection.cs: ditto.
8977 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8979 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
8981 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8983 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
8984 for reporting the bug and providing the fix.
8986 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8988 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
8989 CreateColumnSet. Set the owner of the column when auto generated.
8990 In PrepareControlHierarchyForItem, fixed for loop bound.
8992 * LinkButtonInternal.cs: fixed infinite recursion bug.
8996 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
8998 * Xml.cs: a few fixes.
9000 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9002 * DataList.cs: handle the exception when adding new keys to
9005 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9007 * BaseDataList.cs: what can I say for this one? I spent so many time
9008 until I finally found this that I'm gonna miss this f....g bug... ;-).
9009 Farewell. Now we can get events from image buttons inside Data*.
9011 * DataList.cs: now the value stored in ViewState for item count is
9014 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9016 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
9018 * DataGridColumn.cs: added SetOwner method.
9019 * DataGridColumnCollection.cs: set the owner of the column when added.
9021 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9023 * BoundColumn.cs: typo.
9024 * DataGrid.cs: use 'as' instead of casting. Typo.
9025 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
9028 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9030 * HyperLink.cs: fixes bug #36336.
9032 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9034 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
9036 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9038 * BaseValidator.cs: return an empty string in GetControlValidationValue
9039 when GetValue returned null.
9041 * CompareValidator.cs: fixed EvaluateIsValid.
9043 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
9045 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9047 * Xml.cs: use MapPathSecure to get the path of the document.
9049 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9051 * DataList.cs: fixed header & footer.
9053 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9055 * DataList.cs: for header and footer don't use data source.
9056 Instantiate in the DataListItem, not in the DataList.
9057 databind-template.aspx works now.
9059 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9062 (Render): call RenderContents (), not base.RenderContents ().
9064 * DataList.cs: style.
9066 But I still haven't found what i'm looking for....
9068 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9070 * Calendar.cs: fixed loading/saving selected dates.
9071 * SelectedDatesCollection.cs: added internal function to get the
9072 underlying ArrayList.
9074 Calendar navigation works again. Selecting dates too.
9076 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9078 * DataList.cs: added a few attributes and fixed infinite recursion.
9080 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9082 * ListItemCollection.cs: fixed LoadViewState.
9084 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9086 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
9087 Commented out some code until it works.
9089 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
9091 * BaseCompareValidator.cs - Fixed operator bug in
9092 Compare(string, string, ...)
9093 * CompareValidator.cs - EvaluateIsValid() : Implemented.
9095 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9097 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
9099 - All Properties : Now make use of ViewState.
9101 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9103 * BaseValidator.cs - Uncomment NotImplementedException.
9105 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9107 * BaseValidator.cs - Minor changes in TODO comments.
9109 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9111 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
9112 the NotImplementedException being thrown.
9113 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
9114 * DataGridLinkButton.cs - Added new class (private) : Implemented.
9115 * DataGrid.cs - InitializePager(DataGridItem, int,
9116 PagedDataSource) : Implemented.
9118 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9120 * DataList.cs - PrepareControlHierarchy() : Implemented.
9122 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9124 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
9125 - GetItem(ListItemType, int) : Removed TODO.
9126 - CreateControlHierarchy(bool) : Implemented.
9127 - CreateItem(int, ListItemType) : Implemented.
9128 - CreateItem(int, ListItemType,
9129 bool, object) : Implemented.
9130 - InitializeItem(DataItem) : Implemented.
9131 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
9132 The ViewState["_!ItemCount"],
9133 ViewState["_!DataSource_ItemCount"]
9134 are shared by DataList and DataGrid, and hence
9135 should share the same name.
9136 - ResolveDataSource(object, string)
9137 : Removed. Use System.Web.UI.Utils.DataSourceHelper
9138 ::GetResolvedDataSource(object, string).
9141 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9143 * DataGrid.cs: fixed compilation
9145 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
9147 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
9148 * DataGrid.cs - CreateControlHierarchy(bool)
9149 : working towards completion.
9150 - ResolveDataSource(object, string)
9151 : stubbed new method
9153 : stubbed new method
9154 Well. It's almost done.
9155 * DataGridTableInternal.cs
9156 - Added new internal class.
9158 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
9160 * DataSourceInternal.cs - Added new class (internal).
9162 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9165 * HorizontalAlign.cs:
9167 * VerticalAlign.cs: fixes based on class status page.
9169 * HorizontalAlignConverter.cs: implemented.
9170 * VerticalAlignConverter.cs: implemented.
9172 * FontUnitConverter.cs: implemented GetStandardValues ().
9174 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
9176 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9178 * DataGrid.cs - AutoCreateColumns: Bug fixes.
9180 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9182 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
9184 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9186 * DataGrid.cs - Working on the undocumented protected
9187 method CreateColumnSet. AutoCreateColumns method
9188 stubbed. Left CreateControlHierarchy for the time
9189 being, looks like I'm going insane. ;-)
9191 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9193 * Button.cs - Steffen's OnCommand bug fix.
9195 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
9197 * DataGrid.cs - Added protected method (skeleton)
9198 CreateColumnSet(PagedDataSource, bool)
9199 Still trying to know how will it be used
9202 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9204 * PagedDataSource.cs: fixed compilation.
9206 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
9208 * DataGrid.cs - Added private method
9209 CreatePagedDataSource
9211 CreateControlHierarchy(bool)
9212 * PagedDataSource.cs - Bug fixed.
9213 CurrentPageIndex is writable.
9215 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9217 * DataGrid.cs: fixed typo.
9218 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
9220 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9222 * DataGridColumn.cs - Added internal methods to get the
9223 various styles (needed in DataGrid.cs)
9224 * DataGrid.cs - Completed the method
9225 PrepareControlHierarchy()
9227 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9229 * DataGrid.cs - Wokring on PrepareControlHierarchy()
9230 - Added private method
9231 PrepareControlHierarchyForItem()
9233 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
9235 * DataGrid.cs - Completed method
9236 OnBubbleEvent(object, EventArgs)
9238 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9240 * Xml.cs: implemented document/transform load.
9242 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9244 * Calendar.cs: added myself to the list of authors.
9245 * DropDownList.cs: fixed a few properties.
9246 * ListControl.cs: fixed SelectedIndex.
9248 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9250 * Calendar.cs: lots of fixes. Render days. Still left to persist
9251 selected days when changing month.
9253 * Unit.cs: fixed Percentage and Pixel.
9255 * WebControl.cs: a few properties are now using ControlStyle instead
9256 of ViewState to persist.
9258 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9260 * BaseValidator.cs: it works now.
9261 * DataGridColumn.cs: added attribute and made it abstract.
9262 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
9264 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9266 * TextBox.cs: default for Wrap is true.
9267 (OnPreRender): don't save Text if there are no listeners on TextChanged.
9269 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9275 (LoadViewState): fixed.
9277 * ListItemCollection.cs:
9278 (TrackViewState): use items instead of 'this' in foreach.
9281 (LoadViewState): more checking of parameters.
9283 * WebControl.cs: implemented LoadViewState and SaveViewState.
9286 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9288 * ListItem.cs: there was no code to unset the flags!!!
9290 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9292 * FontUnit.cs: use a hashtable for mapping size name to value.
9293 * HyperLink.cs: fixed a bug and a typo.
9294 * Unit.cs: some fixes to internal constructor.
9296 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9298 * ListControl.cs: fixed a couple of range checks.
9299 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
9300 an HtmlForm (p.e., Label).
9302 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9312 * HyperLinkColumn.cs:
9321 * RadioButtonList.cs:
9325 * WebControl.cs: removed attributes added by mistake (i used
9326 GetCustomAttributes (true), d'oh!).
9328 * DataListItem.cs: implemented RenderItem.
9330 * Repeater.cs: implemented CreateItem and InitializeItem.
9332 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9334 * BaseDataList.cs: a couple of fiex and added attributes.
9335 * DataGrid.cs: little fixes.
9337 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9346 * RadioButtonList.cs:
9349 * Xml.cs: forgot to add using System.ComponentModel.
9351 * BaseValidator.cs: use explicitly
9352 System.ComponentModel.AttributeCollection as there is another class
9353 with the same name under System.Web.UI.
9355 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9374 * RadioButtonList.cs:
9379 * Xml.cs: added/fixed all attributes used by xsp.
9381 * BaseValidator.cs: some fixes.
9383 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9386 (AddAttributesToRender): correctly default to border=1.
9388 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9391 (LoadAdFile): make the dictionary null after every iteration.
9395 * ListItem.cs: fixed warnings.
9397 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
9399 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
9401 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9403 * DataGridColumn.cs:
9404 * DataGridPagerStyle.cs:
9411 * ListItemCollection.cs:
9413 * ServerValidateEventArgs.cs:
9417 * Xml.cs: more class status page based changes.
9419 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9422 (.ctor): fixed to render the correct tag.
9423 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
9425 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9428 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
9429 WebControl derived classes should be rendered inside a HtmlForm.
9431 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9433 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
9436 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9438 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9439 * RepeatInfo.cs: implemented DoHorizontalRendering.
9441 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9443 * System.Web.UI.WebControls/Repeater.cs:
9445 (OnDataBinding): fixed stack overflow.
9447 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9449 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9450 * RepeatInfo.cs: implemented DoHorizontalRendering.
9452 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9455 (CopyBaseAttributes): copy Attributes and don't throw exception.
9457 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9459 * ListBox.cs: mono-stylized.
9460 (AddAttributesToRender): call parent class method.
9462 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9464 * Style.cs: fixed IsEmpty and Width.
9466 * Table.cs: mono-stylized.
9467 (TableRowControlCollection.AddAt): fixed.
9468 (AddAttributesToRender): fixed.
9470 * TableCell.cs: mono-stylized.
9471 (.ctor): use PreventAutoID.
9472 (AddAttributesToRender): fixed.
9473 (AddParsedSubObject): fixed.
9475 * TableRow.cs: mono-stylized. Added
9476 ParseChildren attribute.
9479 (get_GridLine): fixed.
9481 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9483 * Panel.cs: fixed stack overflow.
9484 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
9485 and SingleConverter.
9487 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9489 * RadioButton.cs: mono-stylized and some little fixes.
9491 * TextBox.cs: mono-stylized.
9492 (MaxLength): fixed typo.
9494 (AddAttributesToRender): don't render the text between the tags for
9495 SingleLine, use value attribute for it. Don't render the text for
9498 (OnPreRender): don't throw exception and call base.OnPreRender.
9500 (Render): for MultiLine, render the text between the opening and
9501 closing tags encoded as HTML.
9503 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9506 (AddAttributesToRender): fixer another stack overflow.
9509 (TagName): modified to use TagKey instead of tagKey as the property
9512 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9514 * LinkButton.cs: mono-stylized.
9515 (AddParsedSubObject):
9516 (RenderControls): little fixes.
9519 (AddAttributesToRender): fixed usage of IEnumerator.
9521 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9523 * Literal.cs: beautified.
9525 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9527 * Label.cs: beautified and fixed a couple of 'classic' bugs.
9529 * WebControl.cs: use Span as default tag when no other provided in
9530 constructor. That is what MS renders.
9532 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9535 (AddAttributesToRender): fixed (classic) stack overflow.
9537 * CheckBox.cs: mono-stylized.
9538 (AutoPostBack): fixed stack overflow.
9539 (Render): fixed alignment issues. Also set the For attribute always
9542 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9544 * AdRotator.cs: GetData does not work as it should, but now it returns
9545 useful data (only the first ad in the file). Set the NavigateUrl
9546 property in the hyperlink if available.
9548 * HyperLink.cs: fixed constructor and a couple of stack overflows.
9550 * Image.cs: added an attribute and fixed stack overflow.
9553 (RenderBeginTag): fixed.
9554 (TagName): don't call Enum.IsDefined twice.
9556 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9558 * WebControl.cs: added attributes PersistChildrenAttribute and
9559 ParseChildrenAttribute.
9561 2002-05-24 Duncan Mak <duncan@ximian.com>
9563 * DataGridItem.cs (SetItemType): Changed function signature to
9566 * ListItemCollection.cs (this): Changes the visibility level of
9569 * Repeater.cs (OnItemCommand):
9571 (OnItemDataBound): Added necessary casts.
9573 2002-05-07 Duncan Mak <duncan@ximian.com>
9575 * Button.cs (AddAttributesToRender):
9576 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
9577 GetClientValidatedEvent method.
9579 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
9581 * Removed extra methods, corrected access modifiers to several
9584 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
9586 * <SeveralFiles>.cs - Added some attributes
9587 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
9588 methods. Will complete them later. Right now, busy with
9589 the attributes part.
9590 * RepeaterItem.cs - Completed.
9592 Oh God! Mercy! I will die applying attributes. I look at the missing
9593 part in the class-status - daemon! Kyrie eleison!
9595 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
9599 * AdRotator.cs - Added definition for Font.
9600 * BaseCompareValidator.cs - Added definition for Controls.
9601 * Calendar.cs - SelectMonthText definition corrected.
9602 * DataList.cs - Added definition for SeparatorTemplate.
9603 * BorderStyle.cs - Namespace correction. It belongs not to UI,
9604 but to UI.WebControls.
9606 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
9608 Finally, I have made it. Today I did a second build for the
9609 System.Web assembly. It compiled 195 classes today.
9610 I am waiting eagerly for the runtime to come up so that the objects
9611 may be tested to their last levels. Several of the methods are still
9612 under the tag of "TODO" throwing NotImplementedException. Well, I
9613 hope to remove them soon, but how far is this soon - even I don't
9614 know, though I am happy to make the build a success even before
9615 the vacations to come.
9617 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
9619 Yesterday and today I tried to do some building of the aseembly,
9620 but was dumped with uncoutably infinite errors. ;-)
9621 I have put the copies of the recent errors on my home page, want
9622 to have a look at them? See:
9623 http://mastergaurav.virtualave.net/mono/
9624 I don't know what to do with these errors. Oh! The buggy me! How
9625 will I overcome myself. Hopefully, by when my vacations over, I
9626 should have made a repository where the build will not fail.
9628 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
9630 I am now going to do a build that will include the
9631 System.Web.UI.WebControls namespace. Hoping that I will make it
9632 soon. My exams are coming near and I have to pack up soon.
9635 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
9638 And with this, ie, today's work, all the objects mentioned in the
9639 namespace appear in the implementation. But it may not be worth
9640 trying to go for a build because of dependence of several of the
9641 internal methods that may clash with already available assembly
9644 Also, the classes lack possible attributes, like those informing
9645 about child-controls etc. But I have to first create the attribute
9646 classes before I attach the attributes to the classes.
9648 * CustomValidator.cs - Completed. In process realized that
9649 I have to complete / rejuvinate BaseValidator class.
9650 * BaseValidator.cs - Complete rejuvination. Completed 80%
9651 of the job. All that is left is Render(HtmlTextWriter),
9652 DetermineRenderUplevel(), RegisterValidatorCommonScript()
9653 RegisterValidatorDeclaration()
9654 * DataGridPagerStyle.cs - Completed. That adds one more missle
9656 * DataKeyCollection.cs - Completed. Petty small.
9657 * Repeater.cs - Work started off. This is a quite
9659 * DataGridItemEventArgs.cs,
9660 * DataGridShortCommandEventArgs.cs,
9661 * DataListItemEventArgs.cs,
9662 * MonthChangedEventArgs.cs,
9663 * RepeaterItemEventArgs.cs,
9664 * ServerValidateEventArgs.cs,
9665 * DataGridPageChangedEventArgs.cs
9666 - Damn, I marked them "*", while they
9668 * Repeater.cs - Done all except for an undocumented
9669 method CreateControlHierarchy(bool). Though the method
9670 is quite clear by its name, but it will take some time
9671 for me to come with some material to flush in.
9673 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
9675 * SelectedDatesCollection.cs - Completed.
9676 * PagedDataSource.cs - Completed. Pathetically nice class.
9677 * RegularExpressionValidator.cs
9678 - Completed. Ridiculously small and
9679 annoyinglyc crazy-driving class, basically the method
9681 * RangeValidator.cs - Completed.
9682 * DataGridColumn.cs - Completed.
9683 * EditCommandColumn.cs - All is complete except for the
9684 InitializeCell(TableCell, int, ListItemType) method.
9685 * DataListItem.cs - All done except for a longish method
9686 RenderItem(HtmlTextWriter, bool, bool)
9688 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
9690 * RepeaterItemCollection.cs - Completed.
9691 I love *Collection classes. I am planning to make a
9692 program that will generate a *Collection class. It's so
9693 simple and the same. ;-)
9694 * DataGridColumnCollection.cs - Completed.
9695 ... except probably for *ColumnCollection classes, where
9696 you have to put in some more effort. Still, these class
9697 generation can be automated.
9698 * DataListItemCollection.cs - Completed.
9699 See, how easily, in less than a quarter of a minute, I
9700 completed this class - manually. Copy-Paste/Cut-Replace.
9702 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
9704 * DataGrid.cs - Following methods implemented:
9705 TrackViewState(), LoadViewState(object), SaveViewState(),
9706 On* -- The event raisers.
9707 OnBubbleEvent(object, EventArgs) is still incomplete.
9708 * DataGridItem.cs - Initial Implementation
9709 * DataGridItemCollection.cs - Completed.
9711 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
9713 * DataGrid.cs - Initial Implementation. Worked
9714 primarily with some properties.
9716 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
9718 * ListBox.cs - Completed. Implemented
9719 LoadPostData(string, NameValueCollection)
9720 * RequiredFieldValidator.cs - Completed. Pretty simple class.
9722 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
9724 * ListBox.cs - Implemented the following:
9725 RaisePostDataChangedEvent()
9727 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
9729 * ListBox.cs - Supports the following properties:
9730 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
9733 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
9734 RenderContents(HtmlTextWriter)
9737 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
9739 * TargetConverter.cs - Completed
9740 * TemplateColumn.cs - Completed
9741 * DataList.cs - Corrected the get-er methods for the
9742 *Style objects. Corrected the get/set-er methods for ViewState
9744 Addded support for properties:
9745 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
9746 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
9747 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
9748 SeparatorStyle, SeparatorItemTemplate.
9750 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
9751 ItemCreated, ItemDataBound, UpdateCommand.
9753 CreateControlStyle(), LoadViewState(object),
9754 SaveViewState(), TrackViewState
9756 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
9757 OnEditCommand, OnItemCommand, OnItemCreated,
9758 OnItemDataBound, OnUpdateCommand
9759 Added dummy methods for some undocumented methods:
9760 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
9761 CreateItem(int, ListItemType, bool, object),
9762 PrepareControlHierarchy(), InitializeItem(DataListItem)
9763 * ListBox.cs - Started working.
9767 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
9769 * RepeaterInfo.cs - Initial Implementation. Done all
9770 except for RepeatDirection.Vertical
9771 * TableStyle.cs - Completed
9773 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
9775 * DropDownList.cs - Completed
9776 * ListItemCollection.cs - Added method FindByValueInternal to
9777 assist in the derived classes.
9778 Discovered bug in FindByValue. Removed
9779 * UnitConverter.cs - Completed
9780 * PlaceHolder.cs - What can be simpler than this?
9781 * PlaceHolderControlBuilder.cs
9782 - Uh! Damn cool one.
9783 * RadioButtonList.cs - Initial Implementation. All is done
9784 except for the implementation of
9785 method IRepeatInfoUser.RenderItem(...)
9786 * ValidatedControlConverter.cs
9787 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
9788 * ValidationSummary.cs - Initial Implementation.
9789 * WebColorConverter.cs - Initial Implementation
9791 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9793 * FontNamesConverter.cs - Completed
9794 * FontUnitConverter.cs - Partial Implementation
9795 * ListItemControlBuilder.cs - Completed
9797 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9799 * TextBox.cs - All done except *Render* methods
9800 * TextBoxControlBuilder.cs - Completed
9801 * Xml.cs - Partial Implementation
9803 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
9805 * RadioButton.cs - Completed
9806 * TextBox.cs - Partial Implementation
9808 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
9810 * Panel.cs - Completed
9811 * TableItemStyle.cs - Completed
9813 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
9815 * TableCellCollection.cs - Completed
9816 * TableRowCollection.cs - Completed
9817 * TableHeaderCell.cs - Completed
9818 * TableRow.cs - Completed
9820 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
9822 * TableCellControlBuilder.cs - Completed
9823 * Table.cs - Completed
9824 * TableCell.cs - Completed
9826 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
9828 * CheckBoxList.cs - Completed
9829 * ButtonColumn.cs - Completed
9830 * Button.cs - Completed
9832 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
9834 * HyperLink.cs - Completed
9835 * Image.cs - Completed
9836 * ImageButton.cs - Completed
9837 * Label.cs - Completed
9838 * LabelControlBuilder.cs - Completed
9839 * LinkButton.cs - Completed
9840 * LinkButtonControlBuilder.cs - Completed
9841 * Literal.cs - Completed
9842 * LieteralControlBuilder.cs - Completed
9843 * FontUnit.cs - Completed
9846 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
9848 * Calendar.cs - Completed the functions of Render*,
9849 ViewStates (Track/View/Save),
9851 Left: RenderAllDays (partially)
9853 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
9855 * Calendar.cs - Added some more functions
9856 * Style.cs - Completed
9857 * ListItem.cs - Completed
9858 * ListItemCollection.cs - Completed
9860 Made the first successful build of System.Web.dll that included
9861 System.Web.UI.WebControls!
9863 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
9865 FontInfo.cs - Complete revamp. Completed
9867 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
9869 ListItemCollection.cs - Completed
9870 ListItem.cs - Initial Implementation
9871 Style.cs - Initial Implementation
9873 Right now I am in a total mood to do a successful build. Creating so many
9874 classes, completing classes in System.Web System.Web.UI namespaces.
9876 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
9878 TODO - Properly added
9879 CheckBox.cs - Completed
9880 BaseDataList.cs - Completed
9881 DayRenderEventArgs.cs - Completed
9882 RepeaterItem.cs - Initial implementation
9884 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
9886 BaseCompareValidator.cs - Completed
9887 AdRotator.cs - Completed
9889 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
9891 CommandEventArgs.cs - Completed
9892 DataGridCommandEventArgs.cs - Completed
9893 RepeaterCommandEventArgs.cs - Completed
9894 DataListCommandEventArgs.cs - Completed
9895 CompareValidator.cs - Partial Implementation
9897 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
9899 CheckBoxList.cs - Partial Implementation.
9902 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
9904 ListControl.cs - Completed
9906 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
9908 CheckBox.cs - Completed
9909 ListControl.cs - Initial Implementation
9910 CheckBoxList.cs - Started with it, but first needed
9911 ListControl. Left it.
9913 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
9915 CalendarDay.cs - Making a note that this
9916 has been implemented
9917 Calendar.cs - Making a note that have made some changes.
9918 Unimplmented functions throw
9919 NotImplementedException
9920 CheckBox.cs - Can now "Render" and "LoadPostData"
9923 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
9924 WebControl.cs - Total Revamp, Partial Implementation
9925 AdRotator.cs - Able to load files
9926 AdCreatedEventArgs.cs - Implemented
9928 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
9929 Calendar.cs - Initial Implementation
9930 ButtonColumn.cs - Initial Implementation
9931 Button.cs - Initial Implementation
9932 BoundColumn.cs - Initial Implementation
9933 BaseCompareValidator.cs - Minor Changes
9934 DataList.cs, BaseValidator.cs, BaseDataList.cs
9935 - Added more functions, other changes
9937 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
9938 WebControl.cs - Initial Implementation
9939 DataList.cs - Initial Implementation
9940 BaseValidator.cs - Initial Implementation
9941 BaseDataList.cs - Initial Implementation
9943 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
9945 AdCreatedEventArgs.cs - Initial Implementation
9946 AdCratedEventHandler.cs - Implemented
9947 AdRotator.cs - Initial Implementation
9948 BorderStyle.cs - Implemented
9949 ButtonColumnStyle.cs - Implemented
9950 CalendarSelectionMode.cs - Implemented
9951 DayNameFormat.cs - Implemented
9952 FirstDayOfWeek - Implemented
9953 FontInfo.cs - Partial Implementation
9954 FontSize.cs - Implemented
9955 GridLines.cs - Implemented
9956 HorizontalAlign.cs - Implemented
9957 HyperLink.cs - Initial Implementation
9958 ImageAlign.cs - Implemented
9959 IRepeatInfoUser.cs - Implemented
9960 ListItemType.cs - Implemented
9961 ListSelectionMode.cs - Implemented
9962 NextPrevFormat.cs - Implemented
9963 PagerMode.cs - Implemented
9964 PagerPosition.cs - Implemented
9965 RepeatDirection.cs - Implemented
9966 RepeatLayout.cs - Implemented
9967 TextAlign.cs - Implemented
9968 TextBoxMode.cs - Implemented
9969 TitleFormat.cs - Implemented
9970 UnitType.cs - Implemented
9971 ValidationCompareOperator.cs
9973 ValidationDataType.cs - Implemented
9974 ValidationSummaryDisplayMode.cs
9976 ValidatorDisplay.cs - Implemented
9977 VerticalAlign.cs - Implemented
9981 i/ File Created 2001-11-13