1 2010-07-16 Marek Habersack <mhabersack@novell.com>
3 * Login.cs, PasswordRecovery.cs: implemented RenderOuterTable
6 * FormViewRow.cs: added internal property RenderJustCellContents
7 which makes the control render only its children (4.0)
9 * FormView.cs: implemented RenderOuterTable property and the
10 ModifiedOuterTableStylePropertyName method (4.0)
12 2010-07-15 Marek Habersack <mhabersack@novell.com>
14 * WebControl.cs: implemented verifying that no inline style
15 property is set for controls which support the RenderOuterTable
18 * IRenderOuterTable.cs: internal helper interface for controls
19 which support the RenderOuterTable property (for now only
20 ChangePassword, 3 more to come)
22 * ChangePassword.cs: implemented RenderOuterTable property and the
23 corresponding behavior of not rendering surrounding table when the
24 property is set to false (4.0).
25 Modified BaseChangePasswordContainer to not inherit from Table
26 anymore. Table is an instance variable (always used as the
27 template container in 2.0) which is optionally (and by default)
28 used to contain the templates.
30 * PlaceHolder.cs, View.cs, WizardStepBase: added EnableTheming
33 * MultiViewControlBuilder.cs: added
35 2010-07-14 Marek Habersack <mhabersack@novell.com>
37 * Menu.cs: fixed skip link rendering (no child controls are added
38 in the process, writing directly to HtmlTextWriter). Fixes tests
40 If StaticSubMenuIndent equals Unit.Empty on 4.0, default to using
41 16px as the value of the margin-left CSS attribute.
43 2010-07-13 Marek Habersack <mhabersack@novell.com>
45 * BoundField.cs: implemented HtmlEncodeFormatString property
46 (3.5+) and modified the way FormatDataValue works accordingly.
48 * ListBox.cs, CheckBoxList.cs, ListControl.cs: VerifyMultiSelect
49 is not part of the official API. MultiSelect capability validation
50 is performed using an internal virtual method MultiSelectOk ().
52 * BaseDataList.cs: OnPagePreLoad is not part of the official API
54 * BaseDataBoundControl.cs, BaseDataList.cs, DataListItem.cs,
55 ValidationSummary.cs: implemented 4.0 SupportsDisabledAttribute
58 * Wizard.cs: wizard table doesn't contain any instances of
59 HtmlAnchor or Image controls. Moved rendering of the skip link
60 anchor to the TableCellNamingContainer class, which does that in
61 RenderChildren by directly writing to the passed writer. Fixes 4.0
62 rendering and all the failing Wizard tests.
64 2010-07-08 Marek Habersack <mhabersack@novell.com>
66 * CheckBoxList.cs: RepeatLayout property update for new values of
67 the RepeatLayout enum in 4.0
69 * TreeView.cs: in 4.0, checkbox renders the value of the current
70 node's ToolTip, if anything, and not Text.
72 * RepeatLayout.cs: added two new members, UnorderedList and
75 * ImageMap.cs: implemented missing Enabled property (2.0+)
76 RaisePostBackEvent must be protected and virtual (2.0+)
77 NavigateUrl is ignored if the control is disabled (4.0)
79 2010-07-07 Marek Habersack <mhabersack@novell.com>
81 * TreeView.cs: 4.0 rendering changes.
82 When using registered CSS classes, the node style must use them in
85 2010-07-06 Marek Habersack <mhabersack@novell.com>
87 * HyperLink.cs: the associated image is not rendered using the
90 2010-07-02 Marek Habersack <mhabersack@novell.com>
92 * Menu.cs: 4.0 API updates.
94 * GridView.cs: implemented 4.0 properties -
95 SortedAscendingCellStyle, SortedAscendingHeaderStyle,
96 SortedDescendingCellStyle, SortedDescendingHeaderStyle,
97 ClientIDRowSuffix, ClientIDRowSuffixDataKeys, ShowHeaderWhenEmpty
98 along with associated rendering changes.
100 * DetailsView.cs, FormView.cs, GridView.cs: 4.0 API changes -
101 renamed ShowPage to SetPageIndex and made it public.
102 Added 4.0 interfaces to inheritance list and implemented them.
104 * DataKeyArray.cs: added internal constructor which accepts IList
105 instead of ArrayList. Changed the 'keys' field type to IList.
107 * ContainedTable.cs: the 'id' attribute must be rendered last.
109 * CheckBox.cs, CheckBoxList.cs, SiteMapPath.cs, Table.cs,
110 TableStyle.cs, TextBox.cs, WebControl.cs: 4.0 rendering changes.
112 * Calendar.cs, CompositeControl.cs, DropDownList.cs, HyperLink.cs,
113 Image.cs, ImageButton.cs, Label.cs, LinkButton.cs, LoginName.cs,
114 Panel.cs, Table.cs, TableCell.cs, TableRow.cs:
115 added new 4.0 property, SupportsDisabledAttribute.
117 2010-06-21 Marek Habersack <mhabersack@novell.com>
119 * BaseValidator.cs, BulletedList.cs, Calendar.cs, CheckBox.cs,
120 CheckBoxList.cs, DataGrid.cs, DropDownList.cs, GridView.cs,
121 HyperLink.cs, ImageButton.cs, LinkButton.cs, ListBox.cs,
122 ListControl.cs, Menu.cs, RadioButton.cs, RadioButtonList.cs,
123 RepeatInfo.cs, Repeater.cs, TextBox.cs, TreeView.cs,
124 ValidationSummary.cs, WebControl.cs: use WebControl.IsEnabled
125 instead of Enabled wherever necessary.
127 2010-06-16 Marek Habersack <mhabersack@novell.com>
129 * FormView.cs: row values must be retrieved with inclusion of
130 keys. Fixes bug #607722
132 2010-06-03 Marek Habersack <mhabersack@novell.com>
134 * Parameter.cs, ControlParameter.cs, SessionParameter.cs,
135 CookieParameter.cs, FormParameter.cs, ProfileParameter.cs,
136 QueryStringParameter.cs: Evaluate is 'protected internal virtual'
139 * RouteParameter.cs: implemented.
141 2010-04-28 Marek Habersack <mhabersack@novell.com>
143 * CheckBoxList.cs: do not modify list item status in LoadPostData
144 when the list control is disabled.
145 If an item is selected and it was unchecked by the user, deselect
146 it. Fixes bug #600415
148 2010-04-13 Marek Habersack <mhabersack@novell.com>
150 * GridView.cs: make sure Header and Footer visibility are set when
151 binding the data. Fixes bug #595567
153 * ImageField.cs, CheckBoxField.cs: OnDataBindField must expect
154 sender to be something else than DataControlFieldCell. Fixes bug
157 2010-04-07 Marek Habersack <mhabersack@novell.com>
159 * FormParameter.cs, CookieParameter.cs, ProfileParameter.cs,
160 QueryStringParameter.cs, SessionParameter.cs: implemented
161 constructor overloads which take DbType as one of the arguments.
163 2010-04-01 Marek Habersack <mhabersack@novell.com>
165 * FormView.cs: do not show the pager if PagerSettings.Visible is
166 false. Fixes bug #578863
168 2010-03-29 Marek Habersack <mhabersack@novell.com>
170 * GridView.cs: main table must be created and added to the
171 controls collection before any OnRowCreated event is fired.
173 2010-03-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
175 * TreeView.cs: use enums instead of strings for attributes.
177 2010-03-06 Marek Habersack <mhabersack@novell.com>
179 * XmlDataSource.cs: reload document when one of Data, DataFile,
180 Transform or TransformFile properties is set. Fixes bug
181 #585968. Fix based on patch from Jeffrey Alvarez
182 <kuritsu@gmail.com>, thanks.
184 2010-02-19 Marek Habersack <mhabersack@novell.com>
186 * SqlDataSource.cs: call base.OnInit in OnInit. Fixes bug #572781
188 2010-02-18 Marek Habersack <mhabersack@novell.com>
190 * ListItemCollection.cs: ItemsEnabled and associated code removed
191 - there's no need to alter ListItem's Enabled property when
194 * ListControl.cs: SaveViewState doesn't set the items collection's
195 ItemsEnabled property as it was removed from ListItemCollection
197 * CheckBoxList.cs: LoadPostData never unselects any item. A better
199 RenderItem renders items as disabled when Enabled is false, but if
200 Enabled is true, item is rendered according to the value of its
201 own Enabled property. Fixes bug #578770
203 * TreeView.cs: RegisterStyle must copy CssClass in addition to
204 other style properties. Fixes bug #580692
206 2010-01-18 Marek Habersack <mhabersack@novell.com>
208 * Parameter.cs: added missing 3.5 APIs - constructors taking
209 DbType as one of the parameters, ConvertDbTypeToTypeCode,
210 ConvertTypeCodeToDbType and GetDatabaseType. Fixes bug #567850
212 2010-01-15 Marek Habersack <mhabersack@novell.com>
214 * ChangePassword.cs: BaseChangePasswordContainer forwards
215 EnsureChildControls call to its owner, so that finding controls in
216 the container works correctly.
218 2009-11-30 Marek Habersack <mhabersack@novell.com>
220 * WebControl.cs: HasAttributes made available as internal for 1.1
221 Avoid calling the Attributes getter many times in
223 If TrackViewState is called and attributes state bag already
224 exists, mark all items in the latter as dirty.
226 * CheckBox.cs, Button.cs, ImageButton.cs, LinkButton.cs: do not
227 create the Attributes collection if not necessary.
229 2009-11-16 Marek Habersack <mhabersack@novell.com>
231 * TreeNodeCollection.cs: whenever a node is added, let the owner
234 * TreeNode.cs: added internal property HadChildrenBeforePopulating
235 which is used to let TreeView know about an error condition where
236 a populate-on-demand node contains children added outside the
237 OnTreeNodePopulate event
239 * TreeView.cs: if a node has any child nodes and PopulatOnDemand
240 is set, throw an exception from RenderNode. This is the behavior
243 2009-11-13 Marek Habersack <mhabersack@novell.com>
245 * TableRowCollection.cs: added .NET compatibility NREX throws to
247 Whenever a row is added/removed, its Container property is
248 set. Fixes bug #551666
250 * TableRow.cs: introduced an internal property, Container, which
251 is set by TableRowCollection whenever this row is added/removed
252 to/from the collection. This allows the row to notify the
253 collectio and, in consequence, collection owner that TableSection
254 has been set and thead/tbody/tfoot elements need to be
255 generated. Fixes bug #551666
257 2009-11-10 Marek Habersack <mhabersack@novell.com>
259 * PasswordRecovery.cs:
260 {Question,Success,UserName}TemplateContainer must all be populated
261 the first time the property is accessed, so that calling
262 FindControl on the container returns valid and expected
263 results. If the associated template is not defined, though,
264 populating is postponed till CreateChildControls is called -
265 that's where default, empty, template will be created. This is
266 required to fix YetAnotherForum's password recovery control.
267 Mail template used in SendPasswordByMail must match the one used
268 in .NET (it has to end with a newline) as YAF parses the message
269 to retrieve user name and password and breaks if the last line
270 doesn't end with a newline character.
272 2009-10-30 Marek Habersack <mhabersack@novell.com>
274 * PasswordRecovery.cs: mail message replacements should include <%
275 Password %> and <% UserName %> and matching should be
276 case-insensitive. Fixes bug #545370
278 2009-10-28 Marek Habersack <mhabersack@novell.com>
280 * ListControl.cs: OnDataBinding must call base implementation
281 before performing the binding, so that DataSource can be assigned
282 from within the handler.
284 2009-10-13 Marek Safar <marek.safar@novell.com>
286 * WebColorConverter.cs: Delegate ConvertFrom to
287 ColorTranslator.FromHtml, it is correctly implemented and knows
290 2009-10-13 Marek Habersack <mhabersack@novell.com>
292 * WebColorConverter.cs: don't use a dictionary to check for valid
293 color names, use Color.IsKnownColor instead. Update for bug
295 Added more CSS2 color name mappings.
297 2009-10-12 Marek Habersack <mhabersack@novell.com>
299 * WebColorConverter.cs: when converting from color name, check if
300 the returned color's name is a member of the
301 System.Drawing.KnownColor enumeration to test for error condition,
302 as some colors might be #000000. Preserve the old error check as a
304 Map "captiontext" and "background" color names to
305 "ActiveCaptionText" and "Desktop", respectively, before passing
306 them to Color.FromName (). Fixes bug #546173
308 2009-10-02 Marek Habersack <mhabersack@novell.com>
310 * GridView.cs: added two 3.5 properties - SelectedPersistedDataKey
311 and IPersistedSelector.DataKey.
313 * BaseDataBoundControl.cs: slight optimizations to FindDataSource
315 2009-09-28 Marek Habersack <mhabersack@novell.com>
317 * DataBoundControl.cs: Initialize sets RequiresDataBinding
318 properly, only when we're not data-bound already, when we aren't
319 in postback or when we are in postback, but with viewstate
320 enabled. Fixes bug #542076
322 2009-09-01 Marek Habersack <mhabersack@novell.com>
324 * ObjectDataSourceView.cs: ExecuteSelect must call
325 QueryTotalRowCount after executing the select method (that's what
328 2009-08-25 Marek Habersack <mhabersack@novell.com>
330 * WebColorConverter.cs: inform the user that the might need to
331 check if libgdiplus is installed when parsing a color name
332 fails. Fixes bug #533749
334 2009-08-21 Marek Habersack <mhabersack@novell.com>
336 * Menu.cs: separator image is rendered next to the item in
337 horizontal layout and is preceeded by 3px spacer (unless
338 itemSpacing is set) to make output match .NET. Fixes bug #474716
340 * TreeNodeCollection.cs: {Save,Load}ViewState now store/load the
341 type of the node, if node is a of a custom type. Fixes bug #475997
343 2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
345 * Parameter.cs: add new DbType property.
347 2009-06-16 Marek Habersack <mhabersack@novell.com>
349 * IPersistedSelector.cs: removed AspNetHostingPermission
350 attributes from the 4.0 profile.
352 * IDataBoundControl.cs, IDataBoundItemControl.cs,
353 IDataBoundListControl.cs, IFieldControl.cs: added
355 * DetailsView.cs: control implements 4.0 IDataBoundItemControl
358 * DataBoundControl.cs: implemented 4.0 property DataSourceObject
359 (internal for 2.0) and made the InternalPerformDataBinding method
360 internal for the 4.0 profile.
362 2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
364 * ContentControlBuilderInternal.cs: detect missing
365 ContentPlaceHolderID attribute when parsing instead of throwing a
368 2009-05-29 Marek Habersack <mhabersack@novell.com>
370 * ListItem.cs: when tracking view state is turned on after
371 attributes have been set, make sure that the associated state bag
372 begins tracking state and that all of its existing items are
373 marked as dirty. Do the same after loading view state. Fixes bug
376 2009-04-29 Marek Habersack <mhabersack@novell.com>
378 * DataBoundControl.cs: added InternalGetDataSource method, used by
381 2009-04-28 Marek Habersack <mhabersack@novell.com>
383 * GridView.cs: implemented ColumnsGenerator and enabled its use in
386 * DetailsView.cs: implemented the RowsGenerator property and
387 enabled its use in CreateFieldSet.
389 2009-04-07 Marek Habersack <mhabersack@novell.com>
391 * TreeView.js: removed nodeText parameter from the JS calls.
393 * TreeView.cs: encode | characters into U+007C, so that
394 RaiseCallbackEvent doesn't get confused.
395 Removed nodeText parameter from the JS calls.
397 2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
399 * TreeNode.cs: reset the path data for all child nodes too.
400 * TreeView.cs: HtmlAttribute encode the node text. When rebuilding the
401 node tree, set the correct index for the nodes so that the Path is
404 2009-04-06 Marek Habersack <mhabersack@novell.com>
406 * TreeView.js: TreeView_ToggleExpand now takes more parameters - a
407 full definition of treeview's node contents.
408 Added new function, TreeView_PopulateNode, which partially takes
409 over role of the PopulateNode function generated in
410 TreeView.OnPreRender (see below). Fixes bug #492307
412 * TreeView.cs: RaiseCallbackEvent needs to recreate the event
413 target's parental tree all the way from the root to the node and
414 populate only the leaf (requested) node. This avoids calling the
415 TreeNodePopulate handler more times than needed. Fixes bug #492307
416 OnPreRender: moved the script code to constants and the script
417 body is now generated using StringBuilder instead of a series of
419 GetClientExpandEvent: adjusted code for new TreeView JavaScript
422 2009-03-17 Marek Habersack <mhabersack@novell.com>
424 * Unit.cs: introduced a field to tell the difference between empty
425 (as in Unit.Empty) and 0px units.
427 2009-03-06 Marek Habersack <mhabersack@novell.com>
429 * WebControl.cs: if savedState is not an instance of Pair in
430 LoadViewState, do not attempt to load from it.
432 2009-02-10 Marek Habersack <mhabersack@novell.com>
434 * ImageButton.cs: AddAttributesToRender renders the onclick
435 attribute only if any of the following is true:
436 - OnClientClick is not empty
437 - Validation is enabled for the control
438 - PostBackUrl is used
439 PostBackOptions now indicate that control requires the javascript
440 protocol for the handler.
441 RaisePostBackEvent passes String.Empty as the argument.
444 2009-02-09 Marek Habersack <mhabersack@novell.com>
446 * ObjectDataSourceView.cs: ExecuteSelect returns a single-item
447 array of objects containing the result, if the result isn't one of
448 DataSet, DataTable or IEnumerable. Fixes bug #471767
450 2009-02-06 Marek Habersack <mhabersack@novell.com>
452 * Style.cs: if CssClass is null, return String.Empty. Fixes bug
454 Added a range check to the BorderStyle property.
456 2009-02-05 Marek Habersack <mhabersack@novell.com>
458 * Login.cs: check the value of DisplayRememberMe when creating
459 the child controls. Fixes #468359
461 2009-01-20 Marek Habersack <mhabersack@novell.com>
463 * Substitution.cs: added. Fixes bug #467460
465 2009-01-13 Marek Habersack <mhabersack@novell.com>
467 * XmlBuilder.cs: updates related to ControlBuilder cleanup.
469 2008-12-01 Marek Habersack <mhabersack@novell.com>
471 * Style.cs: WriteStyleAttributes must not use the fontinfo field
472 directly, it has to be done via the Font property. Fixes bug
475 2008-11-15 Marek Habersack <mhabersack@novell.com>
477 * ContentPlaceHolder.cs, Content.cs, FormViewPagerRow.cs,
478 ChangePassword.cs, DetailsViewPagerRow.cs: implements
479 INonBindingContainer interface.
481 * Wizard.cs: implement INonBindingContainer interface for several
482 private/internal classes.
484 2008-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
486 * ImageButton.cs: clicking an image causes a postback.
489 2008-10-24 Marek Habersack <mhabersack@novell.com>
491 * CheckBox.cs: register for event validation in Render ().
493 2008-10-21 Marek Habersack <mhabersack@novell.com>
495 * XmlDataSource.cs: DataFile may be an URL.
497 2008-10-17 Marek Habersack <mhabersack@novell.com>
499 * ImageMap.cs: added the SupportsEventValidation attribute to the
501 Validate the event in RaisePostBackEvent ().
502 Register for event validation in Render ().
504 * DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().
506 * TextBox.cs: validate the event in LoadPostData ().
507 Register for event validation in AddAttributesToRender ().
509 * HiddenField.cs: validate the event in RaisePostDataChangedEvent.
510 Register for event validation in Render ().
512 * RadioButton.cs: validate the event in LoadPostData ().
513 Register for event validation in InternalAddAttributesToRender.
515 * CheckBox.cs, RadioButtonList.cs: validate the event in
516 RaisePostDataChangedEvent.
518 * Menu.cs: added the SupportsEventValidation attribute to the
520 Validate the event in RaisePostBackEvent ().
521 Register for event validation in GetClientEvent ().
523 * DetailsView.cs, GridView.cs: validate the event in
524 RaisePostBackEvent ().
525 Register for validation in GetCallbackScript () and in OnPreRender
527 * Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
528 ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().
530 2008-10-14 Marek Habersack <mhabersack@novell.com>
532 * CompositeDataBoundControl.cs: renamed the itemcount ViewState
533 item from "_ItemCount" to "_!ItemCount" for .NET
534 compatibility. This item is accessed and used by some commercial
537 * DataBoundControl.cs: OnPagePreLoad must force databinding also
538 when the request is not a postback.
540 2008-10-13 Marek Habersack <mhabersack@novell.com>
542 * Table.cs, TableRowCollection.cs, TableRow.cs: render table
543 sections when necessary. Fixes bug #434555
545 2008-10-08 Marek Habersack <mhabersack@novell.com>
547 * ControlParameter.cs: Evaluate calls DataBinder.Eval to do the
548 evaluation now. This makes it support complex expressions.
550 2008-09-30 Sebastien Pouliot <sebastien@ximian.com>
552 * RoleGroupCollection.cs: Fix recursive calls (wrong target)
553 [Found using Gendarme's BadRecursiveInvocationRule]
555 2008-09-28 Sebastien Pouliot <sebastien@ximian.com>
557 * XmlDataSource.cs: Make sure the result of the multiplication is a
558 long (not an integer casted into a long since it could overflow).
559 [Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
561 2008-09-17 Juraj Skripsky <js@hotfeet.ch>
563 * RadioButton.cs (ValueAttribute, LoadPostData): Fixes bug #426959.
565 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
567 * IPersistedSelector.cs : new in 3.5 SP1.
569 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
571 * DataBoundControlMode.cs : new 3.5 SP1 type.
573 2008-08-25 Marek Habersack <mhabersack@novell.com>
575 * DataBoundControl.cs: set RequiresDataBinding to true in
576 Initialize only if not in a postback, if not data bound and if the
577 view state is enabled. Fixes bug #398318
578 UpdateViewData removes the OnDataSourceViewChanged handler before
579 connecting to the datasource and restores it before returning to
581 OnLoad gets the data source before initialization, to avoid
582 premature OnDataSourceViewChanged triggers. Fixes bug #398318
583 Do not reconnect to the data source if we already have a valid one.
585 2008-08-18 Marek Habersack <mhabersack@novell.com>
587 * Unit.cs: rewrote the unit parser in a slightly slower, but more
588 correct, way. Fixes bug #417502
590 2008-07-28 Marek Habersack <mhabersack@novell.com>
592 * TreeView.cs: when TreeView is displaying a site map and there is
593 no node selected by the user, select the node corresponding to the
594 current page, if any.
596 2008-07-24 Marek Habersack <mhabersack@novell.com>
598 * DataGrid.cs: removed the private class TableID and moved its
599 code to ChildTable.cs (see below). 2.0 instantiates teh ChildTable
600 with the owner parameter now. Fixes bug #400377
602 * ChildTable.cs: refactoring - moved code from TableID previously
603 defined in DataGrid.cs to here and made the class available under
604 different names for both 1.x and 2.x profiles. Fixes bug #400377
606 * MailDefinition.cs: look for the mail body file in the correct
607 path. Patch from Jackson Harper <jaharper@novell.com>,
608 thanks! Fixes bug #408699
610 * PasswordRecovery.cs: do not ask password recovery question if
611 it's disabled. Patch from Jackson Harper <jaharper@novell.com>,
612 thanks! Fixes bug #408696
614 2008-07-16 Marek Habersack <mhabersack@novell.com>
616 * XmlDataSource.cs: check if Page isn't null before stringifying
617 it in GetDataKey (), fixes bug #409492
619 2008-07-13 Roei Erez <roeie@mainsoft.com>
621 * GridView.cs: When the RowDataBound event is invoked, the value
622 of GridView1.DataKeys should contains all the keys up untill the
623 current row, and not be empty.
624 I only changed the order of the user event invocation and the addition
627 2008-07-13 Roei Erez <roeie@mainsoft.com>
629 * TreeView.cs: In case of multiple tree node bingings, select
630 The first one and not the last one.
632 2008-07-10 Roei Erez <roeie@mainsoft.com>
634 * HyperlinkField.cs: Changed behavior of HyperLinkField bound field key
635 to be case insensitive.
637 2008-07-03 Marek Habersack <mhabersack@novell.com>
639 * CheckBox.cs: do not render the language="javascript" attribute
642 2008-07-02 Marek Habersack <mhabersack@novell.com>
644 * GridView.cs: minor optimizations (removed a foreach loop,
645 replaced calls to Array.Length with a variable containing the
648 2008-06-30 Marek Habersack <mhabersack@novell.com>
650 * ObjectDataSourceView.cs, Menu.cs, DataList.cs,
651 CustomValidator.cs: hush the warnings
653 2008-06-10 Noam Lampert <noaml@mainsoft.com>
655 * ListItemCollection.cs: Provide viewstate for dirty collection even if it is empty.
657 2008-05-30 Marek Habersack <mhabersack@novell.com>
659 * BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
660 DataControlFieldCollection.cs, DataControlField.cs,
661 PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
662 event accessors (to avoid locks).
664 2008-05-18 Marek Habersack <mhabersack@novell.com>
666 * HierarchicalDataBoundControl.cs: Modified GetData method to check if
667 DataSource implements IHierarchicalEnumerable and if so constructs and
668 returns a new instance of ReadOnlyDataSourceView. This provides functional
669 compatibility with the Microsoft.NET framework. Fixes bug
670 #395209. Patch contributed by James Fitzsimons
671 <james.fitzsimons@gmail.com>, thanks!
673 2008-05-06 Marek Habersack <mhabersack@novell.com>
675 * Calendar.cs: do not create dateInfo in the constructor - culture
676 might be not set yet at this point. Fixes bug #323566
677 Added a private property, DateInfo, which creates the dateInfo
680 2008-05-05 Sebastien Pouliot <sebastien@ximian.com>
682 * BulletedList.cs: Avoid calling ToString on a string.
683 * ButtonField.cs: Throw, not just create, the exceptions.
684 * HyperLinkField.cs: Throw, not just create, the exceptions.
685 * ImageField.cs: Throw, not just create, the exception. Avoid calling
686 ToString on a string.
687 * ListControl.cs: Avoid calling ToString on a string.
688 [All issues were found using Gendarme]
690 2008-04-30 Marek Habersack <mhabersack@novell.com>
692 * SiteMapDataSource.cs: when no starting node is found, return
693 null instead of Provider.RootNode. Fixes bug #323994
695 2008-04-24 Marek Habersack <mhabersack@novell.com>
697 * SqlDataSource.cs: raise the DataSourceChangedEvent when setting
698 ConnectionString, ProviderName or DataSourceMode properties only
699 when the new value differs from the old one. Fixes bug #359392
701 2008-04-16 Marek Habersack <mhabersack@novell.com>
703 * ObjectDataSourceView.cs: ExecuteSelect should return an empty
704 aray when no data has been retrieved from the specified source
705 type. Fixes bug #380106
707 2008-04-15 Marek Habersack <mhabersack@novell.com>
709 * MailDefinition.cs: dispose of streams the way it should
712 2008-04-10 Marek Habersack <mhabersack@novell.com>
714 * RadioButton.cs: adjust 'name' and 'value' attribute values to
715 match MS.NET. Fixes bug #378024
717 * CheckBoxList.cs: set the Selected property to the value in POST
718 data only if the item in question was enabled before postback
719 occurred. Fixes bug #377703
721 * ListControl.cs: make sure the owned items' Enabled property is
722 set to the same value what ListControl's. Fixes bug #377703
724 * ListItemCollection.cs: fixed SetDirty to store the index of the
725 last dirtied item properly. Fixes bug #377703
726 For the 2.0 profile, set the ListItem instances Enabled property
727 to the value of the owning ListControl (internal ItemsEnabled
728 property was added to make it possible). Fixes bug #377703
730 2008-04-08 Dean Brettle <dean@brettle.com>
732 * DataBoundControl.cs (InternalPerformDataBinding),
733 HierarchicalDataBoundControl.cs (InternalPerformDataBinding),
734 WebControl.cs (Render): fixed cast errors when a ControlAdapter
735 that wasn't of the type corresponding to the control was used.
737 2008-04-03 Marek Habersack <mhabersack@novell.com>
739 * DataList.cs: use the value of SelectedIndex, not selectedIndex,
740 to return the key value in the SelectedValue property. Fixes bug
741 #376519. Patch from Sergey Kuleshov <svyatogor@gmail.com>, thanks!
743 2008-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
745 * AutoGeneratedField.cs, CheckBoxField.cs: fixed OnDataBindField,
746 should hide checkbox only if DataItem is not defined
748 2008-03-09 Dean Brettle <dean@brettle.com>
750 * DetailsView.cs, ListControl.cs, DataBoundControl.cs,
751 FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs:
752 added support for using ControlAdapters when present.
754 * WebControl.cs: fixed implementation of IsEnabled to match
757 * Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of
758 RenderMenuItem() if an adapter is present. MenuAdapter.RenderItem()
759 calls back to new Menu.RenderItem() internal method which calls
760 RenderMenuItem() with the appropriate parameters.
762 2008-02-25 Igor Zelmanovich <igorz@mainsoft.com>
765 at Update and Delete use not read only coppies of dictionaries
766 in event argumens, that allows user to change them before corresponding
767 DataSource's method is called.
769 2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>
771 * Login.cs: render id attribute of root element correctly.
773 2008-02-18 Marek Habersack <mhabersack@novell.com>
775 * FormView.cs: the ItemCreated must be fired before data is bound
776 to the FormView. Fixes bug #360434
778 2008-02-07 Igor Zelmanovich <igorz@mainsoft.com>
780 * Login.cs: render id attribute of root element correctly.
782 2008-02-05 Marek Habersack <mhabersack@novell.com>
784 * FileUpload.cs: make sure FileContent always returns the input
785 stream positioned at the beginning. Fixes bug #356846
787 2008-01-31 Igor Zelmanovich <igorz@mainsoft.com>
789 * Calendar.cs: resolve Next/Prev. month link date correctly.
791 2008-01-29 Igor Zelmanovich <igorz@mainsoft.com>
793 * TreeView.cs: add XPFileExplorer icon set.
795 2008-01-28 Igor Zelmanovich <igorz@mainsoft.com>
797 * Menu.js: dynamic nodes are positioned after hover style of
798 parent node is applied.
800 2008-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
802 * DataSourceCacheManager.cs: fixed GetKeyFromParameters, incase more
803 than one datasource using the same object with the same select method
805 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
807 * ValidationSummary.cs:
808 refactoring: If page contents instance of IScriptManager, it calls
809 it's API instead Page.ClientScript.
811 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
813 * Menu.cs: fixed rendering.
815 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
818 manage history state on "MovePrevious" action.
820 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
823 resolve BulletImageUrl,
824 register for event validation.
826 2008-01-13 Igor Zelmanovich <igorz@mainsoft.com>
830 upgrade client side script due to changes in webform.js.
832 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
834 * BaseCompareValidator.cs:
836 * CompareValidator.cs:
837 * CustomValidator.cs:
839 * RegularExpressionValidator.cs:
840 * RequiredFieldValidator.cs:
841 refactoring: If page contents instance of IScriptManager, validators call
842 it's API instead Page.ClientScript.
844 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
849 for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
850 in GetPostBackOptions.
852 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
854 * DetailsView.cs: render invisible rows correct.
856 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
858 * DataControlField.cs: prevent infinite recursion
860 2008-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
862 * DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding
865 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
867 * DataSourceCacheManager.cs: fixed SetCachedObject, fixed
870 2007-12-24 Igor Zelmanovich <igorz@mainsoft.com>
872 * TreeView.cs: revert changes from r91230
874 2007-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
876 * ListControl.cs: fixed Load/SaveViewState, removed selected indices
878 * ListItem.cs: fixed Load/SaveViewState, added selected state storing
879 * ListItemCollection.cs: fixed Load/SaveViewState, added flag to not
880 rebuild the collection if was'nt changed
882 2007-12-13 Marek Habersack <mhabersack@novell.com>
884 * Menu.cs, TreeView.cs: optimize use of String.Format in
886 Speed optimization - use String.Concat instead of String.Format in
889 * GridView.cs, DetailsView.cs: optimize use of String.Format in
892 * CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
893 WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
894 ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
895 optimization - use String.Concat instead of String.Format in some cases.
897 2007-12-13 Vladimir Krasnov <vladimirk@mainsoft.com>
899 * Menu.cs: fixed rendering without head tag on page
901 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
903 * Calendar.cs: performance optimizations:
904 BuildLink fixed, StringBuilder used.
905 TodaysDate DateTime.Today call cahced.
907 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
909 * Unit.cs: performance optimization: ToString fixed, string.Concat used
910 instead of string.Format
912 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
914 * Style.cs: performance optimization: suppress finalizer added
916 2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>
920 evaluate bound value using ThisExpession ("!") properly
922 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
924 * WebControl.cs: enabled state restored properly.
926 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
929 refactoring for NET_2_0:
930 Text is removed from view state in case of need at SaveViewState phase.
932 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
935 SelectedValue/SelectedIndex is set during DataBinding always.
937 2007-11-06 Marek Habersack <mhabersack@novell.com>
939 * DataGrid.cs: add RenderTable before the DataGridItems, so that
940 numbering of children is the same what on MS.NET.
941 If there are any data items, require a postback script.
944 * ChildTable.cs: removed DOS EOLs.
946 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
949 does not perform authentication if Page.IsValid returns false;
950 the fix makes control works with disabled client side validation.
952 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
955 state of DataList.Items are restored correct on PostBack
956 such Items.Count and ItemType.
958 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
961 validator is rendered correct if EnabledClientClient is false.
963 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
965 * Image.cs: fixed management state of Enabled property.
966 * WebControl.cs: refactoring in management state of Enabled property.
968 2007-10-23 Marek Habersack <mhabersack@novell.com>
970 * ListBox.cs, Table.cs: use Render{Begin,End}Tag
971 instead of the Write* counterparts when rendering contents.
973 2007-10-18 Marek Habersack <mhabersack@novell.com>
975 * Menu.js: a workaround for an IE bug. IE recalculates element's
976 offsetWidth when the element's _height_ is set - which in case of
977 elements with overflowing content results in a value that's just
978 slightly smaller than the client window width. In effect, a long
979 submenu will also be very wide, which isn't desirable. Fixes bug
982 2007-10-15 Marek Habersack <mhabersack@novell.com>
984 * ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
987 * BulletedList.cs: html encode the item text. Fixes bug #333550.
989 2007-10-01 Marek Habersack <mhabersack@novell.com>
991 * ListItem.cs: make HasAttributes available for the 1.1 profile as
994 * DropDownList.cs: render custom ListItem attributes in the 1.1
995 profile. Fixes bug #326288
997 2007-09-27 Marek Habersack <mhabersack@novell.com>
999 * Button.cs: added missing OnPreRender method.
1001 2007-09-25 Marek Habersack <mhabersack@novell.com>
1003 * WebControl.cs: added an internal method, BuildScriptAttribute,
1004 which merges the specified JavaScript code in an attribute, with
1005 the value of that attribute specified by the user.
1007 * CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
1008 preserve user-specified attribute value, if present.
1010 * ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
1011 after doing its job. AutoPostBack handling makes sure to preserve
1012 user-specified attribute value, if present. Fixes bug #327816.
1014 2007-09-21 Marek Habersack <mhabersack@novell.com>
1016 * ListItem.cs: don't save StateBag in the control state - the
1017 class is not serializable and therefore ObjectStateFormatter
1018 cannot convert it. Instead have the sb object save its own state
1019 and store the returned value. Fixes bug #326288.
1021 2007-09-20 Marek Habersack <mhabersack@novell.com>
1023 * LoginView.cs: implemented RoleGroups support. Fixes bug
1026 2007-09-19 Marek Habersack <mhabersack@novell.com>
1028 * GridView.cs: copy attributes from GridView to the child table,
1029 as this is where the rendering takes place. Fixes bug #326309.
1031 2007-09-18 Marek Habersack <mhabersack@novell.com>
1033 * Calendar.cs: correctly apply day cell style. Fixes bug #315903
1035 2007-09-17 Marek Habersack <mhabersack@novell.com>
1037 * Calendar.cs: style attribute value must be enclosed in quotes.
1039 * TableStyle.cs: do not capitalize the align styles. Fixes bug
1042 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
1044 * ListControl.cs: partially restored r85314
1045 whenever a property that can affect data binding
1046 is set, make sure to set RequiresDataBinding.
1048 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
1050 * DataBoundControl.cs: fixed DataBind flow:
1051 prevent double binding when not necessary.
1054 2007-08-31 Marek Habersack <mhabersack@novell.com>
1056 * GridView.cs: instead of not adding hidden fields to the rows,
1057 mark the cells they would contain as invisible. Fixes bug #82615.
1059 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1063 make Menu work in multi form environment.
1065 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1067 * ListControl.cs: fixed selected items state management.
1069 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1071 * BaseCompareValidator.cs:
1073 * CompareValidator.cs:
1074 * CustomValidator.cs:
1075 * RangeValidator.cs:
1076 * RegularExpressionValidator.cs:
1077 * RequiredFieldValidator.cs:
1078 all Validators use RegisterExpandoAttribute for
1079 not XHTML compliant attributes.
1081 2007-08-23 Igor Zelmanovich <igorz@mainsoft.com>
1083 * Panel.cs: client script consider MultiForm environment.
1085 2007-08-21 Marek Habersack <mhabersack@novell.com>
1087 * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
1090 2007-08-20 Marek Habersack <mhabersack@novell.com>
1092 * ContentPlaceHolderBuilder.cs: store place holder id in the
1093 parser's internal place holder id list for later reference. Fixes
1096 2007-08-19 Vladimir Krasnov <vladimirk@mainsoft.com>
1098 * BoundField.cs: FormatDataValue, refactored multiple use of ToString
1100 2007-08-14 Marek Habersack <mhabersack@novell.com>
1102 * ObjectDataSourceView.cs: remove unused variable.
1104 * ChangePassword.cs: remove unused variable.
1105 The change password button id changed to
1106 "ChangePasswordPushButton", the cancel button id changed to
1107 "CancelPushButton". The change makes the generated ids the same
1108 what on MS.NET. Fixes bug #82418.
1110 * RoleGroupCollection.cs: OnValidate shouldn't be overridden.
1112 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1114 * ParameterCollection.cs: fixed IndexOfString, should use ordinal
1117 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1119 * Menu.cs: performance refactoring, used AddAttribute overload without
1120 encoding on known attribute values, optimized DynamicMenu rendering
1122 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1124 * TreeView.cs: refactoring, used AddAttribute overload without encoding
1125 on known attribute values,
1126 used Page.ClientScript.GetWebResourceUrl call instead of
1127 AssemblyResourceLoader.GetResourceUrl
1129 2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
1131 * AccessDataSource.cs: does not subscribed on view changed event.
1132 * ObjectDataSource.cs: fixed state management.
1133 * SqlDataSource.cs: fixed state management.
1135 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1138 DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs,
1139 RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs,
1140 TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs,
1141 BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs,
1142 RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs,
1143 ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs,
1144 TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs:
1145 refactoring, used AddAttribute overload without encoding on known attribute
1148 2007-08-01 Igor Zelmanovich <igorz@mainsoft.com>
1150 * DropDownList.cs: fixed onchange attibute.
1152 2007-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
1154 * ListItemCollection.cs: fixed LoadViewState, items restored from
1155 viewstate were not saved, fixes bug #82192
1157 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1159 * BaseValidator.cs: All client scripts are rendered
1160 according IsMultiForm property.
1162 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1164 * TreeView.cs: refactoring:
1166 used ClientScriptManager.GetCallbackEventReference API instead calling
1167 WebForm_DoCallback explicit.
1169 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1171 * BaseValidator.cs: for NET_2_0: fixed client side validation.
1172 validation is performed in WebForm_DoPostback,
1173 and there is no need to do it twice in ValidatorOnSubmit.
1175 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1177 * Calendar.cs: fixed: correct 'id' attribute is rendered.
1179 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
1181 * ListItemCollection.cs: optimized SetDirty method
1183 2007-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1187 * ListItemCollection.cs: controls based on ListControl should not save
1188 view state before than TrackViewState called
1190 2007-07-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1192 * WebControl.cs: fixed AddDisplayStyleAttribute, returns if
1193 ControlStyle is not created
1195 2007-07-02 Marek Habersack <mhabersack@novell.com>
1197 * WebControl.cs: Revert r80368, as it wasn't the correct
1198 fix. Fixes bug #81945.
1200 * ListControl.cs: if there are no items in the collection, do not
1201 return an empty ArrayList from GetSelectedIndicesInternal. Fixes
1202 bug #81945 and properly fixes bug #78533.
1204 * ListItemCollection.cs: if there are no items in collection,
1207 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1210 the Pager is created but unvisible for only one page.
1211 the Patch submitted by Dumitru Ban [dban@dako.ro]
1213 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1218 does not requires data binding if any ITemplate property is set.
1220 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1222 * CheckBox.cs: fixed Render, HasAttributes called instead
1225 2007-06-24 Igor Zelmanovich <igorz@mainsoft.com>
1227 * GridView.cs: fixed AllowPaging feature:
1228 When the AllowPaging is true the GridView control should automatically
1229 hide the pager row when the data source contains fewer than 2 records.
1230 patch Patch submitted by Dumitru Ban [dban@dako.ro]
1232 2007-06-20 Marek Habersack <mhabersack@novell.com>
1234 * WebControl.cs: if savedState is a Triplet, take the actual state
1235 data from savedState.First. Also make sure that the data is a
1236 Pair. Fixes bug #78533.
1238 * DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
1239 to keep private entries.
1240 * XmlDataSource.cs: as above
1242 2007-05-31 Vladimir Krasnov <vladimirk@mainsoft.com>
1244 * BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed
1245 to ClientScriptManager
1247 2007-05-29 Igor Zelmanovich <igorz@mainsoft.com>
1249 * ObjectDataSourceView.cs:
1250 * SiteMapDataSource.cs:
1252 * SqlDataSourceView.cs:
1253 DataSourceChanged and DataSourceViewChanged are raised in right case, when
1254 different properties changed their value.
1256 2007-05-27 Igor Zelmanovich <igorz@mainsoft.com>
1258 * ObjectDataSourceView.cs: fixed SelectMethod and SelectCountMethod properties:
1259 when changed, DataSourceViewChanged event is raised.
1261 * SqlDataSourceView: fixed SelectCommand property:
1262 when changed, DataSourceViewChanged event is raised.
1264 2007-05-25 Marek Habersack <mhabersack@novell.com>
1266 * ObjectDataSourceView.cs: CreateDataObject must pay attention to
1267 TypeConverter attributes on the property being converted.
1269 2007-05-24 Igor Zelmanovich <igorz@mainsoft.com>
1271 * Menu.cs: fixed: alt attribute is rendered as well.
1273 2007-05-16 Marek Habersack <mhabersack@novell.com>
1275 * CompareValidator.cs: formatting changes
1277 2007-05-15 Marek Habersack <mhabersack@novell.com>
1279 * ObjectDataSourceView.cs: refactoring - use
1280 HttpApplication.LoadType to look up types.
1282 2007-05-10 Marek Habersack <mhabersack@novell.com>
1284 * Table.cs: render rows, not controls
1286 * HyperLink.cs: RenderContents must check if the render method
1287 delegate is present and, if yes, call the base RenderContents.
1289 * LinkButton.cs: as above.
1291 * Label.cs: as above.
1293 * TableCell.cs: as above.
1294 This change makes the HeaderTemplate in the Wizard control work.
1296 * Wizard.cs: if a next/previous step handler modifies
1297 ActiveStepIndex do not, respectively, increase/decrease the
1298 current step, but use whatever was set in the handler.
1300 2007-05-09 Marek Habersack <mhabersack@novell.com>
1302 * TreeNodeStyleCollection.cs: do not set font's underline flag to
1303 false, set it to its own value instead.
1305 * TreeView.cs: if level style exists and has ChildNodesPadding
1306 set, it takes precedence over the node style setting (if any).
1308 2007-05-08 Marek Habersack <mhabersack@novell.com>
1310 * TreeView.cs: children padding is rendered only before and after
1311 the children are rendered, not between them. Also, render padding
1312 only if there are any nodes to follow the current one.
1314 2007-05-07 Marek Habersack <mhabersack@novell.com>
1316 * Wizard.cs: additional checks to see whether the wizard needs to
1317 move to a next step or not. Fixes bug #81532. Patch sent by Mike
1318 Morano <mmorano@mikeandwan.us>, thanks!
1320 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1322 * FormView.cs: fixed:
1323 avoid NullReferenceException when used EditTemplate w/o binding
1324 directive such Eval or Bind.
1326 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1328 * MenuItem.cs: fixed:
1329 when 'Value' property is not set, value of 'Text' property is used
1330 instead and vice versa.
1332 2007-05-06 Igor Zelmanovich <igorz@mainsoft.com>
1334 * TreeNode.cs: fixed:
1335 when 'Value' property is not set, value of 'Text' property is used
1336 instead and vice versa.
1338 2007-05-04 Marek Habersack <mhabersack@novell.com>
1340 * AdRotator.cs: use the new GetPhysicalFilePath method to look up
1341 the physical path of the ad file.
1343 2007-05-03 Marek Habersack <mhabersack@novell.com>
1345 * TreeView.cs: honor ChildNodesPadding of the NodeStyle.
1347 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1349 * ControlPropertyNameConverter.css:
1350 * FontUnitConverter.cs:
1352 * ValidatedControlConverter.cs:
1355 2007-05-03 Marek Habersack <mhabersack@novell.com>
1357 * TreeNode.cs: correct version of the fix in r76488. Nodes
1358 retrieved from a navigation data source which have empty URL will
1361 * TreeView.cs: revert r76488, it wasn't entirely correct. I need
1362 to investigate the special cases it solved a bit more.
1364 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
1366 * SqlDataSourceView.cs:
1367 make CancelSelectOnNullParameter property works.
1369 2007-05-01 Marek Habersack <mhabersack@novell.com>
1371 * BaseValidator.cs: do not use User-Agent directly, we must take
1372 ClientTarget into account.
1374 2007-04-30 Marek Habersack <mhabersack@novell.com>
1376 * TreeView.cs: bring rendering closer to the MS.NET rendering.
1378 * SqlDataSource.cs: do not catch the exception if ProviderName is
1379 not null or empty (as per docs and what MS.NET does).
1381 2007-04-19 Igor Zelmanovich <igorz@mainsoft.com>
1383 * ChangePassword.cs:
1384 does not accept invalid new password.
1386 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1390 added MonoLimitation attributes
1392 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1394 * BaseValidator.cs: for TARGET_J2EE:
1395 used Page.Request.Browser to determine RenderUplevel
1397 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1400 when databound with AutoGenerateColumns = true,
1401 data source enumerator created only once.
1403 2007-04-18 Marek Habersack <mhabersack@novell.com>
1405 * SiteMapDataSource.cs: query the site map for the current node
1406 when configured to use it as the start point. Fixes bug #81376,
1407 patch from Mike Morano <mmorano@mikeandwan.us>.
1409 * Calendar.cs: change year/month format to be culture aware. Fix
1410 for bug #81390. Patch submitted by Atsushi Enomoto
1411 <atsushi@ximian.com>
1413 2007-04-17 Daniel Nauck <dna@mono-project.de>
1415 * PasswordRecovery.cs: fixed typo (AnswerLabel.Text).
1417 2007-04-17 Marek Habersack <mhabersack@novell.com>
1419 * BaseValidator.cs: use the new uplevel browser detection code.
1421 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1423 * SqlDataSourceView.cs: fixed: InitializeParameters:
1424 restored flow, broken in r75137.
1426 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1428 * Menu.cs: popup menu is posed correctly if menu is placed within
1429 container with position=relative
1431 2007-04-12 Marek Habersack <mhabersack@novell.com>
1433 * LoginView.cs: do not call CreateChildControls directly from the
1434 IsAuthenticated setter since that would destroy the controls the
1435 user might've configured from their Page_PreRender method.
1436 Do not use IsAuthenticated in CreateChildControls since that
1437 prevents the _correct_ template from being instantiated before the
1438 control is transferred to the user's OnPreRender handler. Fixes
1441 2007-04-11 Marek Habersack <mhabersack@novell.com>
1443 * ImageButton.cs: implement the Enable property and do not
1444 register for post back if the control isn't enabled.
1446 2007-04-06 Marek Habersack <mhabersack@novell.com>
1448 * GridView.cs: don't render invisible fields. Fixes bug #80061.
1450 * DetailsView.cs: don't render invisible fields.
1452 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1454 * Menu.cs: resolve selected MenuItem if bounded with SiteMapeDataSource.
1456 2007-04-05 Marek Habersack <mhabersack@novell.com>
1458 * BaseDataBoundControl.cs: restore the LAMESPEC note and code it
1459 describes - tests show this is what's happening on MS.NET as
1462 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1465 * BaseDataBoundControl.cs:
1466 Break recursion when the property is set from within the OnSelect handler
1467 in user's code. fixes bug #81175.
1469 2007-04-05 Marek Habersack <mhabersack@novell.com>
1471 * SiteMapDataSource.cs: fix GetStartNode for situations when the
1472 current URL is not defined in the sitemap file. Fixes bug
1473 #81314. Patch from Mike Morano <mmorano@mikeandwan.us>.
1475 2007-04-03 Marek Habersack <mhabersack@novell.com>
1477 * BaseDataBoundControl.cs: adjust for lame specs on MSDN.
1479 2007-04-02 Gert Driesen <drieseng@users.sourceforge.net>
1481 * MenuItem.cs: Use INavigateUIData.Description as ToolTip. Fixed line
1484 2007-03-29 Adar Wesley <adarw@mainsoft.com>
1486 * ObjectDataSourceView.cs: fixed events so they are raized at the
1487 right times. Added many tests to verify the correct time.
1488 * SqlDataSourceView.cs: fixed events so they are raized at the right
1489 times. Added many tests to verify the correct time.
1491 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1495 avoid Exception if HierarchicalDataSourceView.Select() returns null.
1497 2007-03-22 Igor Zelmanovich <igorz@mainsoft.com>
1499 * ObjectDataSource.cs:
1500 * ObjectDataSourceView.cs:
1502 * SqlDataSourceView.cs:
1503 fixed flow: changes in Insert/Update/DeleteParameters does not
1504 cause DataSourceViewChanged event.
1506 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1508 * BaseDataBoundControl.cs: fix as per MSDN - the property is set
1509 only if data binding doesn't occur.
1511 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1513 * GridView.cs: fixed: PageIndex considers PageCount.
1515 2007-03-20 Marek Habersack <mhabersack@novell.com>
1517 * DataBoundControl.cs: avoid endless recursion here. Fixes bug #81175
1519 * LoginStatus.cs: render login/logout controls with the CssClass
1520 set from the parent control. Fixes bug #81196
1522 2007-03-19 Igor Zelmanovich <igorz@mainsoft.com>
1524 * DataGrid.cs: fixed Save/Load view state, applying styles.
1526 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
1528 * Style.cs: optimization: used CssStyleCollection .ctor w/o parameters.
1530 2007-03-09 Marek Habersack <mhabersack@novell.com>
1532 * Login.cs: Make command name comparison case-insensitive in
1533 OnBubbleEvent. Patch from Mike Morano <mmorano@mikeandwan.us>
1535 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1537 * DataGrid.cs: fixed:
1538 Auto-generated columns are restored properly on postback from view state.
1540 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1543 when AddAttributesToRender(System.Web.UI.HtmlTextWriter, WebControl)
1544 is called, WebControl parameter is passed as argument to
1545 FillStyleAttributes (CssStyleCollection, IUrlResolutionService) method.
1547 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1551 fixed applying styles if ExtractTemplateRows=true.
1553 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1555 * DropDownList.cs: in 2.0 first item is rendered with selected attribute
1556 is Enabled=false and no selected items.
1558 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1560 * CheckBoxList.cs: in 2.0 access key attribute is rendered in 'input' tags.
1562 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1568 * RadioButtonList.cs:
1569 fixed: list controls consider ListItem.Attributes property on render.
1571 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1573 * CheckBox.cs: fixed: 'span' tag is not rendered if all attributes
1574 are rendered in 'input' tag.
1576 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1580 used "ONLY_1_1" instead "!NET_2_0"
1582 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1584 * BaseDataBoundControl.cs:
1585 * DataBoundControl.cs:
1586 * HierarchicalDataBoundControl.cs:
1587 refactoring: DataBoundControl and HierarchicalDataBoundControl use internal
1588 method in BaseDataBoundControl to find a data source control.
1590 2007-03-05 Marek Habersack <mhabersack@novell.com>
1592 * Unit.cs: Support parsing of units in the form ".9em" etc.
1594 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1596 * TemplateColumn.cs: fixed: if ItemTemplate is null, " " is rendered.
1598 2007-03-05 Marek Habersack <mhabersack@novell.com>
1600 * BaseValidator.cs: make validators work correctly with
1601 ListItems. Patch from Daniel Nauck <dna@informatik.uni-kiel.de>
1603 2007-03-04 Marek Habersack <mhabersack@novell.com>
1605 * HierarchicalDataBoundControl.cs: Use the method described below
1606 to get the data source named in DataSourceID.
1608 * BaseDataBoundControl.cs: add an internal method to find a data
1609 source control within all the naming containers above a given
1610 control. The method makes it possible to find controls that reside
1613 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1615 * Repeater.cs: fixed: data-binding flow for 2.0 features.
1617 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1620 * ParameterCollection.cs:
1621 fixed GetValue/s and UpdateValue/s.
1623 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1625 * TreeNodeCollection.cs:
1626 fixed Save/Load viewstate.
1628 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1630 * MenuItemCollection.cs:
1631 fixed Save/Load viewstate.
1633 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1635 * CreateUserWizard.cs:
1637 fixed CausesValidaion and ValidationGroup for navigation buttons.
1639 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1643 fixed LoadPostData to restore checked state for node's checkboxes.
1645 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1647 * TreeNodeCollection.cs: 'dirty' flag is assigned if 'marked' only
1649 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1651 * BaseDataBoundControl.cs: setting DataSource to null does not
1652 call ValidateDataSource.
1653 * HierarchicalDataBoundControl.cs: ValidateDataSource does not
1654 throw exception if argument is null.
1656 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1658 * WebControl.cs: implemented IsEnabled and HasAttributes.
1660 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1662 * BaseDataList.cs: fixed: data-binding flow for 2.0 features.
1664 2007-02-27 Marek Habersack <grendello@gmail.com>
1666 * FileUpload.cs: HasFile is true only if PostedFile is not null
1667 and it actually has an associated file.
1669 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1671 * LoginView.cs: fixed:
1672 ViewChanging and ViewChanged are fired.
1673 optimized Save/Load control state.
1675 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1677 * CreateUserWizard.cs: fixed: does not attempt to send email if
1678 MailDefinition is not defined.
1680 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1683 considers FormsAuthentication.ReturnUrl only if is placed in
1684 the login page defined in web.config.
1686 2007-02-23 Marek Habersack <grendello@gmail.com>
1688 * ObjectDataSourceView.cs: Fix saving/restoring the view state.
1690 * CreateUserWizard.cs: support for sending mail when a new user is
1691 created. Patch from dban@dako.ro.
1693 2007-02-22 Marek Habersack <grendello@gmail.com>
1695 * LoginStatus.cs: Handle OnLoggedOut properly. Patch from
1698 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1700 * ObjectDataSourceView.cs: fixed ViewState behavior to match MS. Added relevant tests.
1702 2007-02-20 Gert Driesen <drieseng@users.sourceforge.net>
1704 * Calendar.cs: Fixed bug #80881 by using Thread's CurrentCulture
1705 instead of CurrentUICulture for DateFormatInfo.
1707 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1709 * SqlDataSource.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1710 * SqlDataSourceView.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1712 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
1714 * ChangePassword.cs: fixed:
1715 ChangePasswordContainer and SuccessContainer cannot be BindingContainer.
1717 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1719 * SqlDataSourceView.cs: Fixed parameter merging logic and some bug fixing.
1722 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
1727 implemented Form.SubmitDisabledControls feature.
1729 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1731 * GridView.cs: IsBindableType for decimal returns true.
1733 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1735 * Menu.js: client script: support IE6.
1737 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1739 * Menu.cs: fixed: considers item.ToolTip, render image inside 'a' tag.
1741 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
1743 * Button.cs, ImageButton.cs, LinkButton.cs: Hanlding of PostbackOptions for
1744 TARGET_J2EE is now centralized in ClientScriptManager.
1745 * TreeView.cs, DetailsView.cs, GridView.cs, TreeView.js, DetailsView.js,
1746 GridView.js: Added a field to the controls JavaScript 'data' object. The
1747 form is initialized to the page 'theForm'. This is used for J2EE portlets
1750 2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1753 first step is recognized as 'finish' if only two steps
1754 and last step is 'complete'
1756 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1758 * BaseValidator: ControlPropertiesValid is called on PreRender
1759 * CompareValidator.cs:
1760 * RangeValidator.cs: fixed ControlPropertiesValid, EvaluateIsValid.
1762 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1764 * BaseCompareValidator.cs: fixed: support for type=Currency on client side.
1766 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1768 * ParameterCollection.cs: fixed IndexOfString, this indexer should be
1771 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
1773 * TreeView.js: refactoring:
1774 removed TreeView_ErrorCallback, used TreeView_PopulateCallback instead.
1776 2007-02-13 Adar Wesley <adarw@mainsoft.com>
1778 * ObjectDataSourceView.cs: fixed parameter merging and added more tests
1780 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1782 * Literal.cs: implemented 2.0 feature - Mode.
1784 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1786 * ViewCollection.cs: fixed public API.
1788 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1790 * RepeaterItem.cs: implemented IDataItemContainer interface.
1792 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1794 * TreeNodeStyle.cs: fixed public API.
1796 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1798 * MenuItemStyle.cs: fixed public API.
1800 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1803 * DayRenderEventArgs.cs:
1804 implemented 2.0 feature - SelectUrl.
1806 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1808 * GridViewRowCollection.cs: implemented IsReadOnly property.
1810 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1812 * BaseValidator.cs: implemented SetFocusOnError feature.
1814 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1816 * Wizard.cs: refactoring:
1817 used ContainedTable for ID attribute is rendered properly.
1819 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1821 * CreateUserWizard.cs:
1825 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1827 * DataList.cs: fixed: OnBubbleEvent() will return true if event is handled
1829 2007-02-09 Gert Driesen <drieseng@users.sourceforge.net>
1831 * FontUnit.cs: Fixed ToString () to use current locale.
1833 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1835 * BaseValidator.cs: fixed render, works in static mode properly
1836 * CreateUserWizard.cs: fixed display mode for validators.
1838 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1842 implemented FormViewPagerRow class
1844 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1847 header and footer visibility is set at creation.
1849 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1851 * FormView.cs: fixed:
1852 header and footer are not created with empty row.
1854 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1856 * FormView.cs: fixed:
1857 works properly with not ICollection data source.
1859 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1861 * DetailsView.cs: fixed:
1862 PageIndex, CreateChildControls,
1863 works properly with not ICollection data source.
1865 2007-02-06 Eyal Alaluf <eyala@mainsoft.com>
1867 * Menu.cs ImageMap.cs Panel.cs TreeView.cs: Ensure that the NavigateUrl
1868 property is rendered as a RenderURL for J2EE portlets.
1870 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1872 * BaseValidator.cs: refactored RegisterValidatorCommonScript to use
1873 RegisterClientScriptInclude instead of RegisterClientScriptBlock
1875 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1877 * DataBoundControl.cs:
1880 PerformDataBinding is called with RequiresDataBinding was set false
1882 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1885 fixed validation flow.
1887 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1890 fixed validation flow.
1892 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1894 * CustomValidator.cs:
1895 ValidateEmptyText is considered on client side.
1897 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1902 * DataControlButton.cs:
1903 * DataControlField.cs:
1906 Internal classes are used in databound controls for buttons
1907 are derived from right types. It allows to have access to them by casting
1908 to public types. This trick is used in one of starter kits of MS.
1910 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1912 * Panel.cs: fixed: reverted r71441.
1913 * TreeView.cs: used internal RegisterWebFormClientScript API
1914 to cause the relevant script be included.
1916 2007-02-01 Adar Wesley <adarw@mainsoft.com>
1918 * FormView.cs: fixed events ModeChanging and ModeChanged
1919 to be raized in all relevant situations.
1921 2007-02-01 Igor Zelmanovich <igorz@mainsoft.com>
1923 * ValidationSammary.cs: fixed:
1924 control is rendered even if there is no validators on the page.
1925 important if the page contain a client side script that refer to the
1926 id of the validation summary div.
1928 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1933 * RadioButtonList.cs:
1934 EnsureDataBound is called when PostData is processed to restore
1935 'state' of control if EnableViewState is false
1937 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1939 * GridView.cs: fixed:
1940 RowDataBound is fired for PagerRow.
1941 Styles are applied using MergeWith instead CopyFrom
1942 to allow using custom styles for rows in code-behind.
1944 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1946 * GridView.cs: fixed: RowCommand event is fired properly.
1948 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1950 * GridView.cs: fixed: created rows are added in table after initialization.
1953 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1955 * Panel.cs: fixed 'background-image' attribute.
1957 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1959 * BaseDataBoundControl.cs:
1960 * DataBoundControl.cs:
1961 fixed DataBinding flow: RequiresDataBinding is set to false in
1963 * HierarchicalDataBoundControl.cs: implemented MarkAsDataBound().
1965 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1969 fixed DataBinding flow for Insert mode.
1971 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1974 does not RegisterRequiresPostBack if is not enabled.
1976 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1980 fixed PopulateOnDemand: used UniqueID to call WebForms_DoCallBack().
1982 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
1984 * MultyView.cs: OnActiveViewChanged is called.
1986 2007-01-29 Vladimir Krasnov <vladimirk@mainsoft.com>
1988 * Panel.cs: fixed AddAttributesToRender for 2.0, text align should be
1991 2007-01-29 Adar Wesley <adarw@mainsoft.com>
1993 * EditCommandColumn.cs: implemented CausesValidation and
1994 ValidationGroup and coresponding tests.
1995 * DataGrid.cs: fixed generated table to be compatible with MS 2.0
1997 2007-01-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1999 * WebControl.cs: added internal method AddDisplayStyleAttribute for
2000 display:inline-block style attribute
2003 * CheckBox.cs: added call to AddDisplayStyleAttribute on rendering
2005 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
2007 * TreeView.js: Used WebForm_GetFormFromCtrl to lookup the form.
2009 2007-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
2011 * TextBox.cs: implemented AutoCompleteType property, fixed
2012 AddAttributesToRender
2014 2007-01-24 Ilya Kharmatsky <ilya -at- decode-systems.com>
2016 * DetailsView.cs: fixed problems with rendering of control, when
2017 empty data source is provided. Respective tests are provided
2018 in DetailsViewTest.cs
2020 2007-01-21 Konstantin Triger <kostat@mainsoft.com>
2022 * TreeView.js, DetailsView.js, Menu.js, GridView.js:
2023 suppress exception if eval() fails.
2025 2007-01-20 Miguel de Icaza <miguel@novell.com>
2027 * DataControlFieldCollection.cs (RemoveAt): remove unused
2030 * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
2033 * RadioButton.cs (RaisePostDataChangedEvent): This method was not
2034 used in 1.0, so put the whole method in 2.0
2036 2007-01-18 Adar Wesley <adarw@mainsoft.com>
2038 * Xml.cs: added support for XPathNavigator, fixed DocumentContent
2039 to be compatible with MS 2.0, implemented EnableTheming, implemented
2040 SkinID, fixed Focus behavior.
2042 2007-01-18 Vladimir Krasnov <vladimirk@mainsoft.com>
2044 * Menu.js, Menu.js: added null reference checking for every getTree or
2047 2007-01-18 Adar Wesley <adarw@mainsoft.com>
2049 * SiteMapDataSource.cs: implemented logic of GetStartNode when
2050 StartingNodeOffset is positive.
2052 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
2054 * BaseValidator.cs: ToString the validating property value or
2055 if null return an empty string.
2057 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2059 * TreeView.cs: fixed RegisterStyle, style names should be without
2060 leading underscore. fixed RenderNode, node icons should be taken also
2063 2007-01-17 Adar Wesley <adarw@mainsoft.com>
2065 * Repeater.cs: refactored GetData to return data both from DataSource
2066 and DataSrouceID, Implemented EnableTheming, updated initialization of
2067 DataBinding according to the pattern of BaseDataBoundControl, fixed
2068 SelectArguments implementation to call the virtual
2069 CreateDataSourceSelectArguments method.
2071 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
2073 * GridView.cs: don't force creating rows collection when SelectedIndex
2074 changes; EnsureDatabound on select.
2076 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2078 * TreeNode.cs: fixed Bind, fixed Value updating
2080 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2082 * DataList.cs: fixed OnBubbleEvent, added SelectedIndex updating
2084 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2086 * DetailsView.cs: fixed CreateChildControls, PageIndex cannot be less
2089 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2091 * DetailsView.cs: fixed CreateChildControls, PageIndex should be less
2092 or equal to PageCount
2094 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2096 * Menu.cs: added z-index attribute to popup div's.
2098 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2100 * FileUpload.cs: fixed FileName property, should return filename
2101 without full path on client side
2103 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
2108 Implemented the protected net_2_0 method 'VerifyMultiSelect' with
2109 proper overloading in derived types.
2111 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2114 considers INavigateUIData.NavigateUrl when bound.
2116 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2118 * CompleteWizardStep.cs
2119 * CreateUserWizard.cs
2120 * CreateUserWizardStep.cs
2121 * TemplatedWizardStep.cs
2123 make the design complied to .NET
2124 build all possible controls at once and manage render by Visible property
2126 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
2127 * Button.cs, HyperLink.cs, DataGrid.cs, ImageButton.cs, LinkButton.cs,
2128 PagedDataSource.cs: Added J2EE Portal support for TARGET_J2EE.
2130 2007-01-14 Ilya Kharmatsky <ilyak-at-mainsoft.com>
2131 * BaseCompareValidator
2133 Added support for CultureInvariantValues property, which should be
2134 counted in new 2.0 methods such as - Compare, Convert etc. The code
2135 has been changed in such way, that the old - 1.1 method implementation
2136 could use the new methods defined for 2.0 version.
2138 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2140 * XmlDataSource.cs: refactored to use cached collection.
2141 * SqlDataSource.cs: refactored to use cached collection;
2142 don't throw exception on 'DefaultView'.
2143 * ObjectDataSource.cs: refactored to use cached collection.
2145 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2147 * ObjectDataSourceView.cs: consider parameter names and
2148 DataObjectMethodAttribute during method resolution.
2150 2007-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2152 * SqlDataSourceView.cs: fixed OnUpdating, OnInserting call with
2153 SqlDataSourceCommandEventArgs
2155 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2157 * ObjectDataSourceView.cs: use case unsensitive comparer for
2158 parameters collection.
2160 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2162 * LoginStatus.cs: fixed: not causes page validation.
2164 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2166 * CreateUserWizard.cs: fixed: resolves ErrorMessage control correct.
2167 * CreateUserWizardStep.cs:
2169 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2171 * TreeView.cs: fixed: SelectedNode, CheckedNodes.
2173 * TreeNodeCollection.cs:
2175 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2177 * GridView.cs: fixed: header and footer does not appear in no items.
2178 * CompositeDataBoundControl.cs:
2180 2007-01-09 Konstantin Triger <kostat@mainsoft.com>
2182 * AdRotator.cs: Backport the fix for AdRotator AbsoluteUri to 1.1.
2184 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2186 * GridView.cs: fixed: SelectedDataKey.
2188 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2192 implemented 2.0 features.
2194 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2196 * SqlDataSourceView.cs: fixed parameters init for ExecuteUpdate
2198 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2200 * DataSourceCacheManager.cs:
2201 * ObjectDataSource.cs:
2203 fixed: cache considers parameters values changes.
2205 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2207 * DetailsView.cs: fixed DeleteItem, excluded keys for new values
2208 * SqlDataSourceView.cs: fixed ExecuteDelete, check cancel in
2211 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2213 * GridView.cs: fixed: show all rows when AllowPaging=false
2215 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2217 * SqlDataSourceView.cs: fixed CreateDbParameter, used DBNull for value=null.
2219 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2221 * ButtonField.cs: fixed: consider its CausesValidation property.
2223 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2225 * GridView.cs: fixed:
2226 ReadOnly property is false for AutoGeneratedColumn if field is DataKey.
2227 causesValidation parameter is considered properly in UpdateRow.
2228 OldValues contains readonly fields values
2230 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2232 * SqlDataSourceView.cs: fixed InitializeParameters, added
2233 ParameterPrefix when check that param is already in collection
2235 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2237 * AdRotator.cs: fixed: considers absolute uri such html://......
2239 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2241 * SqlDataSourceView.cs: fixed insert, delete, update methods, added
2242 calls to OnDataSourceViewChanged
2244 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2246 * added ProfileParameter.cs
2248 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2250 * Label.cs: fixed: according MSDN OnPreRender is not overridden.
2252 2007-01-04 Adar Wesley <adarw@mainsoft.com>
2254 * ImageButton.cs: implemented GenerateEmptyAlternateText
2256 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2258 * FormView.cs: fixed data binding flow considers Insert mode.
2260 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2262 * DataBoundControl.cs: fixed Init flow.
2264 2007-01-4 Adar Wesley <adarw@mainsoft.com>
2266 * RadioButtonList.cs: Implemented properties of IRepeatInfoUser as public virtual
2268 2007-01-03 Marek Habersack <grendello@gmail.com>
2270 * ObjectDataSourceView.cs: Look for unqualified type also in the top-level assemblies.
2272 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2274 * FormView.cs: fixed PageIndex property.
2276 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2278 * ListControl.cs: fixed SelectedValue and SelectedIndex properties.
2279 set accessor works differently in 2.0.
2281 2007-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
2283 * SqlDataSourceView.cs,ObjectDataSourceView.cs: fixed parameter merge
2284 when values and old values are null
2286 2006-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2288 * ListControl.cs: reverted r70112, fixed in r70319.
2290 2007-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2292 * DetailsView.cs: fixed CreateAutoGeneratedRows.
2294 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2296 * AutoGeneratedField.cs: is editable in Insest mode.
2297 * BoundField.cs: is editable in Insest mode.
2298 * CheckBoxField.cs: is editable in Insest mode.
2299 * DetailsView.cs: fixed DataBinding flow.
2301 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2303 * BaseDataBoundControl.cs:
2304 * CompositeDataBoundControl.cs: fixed DataBinding flow.
2306 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2308 * LinkButton.cs: show the validation summary when client validation
2309 and linkbuttons are used. Patch by Juraj Skripsky.
2311 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2313 * TextBox.cs: consider ToolTip property
2315 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2317 * ContainedTable.cs:
2318 * DataControlButton.cs:
2319 * DetailsView.cs: fixed EnablePagingCallbacks
2322 * GridView.js: fixed EnableSortingAndPagingCallbacks
2324 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2327 ResolveClientUrl used with LineImagesFolder, ExpandImageUrl,
2328 CollapseImageUrl and NoExpandImageUrl properties.
2330 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2332 * SqlDataSource.cs: Added parameters update on OnInit
2334 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2336 * LoginView.cs: fixed rendering LoggedInTemplate even after user
2339 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2344 control's behavior depends on using DataSource or DataSourceID
2345 property for binding
2347 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2349 * CommandField.cs: fixed:
2350 when ShowEditButton=false Update/Cancel button doesn't appear.
2351 when ShowInsertButton=false Insert/Cancel button doesn't appear.
2353 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2355 * Login.cs: fixed AuthenticateUser, should redirect to ReturnUrl when
2357 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2359 * Parameter.cs: fixed ConvertValue to coorect handle TypeCode.Empty
2360 * ObjectDataSourceView.cs: fixed MergeParameterValues,
2361 call Parameter.ConvertValue
2362 fixed ConvertParameter to hanlde TypeCode.Empty
2363 * SqlDataSourceView.cs: fixed InitializeParameters,
2364 call Parameter.ConvertValue
2365 fixed ParameterPrefix property
2366 fixed CreateDbParameter, added usege of ParameterPrefix
2368 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2370 * ListControl.cs: fixed: when is used with DataSourceID data bind is not
2371 perfomed on PostBack because Items collection is restored from View state.
2373 2006-12-26 Igor Zelmanovich <igorz@mainsoft.com>
2375 * DataGridPagerStyle.cs:
2380 * TableItemStyle.cs:
2385 fixed: Load/Save viewstate of WebControl does not call Load/Save viewstate
2386 for it's ControlStyle, but the shared ViewState is used to manage style's
2389 2006-12-21 Igor Zelmanovich <igorz@mainsoft.com>
2391 * CompleteWizardStep.cs:
2392 * CreateUserWizard.cs:
2393 * CreateUserWizardStep.cs:
2394 * TemplatedWizardStep.cs:
2396 fixed: CreateUserWizard works properly in advanced scenarios
2397 such being used with additional steps or/and with custom templates.
2398 Styles are aplied properly.
2400 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
2402 * SqlDataSourceView.cs: fixed InitializeParameters, parameters order
2403 parameters case insensetive search
2404 * ObjectDataSourceView.cs: fixed MergeParameterValues, parameters
2405 case insensetive search
2407 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2409 * Menu.cs: fixed: ResolveClientUrl used with src and href attributes
2411 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2415 TreeNodeCollapsed is not raised for leaf node.
2417 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2419 * DataGrid.cs, RepeatInfo.cs: fixed accessibility features
2421 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2423 * Calendar.cs: support DayNameFormat.Shortest
2425 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2427 * HiddenField.cs: implemented
2429 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2431 * FormView.cs: fixed: FillRowDataKey
2432 * DetailsView.cs: fixed: FillRowDataKey
2434 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2436 * TreeView.cs: fixed: ResolveClientUrl used with ImageUrl and NavigateUrl
2438 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2440 * Login.cs: refactored rendering, fixed OnAuthenticate event
2442 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2444 * GridView.cs: fixed: Update works not only for EditRow
2446 * CompositeDataBoundControl.cs:
2448 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2450 * RadioButton.cs: fixed:
2451 When GroupName is not defined UniqueID is used instead for name attribute.
2452 CheckedChanged is raised only when control is checked.
2454 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2456 * Menu.cs: fixed: rendering.
2458 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2460 * Menu.cs: fixed: rendering.
2462 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2467 fixed rendering for 2.0
2469 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2471 * DetaisView.cs: fixed: rendering.
2472 * DataControlButton.cs:
2475 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2477 * FormView.cs: fixed: avoid empty row rendering.
2479 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2481 * AdRotator.cs: fixed:
2482 MSDN: The ImageUrl and NavigateUrl attributes can be a full URL, a
2483 root-relative path, or a relative path. If you use a root-relative path,
2484 the path is relative to the same Web site. If you use a relative path,
2485 the path is relative to the directory that contains the advertisement file.
2487 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2489 * BaseCompareValidator.cs: fixed: support for type=Date on client side.
2491 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2493 * TreeView.cs: fixed: support for event validation.
2495 2006-12-04 Igor Zelmanovich <igorz@mainsoft.com>
2497 * DataGridPagerStyle.cs: chenged values of DataGridPagerStyles flags.
2499 2006-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2501 * CreateUserWizard.cs: implement GeneratePassword based on Membership.
2503 2006-11-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2505 * Wizard.cs: fixed GetStepType method that returned wrong type if the
2506 last step type is Complete.
2507 fixed ProcessEvent method, corrected FinishButtonClick behavior
2509 2006-11-26 Marek Habersack <grendello@gmail.com>
2511 * Calendar.cs: Fixed event validation registration. Now it
2512 registers all the arguments that can be passed by this control to
2515 2006-11-25 Marek Habersack <grendello@gmail.com>
2517 * FileUpload.cs: Implementation of SaveAs
2519 * TreeView.cs: A few optimizations for empty style collections.
2521 * Menu.cs: A few optimizations for empty style collections.
2523 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2525 * BoundField.cs: fixed: GetDesignTimeValue()
2527 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2529 * SiteMapDataSource.cs: fixed: GetViewNames()
2531 2006-11-23 Vladimir Krasnov <vladimirk@mainsoft.com>
2533 * ChangePassword.cs: implemented functionality
2534 * MailDefinition.cs: implemented CreateMailMessage method
2535 * PasswordRecovery.cs: implemented functionality
2537 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2539 * CircleHotSpot.cs: fixed:
2540 setting Radius with value <0 throws ArgumentOutOfRangeException.
2542 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2544 * CookieParameter.cs: fixed Evaluate method.
2546 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2548 * Parameter.cs: fixed Evaluate, ToString methods.
2549 * QueryStringParameter.cs: fixed Evaluate method.
2550 * SessionParameter.cs: fixed Evaluate method.
2552 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2554 * ImageMap.cs: fixed rendering.
2556 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2558 * HotSpot.cs: fixed: AccessKey and HotSpotMode
2559 throw ArgumentOutOfRangeException.
2561 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2563 * ControlParameter.cs: fixed: Evaluate method
2564 throws exceptions correctly.
2566 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2568 * CheckBox.cs: fixed: new 2.0 features such
2569 LabelAttributes and InputAttributes.
2571 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2573 * GridView.cs: fixed: header, footer and empty rows are databound.
2575 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2577 * Style.cs: added internal helper method RemoveTextStyles.
2579 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2581 * Button.cs: fixed: support for event validation.
2582 * CheckBox.cs: fixed: support for event validation.
2583 * FormView.cs: fixed: support for event validation.
2584 * ImageButton.cs: fixed: support for event validation.
2585 * ListBox.cs: fixed: support for event validation.
2586 * TextBox.cs: fixed: support for event validation.
2588 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2590 * DropDownList.cs: fixed: support for event validation.
2592 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2594 * LinkButton.cs: optimized: support for event validation.
2595 * DataControlButton.cs: Added support for event validation.
2596 * DetailsView.cs: fixed: RowIndex for DetailsViewRow.
2598 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2600 * LinkButton.cs: Added support for event validation.
2602 2006-11-17 Marek Habersack <grendello@gmail.com>
2604 * ImageButton.cs: Added support for event validation.
2606 * ListBox.cs: Added support for event validation.
2608 * Calendar.cs: Added support for event validation.
2610 * DropDownList.cs: Added support for event validation.
2612 * FormView.cs: Added support for event validation.
2614 * RadioButtonList.cs: Added support for event validation.
2616 * TextBox.cs: Added support for event validation.
2618 * BulletedList.cs: Added support for event validation.
2620 * CheckBox.cs: Added support for event validation.
2622 * Button.cs: Added support for event validation.
2624 2006-11-16 Igor Zelmanovich <igorz@mainsoft.com>
2626 * CreateUserWizard.cs: fixed: ActiveStepIndex property.
2628 2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>
2630 * ListControl.cs: fixed: DataBinding for 2.0, for 1.x - refactoring only.
2632 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2634 * GridView.cs: fixed: Rows property, DataBinding flow.
2635 * DataBoundControl.cs:
2636 * BaseDataBoundControl.cs:
2638 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2640 * CompositeDataBoundControl.cs: fixed:
2641 DataBind call Controls.Clear().
2643 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
2645 * CompositeDataBoundControl.cs: fixed:
2646 DataBind sets ChildControlsCreated=true.
2648 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2650 * Login.cs: fixed CreateChildControls, throws exception if needed
2652 * LoginView.cs: fixed CreateChildControls, check templates for null
2654 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2656 * Wizard.cs: fixed ActiveStepIndex property, fixed SideBar button
2657 rendering, fixed history updating
2658 * WizardStepCollection.cs: fixed implemented interfaces
2660 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2662 * XmlDataSource.cs: CacheKeyDependency fixed
2664 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
2666 * DetailsView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2668 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2670 * DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.
2672 2006-11-09 Vladimir Krasnov <vladimirk@mainsoft.com>
2674 * ParameterCollection.cs: fixed SetDirtyObject method
2675 * ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState
2676 utilization for control's properties, implemented caching
2677 * SqlDataSource.cs, SqlDataSourceView.cs: implemented caching
2679 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2681 * GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2683 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2685 * DataBoundControl.cs: fixed:
2686 ConfirmInitState method s called by
2687 the DataBoundControl class in its OnLoad method.
2689 2006-11-06 Igor Zelmanovich <igorz@mainsoft.com>
2691 * FormView.cs: fixed: DataBinding flow.
2693 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2695 * CustomValidator.cs: implemented ValidateEmptyText fixture.
2697 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2699 * BaseCompareValidator.cs: fixed: CultureInvariantValues, Type properties.
2701 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2703 * Menu.cs: fixed: RenderEndTag.
2704 Dynamic menu is rendered when StaticDisplayLevels=1
2706 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2708 * GridView.cs: fixed: UpdateRow, DeleteRow, RowCreated.
2710 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2712 * FormView.cs: fixed: UpdateItem, DeleteItem.
2714 2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>
2716 * DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.
2718 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2720 * RadioButtonList.cs: fixed: has no html output when Items.Count=0.
2722 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2724 * ListControl.cs: fixed: setting SelectedVolue for 2.0.
2726 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2728 * DataBoundControl: fixed: ValidateDataSource allows null as dataSource.
2730 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2732 * ListControl.cs: fixed: assigning SelectedIndex with too hight value.
2734 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2736 * ListControl.cs: fixed: DataBinding for 2.0.
2737 for 1.x refactoring only.
2739 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2741 * ChangePassword.cs: new class was implemented.
2743 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2745 * EmbeddedMailObject.cs: new class was implemented.
2746 * EmbeddedMailObjectsCollection.cs: new class was implemented.
2747 * MailDefinition.cs: new class was implemented.
2749 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2751 * PagerSettings.cs: fixed: CreatePagerControl.
2753 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2755 * CommandField.cs: fixed:
2756 considers CaseValidation, ValidationGroup, ButtonType.
2757 * DataControlButton.cs: refactoring:
2759 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2761 * DetailsView.cs: implemented: GetCallbackScript method.
2763 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2765 * FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2767 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2769 * FormFiew.cs: fixed: UpdateItem, InsertItem.
2771 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2773 * FormFiew.cs: fixed: PageIndex, rendering.
2775 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2777 * DropDownList.cs: fixed: rendering "name" attribute".
2779 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2781 * GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2782 * DataControlButton.cs:
2783 * CommandField.cs: CausesValidation feature must be implemented other way
2785 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2787 * CompositeDataBoundControl.cs: fixed: CreateChildControls flow.
2789 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2791 * FormView.cs: fixed: OnBubbleEvent returns true when event is handled.
2793 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2795 * DetailsView.cs: fixed: OnBubbleEvent works properly.
2797 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2799 * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
2801 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2803 * DetailsView.cs: fixed: CurrentMode property.
2805 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2807 * DetailsView.cs: fixed: current state are not changed during paging.
2809 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2811 * DetailsView.cs: fixed:
2812 in Insert mode Select not invoked from DataSource
2814 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
2816 * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
2818 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2820 * FormView.cs: fixed: CreateDataSourceSelectArguments method.
2821 (corresponding test does not work because bug in ObjectDataSourceView)
2823 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2825 * DataBoundControl.cs: fixed: DataBind calls
2826 CreateDataSourceSelectArguments() and stores result in SelectArguments
2828 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2832 fixed: EnablePagingCallbacks feature.
2833 when postback is invoked after callback control state is restored
2836 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2838 * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
2840 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2842 * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
2843 (corresponding test does not work because bug in ObjectDataSourceView)
2845 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2847 * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
2848 when postback is invoked after callback control state is restored
2851 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2853 * GridView.cs: fixed: Sorting feature.
2854 When sorting EditIndex and PageIndex are reseted
2856 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2858 * GridView.cs: fixed: Sorting feature.
2859 CreateDataSourceSelectArguments considers SortExpression and SortDirection.
2860 (corresponding test does not work because bug in ObjectDataSourceView)
2862 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2864 * GridView.cs: fixed:
2865 CreateDataSourceSelectArguments works according to MSDN.
2866 (corresponding test does not work because bug in ObjectDataSourceView)
2868 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2870 * ObjectDataSourceView.cs: fixed:
2871 CanRetrieveTotalRowCount returns true if EnablePaging = false
2873 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
2875 * DataBoundControl.cs: fixed: DataBind flow
2876 CreateDataSourceSelectArguments() is called
2877 each time as DataBind() is called
2879 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2881 * BoundField.cs: implemented ValidateSupportsCallback().
2883 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2885 * CommandField.cs: ValidateSupportsCallback(): exception's message.
2887 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2889 * FormView.cs: fixed: CurrentMode property.
2891 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2897 reverted r66222, problem solved in r66283: command buttons inherit ForeColor
2899 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2901 * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
2904 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2906 * HyperLink.cs: don't render the img tag 'by hand' but use an Image
2907 instead, which takes care of the 0/0px case. Also set the ToolTip
2908 property. Fixes bug #79585.
2910 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2912 * DetailsView.cs: optimization for previous patch
2914 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2916 * FormView.cs: optimization for previous patch
2918 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2921 * DetailsViewRow.cs:
2922 implemented PrepareControlHierarchy()
2923 styles are applied correct
2925 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2928 implemented PrepareControlHierarchy()
2929 styles are applied correct
2931 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2934 * DataControlButton.cs:
2935 * DataControlField.cs:
2936 implemented PrepareControlHierarchy()
2937 styles are applied correct
2938 command buttons inherit ForeColor
2940 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2942 * WebControl.cs: fixed: CreateControlStyle()
2944 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2950 corrected pager rendering: Color style applied to A tag,
2951 Input type="image" used if ImageUrl is not empty.
2953 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2955 * GridView.cs: corrected rendering
2956 * ContainedTable.cs: added new helper class
2958 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2960 * FormView.cs: fixed:
2961 in Insert mode Select not invoked from DataSource
2963 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2965 * FormView.cs: fixed:
2966 Pager is not shown when page count < 1
2967 in Edit mode use EmptyDataTemplate if there is no DataItem
2968 when page changed FormView stays in current state.
2970 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
2972 * FormView.cs: fixed: OnBubbleEvent works properly
2974 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
2976 * DataBoundControl.cs: fixed: DataBind flow
2977 GetData return "empty" DataSourceView when no DataSource and DataSourceID
2978 was assigned to cause PerformDataBinding be called.
2980 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2982 * DataList.cs: use ExtractTemplateRows to determine if the style is
2983 applied to the Table in a template or to its rows. Fixes bug #78058.
2985 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2987 * ListBox.cs: if the list is not enabled, don't require a postback.
2990 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2992 * HyperLink.cs: don't output the nabvigate url if disabled.
2993 * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
2994 the link URL if disabled.
2997 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2999 * RadioButtonList.cs:
3000 make it to consider CausesValidation and ValidationGroup properties
3002 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3005 make it to consider CausesValidation and ValidationGroup properties
3007 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3010 Page.Validate() is called when CausesValidation=true
3012 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3015 make onclick attribute to consider ValidationGroup property.
3017 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3020 make rendering of the href attribute to consider ValidationGroup property.
3021 Page.Validate() is called when CausesValidation=true
3023 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3026 make rendering of the onchange attribute to consider ValidationGroup
3028 Page.Validate() is called when CausesValidation=true
3030 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3033 make rendering of the onclick attribute to consider ValidationGroup property
3034 Page.Validate() is called when CausesValidation=true
3036 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3039 VewState saving and restoring rolled back to 1.1 implementation
3040 (fixed corresponding test), corrected public interface (there are no
3041 overriden methods SaveControlState, LoadControlState and OnInit),
3042 implemented CausesValidation and ValidationGroup properties.
3044 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3047 make rendering of the onclick attribute to consider ValidationGroup property
3048 Page.Validate() is called when CausesValidation=true
3050 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3053 implemented: RaisePostBackEvent,
3054 refactoring: GetPostBackOptions used to build onclick client event
3056 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3058 * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
3060 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3062 * BaseValidator.cs: implemented ValidationGroup feature on client side
3063 * ValidationSummary.cs:
3065 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
3067 * TreeView.cs: corrected rendering
3070 2006-09-11 Konstantin Triger <kostat@mainsoft.com>
3072 * Login.cs: ensure the urls are correctly resolved.
3074 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3076 * TreeView.cs: corrected rendering: styles are applied correct
3080 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3082 * TreeView.cs: corrected rendering: HoverNodeStyle works
3086 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3088 * TreeNodeStyle.cs: fixed: ViewState restored properly
3090 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3094 * TableItemStyle.cs:
3095 * DataGridPagerStyle.cs:
3096 refactoring: makes Style class more flexible for inheriting and reuse
3098 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3100 * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked
3101 state restored correct on PostBack.
3104 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3106 * ObjectDataSourceView.cs: correctly find the type when it is not in the
3107 executing assembly. Fixes bug #78321. Patch by Marek Habersack.
3109 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3111 * ControlParameter.cs: fix search for controls so that they use their
3112 NamingContainer, not the Page. Patch by Marek Habersack that fixes
3115 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3117 * Login.cs: fix problem with the login control and master pages.
3118 Patch by Marek Habersack that fixes bug #78219.
3120 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3122 * TreeView.cs: fixed: populating nodes.
3125 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3127 * TreeNode.cs: fixed: ToggleExpandState.
3129 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
3131 * SqlDataSourceView.cs: return DataView from ExecuteSelect when
3132 DataSourceMode is DataSet.
3134 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3136 * TreeView.cs: fixed: populating nodes flow.
3137 * TreeNodeCollection.cs
3140 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3142 * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.
3144 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3146 * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.
3148 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3150 * TreeView.cs: fixed: when specified value is not one of
3151 the TreeNodeTypes values exception is threw.
3153 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3155 * TreeView.cs: fixed: when specified image set is not one of
3156 the TreeViewImageSet values exception is threw.
3158 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
3160 * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.
3162 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
3164 * Style.cs: implemented SetBit().
3166 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3168 * CompareValidator.cs: fixed controltocompare attribute.
3170 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3173 when login attempt was not successful FailureText is shown.
3175 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3177 * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage
3178 is formatted correct.
3180 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3182 * CreateUserWizard.cs:
3183 * CompleteWizardStep.cs:
3184 * CreateUserWizardStep.cs:
3186 fixed: ContinueButtonClick occurs when the user clicks
3187 the Continue button in the final user account creation step.
3188 ContinueDestinationPageUrl - redirected after clicking
3189 the Continue button on the success page.
3191 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3193 * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
3194 insted internal DataControlButton.
3196 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3198 * Button.cs: implemented GetPostBackOptions + refactoring
3200 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3202 * ImageButton.cs: implemented 2.0 features
3203 OnClientClick attached to onclick attribute.
3204 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3205 generate onclick attribute.
3207 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3209 * LinkButton.cs: typo fix
3211 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3213 * Button.cs: refactoring
3215 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3217 * LinkButton.cs: implemented 2.0 features
3218 OnClientClick attached to onclick attribute.
3219 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3222 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
3224 * Button.cs: implemented 2.0 features
3226 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
3228 * Menu.cs: refactoring
3231 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3233 * TreeView.cs: fixed data binding
3235 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3237 * TreeNodeBinding.cs: fixed ToString method
3239 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3241 * MenuItem.cs: typo fix
3243 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3245 * CreateUserWizardStep.cs: fixed validators message display
3247 2006-08-25 Kornél Pál <kornelpal@gmail.com>
3249 * FileUpload.cs: Use assembly name constants.
3251 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3253 * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
3254 always creates ExtractTemplateValuesMethod delegate
3256 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
3258 * TreeNodeBinding.cs: corrected public interface
3261 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3263 * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
3264 case, but there are many others.
3266 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3268 * Menu.cs: corrected rendering of static and dynamic items
3271 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3275 fixed: AddAttributesToRender method calls FillStyleAttributes,
3276 text styles applied correct.
3278 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3281 fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
3282 refactoring: Name and Names properties has same source in bag.
3284 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3286 * Style.cs: restored r63894: for 1.x is refactoring only
3288 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3291 fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
3292 added ClearDefaults method for 2.0.
3294 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3296 * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
3299 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3301 * SubMenuStyle.cs: fixed:
3302 Unit.ToString() already include unit (e.g. "3px")
3304 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3307 * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
3308 submitted for review and it only added tests for the 2.0 profile.
3310 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3312 * FormView.cs: added explicit implementation of
3313 IDataItemContainer.DataItemIndex, as documented
3315 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
3318 When style is registered with StyleSheet AddAttributesToRender method
3319 adds class attribute but not style to writer
3321 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
3324 OnBubleEvent works properly - controls like Button, LinkButton nested into template
3325 can raise MenuItemClick event,
3326 ViewState of Items saved and restored properly.
3328 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
3330 * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
3333 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
3335 * Menu.cs: fixed databinding feature:
3336 ensure that items initialization occurs only once
3338 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
3340 * Menu.cs, MenuItem.cs: fixed databinding feature
3342 2006-08-09 Robert Jordan <robertj@gmx.net>
3344 * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
3345 replace ResolveUrl with ResolveClientUrl to match MS.NET's
3346 behaviour. Fixes bug #77539.
3348 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
3350 * HierarchicalDataBoundControl.cs: fixed DataBind flow
3352 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3358 * WebControl.cs: fixed ParseChildren attribute to be compliant
3361 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3363 * MultiView.cs: fixed: EnableTheming property
3365 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3369 * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
3371 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3373 * Style.cs: fixed restoring FontInfo from ViewState
3375 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3377 * XmlDataSource.cs: implemented caching functionality
3379 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3381 * PagerSettings.cs: Fixed the pager range calculation formula. The old
3382 one didn't work with more than 20 pages. Patch by Marek Habersack that
3385 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3387 * FormView.cs: fixes to make Render more similar to dotnet.
3389 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
3391 * Wizard.cs: fixed return value of OnBubbleEvent
3393 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3395 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
3396 handle null result of GetData().
3398 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3400 * FormView.cs: use TableStyle for ControlStyle.
3402 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3404 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
3406 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3408 * FormView.cs: init DataKeys and fix null reference.
3410 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3412 * TreeView.cs: several changes to improve compatibility with MS.
3413 Patch by Marek Habersack that fixes bug #77551.
3415 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3417 * Style.cs: output the text-decoration value even when it is 'none'.
3418 Patch by Marek Habersack that fixes bug #78968.
3420 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3422 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
3425 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3427 * DetailsViewRowCollection.cs: returns this in SyncRoot.
3429 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3431 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
3434 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3436 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
3438 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3440 * AutoGeneratedField.cs: fix the internal constructor according to test
3441 DetailsView_CreateAutoGenerateRow.
3443 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
3445 * XmlDataSource.cs: implemented XSLT, removed properties from
3447 * XmlDataSourceView.cs: fixed default xpath
3449 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
3451 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
3453 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
3455 * Wizard.cs: fixed ActiveStep property
3456 fixed templated side bar
3458 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3460 * ImageField.cs: fix null reference bug.
3462 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3464 * DetailsView.cs: init DataKey property with empty collection.
3465 * DataKey.cs: fix unexpected exception bug.
3466 * DataControlField.cs: override ToString according to MSDN.
3468 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3470 * DetailsView.cs: create table style in CreateControlStyle.
3472 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3474 * DetailsView.cs: don't throw the exception which .Net does not throw.
3476 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3478 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
3479 to match .Net; fix PageCount to match record count.
3481 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3483 * Menu.cs: fixed properties default values, fixed rendering
3486 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3488 * Wizard.cs: implemented SkipLinkText, TagKey
3489 fixed rendering bugs, fixed templated button bar rendering
3490 fixed side bar rendering
3491 * WizardStepBase.cs: fixed Name property
3493 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3495 * DetailsView.cs: fix the regressions, caused by the previous commit.
3497 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3499 * DetailsView.cs: correct handling the different default values of
3500 DetailsView.CellSpacing and Table.CellSpacing.
3502 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3504 * DetailsView.cs: create a pager row when needed.
3506 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3510 * PagedDataSource.cs:
3513 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
3514 support it. The GridView control will no longer throw an exception when
3515 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
3517 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3519 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
3520 Rows with empty collection; call EnsureChildControls from get Row;
3521 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
3522 implemented IPostBackContainer.GetPostBackOptions.
3524 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3526 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
3527 and FooterText are empty, to match .NET. Otherwise we have NullReference
3530 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3532 * DetailsView.cs: Render fix.
3534 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3536 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
3539 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3541 * DetailsView.cs: NullReferenceException fix
3543 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3545 * PagerSettings.cs: implemented PropertyGhanged event
3547 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3549 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
3550 with .Net; don't throw NotImplemented when base class implementation
3553 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3555 * DetailsViewPagerRow.cs: add a stub for this class
3557 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3559 * GridView: fixed DataKeyNames property, moved to ControlState
3560 fixed PageCount property, initial PageCount ahould be zero
3561 fixed SelectedDataKey, should throw exception if not initialized
3562 fixed CreateColumns, wrong order of columns
3563 fixed CreateControlStyle,
3564 fixed InitializePager, no columnspan attrib on only one column
3565 fixed LoadControlState, SaveControlState added DataKeyNames
3566 fixed Render, RenderGrid should render within div tag
3567 implemented GetPostBackOptions
3568 * DataControlButton.cs: fixed Render, fixed style for img button
3570 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3572 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
3575 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3577 * CommandField.cs: fixed ValidateSupportsCallback
3579 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3581 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
3582 affect the flow yet.
3584 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3586 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
3588 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3590 * WebControl.cs: fix for AddAttributesToRender - add display
3591 style when appropriate
3593 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3595 * CommandField.cs: fixed InitializeCell, wrong order of command
3597 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
3598 should be rendered as label
3599 * BoundField.cs: empty null value should be rendered as nbsp
3600 * GridViewRowCollection.cs: fixed SyncRoot
3602 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3604 * SiteMapPath.cs: create Literal instead of Label according to the
3605 MSDN and test SiteMapPath_InitializeItem.
3607 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3609 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
3610 * Image.cs: in 2.0 there is no border attribute, but border-width
3613 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3615 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
3617 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3619 * DataList.cs: correctly initialize editable items when there's an
3620 EditItemTemplate. Patch by Jarosław Pawlak.
3622 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
3624 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
3627 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3629 * BulletedList.cs: fixed Render, RenderBulletText, various properties
3630 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
3633 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3635 * MultiView.cs: 'initied' state variable was changed to views count in
3636 the views collection.
3638 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3640 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
3641 checkbox should have tooltip
3642 * HyperLinkField.cs: fixed InitializeCell, should create link control
3643 only in data cell (not in header or footer), initialization of
3645 * ImageField.cs: fixed InitializeDataCell, initialization of
3648 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3650 * MultiView.cs: removed exception throwing from ActiveViewIndex
3652 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
3654 * DataControlFieldCollection.cs: added OnClearComplete override;
3655 refactor to eliminate null reference exception.
3657 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3659 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
3660 * View.cs: fixed Visible property
3662 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
3664 * ImageField.cs: fixing .net compliancy.
3666 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
3668 * SiteMapPath.cs: fix the default PathSeparator value.
3670 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3672 * GridView.cs: always create Header/Fotter rows, but render only when
3673 ShowHeader/Footer is true. Compute Header/Footer rows from rows
3675 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
3676 add ToolTip and Text to the created CheckBox,
3677 wrap exception thrown in OnDataBindField in httpException.
3679 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3681 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
3683 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3685 * DataControlField.cs: correct handling empty header/footer text.
3686 * TemplateField.cs: correct initialization according to
3687 DataControlRowState.
3689 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
3691 * Wizard.cs: added functionality for Templated WizardStep
3692 and CreateUserWizard
3693 * added CompleteWizardStep.cs, CreateUserWizard.cs,
3694 CreateUserWizardStep.cs, TemplatedWizardStep.cs
3696 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3698 * AutoGeneratedField.cs: correcting default dataType.
3700 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3702 * DataControlField.cs: fixed Initialize, should always return false
3704 2006-07-03 Lluis Sanchez <lluis@novell.com>
3706 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
3708 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3710 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
3711 setting RequiresDataBinding in OnLoad event.
3712 * GridView.cs: DataBind rows before other control can access the data.
3713 * BoundField.cs: add unique ID to control for postback parameters.
3715 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3717 * WebControl.cs: fix typo in EnableTheming.
3719 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
3721 * MenuItemCollection.cs: save items if the collection is dirty.
3722 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
3723 Add item to collection before binding to let the state be correctly tracked.
3724 * Menu.cs: Add item to collection before binding to let the state be correctly
3727 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
3729 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
3730 test against with "^...$" if necessary. MS.NET does this too.
3732 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
3734 * WizardStepCollection.cs: Fixed Add methods to initialize
3735 WizardStep.Wizard property
3736 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
3737 Fixed GetStepType, if only one step present, it should be FinishStep
3738 Fixed styles of tables for more accurate rendering, fixed Wizard
3741 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
3743 * FormView.cs: instantiate correct template when the bounding data source is
3746 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
3748 * FormView.cs: disabling setting out of range FormView.PageIndex.
3750 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
3752 * FileUpload.cs: added
3754 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
3756 * FormView.cs: handle CssClass attribute
3758 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3760 * Button.cs: do something in PostBackUrl.
3761 * Repeater.cs: when creating the RepeaterItemCollection, initialize
3762 'items' if it hasn't been done yet. Fixes bug #78417.
3764 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
3766 * BaseDataList.cs: added ConnectToDataSource method that called from
3767 OnLoad, fixed GetData method
3768 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
3771 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
3773 * Menu.cs: add CssStyle value to the rendered class attribute
3775 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
3777 * Calendar.cs: Make sure WebControls.Enabled is respected.
3778 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
3779 to 12:00am as MS.NET does the same.
3782 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3784 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
3785 DataSourceViewChanged, looks for a datasource in its parent control
3786 fixed GetData method, should not get data if datasource is null
3788 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
3790 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
3792 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3794 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
3796 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3798 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
3800 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3802 * DataList.cs: Fixed LoadViewState method
3804 2006-05-04 Lluis Sanchez <lluis@novell.com>
3806 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
3808 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3810 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
3812 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3814 * FormView.cs: fix FormView.PageCount after data binding.
3816 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3818 * CheckBox.cs: certain attributes have to be rendered in the input tag,
3819 not the <span>. Fixes bug #71251.
3821 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3823 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
3826 ensure rebinding when FormView.PageIndex is called.
3827 and bind to the correct PageIndex.
3829 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3831 * MenuItem.cs: when binding to IHierarchyData, check whether
3832 it implements INavigateUIData and retrieve NavigateUrl.
3833 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
3835 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
3836 Provide basic CreateChildControls implementation by ensuring the control is bound.
3837 Ensure the child controls are created when the postback event is raised.
3838 Provide default implementation for SkipLinkText to let the default functionality to work.
3840 2006-04-11 Lluis Sanchez <lluis@novell.com>
3842 * TreeNodeBinding.cs: Added HasPropertyValue property
3843 to check if some properties have a value in the
3845 * TreeNode.cs: Lazily get the dataPath. Instead of getting
3846 bound properties when they are requested, get all of
3847 them when the node is bound and store their values in
3848 the state bag. In this way it won't be necessary to
3849 query every time the datasource to get the values.
3850 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
3851 * TreeView.cs: Call base in OnInit(). Bind nodes after
3852 adding them to the list, to properly keep track of
3853 changes. Don't databind in postbacks.
3855 2006-04-11 Chris Toshok <toshok@ximian.com>
3857 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
3859 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3861 * BaseDataList.cs: Fix searching control by DataSourceID.
3862 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
3865 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3867 * Login.cs: Added LayoutTemplate property support.
3868 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
3869 DataBind: correctly bind child controls.
3870 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
3872 2006-03-29 Robert Jordan <robertj@gmx.net>
3874 * DataGrid.cs: if custom paging is enabled the persisted item count
3875 must be the count of the rendered items, otherwise paging from the
3876 last to a previous page won't work correctly. Fixes bug #77556.
3878 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
3880 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
3881 when rendering disabled list control
3883 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3885 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
3887 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
3889 * FontInfo.cs: Implemented ShouldSerializeNames
3891 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3893 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
3895 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3897 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
3899 in PrepareControlHierarchy fixed style applying to AlternatingItem
3901 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
3903 * DataList.cs: fixed RepeatColumns property, added value validation
3904 in PrepareControlHierarchy method fixed style applying for
3905 AlternatingItem, EditItem and Separator item
3906 fixed RenderContents method, if no items exist, no nned to
3907 render emty table strructure.
3909 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3911 * CompareValidator.cs: when searching for the control to compare, use
3912 NamingContainer instead of Page. Fixes bug #77793.
3914 2006-03-15 Chris Toshok <toshok@ximian.com>
3916 * SiteMapPath.cs (InitializeItem): in the Current and Root node
3917 cases, apply the NodeTemplate if it exists and there isn't a
3918 CurrentNodeTemplate or RootNodeTemplate, respectively.
3920 2006-03-15 Chris Toshok <toshok@ximian.com>
3922 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
3924 * SiteMapDataSource.cs (StartingNodeOffset): new property.
3925 (GetStartNode): add code to handle StartNodeOffset < 0.
3927 * CompositeControl.cs
3928 (ICompositeControlDesignerAccessor.RecreateChildControls): just
3929 call the non-iface method.
3931 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
3932 traverse up the naming container tree looking for our datasource
3933 if we're bound using a DataSourceID. This fixes things in the
3934 sitemap1 test, which uses a mixture of templates and
3935 ContentPlaceholders with the sitemapdatasource and sitemappath at
3936 different levels in the naming container tree (let along the
3939 * SiteMapPath.cs (DataBind): implement this by chaining up to
3940 base.DataBind, then by looping over our children, emitting
3941 OnItemDataBound for each SiteMapNodeItem.
3942 (AddAttributesToRender): remove.
3943 (CreateChildControls): call DataBind as the final step here.. I
3944 have, of course, no idea if this is right.
3945 (CreateControlHierarchy): don't databind our children here, as
3946 they need to be in the Controls collection before we do.
3947 (RenderContents): render our accessibility/screenreader stuff
3948 here, if SkipLinkText != "".
3950 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
3952 * DataGridPagerStyle.cs: fixed PrevPageText property
3954 2006-03-13 Chris Toshok <toshok@ximian.com>
3956 * BaseCompareValidator.cs (Convert): make the
3957 ValidationDataType.String case a bit more compact.
3959 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3962 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
3963 Patch by Hubert Fongarnand.
3965 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3967 * FontInfo.cs: fixed CopyFrom, this method should not reset the
3968 received fontinfo if it is the same instance
3969 fixed ToString, corrected output where only font size specified
3971 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3973 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
3974 if it not set but the border has width
3975 fixes in CopyFrom, MergeWith correct unit compare when it has zero
3978 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3980 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
3981 properties of custom class
3982 fixed InitializeNumericPager, pager numbers should be a Label control
3983 fixed CreateControlHierarchy, corrected dataset index of items if
3986 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
3988 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
3990 fixed CreateControlStyle to set correct cellspacing of table style
3991 fixed InitializeItem to correct applying template to selected and
3994 2006-03-08 Chris Toshok <toshok@ximian.com>
3996 * SiteMapNodeType.cs: nuke.
3998 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
3999 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
4000 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
4001 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
4002 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
4003 ValidationCompareOperator.cs, ValidationDataType.cs,
4004 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
4005 [Serializable] in 2.0.
4007 * DayNameFormat.cs: add "Shortest".
4009 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
4011 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
4014 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
4016 * TextBox.cs: fixed missing value validations, fixed rendering
4017 of empty value attribute
4019 2006-03-07 Chris Toshok <toshok@ximian.com>
4021 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
4022 by chaining up to base.EnableTheming.
4024 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
4026 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
4028 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
4030 * RadioButton.cs: added ValueAttribute property to store the button
4032 * RadioButtonList.cs: fixed tab index when rendering.
4034 2006-03-02 Chris Toshok <toshok@ximian.com>
4036 * WebControl.cs (SkinID): implement setter/getter, and have them
4037 just chain up to base.SkinID.
4039 2006-02-27 Chris Toshok <toshok@ximian.com>
4041 * SqlDataSource.cs: track change to DataSourceControl's protected
4044 * AccessDataSource.cs: same.
4046 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
4048 * ListControl.cs: fixed SelectedIndex property, fixed selection
4049 reset on incorrect value
4051 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
4053 * TableStyle.cs: fixed AddAttributesToRender function, style
4054 BorderCollapse:Collapse was added if table's CellSpacing is zero
4056 2006-02-23 Chris Toshok <toshok@ximian.com>
4058 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
4059 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
4060 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
4061 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
4062 ImageButton.cs, ImageField.cs, Literal.cs,
4063 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
4065 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
4066 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
4067 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
4068 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
4069 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
4070 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
4071 errors. most were caused by a property/method being virtual when
4072 it shouldn't be, or vice versa.
4074 2006-02-22 Chris Toshok <toshok@ximian.com>
4076 * ObjectDataSource.cs: corcompare work.
4078 2006-02-22 Chris Toshok <toshok@ximian.com>
4080 * ParameterCollection.cs: add an EditorAttribute to the class.
4082 * Parameter.cs: cleanup, fix the Value property, and implement the
4085 * SqlDataSourceView.cs: clean things up a bit, and add handling
4088 2006-02-22 Chris Toshok <toshok@ximian.com>
4090 * SqlDataSourceFilteringEventArgs.cs: formatting.
4092 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
4093 both the property and ctor arg.
4095 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
4096 not CommandEventArgs. Also, cast the return value of
4097 oleCommand.ExecuteReader.
4099 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
4101 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
4102 (GetPhysicalDataFilePath): implement, again naively. this is
4103 where the NRE is generated when we access ConnectionString in a
4105 (ConnectionString): dynamically generate this based on our
4107 (DataFile): clear the ConnectionString in the setter so we'll
4109 (ProviderName): use base.ProviderName in the getter, not
4110 this.ProviderName, so we don't recurse infinitely.
4112 * SqlDataSourceView.cs: start reworking this class.
4114 * SqlDataSource.cs (GetDbProviderFactory): implement this,
4115 following the MS docs on the matter (if ProviderName is null/"",
4116 return SqlClientFactory.Instance.)
4117 (GetDbProviderFactoryInternal): add an internal method for use by
4119 (TrackViewState): don't invoke View.TrackViewState unless we have
4121 (Selecting): change event handler type to match MS.
4122 (Filtering): add missing event.
4123 (View): call CreateDataSourceView, don't just create an
4126 2006-02-21 Chris Toshok <toshok@ximian.com>
4128 * BoundField.cs: ues the ViewState.Get* pattern with default
4129 instead of the explicit ViewState lookup + null check, and fix the
4130 scope of InitializeDataCell.
4132 * ButtonField.cs: ues the ViewState.Get* pattern with default
4133 instead of the explicit ViewState lookup + null check.
4135 * CommandField.cs: same.
4137 * CheckBox.cs: same.
4139 * AutoGeneratedFieldProperties.cs: same.
4141 * BaseDataList.cs: same.
4143 * CircleHotSpot.cs: same.
4145 * BulletedList.cs: same.
4147 * DataBoundControl.cs: same.
4149 * CookieParameter.cs: same.
4151 * ControlParameter.cs: same.
4153 * CustomValidator.cs: same.
4155 * ButtonFieldBase.cs: same.
4157 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
4159 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
4161 * BaseValidator.cs: same, and clean up the getter/setter formatting.
4163 * CompareValidator.cs: same.
4165 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4167 * ListControl.cs: fixed DataSource property, to throw
4168 ArgumentException on incorrect value
4170 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4172 * Image.cs: fixed missing border="0" attribute, when image has style,
4173 but border width is not specified.
4175 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4177 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
4178 correct the "disabled" attribute in CheckBoxList
4179 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
4180 attribute in CheckBoxList
4182 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4184 * CheckBox.cs: fixed Render function, removed rendering of empty
4185 <span> element if ControlStyleCreated but it's empty.
4186 fixed "disabled" attribute, it should be placed into span element
4188 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4190 * BoundColumn.cs: fixed InitializeCell function, if DataField is
4191 null or empty string, the cell should not be bound.
4193 2006-02-08 Chris Toshok <toshok@ximian.com>
4195 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
4196 AppendDataBoundItems != false. Also, split all the databinding
4197 logic out to DoDataBinding, which we call from here only if
4199 (DoDataBinding): new function. actually perform the binding.
4200 (PerformDataBinding): implement.
4201 (PerformSelect): chain up to base class.
4203 2006-02-07 Chris Toshok <toshok@ximian.com>
4205 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
4207 * Content.cs: use ContentControlBuilderInternal, and add a bunch
4208 of unused (for now) EventHandler's here.
4210 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
4213 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4215 * ListControl.cs: bound checking for Items when loading the control
4216 state, as the number might have been changed on the fly. Patch by
4219 2006-01-22 Chris Toshok <toshok@ximian.com>
4221 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
4223 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
4224 the intended comparison right and quiet mcs.
4226 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4228 * Button.cs: Add semicolon after client script if does not exist.
4230 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4232 * Button.cs: preserve user logic when adding client validation.
4234 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4236 * BaseValidator.cs: fixing visibility bahavior
4238 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4240 * RangeValidator.cs: allow empty data from the control. Patch from Marek
4241 Habersack that fixes bug #77239.
4243 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4245 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
4246 by Cyrille Colin. Closes bug #77184.
4248 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
4250 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
4251 compilation pass with csc 1.1.
4253 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4255 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
4257 2005-12-07 Chris Toshok <toshok@ximian.com>
4259 * BaseValidator.cs: in the uplevel rendering case, don't render
4260 the text if the validator's Display attribute is "None". Should
4263 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4265 * RadioButton.cs: if the 'value' attribute is set explicitly (as
4266 RadioButtonList does now), use that as the 'name' attribute.
4267 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
4272 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4274 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
4275 the 'name' attribute when not aligninng to the right.
4276 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
4277 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
4279 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4281 * DataGrid.cs: clear the control collection on every call to
4282 CreateControlHierarchy. Fixes bug #76732.
4284 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4286 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
4288 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4290 * CheckBox.cs: use the NameAttribute property for setting 'name'.
4291 * RadioButton.cs: get a UniqueID based identifier for 'name'.
4294 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4296 * LinkButton.cs: don't output any javascript when the linkbutton is
4297 disabled. Fixes bug #76713.
4299 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4301 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
4302 UseAccesibleHeader property is true. Patch by Robert Jordan.
4304 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4306 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
4307 control to validate. Fixes bug #76641.
4309 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4311 * BoundColumn.cs: when the column is readonly and we're in edit mode,
4312 keep it as a TextBox. Fixes bug #76714.
4314 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4316 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
4317 enabled. Fixes bug #76608.
4319 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4321 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
4322 the logic to Render and make it render the ID, which fixes bug #76596.
4324 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4326 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
4328 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4330 * Literal.cs: allow LiteralControl as child, but instead of adding it
4331 to the control collection, it just gets the Text out of it.
4333 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4335 * PagedDataSource.cs: fix range when we're at the last page.
4336 * DataGrid.cs: only need to keep the item count in the viewstate.
4339 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4341 * ListControl.cs: made GetSelectedIndices() internal.
4342 * ListBox.cs: html-encode the item text. Fixed single and multiple
4343 selection handling. All the tests pass now. Closes bug #76478.
4345 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4347 * ListControl.cs: throw when the selected value is not in the
4348 items collection. Fixes bug #76415.
4350 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4352 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
4353 throw a nullref, so we have to do it by ourselves here to make
4356 * BaseValidator.cs: render the text of the error message even if
4357 we set IsValid programatically. Don't use 'valid' directly, as
4362 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4364 * CustomValidator.cs: an empty ControlToValidate is valid.
4366 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
4368 * RequiredFieldValidator.cs: Added missing permissions.
4370 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4372 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
4373 Now the items get the attributes from the styles in datalist. Add the
4374 separators after each item, not before. GetItemStyle returns the actual
4375 item style, not the styles in the datalist. Fixes bug #76384 and all
4378 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4380 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
4383 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4385 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
4388 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
4390 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
4391 inheritance demands.
4392 * FontUnit.cs: Structs are sealed so there's no need for inheritance
4394 * Unit.cs: Structs are sealed so there's no need for inheritance
4397 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4399 * PagedDataSource.cs: fix the upper bound for collection and ilist
4402 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4404 * DataGrid.cs: change the ListItemType for the item selected, set
4405 SelectedIndex before calling OnSelectedIndexChanged and set the selected
4406 item type correctly when creating the columns. Fixes bug #76334.
4409 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
4410 selecting the row, the button keep the regular link color.
4412 * DataGridColumn.cs: made the class internal.
4414 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4416 * DataGrid.cs: fix breakaga of alternating item style in one of my
4419 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4421 * Calendar.cs: remove Console.
4422 * ListBox.cs: the name is the UniqueID, not the ClientID.
4423 * WebControl.cs: Attributes is case insensitive.
4425 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4427 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
4428 UniqueID without appending a ".x" or ".y". Fixes several issues in
4429 mojoPortal. Thanks to Joe Audetter for his patience.
4431 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4433 * ButtonColumn.cs: it was lacking databinding, so copied most of it
4436 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4438 * FontInfo.cs: removed useless ctor.
4439 * Style.cs: keep here some commented out debugging code.
4440 * DataGrid.cs: the Items property does not create a new arraylist if
4441 the items_list was already initialized. Add case for Separator.
4442 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
4443 in the header columns has a special ForeColor handling.
4445 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4447 * DataGrid.cs: PageCount must persist in ViewState too and returns the
4448 number of pages in the paged data source once we set that. Fix checks
4449 for visibility of the pager: no more 2 pagers when custom paging is
4452 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4454 * ImageButton.cs: fix a bug reported on the list. We were triggering the
4455 command event on every POST. And the 'name' attribute was not being
4456 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
4457 and we couldn't find the values.
4459 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4461 * DataGrid.cs: fix the links for the numeric pager.
4463 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4465 * DataGrid.cs: when paging is enable, the actual number of items is not
4466 the number of items rendered before the postback, but that number times
4467 the number of pages. Now we store the page count in the viewstate. Also,
4468 as the number might be big, don't allocate an array of objects to fake
4469 the collection for the PagedDataSource, but use the new NCollection
4470 class instead, which provides cheap (memory wise) enumerator for an
4471 arbitrary number of items. Thanks to "Adriano" for the test case.
4473 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4475 * Xml.cs: the show must go on. Removed a few NotImplemented.
4477 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4479 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
4480 existing code in 1.1 (or viceversa). RenderContents() does nothing.
4482 * DataGrid.cs: changed autoid api.
4484 * EditCommandColumn.cs: only 'Update' causes validation.
4486 * TableCell.cs: changed autoid api. RenderContents checks the number
4487 of controls to decide what to do, not the value of Text in the
4490 * TableRow.cs: changed autoid api.
4492 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
4493 event. When we get an EditItem, we need a TextBox to be created and
4494 this one will be the one that gets the event. Changed
4495 ItemDataBinding to deal with a TextBox too.
4497 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4499 * PagedDataSource.cs: fix IsLastPage. All tests pass.
4500 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
4501 need to keep the old one in a field. Now all tests pass here too.
4503 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4505 * PagedDataSource.cs: don't use the properties when they just return a
4506 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
4507 before ICollection (otherwise, an IList will always fall under the
4508 ICollection case). The enumerator for lists will be empty if 'start'
4509 is beyond the list size. All existing tests pass, but one in
4510 DataGridTest that fails because of some problem with the paging.
4512 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4514 * Style.cs: fix the 2.0 build.
4516 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4518 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
4519 instead write the style attributes directly to the HtmlTextWriter.
4521 * CheckBox.cs: adapted to new API.
4523 * DataGrid.cs: handle null data sources. Fixed the contions that make
4524 the table to be added to the Controls collection.
4526 * Calendar.cs: the table needed an ID and the attributes from the
4527 parent. Also don't create the ControlStyleCollection if it has not
4528 already been created.
4530 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4532 * DataGrid.cs: handle null data sources. Fixed the contions that make
4533 the table to be added to the Controls collection.
4535 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4537 * Calendar.cs: TrackViewState should be called upon creation, not on
4538 every get_XXX call. Cleanup.
4540 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4542 * DataGrid.cs: fix another test. The ID of the table generated by the
4543 datagrid is set to the one on the datagrid if no one set the ID for the
4546 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4548 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
4551 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4553 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
4554 converted to string as X{1,2}-.*. All FontUnitTests pass now.
4555 * Unit.cs: throw a format exception when there's not number or minus
4556 sign in the first non-whitespace character.
4558 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4560 * ListControl.cs: SelectedIndex/SelectedValue can be set before
4561 DataBinding () is called on the control, so we have to keep this values
4562 around and use them after the data is read. If both properties are
4563 used, they must refer to the same item.
4565 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4567 * DataList.cs: fill in the data keys from BaseDataList so that the
4568 events can see them. Only assign DataItem when using data binding and
4569 nullify it after all events are raised.
4571 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4573 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
4576 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4578 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
4580 * DataGrid.cs: Fix TagKey (table) for 2.0.
4581 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
4582 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
4584 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
4586 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
4587 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
4589 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
4591 * TreeView.cs: Added declarative security (Link and Inheritance
4592 demands) for Minimal.
4593 * XmlDataSource.cs: Added declarative security (Link and Inheritance
4594 demands) for Minimal.
4596 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4598 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
4599 Inheritance demands) for Minimal.
4600 * Label.cs: Added declarative security (Link and Inheritance demands)
4602 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
4603 * ListItemCollection.cs: Added declarative security (LinkDemands) for
4605 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
4606 2.0, Inheritance demands) for Minimal.
4607 * PagedDataSource.cs: Added declarative security (LinkDemands) for
4609 * Panel.cs: Added declarative security (Link and Inheritance demands)
4611 * Repeater.cs: Added declarative security (Link and Inheritance
4612 demands) for Minimal.
4613 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
4614 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
4616 * TargetConverter.cs: Added declarative security (Link and Inheritance
4617 demands) for Minimal.
4618 * Unit.cs: Added, but only for 1.x, declarative security (Link and
4619 Inheritance demands) for Minimal.
4620 * ValidatedControlConverter.cs: Added declarative security (Link and
4621 Inheritance demands) for Minimal.
4622 * WebColorConverter.cs: Added declarative security (Link and
4623 Inheritance demands) for Minimal.
4624 * Xml.cs: Added declarative security (Link and Inheritance demands)
4626 * ValidationSummary.cs: Added declarative security (Link and
4627 Inheritance demands) for Minimal.
4629 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4631 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
4633 2005-09-22 Ben Maurer <bmaurer@ximian.com>
4635 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
4636 it took O(height) time, not O(1).
4638 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4640 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
4642 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4644 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
4645 2.0, Inheritance demands) for Minimal.
4646 * BaseCompareValidator.cs: Added declarative security (Link and
4647 Inheritance demands) for Minimal.
4648 * BaseDataBoundControl.cs: Added declarative security (Link and
4649 Inheritance demands) for Minimal.
4650 * BaseValidator.cs: Added declarative security (Link and Inheritance
4651 demands) for Minimal.
4652 * BoundColumn.cs: Added declarative security (Link and Inheritance
4653 demands) for Minimal.
4654 * ButtonColumn.cs: Added declarative security (Link and Inheritance
4655 demands) for Minimal.
4656 * CalendarDay.cs: Added declarative security (Link and Inheritance
4657 demands) for Minimal.
4658 * CheckBoxList.cs: Added declarative security (Link and Inheritance
4659 demands) for Minimal.
4660 * CompareValidator.cs: Added declarative security (Link and
4661 Inheritance demands) for Minimal.
4662 * CustomValidator.cs: Added declarative security (Link and Inheritance
4663 demands) for Minimal.
4664 * DataBoundControl.cs: Added declarative security (Link and
4665 Inheritance demands) for Minimal.
4666 * DataGridItemCollection.cs: Added declarative security (Link and
4667 Inheritance demands) for Minimal.
4668 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
4670 * DataListItemCollection.cs: Added declarative security (LinkDemands)
4672 * DataListItem.cs: Added declarative security (Link and Inheritance
4673 demands) for Minimal.
4674 * FontNamesConverter.cs: Added declarative security (Link and
4675 Inheritance demands) for Minimal.
4676 * HyperLink.cs: Added declarative security (Link and Inheritance
4677 demands) for Minimal.
4678 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
4679 demands) for Minimal.
4680 * Image.cs: Added declarative security (Link and Inheritance demands)
4683 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4685 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
4687 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
4688 a data source, first try reflection, then componentmodel. If we get
4689 an enumerator, keep it around, as MS only calls GetEnumerator once.
4690 Throw an exception if no columns can be created from the given data
4691 source. Tested with DbDataRecord, DataTable, ArrayList and
4692 ICustomTypeDescriptor.
4694 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
4696 * AccessDataSource.cs: Added declarative security (Link and Inheritance
4697 demands) for Minimal. Added [ToolboxBitmap] on class.
4698 * AdRotator.cs: Added declarative security (Link and Inheritance
4699 demands) for Minimal. Removed extra Page and ViewState properties.
4700 * BulletedList.cs: Added declarative security (Link and Inheritance
4701 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4702 * Button.cs: Added declarative security (Link and Inheritance demands)
4703 for Minimal. Added [SupportsEventValidation] on class (2.0).
4704 * Calendar.cs: Added declarative security (Link and Inheritance
4705 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4706 * CheckBox.cs: Added declarative security (Link and Inheritance
4707 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4708 * CompositeControl.cs: Added declarative security (Link and Inheritance
4709 demands) for Minimal. Added new protected RecreateChildControls method.
4710 * DataControlCommands.cs: Added declarative security (LinkDemands) for
4711 Minimal. Added private ctor.
4712 * DataGrid.cs: Added declarative security (Link and Inheritance
4713 demands) for Minimal. Fixed properties for 2.0 (mostly removing
4714 [Bindable]). Added override for TagKey property.
4715 * DataGridColumn.cs: Added declarative security (Link and Inheritance
4716 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
4717 * DataGridItem.cs: Added declarative security (Link and Inheritance
4718 demands) for Minimal. Added IDataItemContainer interface for 2.0.
4719 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
4720 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
4721 * DataList.cs: Removed [Load|Save]ControlState methods.
4722 * DropDownList.cs: Added declarative security (Link and Inheritance
4723 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4724 * EditCommandColumn.cs: Added declarative security (Link and
4725 Inheritance demands) for Minimal. Added missing attributes,
4726 [DefaultValue] and [Localize] for 2.0.
4727 * FontInfo.cs: Added declarative security (Link and Inheritance
4728 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
4730 * Login.cs: Added declarative security (Link and Inheritance demands)
4731 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
4732 * ImageButton.cs: Added declarative security (Link and Inheritance
4733 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4734 * LinkButton.cs: Added declarative security (Link and Inheritance
4735 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4736 * ListBox.cs: Added declarative security (Link and Inheritance demands)
4737 for Minimal. Added [SupportsEventValidation] on class (2.0).
4738 * Literal.cs: Added declarative security (Link and Inheritance demands)
4739 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
4740 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
4741 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
4742 but will be shown as extra).
4743 * RadioButton.cs: Added declarative security (Link and Inheritance
4744 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4745 * RadioButtonList.cs: Added declarative security (Link and Inheritance
4746 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4747 * RangeValidator.cs: Added declarative security (Link and Inheritance
4748 demands) for Minimal. Added missing [Themeable] attributes.
4749 * RegularExpressionValidator.cs: Added declarative security (Link and
4750 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
4752 * RoleGroupCollection.cs: Added declarative security (Link and
4753 Inheritance demands) for Minimal. Fixed base class (changed in RC).
4754 Re-implemented CopyTo. Removed some methods.
4755 * Style.cs: Added declarative security (Link and Inheritance demands)
4756 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
4757 is now public in 2.0.
4758 * Table.cs: Added declarative security (Link and Inheritance demands)
4759 for Minimal. Added [SupportsEventValidation] on class (2.0).
4760 * TableCell.cs: Fixed PersistenceMode for 2.0.
4761 * TextBox.cs: Added declarative security (Link and Inheritance demands)
4762 for Minimal. Added [SupportsEventValidation] on class (2.0).
4763 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
4764 but will be shown as extra).
4765 * WebControl.cs: Added declarative security (Link and Inheritance
4766 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
4769 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4771 * TableStyle.cs: fixed typo that prevented restoring GridLines from
4774 * DataGrid.cs: the table does not get an auto ID. When restoring from
4775 viewstate, use all the saved columns, not just that data bound ones. Set
4776 the owner of the BoundColumns created. Save/restore columns.
4777 OnItemCreated happens after the item is initialized and the data item is
4778 set before the event and nullified after OnItemDataBound.
4779 Add the render_table to the Controls immediately, otherwise we might get
4780 errors from child controls such as "must be rendered inside a form".
4781 Keep the items created in the list waiting for them.
4782 The table uses the attributes from the DataGrid and ControlStyle.
4783 Raise OnItemCommand on all bubble events and don't propagate bubble
4784 event up in the hierarchy
4786 * TableCell.cs: it does not get an automatic ID.
4787 * BoundColumn.cs: FormatDataValue returns an empty string on null input
4788 (there was already a test for this).
4792 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4794 * DataGridColumnCollection.cs: track the view state in the newly added
4797 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4799 * DataGrid.cs: merge column styles too. Fixes bug #76106.
4800 * DataGridColumn.cs: new internal method to retrieve the styles without
4801 creating an instance for them.
4803 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
4805 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
4806 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
4807 StateBag.SetDirty (true).
4809 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
4811 * Menu.cs: Fixed parameter orders for CreateStyleRule.
4813 2005-09-13 Chris Toshok <toshok@ximian.com>
4815 * Style.cs: corcompare stuff.
4817 * RequiredFieldValidator.cs: more corcompare stuff.
4819 * CheckBoxList.cs: clean up some of the interface methods vs
4820 protected virtual 2.0 calls.
4822 * SubMenuStyle.cs: corcompare says this should implement
4823 ICustomTypeDescriptor... sooo, make it.
4825 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4827 * TableCell.cs: do the same as HyperLink and others in
4828 AddParsedSubobject so that adding a literal control does not remove the
4829 existing controls if any. Fixes bug #76078.
4831 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4833 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
4835 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4837 * ImageButton.cs: fix invalid cast exception.
4839 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4841 * ListItem.cs: throw in AddParsedSubObject if the object is not a
4843 * RadioButtonList.cs: implemented LoadPostData and
4844 RaisePostDataChangedEvent.
4846 2005-09-09 Chris Toshok <toshok@ximian.com>
4848 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
4849 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
4850 LoadPostData/RaisePostDataChangedEvent.
4852 2005-09-09 Chris Toshok <toshok@ximian.com>
4854 * FontInfo.cs (IsEmpty): new internal property, used by
4857 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
4860 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4862 * ListItemCollection.cs: remove obsoleted methods.
4863 * ListBox.cs: use IStateManager on the item collection.
4865 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
4867 * Use C# 1.0 style of delegate instantiating. Needed to compile
4868 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
4870 2005-09-07 Chris Toshok <toshok@ximian.com>
4872 * Calendar.cs (WriteDay): always add BackColor=Silver,
4873 ForeColor=White to selected day cells, before copying over the
4874 selectedDayStyle, if it exists.
4875 (WriteDays): fix nunit test - if the first day of the month falls
4876 on the first day of the week, go back one week (effectively adding
4877 a row of dates from the previous month.)
4878 (WriteTitle): don't copy the control style to the tableTitle,
4879 since it might have height specifications, which would make the
4880 title look rather off.
4882 2005-09-07 Chris Toshok <toshok@ximian.com>
4884 * ValidationSummary.cs (AddAttributesToRender): we only set
4885 display=none if there are no errors.
4887 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
4888 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
4890 2005-09-07 Chris Toshok <toshok@ximian.com>
4892 * ListControl.cs (SelectedIndex): add comment about how you'd
4893 think OnSelectedIndexChanged would be called.. and you'd be wrong.
4894 (Text): implement in terms of SelectedValue.
4895 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
4896 (LoadControlState): implement - this is where the selected index
4897 ArrayList gets stuffed in 2.0.
4898 (OnInit): call Page.RegisterRequiresControlState.
4899 (OnTextChanged): implement.
4900 (RenderContents): for now just chain up to base.RenderContents.
4901 (SaveControlState): save our control state properly.
4902 (GetSelectedIndices): split this out from SaveViewState to it can
4903 be used by both that and SaveControlState.
4904 (SaveViewState): mangle this function so it works in both 2.0 and
4906 (LoadViewState): same.
4908 2005-09-06 Chris Toshok <toshok@ximian.com>
4910 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
4911 we weren't assigned an ID.
4913 * ValidationSummary.cs (AddAttributesToRender): same.
4915 2005-09-06 Chris Toshok <toshok@ximian.com>
4917 * WebControl.cs: revert the last change.
4919 2005-09-06 Chris Toshok <toshok@ximian.com>
4921 * WebControl.cs (AddAttributesToRender): always render ClientID.
4923 * ValidationSummary.cs (Render): same.
4925 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
4928 2005-09-06 Chris Toshok <toshok@ximian.com>
4930 * ValidationSummary.cs (Render): only do the JS stuff when the
4931 validators on the page are uplevel.
4933 * BaseValidator.cs (Render): remove unnecessary comment.
4935 2005-09-05 Chris Toshok <toshok@ximian.com>
4937 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
4938 stored in the ViewState.
4940 2005-09-02 Chris Toshok <toshok@ximian.com>
4942 * Repeater.cs (GetData): change this slightly so the Repeater
4943 doesn't keep a ref to the return value of GetData.
4945 2005-09-01 Chris Toshok <toshok@ximian.com>
4947 * ListControl.cs (AppendDataBoundItems): implement (2.0)
4950 2005-09-01 Chris Toshok <toshok@ximian.com>
4952 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
4953 System.Web.UI.WebControls/ValidatedControlConverter.cs,
4954 System.Web.UI.WebControls/Xml.cs,
4955 System.Web.UI.WebControls/RegularExpressionValidator.cs,
4956 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
4957 System.Web.UI.WebControls/Menu.cs,
4958 System.Web.UI.WebControls/MailMessageEventArgs.cs,
4959 System.Web.UI.WebControls/MenuItemStyle.cs,
4960 System.Web.UI.WebControls/RangeValidator.cs,
4961 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
4962 System.Web.UI.WebControls/MenuItem.cs,
4963 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
4964 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
4965 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
4966 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
4967 System.Web.UI.WebControls/XmlBuilder.cs,
4968 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
4971 2005-09-01 Chris Toshok <toshok@ximian.com>
4973 * System.Web.UI.WebControls/Button.cs,
4974 System.Web.UI.WebControls/ButtonField.cs,
4975 System.Web.UI.WebControls/DataControlField.cs,
4976 System.Web.UI.WebControls/BaseCompareValidator.cs,
4977 System.Web.UI.WebControls/AutoGeneratedField.cs,
4978 System.Web.UI.WebControls/CustomValidator.cs,
4979 System.Web.UI.WebControls/Content.cs,
4980 System.Web.UI.WebControls/BoundField.cs,
4981 System.Web.UI.WebControls/AdRotator.cs,
4982 System.Web.UI.WebControls/ButtonColumn.cs,
4983 System.Web.UI.WebControls/CompareValidator.cs,
4984 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
4985 work. Stub things out, and add attributes.
4987 2005-09-01 Chris Toshok <toshok@ximian.com>
4989 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
4990 CommandField.cs, HyperLinkColumn.cs, Table.cs,
4991 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
4992 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
4993 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
4994 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
4995 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
4996 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
4997 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
4998 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
4999 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
5000 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
5001 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
5002 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
5003 TableItemStyle.cs: Add some WebCategory and WebSysDescription
5006 2005-09-01 Chris Toshok <toshok@ximian.com>
5008 * AccessDataSource.cs: corcompare work.
5010 * SqlDataSource.cs: same.
5012 2005-09-01 Miguel de Icaza <miguel@novell.com>
5014 * Various places: make sure that the DefaultValue matches the
5015 type. Thanks to Michael for pointing this out.
5017 In future audits, you might want to use the following awk command:
5019 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
5020 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
5021 print $0; looking = 0; } /public/ && looking { looking = 0; } '
5024 The above skips bools, strings and ints as those were fine as we
5025 set them. The bug was on the other ones.
5027 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5029 * Repeater.cs: fix the build.
5031 2005-08-31 Chris Toshok <toshok@ximian.com>
5033 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
5034 {Base}DataList, and also from debug spew garnered from some
5035 Repeater subclass tests on MS.
5036 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
5037 the IEnumerable by calling GetData().
5038 (DataBind): reset RequiresDataBinding to false (2.0).
5039 (DataMember): copy the set implementation from DataList, and add
5040 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
5041 (DataSource): more c&p.
5042 (DataSourceID); implement (2.0)
5043 (Initialized): implement (2.0)
5044 (IsBoundUsingDataSource): implement (2.0)
5045 (RequiresDataBinding): implement (2.0)
5046 (SelectArguments): implement (2.0)
5047 (CreateDataSourceSelectArguments): implement (2.0)
5048 (EnsureDataBound): implement (2.0)
5049 (GetData): implement.
5050 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
5052 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
5053 leave the MonoTODO. (2.0)
5054 (OnInit): call base.OnInit instead of throwing NIE, but leave the
5056 (OnLoad): implement.
5057 (OnPreRender): implement.
5058 (ConnectToDataSource): new method - look for the right control.
5060 2005-08-31 Chris Toshok <toshok@ximian.com>
5062 * XmlDataSourceView.cs: fix the scope of our select. Don't use
5063 call SelectNodes on the XmlDocument, not on
5064 XmlDocument.DocumentElement.
5066 2005-08-31 Chris Toshok <toshok@ximian.com>
5068 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
5069 (DoXPathSelect): put the xpath selection stuff here.
5070 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
5073 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
5074 select here, the view does it.
5076 2005-08-31 Jackson Harper <jackson@ximian.com>
5078 * DataList.cs: Remove some debugging code that was starting to bug
5081 2005-08-31 Chris Toshok <toshok@ximian.com>
5083 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
5084 create our Navigator by calling node.CreateNavigator().
5086 2005-08-31 Chris Toshok <toshok@ximian.com>
5088 * XmlDataSource.cs (GetXmlDataDocument): rename this to
5089 GetXmlDocument, and change the return value from XmlDataDocument
5091 (LoadXmlDataDocument): similar change.
5092 (Save): xmlDataDocument -> xmlDocument.
5093 (CanBeSaved): there's no ReadOnly attribute.
5094 (LoadViewState, SaveViewState, TrackViewState): nuke.
5095 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
5096 (CacheDuration): stub out with NIE.
5097 (CacheExpirationPolocy): same.
5098 (CacheKeyDependency): same.
5099 (EnableCaching): same.
5101 (Data, DataFile): xmlDataDocument -> xmlDocument.
5102 (Schema, SchemaFile): nuke.
5103 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
5105 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
5107 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
5108 Don't use the obsolete IsSet method.
5109 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
5110 * CheckBox.cs: Implement some 2.0 methods.
5111 * GridView.cs: Removed some "throw new NotImplementedException"
5113 2005-08-29 Chris Toshok <toshok@ximian.com>
5115 * TreeView.cs: Use the StateBag accessors Ben added, and implement
5116 SkipLinkText and Visible.
5118 2005-08-29 Chris Toshok <toshok@ximian.com>
5120 * TreeView.cs: fix typo in an attribute.
5122 2005-08-29 Jackson Harper <jackson@ximian.com>
5124 * PagedDataSource.cs: If it's not a list or collection we don't
5125 use a bounded enumerator.
5127 2005-08-29 Chris Toshok <toshok@ximian.com>
5129 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
5131 * CheckBox.cs: same.
5133 * BaseValidator.cs: same.
5135 * DropDownList.cs: same.
5137 * ValidationSummary.cs: same.
5139 2005-08-28 Chris Toshok <toshok@ximian.com>
5141 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
5143 2005-08-26 Chris Toshok <toshok@ximian.com>
5145 * TextBox.cs: implement ValidationGroup and CausesValidation
5148 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
5150 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
5153 2005-08-26 Chris Toshok <toshok@ximian.com>
5155 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
5157 * FontUnit.cs: add two 2.0 ctors, and the 2.0
5158 ToString(IFormatProvider) method.
5160 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
5162 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
5163 no items are present in the list.
5164 * RoleGroup.cs: Added missing attributes.
5165 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
5166 documented) methods.
5167 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
5168 must be done in the HtmlTextWriter (not in the TableStyle).
5170 2005-08-26 Chris Toshok <toshok@ximian.com>
5172 * Calendar.cs (UseAccessibleHeader): implement.
5173 (RaisePostBackEvent): some #ifdef ugliness to get this all working
5174 propertly between 1.x and 2.0
5175 (WriteDayHeader): if UseAccessibleHeader == true, render header
5176 cells as th's, not td's, and add abbr and scope attributes.
5178 2005-08-25 Chris Toshok <toshok@ximian.com>
5180 * Calendar.cs (Caption, CaptionAlign): implement these properties.
5181 (Render): if we have a non-empty caption, show it.
5182 (WriteCaption): new method, output the caption.
5184 2005-08-25 Chris Toshok <toshok@ximian.com>
5186 * Calendar.cs (Render): Copy the entire style from the Calendar to
5187 the Table, not just the font.
5188 (WriteDay): don't just write the link/text/etc. Create a
5189 LiteralControl as a child of the cell, before the call to
5190 OnDayRender, with its text set to the day number. After
5191 OnDayRender, set the literal's text to either the number again (if
5192 it's not selectable) or the full text of the js __doPostBack
5193 hyperlink (if it is.) Also, use cell.RenderControl here so we can
5194 render child controls with the id's listed properly (and arguably
5196 (ApplyTitleStyleCell): remove.
5197 (WriteTitle): apply the titleStyle to the enclosing table, not the
5198 table cell containing the month name. Also, copy from the
5199 Calendar's ControlStyle to populate tableTitle's style initially.
5200 We end up with more (superfluous) style attributes than MS, but
5201 it's better than having less.
5203 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5205 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
5208 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5210 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
5211 and RegisteredCssClass property
5213 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5215 * LoginView.cs: Fixed attributes.
5216 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
5217 an exception to allow pages to work on 2.x.
5219 2005-08-25 Chris Toshok <toshok@ximian.com>
5221 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
5223 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
5226 * HiddenField.cs: stub out this class and label everything
5229 2005-08-25 Jackson Harper <jackson@ximian.com>
5231 * DataGrid.cs: Disable the pager row if there no paging enabled
5234 2005-08-25 Chris Toshok <toshok@ximian.com>
5236 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
5239 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
5240 add a using statement.
5242 2005-08-25 Chris Toshok <toshok@ximian.com>
5244 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
5247 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
5250 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5252 * Login.cs: Added rendering and fixed parts of the authentication.
5253 Now using IStateManager to allow compilation in another assembly (e.g.
5254 to test the control under IIS). Needs more tests (error conditions)
5255 once we get a "real" Membership provider running.
5256 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
5259 2005-08-25 Chris Toshok <toshok@ximian.com>
5261 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
5263 2005-08-25 Chris Toshok <toshok@ximian.com>
5265 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
5266 calling base.Foo to get the standalone adrotator (1.0) tests to
5267 run without throwing exceptions.
5269 2005-08-25 Chris Toshok <toshok@ximian.com>
5271 * ValidationSummary.cs (ValidationGroup): implement.
5272 (Render): use Page.GetValidators in .net 2.0, so we can support
5273 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
5276 2005-08-25 Chris Toshok <toshok@ximian.com>
5278 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
5279 2.0 attribute modifiers, and revert back to "override".
5281 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
5282 2.0 attribute modifiers, and revert back to "override".
5283 (BorderStyle): same.
5284 (BorderWidth): same.
5286 * TextBox.cs (SaveViewState): implement naively, calling
5288 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
5289 modifiers, and revert back to "override".
5291 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5293 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
5294 Load ViewState for derived classes; no public LoadViewState override
5295 exists in those classes
5296 * Style.cs: Added 2.0 IsStyleEmpty method
5298 2005-08-25 Jackson Harper <jackson@ximian.com>
5300 * DataGrid.cs: The number of pages set in the pager is specified
5303 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5305 * LoginView.cs: New (2.0). Work in progress.
5307 2005-08-24 Chris Toshok <toshok@ximian.com>
5309 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
5310 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
5311 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
5312 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
5313 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
5314 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
5315 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
5316 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
5317 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
5318 Add MonoTODO's for all things that throw NotImplementException.
5320 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
5322 * RoleGroup.cs: New (2.0). Complete implementation.
5323 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
5325 2005-08-23 Chris Toshok <toshok@ximian.com>
5327 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
5328 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
5329 even though they were written for the 1.0 stuff.
5331 2005-08-23 Chris Toshok <toshok@ximian.com>
5333 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
5334 output. Our tests now pass on both mono and ms, with both 1.x and
5337 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
5339 * Login.cs: Throw exception if the specified provider doesn't exists.
5340 * LoginStatus.cs: Complete events.
5342 2005-08-22 Jackson Harper <jackson@ximian.com>
5344 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
5346 (InitializeNumericPager): Now that the pager actually renders
5347 properly I can see that I was computing it incorrectly.
5349 2005-08-22 Jackson Harper <jackson@ximian.com>
5351 * DataGrid.cs (RenderTable): Make sure the new table gets the
5353 (CreateColumnSet): Clear the data source columnbs before adding
5354 new ones regardless of whether or not a property descriptor was
5356 (InitializePager): pager_cell needs to be a member so it isn't
5357 created more then once per a render.
5358 (InitializeNumericPager): Compute start and end more
5360 - Link commands are 1 indexed.
5361 (CreateControlHierarchy): Clear the table before we begin
5363 - Revert patch that made adding the pagers conditional. This is
5364 incorrect, the pagers are always added. Only their visibility is
5365 affected by the pager style.
5366 - Save the entire count in the viewstate, not just the rendered
5367 count. So when paging is enabled the pager's count isn't broken by
5370 2005-08-22 Chris Toshok <toshok@ximian.com>
5372 * LinkButton.cs (ValidationGroup): implement.
5373 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
5374 pass ValidationGroup to Page.Validate.
5376 2005-08-22 Chris Toshok <toshok@ximian.com>
5378 * ImageButton.cs (ValidationGroup): implement.
5379 (IPostBackEventHandler.RaisePostBackEvent): if we cause
5380 validation, call Page.Validate properly (in both profiles).
5382 2005-08-22 Chris Toshok <toshok@ximian.com>
5384 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
5385 case, pass ValidationGroup to Page.Validate.
5386 (ValidationGroup): implement using ViewState.
5388 2005-08-22 Chris Toshok <toshok@ximian.com>
5390 * BaseValidator.cs (Text): 2.0 only. implement naively, just
5392 (OnInit): add 2.0 support for validation groups.
5395 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
5397 * LoginName.cs: New (2.0) web control.
5398 * LoginStatus.cs: New (2.0) web control.
5400 2005-08-19 Chris Toshok <toshok@ximian.com>
5402 * LinkButton.cs (ValidationGroup): implement getter/setter.
5403 (RaisePostBackEvent): implement naively, by c&p'ing the old
5404 implementation of IPostBackEventHandler.RaisePostBackEvent, but
5405 making use of the ValidationGroup in the call to Page.Validate.
5409 * Style.cs (LoadViewState): set our style flags for all the things
5410 we have flags for. Seems like the subclass flags should be
5411 handled in overridden LoadViewState methods, but none of the Style
5412 subclasses seem to override this method.
5414 2005-08-19 Chris Toshok <toshok@ximian.com>
5416 * TableStyle.cs (Merge, MergeWith): make these look a bit more
5417 like Copy/CopyFrom, with the styles checks instead of just
5420 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
5423 2005-08-19 Chris Toshok <toshok@ximian.com>
5425 * DataGrid.cs (InitializePager): don't unconditionally set
5426 pager_cell to the numeric pager (especially after setting it
5427 conditionally to the nextprev pager.)
5428 (InitializeNumericPager): the link buttons don't participate in
5430 (InitializeNextPrevPager): same.
5431 (CreateControlHierarchy): create the top/bottom pagers only if the
5432 PagerStyle says too.
5434 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
5436 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
5438 2005-08-18 Chris Toshok <toshok@ximian.com>
5440 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
5441 the start of this method so templates are created properly.
5443 2005-08-18 Dick Porter <dick@ximian.com>
5445 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
5446 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
5447 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
5448 BaseDataList.cs, DataList.cs, BulletedList.cs,
5449 DataBoundControl.cs, Login.cs, GridView.cs,
5450 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
5451 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
5452 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
5453 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
5454 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
5455 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
5456 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
5457 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
5460 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
5462 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
5464 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
5465 empty array of objects just to get the number of items.
5466 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
5467 but we're missing some bits from the class lib to complete all this...
5469 2005-08-17 Jackson Harper <jackson@ximian.com>
5471 * DataGrid.cs: Only create one pager and add it to both the top
5472 and bottom of the grid, this way all the id numbers stay the same
5473 and we save a bunch of cycles.
5475 2005-08-17 Jackson Harper <jackson@ximian.com>
5477 * DataGrid.cs: The top and bottom pagers are always created. Just
5478 the visibility is changed by the PagerStyle::Position.
5480 2005-08-17 Chris Toshok <toshok@ximian.com>
5482 * CompositeControl.cs (RecreateChildControls): implement naively -
5483 just call CreateChildControls. We might need to call
5484 Controls.Clear() as well, but for the time being, this is ok.
5486 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
5488 * BaseDataList.cs: Completed implementation for 2.0.
5490 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5492 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
5493 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
5495 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5497 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
5499 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
5500 Adjusted size and ordering of the ViewState (new element #0 is still
5501 unknown). Properly fixed the TagKey in 2.0.
5502 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
5503 all properties using enums.
5504 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
5505 * TableItemStyle.cs: Fixed attribute rendering to use style to render
5506 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
5508 2005-08-15 Jackson Harper <jackson@ximian.com>
5510 * EditCommandColumn.cs: Use a normal LinkButton.
5512 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5514 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
5515 viewstate (even if assigned to the default value).
5516 * TableRow.cs: Implement TableSection property (2.0). It has no effect
5517 on the rendering of the table row.
5519 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5521 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
5522 and removed [Bindable] attributes for 2.0.
5523 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
5524 attributes (for 2.0).
5525 * DataListCommandEventArgs.cs: Not sealed in 2.0.
5526 * DataListItemEventArgs.cs: Not sealed in 2.0.
5527 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
5528 attributes for URLs.
5529 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
5530 attributes for URLs.
5531 * Table.cs: Fixed [Editor] attribute for 2.0.
5532 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5533 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
5534 AssociatedHeaderCellID and it's [DefaultValue] attribute.
5535 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
5536 and Scope attributes.
5537 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
5538 on TableSection attribute.
5539 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5541 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
5543 * Image.cs: Fixed attributes for 2.0 profile.
5544 * Login.cs: Fixed some attributes and default values.
5545 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
5546 RaisePostBackEvent (TODO) in 2.0 profile.
5547 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
5548 and added AssociateHeaderCellID property (TODO).
5549 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5550 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
5551 page (if the device requires to breaks the table into multiple pages).
5552 This seems to be a "flag" class, the real work will be in Table.
5553 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
5554 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
5555 page (if the device requires to breaks the table into multiple pages).
5556 This seems to be a "flag" class, the real work will be in Table.
5557 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
5558 * TableRow.cs: Remove [Bindable (true)] from properties and add
5559 [Bindable (false)] and [Designer] on class. Added new TableSection
5561 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5562 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
5563 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
5564 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
5565 FillStyleAttributes method (2.0).
5567 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
5569 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
5570 attributes from existing controls.
5571 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
5572 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
5574 2005-08-12 Jackson Harper <jackson@ximian.com>
5576 * TableRow.cs: No AutoID for TableRows.
5578 2005-08-12 Jackson Harper <jackson@ximian.com>
5580 * DataGrid.cs (CreateRenderColumns): If we aren't using data
5581 binding grab the rendercols from the data source columns.
5582 (LoadViewState): Restore the bound columns when reloading the
5584 (InitializeNumericPager): Create elipsised pagers.
5585 (CreateItem): Don't set the item's ID.
5586 (CreateItem): Add the control to the table before it is databound
5587 so that it's value is saved in the viewstate.
5588 (CreateControlHierarchy): Create a fake data source when not using
5589 databinding. Don't add controls to the table as they are added in
5591 (PrepareControlHierarchy): Make footers and header non visible if
5592 they aren't enabled.
5594 2005-08-12 Chris Toshok <toshok@ximian.com>
5596 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
5597 docs says these methods/properties "ensure the child controls are
5598 created" -- so call EnsureChildControls() before invoking the base
5601 2005-08-12 Jackson Harper <jackson@ximian.com>
5603 * BoundColumn.cs: Set the controls text instead of adding a
5604 literal control. So it is saved in the controls viewstate.
5606 2005-08-11 Jackson Harper <jackson@ximian.com>
5608 * CheckBoxList.cs: Set the tabindex on the checkbox control and
5609 don't render it on the main table (Setting it to zero causes it to
5610 not be rendered). Also use the invariant culture on the id.
5612 2005-08-11 Dick Porter <dick@ximian.com>
5614 * CheckBox.cs: Let ViewState manage removals; apply styles and
5615 "style" attributes in a surrounding <span>. Fixes unit tests.
5617 2005-08-10 Chris Toshok <toshok@ximian.com>
5619 * Label.cs (LoadViewState): set the Text attribute from our
5620 ViewState (if it exists) to clear out any child controls. Fixes
5621 jsunit test label/label-child-control-postback.aspx.
5623 2005-08-10 Jackson Harper <jackson@ximian.com>
5625 * PagedDataSource.cs: Respect paging with all data source types.
5627 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
5629 * BaseDataList.cs: Changed Controls property from "virtual new"
5630 (2.0 doc) to "override" (monop) to fix the Visible bug (see
5631 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
5632 any controls (required due to change to Controls). Implemented
5633 DataBind(bool) for 2.0.
5634 * DataListItem.cs: Fix the multiple table when extractRows is used.
5635 Removed extra span tags by rendering contents (not control). Added
5636 support for IDataItemContainer (2.0).
5638 2005-08-08 Jackson Harper <jackson@ximian.com>
5640 * DataGrid.cs: Apply the styles to each item type.
5642 2005-08-08 Jackson Harper <jackson@ximian.com>
5644 * PagedDataSource.cs: If paging is not enabled keep enumerating to
5645 the end of the list.
5647 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
5649 * BaseDataList.cs: Remove old compatibility stuff.
5650 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
5651 * WebControl.cs: Always call CreateControlStyle to create the
5652 ControlStyle. Fix the exception for datalist-style-edit.aspx.
5654 2005-08-05 Jackson Harper <jackson@ximian.com>
5656 * DataGrid.cs: Don't make the current page index a link in the
5659 2005-08-05 Jackson Harper <jackson@ximian.com>
5661 * DataGrid.cs: Honour PagerPosition.
5663 2005-08-05 Jackson Harper <jackson@ximian.com>
5665 * PagedDataSource.cs: Round PageCount properly.
5667 2005-08-05 Dick Porter <dick@ximian.com>
5669 * CheckBox.cs: Shut corcompare up a bit more. Still need to
5670 figure out how to not use AddAttributesToRender to get it
5673 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
5675 * DataGridColumn.cs: Added the duplicate viewstate manipulation
5678 2005-08-05 Chris Toshok <toshok@ximian.com>
5680 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
5681 null when it comes to the format string.
5682 (FormatDataTextValue): same.
5684 2005-08-04 Chris Toshok <toshok@ximian.com>
5686 * BaseValidator.cs (Validate): only test a validator if it's both
5687 enabled and visible.
5689 2005-08-04 Chris Toshok <toshok@ximian.com>
5691 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
5694 2005-08-04 Jackson Harper <jackson@ximian.com>
5696 * DataGrid.cs: Add a new space control for each link. Also make
5697 the link's text 1 indexed. Don't add the space after the last
5700 2005-08-04 Ben Maurer <bmaurer@ximian.com>
5702 * LinkButton.cs: Fix up the test suite here.
5704 * Panel.cs: Fix up nowrap
5706 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5708 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
5709 * ListControl.cs: Clear item list before adding data (again)
5711 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
5713 * Calendar.cs: fixes issues with OnDayRender event and others
5715 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5717 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
5719 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
5720 if DataTextField is bound
5721 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
5722 two controls in edit mode, lets do the same
5724 2005-08-03 Jackson Harper <jackson@ximian.com>
5726 * BoundColumn.cs: Respek for the thisExpr when data binding.
5728 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5730 * EditCommandColumn.cs: No need to offer edit when in edit mode.
5733 2005-08-04 Dick Porter <dick@ximian.com>
5735 * DataGridColumn.cs: New implementation
5738 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
5740 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5742 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
5745 2005-08-03 Ben Maurer <bmaurer@ximian.com>
5747 * RepeatInfo.cs: Finally figured out how to use base control
5749 2005-08-03 Jackson Harper <jackson@ximian.com>
5751 * ButtonColumn.cs: Partial implementation.
5753 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5755 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
5758 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5760 * Calendar.cs: fixes Save/Load state
5762 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5764 * Calendar.cs: bug fixes
5766 2005-08-03 Jackson Harper <jackson@ximian.com>
5768 * DataGrid.cs: Merge the table style with the render table. Some
5769 initial work on the numeric pager. Remove some debugging code.
5771 2005-08-03 Jackson Harper <jackson@ximian.com>
5773 * BoundColumn.cs: Implement Initialize and InitializeCell. When
5774 Data is formated it uses the DataFormatString that was set at the
5775 time Initialize was called (or null if initialize was never
5778 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5780 * RadioButtonList.cs: bug fixes
5782 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5784 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
5785 AddAttributesToRender
5786 * RadioButtonList.cs: Implementation
5788 2005-08-01 Jackson Harper <jackson@ximian.com>
5790 * TableStyle.cs: Copy style bit when copying from another style.
5792 2005-08-01 Jackson Harper <jackson@ximian.com>
5794 * PagedDataSource.cs: Implement missing properties, use yield for
5795 the Enumerator methods. Only allow the enums to return one page at
5798 2005-08-01 Chris Toshok <toshok@ximian.com>
5800 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
5802 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5804 * WebControl.cs: Track enabled state across sessions
5806 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5808 * ListControl.cs(OnDatabinding): Value is equivalent to text if
5811 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
5813 * ImageButton.cs: fixes, complete missing parts
5815 2005-07-31 Ben Maurer <bmaurer@ximian.com>
5817 * TextBox.cs: Html encode for multiline text boxes
5819 * HyperLink.cs: Resolve images
5821 2005-07-30 Chris Toshok <toshok@ximian.com>
5823 * BaseValidator.cs: initial version of 2.0 properties
5824 ValidationGroup and SetFocusOnError.
5826 2005-07-30 Chris Toshok <toshok@ximian.com>
5828 * HyperLinkColumn.cs (InitializeCell): clean this up.
5830 2005-07-30 Chris Toshok <toshok@ximian.com>
5832 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
5833 DataBinder.FormatResult.
5834 (FormatDataTextValue): same.
5835 (Initialize): call base.Initialize.
5836 (ItemDataBinding): new function, get the text/navigateurl and set
5837 them on our HyperLink control.
5838 (InitializeCell): create a hyperlink control in the
5839 Item/EditItem/AlternatingItem case.
5841 2005-07-30 Ben Maurer <bmaurer@ximian.com>
5843 * RepeatInfo.cs: Handle 0 items situations correctly
5845 * HyperLink.cs: Resolve urls correctly
5847 * CheckBox.cs: use the correct ID for the label element.
5849 * Label.cs: Correct AddParsedSubObject impl. See FAQ
5851 2005-07-29 Chris Toshok <toshok@ximian.com>
5853 * BaseCompareValidator.cs (GetDateElementOrder): implement.
5855 2005-07-29 Chris Toshok <toshok@ximian.com>
5857 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
5858 #if'ed out version follows microsoft's docs on msdn, but doesn't
5859 match ms's behavior. The other matches their behavior but not
5860 their docs. we use the latter. go figure.
5861 (get_CutoffYear): implement using
5862 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
5864 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5867 - Name property now throws exception when set to null
5868 - Names now handles situation where our bit tells us we have
5869 a font, but it's not in the StateBag (null removal)
5870 * RangeValidator.cs: Removed unused vars
5872 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5874 * Label.cs: ClientID should be used rather than UniqueID to get
5877 2005-07-29 Chris Toshok <toshok@ximian.com>
5879 * BaseValidator.cs (Validatate): not sure if this is entirely
5880 correct (some fairly deep testing required), but setting Enabled =
5881 false has the effect of setting IsValid = true.
5883 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5885 * RadioButton.cs: The "remove from groupstate" isn't needed any
5886 more, now that statebag is correct.
5888 2005-07-29 Dick Porter <dick@ximian.com>
5890 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
5891 ViewState when it is null.
5893 * CheckBox.cs: Hide nonstandard API
5895 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
5897 * Calendar.cs: fixes exceptions, bug fixes, new features
5898 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
5899 * CalendarDay.cs: fixes default value
5901 2005-07-28 Ben Maurer <bmaurer@ximian.com>
5903 * CompositeControl.cs: Stub
5905 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5907 * EditCommandColumn.cs: Implemented
5909 2005-07-27 Chris Toshok <toshok@ximian.com>
5911 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
5913 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5915 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
5918 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5920 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
5921 for it's constructor, so remove it
5922 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
5924 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5926 * DataGridPagerStyle.cs: Implemented
5927 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
5928 * Style.cs: Added Styles enum values for DataGridPagerStyle
5930 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
5932 * Calendar.cs: get the styles right, honors more properties, fixes, fix
5935 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5937 * DataGridItem.cs: Implemented
5939 2005-07-26 Chris Toshok <toshok@ximian.com>
5941 * LinkButton.cs (AddParsedSubObject): reversed the order of
5942 Controls.Add() and Text = null
5943 (set_Text): call Controls.Clear()
5944 (RenderContents): use HasControls() for the if test instead of
5947 * HyperLink.cs (AddParsedSubObject): reversed the order of
5948 Controls.Add () and Text = null;
5950 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5952 * DataGridItemCollection.cs: Implemented
5954 2005-07-26 Chris Toshok <toshok@ximian.com>
5956 * LinkButton.cs (AddParsedSubObject): copy implementation from
5958 (RenderContents): only call writer.Write(Text) if Text != "".
5959 Otherwise default to base.RenderContents.
5961 2005-07-26 Chris Toshok <toshok@ximian.com>
5963 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5964 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
5965 (Page != null) around my last commit.
5967 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5969 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
5970 Fixed use of literal strings, instead using Consts
5971 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
5972 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
5973 Panel.cs, Literal.cs: Added attributes
5974 * BaseValidator.cs: Added missing override
5976 2005-07-26 Chris Toshok <toshok@ximian.com>
5978 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5979 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
5980 Page.VerifyRenderingInServerFormHere.
5982 2005-07-26 Chris Toshok <toshok@ximian.com>
5984 * BaseValidator.cs: remove some MonoTODO's about the client side
5987 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
5989 * Calendar.cs: selection of dates, state load, save, track, support
5990 for new properties, many fixes.
5992 2005-07-26 Miguel de Icaza <miguel@novell.com>
5994 * Style.cs: Temporary methods to help buliding .NET 2.x
5996 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5998 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
6000 * Xml.cs: Fixed base class, attributes
6001 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
6002 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
6003 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
6004 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
6005 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
6007 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6009 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
6012 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6014 * RepeatInfo.cs: If the repeater has one column, the separators
6015 are rendered on a different line
6017 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6019 * DataGridSortCommandEventArgs: Sealed class
6020 * ButtonColumn.cs, Calendar.cs: Added Attributes
6022 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6024 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
6025 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
6027 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6029 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
6030 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
6032 2005-07-25 Chris Toshok <toshok@ximian.com>
6034 * ValidationSummary.cs (AddAttributesToRender): add client side
6036 (OnPreRender): set the "been here" flag.
6037 (Render): add client side support.
6039 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6041 * RepeatInfo.cs: Split the horiz and vertical cases, because this
6042 class has rules that are beyond strange. Continue working to make
6045 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6047 * RepeatInfo.cs: Misc fixes for my test suite.
6049 2005-07-25 Jackson Harper <jackson@ximian.com>
6051 * DataGrid.cs: Set the command name and args on the link buttons.
6053 2005-07-25 Jackson Harper <jackson@ximian.com>
6055 * DataGrid.cs: Lots o implementation.
6057 2005-07-25 Jackson Harper <jackson@ximian.com>
6059 * BoundColumn.cs: Partial implementation to get the DataGrid tests
6062 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
6064 * Button.cs: fixes events, adds attributes
6066 2005-07-23 Chris Toshok <toshok@ximian.com>
6068 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
6069 prop.GetValue results.
6070 (Render): fix the static non-uplevel case, so that we display text
6071 when there's an error.
6073 2005-07-22 Chris Toshok <toshok@ximian.com>
6075 * RegularExpressionValidator.cs (AddAttributesToRender): only
6076 output ValidationExpression if it's != null.
6078 2005-07-22 Chris Toshok <toshok@ximian.com>
6080 * BaseValidator.cs (AddAttributesToRender): fix up the Display
6081 rendering such it matches MS's output.
6082 (Render): stop using the huge complicated if's for each output
6083 stage and move to boolean flags, and fix the static-nonuplevel
6084 case, where a validator outputs as nothing but
6086 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
6087 * Calendar.cs: Initial implementation
6088 * CalendarSelectionMode.cs: fix enum order
6090 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
6092 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
6093 (or more?) specific cases - including correct support for separators.
6094 Added some (commented) debugging code.
6095 * HyperLink.cs: Only render href and target attributes if they're not
6096 empty. Add "border=0" when rendering <img> tag. Fix Target default
6099 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
6101 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
6103 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
6105 * Style.cs (CopyFrom): Reset our styles and don't set bits from
6106 target explicitly, properties will set them
6108 2005-07-22 Dick Porter <dick@ximian.com>
6111 * ButtonColumn.cs: Initial stubs
6113 2005-07-22 Dick Porter <dick@ximian.com>
6116 * CheckBox.cs: Add assembly attributes
6118 2005-07-22 Ben Maurer <bmaurer@ximian.com>
6120 * HyperLink.cs: Handle non-literal children.
6122 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6124 * Label.cs: SP1 stuff
6126 2005-07-21 Chris Toshok <toshok@ximian.com>
6128 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
6129 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
6130 stuff WebUIValidation.js uses, so we don't support it for uplevel
6133 2005-07-21 Chris Toshok <toshok@ximian.com>
6135 * BaseValidator.cs (DetermineRenderUplevel): include checks for
6136 the EcmaScriptVersion and W3CDomVersion.
6138 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6140 * BaseDataList.cs: Support IEnumerable.
6141 * DataList.cs: Fix alternate items.
6142 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
6143 controls and the Text property.
6145 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6147 * TextBoxMode.cs: Wrong ordering of enum...
6149 2005-07-21 Chris Toshok <toshok@ximian.com>
6151 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
6154 2005-07-21 Chris Toshok <toshok@ximian.com>
6156 * BaseValidator.cs (get_PropertiesValid): use our containing
6157 NamingContainer, not ourselves, to look up controls.
6158 (CheckControlValidationProperty): same.
6159 (GetControlRenderID): same.
6160 (GetControlValidationValue): same.
6161 (AddAttributesToRender): add the display style attribute if
6162 Display != Static, and add the value of IsValid if it's false.
6163 (DetermineRenderUplevel): use a try block around (Page.Request)
6164 since that can raise an exception.
6165 (OnPreRender): set pre_render_called, so we can consult it in
6167 (Render): complicate this method more to handle more of the
6168 Display/pre_render_called permutations.
6170 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
6172 * CustomValidator.cs: Initial implementation, still work in progress
6174 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6176 * DataList.cs: Fix rendering for special items (-1).
6178 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6180 * RepeatInfo.cs: Fix most of the tests.
6182 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6184 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
6185 Add a border=0 attribute if no style is defined.
6186 * TableCell.cs: Use HtmlTextWriterTag (not a string).
6187 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
6188 * TableRow.cs: Use HtmlTextWriterTag (not a string).
6190 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6192 * BaseDataList.cs: Fix attributes.
6193 * HorizontalAlign.cs: Fix attributes.
6194 * Image.cs: Fix attributes and enums checks.
6195 * Table.cs: Fix attributes an enums checks.
6196 * TableCell.cs: Fix attributes.
6197 * TableCellCollection.cs: Fix attributes.
6198 * TableItemStyle.cs: Fix attributes and enums checks.
6199 * TableRowCollection.cs: Fix attributes.
6200 * TableRow.cs: Fix attributes.
6201 * TableStyle.cs: Fix attributes and enums checks.
6202 * VerticalAlign.cs: Fix attributes.
6204 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6206 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
6207 * DataList.cs: Added rendering support when ExtractTemplatesRows
6208 property is true (but RepeatInfo needs to be fixed to see it works).
6209 * DataListItem.cs: Added rendering support when extractRows parameter
6210 is true (but RepeatInfo still needs to be fixed ;-)
6212 2005-07-21 Duncan Mak <duncan@novell.com>
6214 * HyperLinkColumn.cs: Initial implementation.
6215 Todo: Figure out Initialize and InitializeCell.
6217 2005-07-20 Chris Toshok <toshok@ximian.com>
6219 * BaseValidator.cs: don't use Page.FindControl, use this Control's
6220 FindControl, so it'll use the same naming container.
6222 2005-07-21 Duncan Mak <duncan@novell.com>
6224 * DataGridCommandEventArgs.cs:
6225 * DataGridPageChangedEventArgs.cs:
6226 * RepeaterCommandEventArgs.cs: Fixed visibility.
6228 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
6229 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
6231 2005-07-20 Chris Toshok <toshok@ximian.com>
6233 * Button.cs: hook up the client side validation stuff.
6235 * ImageButton.cs: same.
6237 * LinkButton.cs: same, although it's a little more complicated
6240 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6243 - Implemented RaisePostDataChangedEvent()
6244 - Spewing postback command if AutoPostBack is true
6246 2005-07-20 Chris Toshok <toshok@ximian.com>
6248 * BaseValidator.cs: another Page != null check when uplevel
6251 2005-07-20 Chris Toshok <toshok@ximian.com>
6253 * BaseValidator.cs: check Page != null when determining if we're
6254 rendering uplevel or not.
6256 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6258 * ListItemCollection.cs: Removed obsolete method that's no longer
6261 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6263 * DropDownList.cs: Oops. Forgot to implement LoadPostData
6264 * ListItemCollection.cs: Added convenience method to have faster
6267 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6270 - Automatically select the first item if none are selected
6271 - Throw exception if more than one item is selected
6273 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6275 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
6276 handled by RepeatInfo).
6278 2005-07-20 Jackson Harper <jackson@ximian.com>
6280 * DataGrid.cs: Store the data source created columns in a
6281 DataGridColumnCollection. This way they can be put in the
6282 view state more easily, and accessed without casting.
6284 2005-07-20 Chris Toshok <toshok@ximian.com>
6286 * BaseValidator.cs (AddAttributesToRender): render the client side
6287 attributes if we're in uplevel mode.
6288 (DetermineRenderUplevel): flesh out a bit - for now basically
6289 return true unless the control has it disabled.
6290 (OnInit): only add the validator to Page's list if there is, in
6292 (OnUnload): same for removal.
6293 (OnPreRender): hook up client scripting stuff here. Only the call
6294 to RegisterValidatorCommonScript is a for sure thing here, the
6295 registering of the submit statement and startup script should
6296 probably go elsewhere, but I don't know where.
6297 (RegisterValidatorCommonScript): register the <script
6298 src=".../WebUIValidation.js"> tag, if it's not already there.
6299 (RegisterValidatorDeclaration): add our span object to the
6300 Page_Validators JS array.
6301 (Render): always render the tags (although this is probably not
6302 right), and call RegisterValidatorDeclaration here.
6304 * BaseCompareValidator.cs (AddAttributesToRender): render the
6305 client side attributes if we're in uplevel mode.
6306 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
6307 call base.DetermineRenderUplevel for now.
6309 * RegularExpressionValidator.cs (AddAttributesToRender): render
6310 the client side attributes if we're in uplevel mode.
6312 * RequiredFieldValidator.cs (AddAttributesToRender): same.
6314 * CompareValidator.cs (AddAttributesToRender): same.
6316 2005-07-20 Jackson Harper <jackson@ximian.com>
6318 * DataGrid.cs: Save the data source created column set in the
6321 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6323 * DataList.cs: Fix events and properties exceptions. Give the right
6324 informations to RenderItem.
6326 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6328 * ValidationSummary.cs: Implemented rendering
6330 2005-07-20 Jackson Harper <jackson@ximian.com>
6332 * DataGrid.cs: column names are cached and only regenerated if useDataSource
6333 is set to true. Otherwise they are just fetched from the last set that
6334 was generated from the source.
6336 2005-07-20 Jackson Harper <jackson@ximian.com>
6338 * DataGrid.cs: Assign some properties of newly created BoundColumns.
6340 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6342 * DataList.cs: Fix viewstate ordering.
6344 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6346 * SelectedDatesCollection.cs: Apprarently, I don't write code well
6349 * Repeater.cs: Uh, actually add stuff to the items collection
6352 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6354 * BaseDataList.cs: EnsureChildControls on Controls property.
6355 * DataList.cs: Fix rendering and Controls/Items differences.
6356 * DataListItem.cs: Added rendering of controls.
6358 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6360 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
6362 2005-07-20 Jackson Harper <jackson@ximian.com>
6364 * DataGrid.cs: Add some of the collections. Implement
6367 2005-07-20 Jackson Harper <jackson@ximian.com>
6369 * PagedDataSource.cs: Implement GetItemProperties, this is
6370 needed for the datagrid.
6372 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6374 * DataGridColumnCollection.cs: New impl
6376 * TemplateColumn.cs: New impl
6378 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6380 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
6381 * DataList.cs: Work in progress... Added attributes, proper
6382 IRepeatInfoUser support and cool things stolen from other classes.
6383 * DataListCommandEventArgs.cs: Class is sealed.
6384 * DataListItem.cs: RenderItem is public.
6386 2005-07-19 Jackson Harper <jackson@ximian.com>
6388 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
6389 a viewstate object if all the viewstate stuff is null.
6391 2005-07-19 Jackson Harper <jackson@ximian.com>
6393 * DataGrid.cs: Implement style properties and viewstate
6394 saving/loading/tracking.
6396 2005-07-19 Chris Toshok <toshok@ximian.com>
6398 * BaseValidator.cs: more fixes from pdb.
6400 2005-07-19 Chris Toshok <toshok@ximian.com>
6402 * BaseValidator.cs: some test-driven fixes.
6404 2005-07-19 Chris Toshok <toshok@ximian.com>
6406 * BaseValidator.cs: Initial implementation.
6408 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6410 * Repeater.cs: Fix small typo.
6412 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
6414 * ValidationSummaryTest.cs: Started implementation
6415 * RangeValidator.cs: Implemented
6416 * ValidatedControlConverter.cs: Implemented
6417 * DropDownList.cs: Implemented
6419 2005-07-19 Jackson Harper <jackson@ximian.com>
6421 * DataGrid.cs: Implement bubble event.
6423 2005-07-19 Jackson Harper <jackson@ximian.com>
6425 * DataGrid.cs: New implementation. Just properties and events for
6428 2005-07-18 Chris Toshok <toshok@ximian.com>
6430 * BaseCompareValidator.cs: Initial implementation, with some NYI.
6432 2005-07-19 Ben Maurer <bmaurer@ximian.com>
6434 * FontUnit.cs: Corcompare fixes
6436 * UnitConverter.cs: Fix api diffs
6438 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6440 * ListControl.cs: Fix api differences
6442 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6444 * Table.cs: Fix indentation for caption. Simplify check when adding
6446 * TableRow.cs: Simplify check when adding controls.
6448 2005-07-18 Chris Toshok <toshok@ximian.com>
6450 * CompareValidator.cs: wtf, just use the base class's methods.
6452 2005-07-18 Chris Toshok <toshok@ximian.com>
6454 * CompareValidator.cs: do comparisons based on
6455 BaseCompareValidator.Type.
6457 2005-07-18 Chris Toshok <toshok@ximian.com>
6459 * CompareValidator.cs: initial implementation.
6461 2005-07-18 Chris Toshok <toshok@ximian.com>
6463 * RegularExpressionValidator.cs: initial implementation.
6465 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6467 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
6469 2005-07-18 Jackson Harper <jackson@ximian.com>
6471 * CheckBoxList.cs: Implement LoadPostBackData. Also register
6472 checkboxes for postback if they are checked so we can find
6473 out when they are unchecked. Copy the AutoPostBack variable
6474 to the to be rendered checkbox when rendering.
6476 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6478 * TextBox.cs: Finish this up.
6480 * AdRotator.cs: Fix issues in the test suite. Minor style
6483 * Repeater.cs: Fix a bug where the datasource is null and we do
6486 * WebColorConverter.cs: Optimize by not doing a concat on a
6489 2005-07-17 Ben Maurer <bmaurer@ximian.com>
6491 * ListItemCollection.cs: Multiple uses of equals rather than
6492 string.compare as below. Remove unreachable code warning.
6494 * WebColorConverter.cs (ConvertTo): Use the == operator on string
6495 rather than an invariant non-case ignoring compare. They are
6496 exactly the same thing. Use proper coding style in this method.
6498 * WebControl.cs: Return null when saving the view state if there
6499 is no state in any of the things we save. This creates a fairly
6500 large savings, because we can avoid saving anything about many
6501 levels of deaply nested controls.
6503 2005-07-15 Jackson Harper <jackson@ximian.com>
6505 * CheckBoxList.cs: Use the index as the ID, the rest of the
6506 id is built by being in the NamingContainer.
6508 2005-07-15 Jackson Harper <jackson@ximian.com>
6510 * ListControl.cs: Use enum instead of string. Saves a lookup.
6512 2005-07-15 Jackson Harper <jackson@ximian.com>
6514 * CheckBoxList.cs: FindControl always returns 'this' according
6517 2005-07-15 Jackson Harper <jackson@ximian.com>
6519 * CheckBoxList.cs: New impl.
6521 2005-07-15 Jackson Harper <jackson@ximian.com>
6523 * WebControl.cs: Use the ClientID when rendering a controls ID
6524 attribute so that naming containers are honoured.
6526 2005-07-15 Jackson Harper <jackson@ximian.com>
6528 * ListControl.cs: use the state manager interface for tracking
6531 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6533 * Repeater.cs (DoItem): Add the DataItem before we call user
6534 methods, as it seems to be there with msft.
6536 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
6538 * BaseDataList.cs: New. (mostly complete) implementation.
6539 * DataKeyCollection.cs: New. Implementation (complete).
6540 * DataList.cs: New. (mostly incomplete) implementation.
6541 * DataListItem.cs: New. (mostly complete) implementation.
6542 * DataListItemCollection.cs: New. Implementation (complete).
6544 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6546 * Repeater.cs (DoItem): We need to .Add the control *before* we
6547 data bind it so that the state gets tracked correctly. Fixes the
6550 2005-07-15 Jackson Harper <jackson@ximian.com>
6552 * ListControl.cs: Simplify comparison.
6554 2005-07-15 Jackson Harper <jackson@ximian.com>
6557 * Repeater.cs: Use new utility class for resolving data sources.
6559 2005-07-15 Jackson Harper <jackson@ximian.com>
6561 * ListControl.cs: Add attributes so the sub items get parsed
6562 properly. Remove old unneeded code for resolving lists.
6564 2005-07-15 Jackson Harper <jackson@ximian.com>
6566 * ListControl.cs: Use the DataSourceHelper so DataMembers are
6569 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6572 - Some optimizations
6573 * Don't use enum formatting stuff, it is 1) expensive 2) does
6574 allocations. Use a new method in HtmlControl to do the right
6576 * Don't use Enum.IsDefined but an explicit check.
6577 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
6578 - Use the correct coding style.
6580 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6582 * WebColorConverter.cs:
6583 - Alpha of 255 is only set if the hex number is exactly 6 digits
6584 - Ben didn't like the catch { throw; } (even though MS documents to
6586 - Use Invariant Culture for parsing (thanks, Ben)
6588 2005-07-14 Jackson Harper <jackson@ximian.com>
6590 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
6591 code-reuse-arific. Also use the IStateManager interface for loading
6592 data instead of the old internal method.
6594 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6596 * WebColorConverter.cs: Implemented
6598 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6600 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
6602 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6604 * Repeater.cs: Get it working
6606 2005-07-14 Jackson Harper <jackson@ximian.com>
6608 * ListControl.cs: Initial implementation of Databinding. Make sure
6609 that the ListItemCollection is created when we load its ViewState.
6611 2005-07-14 Jackson Harper <jackson@ximian.com>
6613 * ListControl.cs: Fix typo.
6615 2005-07-14 Jackson Harper <jackson@ximian.com>
6617 * ListControl.cs: New Implementation. Lacks databinding support.
6619 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6621 * Repeater.cs: The beginnings of this control
6623 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6625 * TargetConverter.cs: Implemented
6627 2005-07-14 Duncan Mak <duncan@novell.com>
6629 * PagedDataSource.cs: Initial implementation.
6631 Methods that need to be figured out:
6632 CopyTo, GetItemProperties, PageCount, IsLastPage.
6634 To complete: CollectionEnumerator, ListEnumerator.
6636 2005-07-13 Duncan Mak <duncan@novell.com>
6638 * RepeatDirection.cs:
6640 * ValidationCompareOperator.cs:
6641 * ValidationDataType.cs:
6642 * ValidationSummaryDisplayMode.cs:
6643 * ValidatorDisplay.cs: Added remaining enumerations.
6645 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6647 * FontNamesConverter.cs: Implemented
6649 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6651 * RepeaterItem.cs: Compile fix
6653 * RepeaterItemCollection.cs: New file
6655 * RepeaterItem.cs: get OnBubbleEvent right.
6657 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6659 * ListItemCollection.cs: Count can be derived from the array, which
6660 allows us to use a Pair instead of a Triplet and save some space
6662 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6664 * RepeaterItem.cs: Stub
6666 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6668 * ListItemCollection.cs: Implemented
6669 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
6671 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6673 * RepeatInfo.cs: Impl.
6675 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6677 * FirstDayOfWeek.cs: Added
6679 2005-07-13 Jackson Harper <jackson@ximian.com>
6681 * ListBox.cs: Some parameter checking.
6683 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6685 * Image.cs: Added support for DescriptionUrl as this property was
6686 added in Fx 1.1 SP1.
6688 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6690 * Style.cs (AddAttributesToRender): Don't render attributes if they
6691 contain only their default value
6693 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6695 * Table.cs: New. Initial re-implementation.
6696 * TableCell.cs: New. Initial re-implementation.
6697 * TableCellCollection.cs: New. Initial re-implementation.
6698 * TableHeaderCell.cs: New. Initial re-implementation.
6699 * TableItemStyle.cs: New. Initial re-implementation.
6700 * TableRow.cs: New. Initial re-implementation.
6701 * TableRowCollection.cs: New. Initial re-implementation.
6702 * TableStyle.cs: New. Initial re-implementation.
6704 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6706 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
6707 unit tests (for Style) and more tests in Table* classes.
6709 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6711 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
6712 however IsEmpty returns false if any of their properties are set.
6713 Looks ugly but it's compatible with MS implementation (feature and
6716 2005-07-13 Dick Porter <dick@ximian.com>
6718 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
6719 null Text properties from the ViewState, test for TextAlign being
6720 out of range. All to make tests pass on both mono and ms
6723 2005-07-13 Jackson Harper <jackson@ximian.com>
6725 * ListBox.cs: Use invariant culture when doing a ToString,
6726 set value to the item's value, not to its Text.
6728 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6730 * WebControl.cs (AddAttributesToRender): Added ID to rendered
6733 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6735 * Style.cs(MergeWith): Handle null styles
6737 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
6739 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
6740 the #if NET_2_0 on it.
6742 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6744 * Style.cs: Only render font elements if fontinfo object exists
6746 - Implemented SaveViewState()
6747 - Added loading of Style to LoadViewState
6748 - Implemented IAttributeAccessor methods
6750 2005-07-12 Jackson Harper <jackson@ximian.com>
6752 * ListBox.cs: Even track default values in the viewstate. Call
6753 base's RenderContents.
6755 2005-07-12 Jackson Harper <jackson@ximian.com>
6757 * ListBox.cs: New impl.
6759 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6762 - Implemented methods
6765 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6767 * ListItem.cs: New impl.
6769 2005-07-12 Duncan Mak <duncan@novell.com>
6771 * DayNameFormat.cs: Added.
6773 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6775 * WebControl.cs: Implemented properties
6777 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6779 * TextBox.cs: Passwords seem 1) not to be rendered to the client
6780 if set, 2) not kept in view state (for security reasons...)
6783 * Button.cs: Page.Validate () if needed. Gets the validator tests
6786 * TextBox.cs: Properties to get the validator stuff to work.
6788 2005-07-12 Miguel de Icaza <miguel@novell.com>
6790 * Unit.cs: If the units are pixels, then truncate the value.
6792 2005-07-12 Dick Porter <dick@ximian.com>
6794 * RadioButton.cs: New implementation
6796 * CheckBox.cs: Rearrange the attributes rendering to allow
6797 RadioButton to derive from this
6799 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6801 * TitleFormat.cs: Add attribute
6802 * TextBoxMode.cs: Add attribute
6803 * CalendarDay.cs: Initial implementation
6804 * ImageButton.cs: Initial implementation
6805 * CalendarSelectionMode.cs:Initial implementation
6807 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6809 * TextBoxMode.cs: simple enum
6810 * TitleFormat.cs: simple enum
6812 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6814 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
6816 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6818 * FontUnit.cs: Added TypeConverter attribute to class
6819 * FontUnitConverter.cs: Implemented
6821 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6824 * Button.cs: Bubble the Command event.
6826 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6829 - Clean up style (with my wonderful state bag hack!)
6830 - Fix a view state typo.
6831 - Use AddAttributesToRender
6832 - Don't add an extra <span>
6834 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6836 * Style.cs: Handle null constructor argument for bag
6838 2005-07-11 Dick Porter <dick@ximian.com>
6840 * CheckBox.cs: New implementation
6842 * RadioButton.cs: Initial stubbed version that just compiles
6844 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
6846 * Button.cs: Initial Button implementation
6848 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
6850 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
6852 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6854 * HorizontalAlign.cs: Typo in header.
6855 * VerticalAlign.cs: New. Required enum for TableRow control.
6857 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6859 * TextBox.cs: More work on this
6861 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6863 * GridLines.cs: New. Required enum for Table control.
6864 * HorizontalAlign.cs: New. Required enum for Table control.
6866 2005-07-09 Duncan Mak <duncan@novell.com>
6868 * CommandEventHandler.cs:
6869 * DataGridCommandEventHandler.cs:
6870 * DataGridItemEventHandler.cs:
6871 * DataGridPageChangedEventHandler.cs:
6872 * DataGridSortCommandEventHandler.cs:
6873 * DataListCommandEventHandler.cs:
6874 * DayRenderEventHandler.cs:
6875 * RepeaterCommandEventHandler.cs:
6876 * ServerValidateEventHandler.cs: Add delegates.
6879 * ListSelectionMode.cs:
6880 * NextPrevFormat.cs:
6882 * PagerPosition.cs: Add enums.
6884 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6886 * TextBox.cs: Add the work I did on this today. It's not complete
6887 yet, but its a start!
6889 2005-07-09 Duncan Mak <duncan@novell.com>
6891 * CommandEventArgs.cs:
6892 * DataGridCommandEventArgs.cs:
6893 * DataGridItemEventArgs.cs:
6894 * DataGridPageChangedEventArgs.cs:
6895 * DataGridSortCommandEventArgs.cs:
6896 * DataListCommandEventArgs.cs:
6897 * DataListItemEventArgs.cs:
6898 * DayRenderEventArgs.cs:
6899 * RepeaterCommandEventArgs.cs:
6900 * RepeaterItemEventArgs.cs:
6901 * ServerValidateEventArgs.cs: Implemented.
6903 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
6905 * Image.cs: New. Image class implementation.
6906 * ImageAlign.cs: New. ImageAlign enum definitions.
6908 2005-07-08 Jackson Harper <jackson@ximian.com>
6910 * Literal.cs: New implentation.
6911 * MonthChangedEventArgs.cs: new
6912 * MonthChangedEventHandler.cs: new
6914 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6916 * LinkButton.cs: Command impl
6918 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6920 * LinkButton.cs: Initial impl
6922 2005-07-08 Jackson Harper <jackson@ximian.com>
6924 * AdCreatedeventArgs.cs: New implementation.
6926 2005-07-08 Dick Porter <dick@ximian.com>
6929 * BorderStyle.cs: Added
6931 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6933 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
6935 2005-07-07 Miguel de Icaza <miguel@novell.com>
6937 * Xml.cs: New implementation. R00lz.
6939 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6941 * FontInfo.cs: Added and implemented.
6942 * Style.cs: Fixed behaviour discrepancies showed by tests
6944 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6946 * PlaceHolderControlBuilder.cs: new file
6948 * LabelControlBuilder.cs: New file
6950 * HyperLink.cs: use control builder; fix parsing stuff
6952 * HyperLinkControlBuilder.cs: new file
6954 * Panel.cs: misc fixes
6956 2005-07-07 Miguel de Icaza <miguel@novell.com>
6958 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
6960 * UnitConverter.cs: Add new file, learned from the
6961 System.Drawing.ColorConverter.
6963 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6965 * PlaceHolder.cs: New file. Seems to do nothing
6967 * Label.cs: Use my new statebag trick to reduce typing
6969 * HyperLink.cs: New file
6971 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6973 * Style.cs: Added and implemented.
6975 2005-07-06 Miguel de Icaza <miguel@novell.com>
6977 * FontUnit.cs: New file.
6979 * Unit.cs: New file.
6981 Added support for null and empty string constructors.
6983 2005-07-06 Ben Maurer <bmaurer@ximian.com>
6985 * Unit.cs: cctor not needed; static fields are 0 init'd by default
6987 * WebControl.cs: Kothari & Datye's book explains how these work.
6989 * IRepeatInfoUser.cs: Reimpl.
6991 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6993 * WebControl.cs: Added stub
6995 2005-07-05 Miguel de Icaza <miguel@novell.com>
6997 * Label.cs: First control.
6999 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
7001 * DataControlField.cs: Ignore the ShowHeader property when
7002 building the control's content. It is the resposability of
7003 the field container to decide if the header should be shown
7006 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
7009 * ImageFieldMode.cs:
7010 * DynamicImageParameterMode.cs:
7011 * TableViewMode.cs: Removed.
7015 * TableRowSection.cs:
7016 * AutoCompleteType.cs:
7017 * DayNameFormat.cs: Track changes in 2.0 api.
7019 * StringArrayConverter.cs: This class is 2.0 only.
7021 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
7025 * DetailsView.cs: Bind the control after creating all child
7027 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
7028 the correct methods.
7029 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
7030 in this class. This is done in DataBoundControl. All this fixes
7033 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7035 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
7036 FindByText. Closes bug #74205.
7038 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7040 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
7041 1 when there's a datasource and 0 pages. Closes bug #73864.
7043 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
7050 * MenuItemTemplateContainer.cs:
7051 * DetailsView.cs: Track changes in the IDataItemContainer interface.
7053 * CommandField.cs: Added CausesValidation property. Set that
7054 property value to all buttons of the field.
7056 * SqlDataSourceView.cs:
7057 * CollectionDataSource.cs:
7058 * XmlDataSourceView.cs: Properly initialize the base class.
7060 * SiteMapDataSource.cs:
7061 * SiteMapHierarchicalDataSourceView.cs:
7062 * SiteMapNodeItem.cs:
7063 * SiteMapDataSourceView.cs:
7064 * SiteMapPath.cs: Mostly implemented.
7066 * HierarchicalDataBoundControl.cs: Always bind the control when the
7067 page is loaded for the first time.
7069 * TreeView.cs: Properly bind the control when loaded from a callback.
7071 2005-05-21 Ben Maurer <bmaurer@ximian.com>
7073 * BaseDataList.cs: Caption is in 1.1 too, though not
7074 documented. Gonz owes me [more] ice cream. Yummmmm.
7076 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7078 * BaseDataList.cs: implemented 2.0 Caption property.
7080 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
7082 * TreeView.cs: Always render the startup script. This fixes
7085 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
7087 * WizardStepBase.cs:
7088 * WizardStep.cs: Added missing attributes.
7089 * Wizard.cs: Implemented missing methods and properties. It can now
7090 be considered feature complete.
7092 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7094 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
7095 the method if the data source was en empty IEnumerator. Fixes
7098 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
7102 * Menu.cs: Implemented some new properties from beta 2.
7104 * DataControlButton.cs: Render the ControlStyle if it
7108 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
7109 It will now generate an object creation, instead of a Parse call.
7111 * GridViewCommandEventArgs.cs: Added missing property.
7112 * SubMenuStyleCollection.cs: This class is not sealed.
7113 * MultiView.cs: Set Visible=false to all views that are not
7114 shown. This ensures that it's view state is saved.
7116 * BaseDataBoundControl.cs:
7117 * GridViewDeletedEventArgs.cs: Minor api fixes.
7119 * FormViewDeleteEventArgs.cs:
7120 * DetailsViewDeletedEventArgs.cs:
7121 * ListControl.cs: Fix warnings.
7125 * HotSpotCollection.cs
7128 * RectangleHotSpot.cs
7129 * WizardStepCollection.cs : Implemented.
7133 * Wizard.cs: Initial implementation.
7135 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
7137 * DataControlField.cs:
7141 * DataControlCommands.cs:
7142 * DetailsView.cs: Use constants to identify commands.
7144 * SubMenuStyle.cs: Use Unit instead of int for padding.
7145 * SubMenuStyleCollection.cs: Implemented.
7148 * Menu.cs: Added some missing methods and properties.
7151 * DataGridPagerStyle.cs: Fixed default value attributes.
7152 * ListControl.cs: Implemented IEditableTextControl interface.
7154 * MenuItemBinding.cs: Added Selectable property.
7155 * CustomValidator.cs: removed interface.
7157 * MenuItem.cs: Added support for custom binding.
7158 * DropDownList.cs: Moved text properties to base class.
7160 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7162 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
7164 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7166 * Calendar.cs: when the day is active, modify the text of the literal
7167 control that holds the number, not the text of the TableCell. Also call
7168 OnDayRender before updating that text. Fixes bug #74718.
7170 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
7172 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
7174 * DataControlFieldHeaderCell.cs: Save Scope in view state.
7175 Added AbbreviatedText property.
7176 * AutoGeneratedField.cs: The constructor should actually be internal.
7177 * DataGridItem.cs: Added implemented interface in 2.0.
7178 * DataControlFieldCollection.cs: Implemented CloneFields and
7182 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7184 * StringArrayConverter.cs:
7185 * Calendar.cs: warnings.
7187 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
7189 * FormViewDeleteEventArgs.cs:
7190 * FormViewInsertEventArgs.cs:
7191 * FormViewUpdateEventArgs.cs:
7192 * FormViewDeletedEventArgs.cs:
7193 * FormViewUpdatedEventArgs.cs:
7194 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
7197 * IButtonControl.cs:
7198 * Button.cs: Removed SoftKey property.
7200 * CheckBox.cs: Don't try to load post back data if the control
7204 * AutoGeneratedField.cs:
7205 * DataControlField.cs:
7207 * ButtonFieldBase.cs:
7211 * ButtonField.cs: Don't bind fields in Insert state.
7212 Implemented CreateField and CopyProperties.
7215 * DetailsView.cs: Removed some unneeded interfaces. Don't
7216 generate the field rows if there are no items in the data source.
7217 Don't get the current keys until the whole control has been
7220 * DetailsViewInsertedEventArgs.cs:
7221 * DataBoundControl.cs:
7222 * ObjectDataSourceView.cs: Made some methods private.
7225 * Menu.cs: Changed some properties from int to Unit.
7227 * DataControlButton.cs: javascript prefix is needed when raising
7228 the postback event from a link.
7230 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
7231 The result was wrong when the total data source count was 0.
7233 * FormView.cs: Implemented.
7234 * FormViewRow.cs: Implemented.
7237 * Localize.cs: Fixed base interface.
7239 * BaseDataBoundControl.cs: In DataBind() call the base class
7240 DataBind method, so the binding context is properly set.
7242 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
7244 * DetailsView.cs: Added some null checks.
7245 * TemplateField.cs: Implemented support for two-way bindings.
7247 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
7249 * DetailsView.cs: Implemented support for Insert operation.
7250 Added header and footer templates. Added missing style
7252 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
7253 to get filter values. Other minor fixes.
7254 * CommandField.cs: Properly render the Insert and New buttons.
7255 * ObjectDataSource.cs: Update the parameter collections after
7256 the page is loaded. This will fire the ParameterChanged event
7258 * DataBoundControl.cs: The OnDataSourceViewChanged method
7259 is called when the view changes, not when the datasource
7262 * DetailsViewInsertedEventArgs.cs:
7263 * DetailsViewInsertEventArgs.cs: Implement Values property.
7266 * AutoGeneratedField.cs
7269 Take into account the Insert mode.
7271 * ParameterCollection.cs: Implemented UpdateValues and fixed
7272 GetValues (values can't be cached because can change).
7273 * Parameter.cs: Detect value changes in GetValue, and fire
7274 the change event if needed. Removed unused ParameterValue
7275 property. Other fixes.
7277 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
7279 * DetailsView.cs: Initial implementation.
7280 * ObjectDataSourceView.cs: Notify changes in the parameters.
7281 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
7282 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
7283 Implemented some properties.
7284 * GridView.cs: Added null check in SelectedValue. Don't return null
7285 for empty DataKeyNames list.
7286 * DetailsViewRowCollection.cs: Implemented.
7287 * DetailsViewRow.cs: Implemented.
7288 * ButtonFieldBase.cs: By default button field don't have headers.
7289 * BoundField.cs: Don't bind header fields.
7291 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
7293 * ButtonField.cs: Get data item properties using TypeDescriptor.
7294 Made OnDataBindField private.
7295 * ObjectDataSourceView.cs: Implemented support for Delete and
7296 Insert operations, support for filtering and sorting,
7297 conflict detection, etc. It's now complete.
7298 * ObjectDataSource.cs: Completed most of functionality. Only
7299 caching support is missing.
7300 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
7301 * TreeNode.cs: Get data item properties using TypeDescriptor.
7302 * PagerSettings.cs: Flush.
7303 * ObjectDataSourceFilteringEventArgs.cs: New event args.
7304 * GridView.cs: Get data item properties using TypeDescriptor
7305 and cache them. Properly set descending order in the sort
7306 expression. In UpdateRow, make sure we get the old values
7307 before the control is bound again.
7308 * ImageField.cs: Implemented.
7309 * AutoGeneratedField.cs: Initialize the field's sort
7310 expression in the constructor.
7311 * MenuItem.cs: Get data item properties using TypeDescriptor.
7312 * BoundField.cs: Get data item properties using TypeDescriptor.
7313 * CheckBoxField.cs: Added missing attributes.
7314 * TemplateField.cs: Implemented.
7316 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7319 * FontUnitConverter.cs: fixed ConvertTo to work with target
7320 InstanceDescriptor and value as a string.
7322 * Unit.cs: culture might be null.
7326 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
7328 * ButtonField.cs: Mostly implemented.
7329 * DataControlFieldHeaderCell.cs: Implemented.
7330 * ObjectDataSourceView.cs: Initial implementation.
7331 * DataControlButton.cs: Added support for real buttons.
7332 * Label.cs, DataControlField.cs: Flush.
7333 * ObjectDataSource.cs: Initial implementation.
7334 * HiddenField.cs: Added class stub.
7335 * GridView.cs: Load autogenerated field properties before
7336 creating the children, to make sure that column info is ready.
7337 * ControlParameter.cs: Implemented Evaluate method.
7338 * ImageField.cs: Added class stub.
7339 * BoundField.cs: Added HtmlEncode property.
7340 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
7342 * CheckBoxField.cs: Mostly implemented.
7343 * TemplateField.cs: Added class stub.
7344 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
7345 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
7346 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
7348 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
7350 * DataControlField.cs: Added missing InsertVisible property.
7351 * AutoGeneratedFieldProperties.cs: Implemented.
7352 * PagerSettings.cs: Minor fix.
7353 * GridView.cs: Implemented support for autogenerated fields, templates,
7354 accessible headers. Implemented paging using PagedDataSource.
7355 Implemented missing overridable methods.
7356 * AutoGeneratedField.cs: Initial implementation.
7357 * BoundField.cs: Added ReadOnly property.
7358 * PagedDataSource.cs: Implemented 2.0 api.
7359 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
7360 cell class to be used by accessible headers.
7361 * TableCell.cs: Removed unneded constructor. If the cell is bound to
7362 a template, call the default RenderContents method.
7364 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7366 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
7367 event when loading the view state. Fixes #73746.
7369 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7371 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
7373 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
7375 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
7377 * CommandField.cs: Mostly implemented.
7378 * Menu.cs: Use callback methods moved to ClientScriptManager.
7379 * DataControlButton.cs: Internal control used to implement buttons
7380 for navigating in data bound controls.
7381 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
7382 to render the column headers.
7383 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
7384 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
7385 Don't use Page.GetPostBackClientEvent
7386 since it is deprecated in 2.0.
7387 * GridView.cs: Implemented some several interfaces.
7388 Implemented support client sorting and page navigation (using callbacks).
7389 Implemented the autogenerated command column using the new CommandField
7391 * ButtonFieldBase.cs: Implemented.
7392 * GridView.js: New helper script to support client side sorting and
7393 paging in the grid view.
7395 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
7397 * DataKey.cs: Implemented.
7398 * XmlDataSourceView.cs: Implemented support for row pagging.
7399 * Table.cs: Fixed attribute value.
7400 * DataControlField.cs: Added support for sorting headers.
7401 * ChildTable.cs: Created.
7402 * ListControl.cs: Delay selection assignment, since control state
7403 is now loaded before view state.
7404 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
7405 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
7406 several missing properties.
7407 * PagerSettings.cs: Fully implemented.
7408 * BaseDataList.cs: Added null check.
7409 * GridView.cs: Implemented more functionality.
7410 * BoundField.cs: Added support for cell editing.
7411 * StringArrayConverter.cs: Implemented.
7412 * DataKeyArray.cs: Implemented.
7413 * BaseDataBoundControl.cs: Reset the requires binding flag before
7414 executing the query. This avoids recursive query calls.
7415 * GridViewRow.cs: Handler commands raised from row childs.
7417 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
7419 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
7420 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
7421 it is possible to query for properties fore each data item.
7422 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
7423 when loading its view state.
7424 * DataControlField.cs: Implement properties using a StateBag.
7425 * XmlDataSourcePropertyDescriptor.cs: Implemented.
7426 * PagerSettings.cs: Mostly implemented.
7427 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
7428 * DataBoundControl.cs: Added null check.
7429 * GridView.cs: Initial implementation.
7430 * CompositeDataBoundControl.cs: Implemented.
7431 * BoundField.cs: Initial implementation.
7432 * GridViewRowCollection.cs: Initial implementation.
7433 * DataControlFieldCollection.cs: Initial implementation.
7434 * DataControlFieldCell.cs: Fixed control tag.
7435 * GridViewRow: Initial implementation.
7436 * XmlDataSourceNodeDescriptor.cs: Implemented.
7438 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7440 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
7441 is zero, use the TagName no matter its value. Fixes bug #72415.
7443 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
7445 * Style.cs: Method name fix.
7446 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
7447 * BaseCompareValidator.cs: Method signature fix.
7448 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
7449 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
7450 * BulletedList.cs: Added missing method.
7451 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
7453 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
7455 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
7456 * RadioButton.cs: Added missing 2.0 methods.
7457 * ListItem.cs: Added Enabled property.
7458 * MailMessageEventArgs.cs: Use the correct message class.
7459 * ListControl.cs: Implemented missing properties and support for
7460 control state. Implemented base RenderContents method.
7461 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
7463 * BaseCompareValidator.cs: Implemented methods that support conditional
7464 use of the invariant culture.
7465 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
7466 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
7467 It takes a DbCommand instead of a IDbCommand.
7468 * GridViewSortEventArgs.cs: Added SortDirection property.
7469 * TextBox.cs, CheckBoxList.cs: Added protected version of
7470 IPostBackDataHandler methods.
7471 * RadioButtonList.cs: Added protected version of
7472 IPostBackDataHandler and IRepeatInfoUser methods.
7473 * Repeater.cs: Updated some method names.
7474 * DropDownList.cs: Added protected version of
7475 IPostBackDataHandler methods. Reuse RenderContents from base class.
7476 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
7477 * GridViewUpdatedEventArgs.cs: Fix typo.
7478 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
7479 Reuse RenderContents from base class.
7480 * BaseDataBoundControl.cs: Several fixes.
7481 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
7483 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7485 * CheckBoxList.cs: Fix build.
7487 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7489 * Button.cs: Use validation group when validating page.
7490 * XmlDataSourceView.cs: Implemented ExecuteSelect.
7491 * Menu.cs: Minor fix.
7492 * CheckBox.cs: Added 2.0 properties and methods.
7493 * BaseDataList.cs: Always databind the control if view state
7495 * DataList.cs: In 2.0, use control state to save the selected index.
7496 * DetailsViewUpdatedEventArgs.cs: Fix typo.
7497 * CustomValidator.cs: Implement IStaticTextControl interface.
7498 * CheckBoxList.cs: Added missing 2.0 methods.
7499 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
7501 * XmlDataSource.cs: Return childs of DocumentElement, not the root
7503 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
7504 Implemented 2.0 API.
7507 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
7509 * Button.cs: Implemented all missing 2.0 features.
7510 * Table.cs: Render the table caption, when specified.
7511 * Calendar.cs: Implemented most of missing 2.0 features.
7512 * TableCell.cs: Fixed attributes.
7514 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7516 * ControlPropertyNameConverter.cs: Added file.
7518 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7520 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
7521 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
7522 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
7523 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
7524 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
7525 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
7526 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
7527 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
7528 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
7529 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
7530 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
7531 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
7532 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
7533 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
7534 DataGridSortCommandEventArgs.cs, Repeater.cs,
7535 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
7536 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
7537 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
7538 CompareValidator.cs, HierarchicalDataBoundControl.cs,
7539 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
7540 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
7541 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
7542 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
7543 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
7544 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
7545 AdCreatedEventArgs.cs:
7547 General 2.0 API fixes: missing attributes, incorrect inheritance,
7548 missing sealed keywords, wrong signatures, etc.
7550 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
7552 * Table.cs: Added some 2.0 properties.
7553 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
7555 * BaseValidator.cs: Fix warning.
7556 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
7558 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
7560 * Menu.cs: Rendering fixes.
7562 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
7564 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
7565 ContentPlaceHolderBuilder.cs: Implemented.
7567 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7569 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
7570 attributes that are meant to be in the input tag in their place.
7572 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
7574 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
7575 generates invalid html).
7577 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
7579 * Menu.cs: Implemented most of missing properties. Added support for
7580 item templates. Implemented menu scrolling.
7581 * MenuItemBinding.cs: Implemented most of missing properties.
7582 * MenuItem.cs: Implemented most of missing properties.
7583 * Menu.js: Implemented scrolling and menu reposition into screen.
7584 * MenuItemTemplateContainer.cs: Implemented.
7585 * SubMenuStyle.cs: Implemented.
7587 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
7589 * Style.cs: Implemented RegisteredCssClass property. Added
7590 CopyTextStylesFrom method, which copies styles that only apply to text.
7591 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
7592 in the page stylesheet. Added support for ItemSpacing property.
7593 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
7595 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
7597 * Style.cs: Generate styles using a CssStyleCollection, so the code can
7598 be reused for the 2.0 FillStyleAttributes method.
7599 * Menu.cs: Implemented more properties and events. Rendering is very
7601 * MenuItem.cs: Added PopOutImageUrl property.
7602 * Menu.js: More work on submenu management.
7604 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
7606 * Menu.cs: Implemented basic rendering. Added some missing properties.
7607 * MenuItem.cs: Improved implementation of Depth.
7608 * Unit.cs: Added serializable attribute.
7609 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
7610 so it can be reused.
7611 * Menu.js: New script to support he Menu control.
7613 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
7615 * MenuEventArgs.cs: Changed to sealed.
7616 * TreeView.cs: Minor fix.
7617 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
7618 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
7619 MenuItemStyleCollection.cs: Initial Menu code.
7621 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
7623 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
7624 Implemented SetDirtyObject.
7625 * Style.cs: Implemented SetDirty().
7626 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
7627 * TreeNode.cs: Added missing attributes added support for
7628 PopulateOnDemand. Added some missing property bindings.
7629 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
7630 to newly added elements to make sure al new data is saved.
7631 * TreeView.js: Implemented support for client population of nodes.
7632 * TreeNodeStyle.cs: Added missing attributes.
7633 * TreeView.cs: Implemented support for PopulateNodesFromClient and
7634 PopulateOnDemand. Improved rendering.
7636 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
7638 * DataControlField.cs:
7639 * DataControlFieldCell.cs: Initial implementation.
7641 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
7643 * TreeNodeBindingCollection.cs: Implemented.
7644 * TreeNodeBinding.cs: Implemented.
7645 * TreeNode.cs: Added support for data binding.
7646 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
7647 TreeView_Default_NoExpand.gif: Moved to resources directory.
7648 * ListControl.cs: Fixed api.
7649 * XmlHierarchicalEnumerable.cs: Made internal.
7650 * DataBoundControl.cs: Modified api to match latest ms.net.
7651 * TreeView.js: New javascript file to support TreeView in the client.
7652 * XmlDataSource.cs: Added missing attributes.
7653 * HierarchicalDataBoundControl.cs: Mostly implemented.
7654 * BaseDataBoundControl.cs: Mostly implemented.
7655 * XmlHierarchyData.cs: Made internal.
7656 * TreeView.cs: Mostly implemented. The major missing feature is
7657 client side tree population.
7659 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
7662 * DataBountControl.cs:
7663 * Repeater.cs: Added SelectArguments property and updated.
7664 * SiteMapDataSourceView.cs:
7665 * SqlDataSourceView.cs:
7666 * XmlDataSourceView.cs: Removed extra method, which was there to
7667 keep things compiling.
7669 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
7671 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
7672 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
7673 TreeView.cs: Initial implementation.
7674 * DataBoundControl.cs: Set the correct base class.
7675 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
7676 * TreeNodeSelectAction.cs: Formatting.
7677 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
7678 TreeView_Default_NoExpand.gif: TreeView images.
7680 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
7682 * SqlDataSourceView.cs: Updated methods and added one property.
7684 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7686 * AccessDataSource.cs:
7687 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
7688 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7690 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
7691 * SqlDataSourceView.cs: Updated constructor.
7693 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7695 * AccessDataSourceView.cs: Added new class.
7697 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7699 * SqlDataSourceView.cs: Corrected exception handling in
7700 ExecuteSelect method.
7702 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
7704 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
7705 * SiteMapDataSourceView.cs: Minor fix.
7707 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7709 * SqlDataSourceView.cs: Updated ExecuteSelect method.
7711 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7713 * SqlDataSource.cs: Corrected Select method.
7715 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7717 * SqlDataSource.cs: Updated Select method definition.
7718 * SqlDataSourceStatusEventArgs.cs: Updated class.
7720 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
7722 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
7723 from DataSourceView.cs).
7725 2004-11-10 Raja R Harinath <rharinath@novell.com>
7727 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
7729 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
7731 * SqlDataSource.cs: Corrected method calls.
7732 * SqlDataSourceView.cs: Partial implementation of few methods.
7734 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7736 * ListItemCollection.cs: fixed bug when indexing changed elements in
7737 LoadViewState. Patch from Alois Bělaška.
7739 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
7741 * SiteMapDataSourceView.cs:
7742 * SqlDataSourceView.cs:
7743 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
7744 base class, DataSourceView. Changes are to keep things compiling.
7746 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
7748 * SiteMapDataSourceView.cs: Corrected class definition and updated.
7749 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
7752 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
7754 * AdRotator.cs: Updated.
7756 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
7758 * AccessDataSource.cs: Updated.
7760 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7762 * ValidatedControlConverter.cs: Updated.
7764 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7766 * AssociatedControlConverter.cs: Implemented.
7768 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7770 * ControlIDConverter.cs: Initial implementation.
7772 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7774 * IButtonControl.cs: Corrected property name.
7776 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7778 * ParameterCollection.cs: Updated.
7780 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7782 * Parameter.cs: Updated and completed implementation.
7784 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7786 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
7789 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7791 * AccessDataSource.cs: Initial implementation.
7793 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
7795 * DataControlRowState.cs:
7797 * TreeNodeTypes.cs: Added attribute.
7798 * DataControlRowType.cs:
7800 * SortDirection.cs: Corrected enumeration values.
7801 * TableRowSection.cs: Added new enumeration.
7802 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
7804 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7806 * TableStyle.cs: don't render empty 'rules' attribute (again).
7808 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
7810 * FormViewUpdatedEventArgs.cs: Spelling mistake.
7812 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
7814 * Literal.cs: Added new method Focus().
7816 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7818 * RadioButton.cs: fix GroupName when the control is inside a
7819 NamingContainer different from Page. Closes bug #65586.
7821 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
7823 * Localize.cs: Added new class.
7825 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
7827 * CompositeControl.cs : Completed
7828 * Login.cs : Initial implementation.
7830 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7832 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
7833 don't call MapPathSecure on the content itself.
7835 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
7836 document is checked at parse time and will be checked again at run time.
7840 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
7842 * AuthenticateEventHandler.cs:
7843 * CreateUserErrorEventArgs.cs:
7844 * CreateUserErrorEventHandler.cs:
7845 * DetailsViewCommandEventHandler.cs:
7846 * DetailsViewDeleteEventArgs.cs:
7847 * DetailsViewDeleteEventHandler.cs:
7848 * DetailsViewDeletedEventArgs.cs:
7849 * DetailsViewDeletedEventHandler.cs:
7850 * DetailsViewInsertEventArgs.cs:
7851 * DetailsViewInsertEventHandler.cs:
7852 * DetailsViewInsertedEventArgs.cs:
7853 * DetailsViewInsertedEventHandler.cs:
7854 * DetailsViewModeEventArgs.cs:
7855 * DetailsViewModeEventHandler.cs:
7856 * DetailsViewPageEventHandler.cs:
7857 * DetailsViewUpdateEventArgs.cs:
7858 * DetailsViewUpdateEventHandler.cs:
7859 * DetailsViewUpdatedEventArgs.cs:
7860 * DetailsViewUpdatedEventHandler.cs:
7861 * FormViewCommandEventHandler.cs:
7862 * FormViewDeleteEventArgs.cs:
7863 * FormViewDeleteEventHandler.cs:
7864 * FormViewDeletedEventArgs.cs:
7865 * FormViewDeletedEventHandler.cs:
7866 * FormViewInsertEventArgs.cs:
7867 * FormViewInsertEventHandler.cs:
7868 * FormViewInsertedEventArgs.cs:
7869 * FormViewInsertedEventHandler.cs:
7870 * FormViewModeEventHandler.cs:
7871 * FormViewPageEventHandler.cs:
7872 * FormViewUpdateEventArgs.cs:
7873 * FormViewUpdateEventHandler.cs:
7874 * FormViewUpdatedEventArgs.cs:
7875 * FormViewUpdatedEventHandler.cs:
7876 * GridViewCancelEditEventArgs.cs:
7877 * GridViewCancelEditEventHandler.cs:
7878 * GridViewCommandEventHandler.cs:
7879 * GridViewDeleteEventArgs.cs:
7880 * GridViewDeleteEventHandler.cs:
7881 * GridViewDeletedEventArgs.cs:
7882 * GridViewDeletedEventHandler.cs:
7883 * GridViewEditEventHandler.cs:
7884 * GridViewPageEventHandler.cs:
7885 * GridViewRowEventHandler.cs:
7886 * GridViewSelectEventHandler.cs:
7887 * GridViewSortEventArgs.cs:
7888 * GridViewSortEventHandler.cs:
7889 * GridViewUpdateEventArgs.cs:
7890 * GridViewUpdateEventHandler.cs:
7891 * GridViewUpdatedEventArgs.cs:
7892 * GridViewUpdatedEventHandler.cs:
7893 * ImageMapEventHandler.cs:
7894 * MailMessageEventHandler.cs:
7895 * MenuEventHandler.cs:
7896 * ObjectDataSourceDisposingEventHandler.cs:
7897 * ObjectDataSourceEventHandler.cs:
7898 * ObjectDataSourceMethodEventArgs.cs:
7899 * ObjectDataSourceMethodEventHandler.cs:
7900 * ObjectDataSourceSelectingEventArgs.cs:
7901 * ObjectDataSourceSelectingEventHandler.cs:
7902 * ObjectDataSourceStatusEventArgs.cs:
7903 * ObjectDataSourceStatusEventHandler.cs:
7904 * SendMailErrorEventHandler.cs:
7905 * SiteMapNodeItemEventHandler.cs:
7906 * SqlDataSourceSelectingEventArgs.cs:
7907 * SqlDataSourceSelectingEventHandler.cs:
7908 * TreeNodeEventHandler.cs:
7909 * WizardNavigationEventArgs.cs:
7910 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
7911 corrections and removing "sealed" access specifier from *EventHandler.cs
7913 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
7915 * Literal.cs: Added new attributes and property for .Net 2.0
7917 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
7919 * GridViewDeleteEventArgs.cs: Removed extra code.
7921 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
7923 * SendMailErrorEventArgs.cs:
7924 * SendMailErrorEventHandler.cs:
7925 * SiteMapNodeItemEventArgs.cs:
7926 * SiteMapNodeItemEventHandler.cs:
7927 * SqlDataSourceSelectingEventArgs.cs:
7928 * SqlDataSourceSelectingEventHandler.cs:
7929 * TreeNodeEventArgs.cs:
7930 * TreeNodeEventHandler.cs:
7931 * WizardNavigationEventArgs.cs:
7932 * WizardNavigationEventHandler.cs: Added new delegates.
7934 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7936 * ImageMapEventArgs.cs:
7937 * ImageMapEventHandler.cs:
7938 * MailMessageEventArgs.cs:
7939 * MailMessageEventHandler.cs:
7941 * MenuEventHandler.cs:
7942 * ObjectDataSourceDisposingEventArgs.cs:
7943 * ObjectDataSourceDisposingEventHandler.cs:
7944 * ObjectDataSourceEventArgs.cs:
7945 * ObjectDataSourceEventHandler.cs:
7946 * ObjectDataSourceMethodEventArgs.cs:
7947 * ObjectDataSourceMethodEventHandler.cs:
7948 * ObjectDataSourceSelectingEventArgs.cs:
7949 * ObjectDataSourceSelectingEventHandler.cs:
7950 * ObjectDataSourceStatusEventArgs.cs:
7951 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
7953 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7955 * DetailsViewCommandEventArgs.cs:
7956 * FormViewCommandEventArgs.cs:
7957 * GridViewCommandEventArgs.cs: Corrected constructor.
7959 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7961 * GridViewCancelEditEventArgs.cs:
7962 * GridViewCancelEditEventHandler.cs:
7963 * GridViewCommandEventArgs.cs:
7964 * GridViewCommandEventHandler.cs:
7965 * GridViewDeletedEventArgs.cs:
7966 * GridViewDeletedEventHandler.cs:
7967 * GridViewDeleteEventArgs.cs:
7968 * GridViewDeleteEventHandler.cs:
7969 * GridViewEditEventArgs.cs:
7970 * GridViewEditEventHandler.cs:
7971 * GridViewPageEventArgs.cs:
7972 * GridViewPageEventHandler.cs:
7973 * GridViewRowEventArgs.cs:
7974 * GridViewRowEventHandler.cs:
7975 * GridViewSelectEventArgs.cs:
7976 * GridViewSelectEventHandler.cs:
7977 * GridViewSortEventArgs.cs:
7978 * GridViewSortEventHandler.cs:
7979 * GridViewUpdatedEventArgs.cs:
7980 * GridViewUpdatedEventHandler.cs:
7981 * GridViewUpdateEventArgs.cs:
7982 * GridViewUpdateEventHandler.cs: Added new delegates.
7984 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7986 * FormViewUpdatedEventArgs.cs: Corrected constructor.
7988 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7990 * FormViewCommandEventArgs.cs: Corrected name of class.
7992 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7994 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
7997 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7999 * FormViewCommandEventArgs.cs:
8000 * FormViewCommandEventHandler.cs:
8001 * FormViewDeletedEventArgs.cs:
8002 * FormViewDeletedEventHandler.cs:
8003 * FormViewDeleteEventArgs.cs:
8004 * FormViewDeleteEventHandler.cs:
8005 * FormViewInsertedEventArgs.cs:
8006 * FormViewInsertedEventHandler.cs:
8007 * FormViewInsertEventArgs.cs:
8008 * FormViewInsertEventHandler.cs:
8009 * FormViewModeEventArgs.cs:
8010 * FormViewModeEventHandler.cs:
8011 * FormViewPageEventArgs.cs:
8012 * FormViewPageEventHandler.cs:
8013 * FormViewUpdatedEventArgs.cs:
8014 * FormViewUpdatedEventHandler.cs:
8015 * FormViewUpdateEventArgs.cs:
8016 * FormViewUpdateEventHandler.cs: Added new delegates.
8018 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
8020 * DetailsViewCommandEventArgs.cs:
8021 * DetailsViewCommandEventHandler.cs:
8022 * DetailsViewDeletedEventArgs.cs:
8023 * DetailsViewDeletedEventHandler.cs:
8024 * DetailsViewDeleteEventArgs.cs:
8025 * DetailsViewDeleteEventHandler.cs:
8026 * DetailsViewInsertedEventArgs.cs:
8027 * DetailsViewInsertedEventHandler.cs:
8028 * DetailsViewInsertEventArgs.cs:
8029 * DetailsViewInsertEventHandler.cs:
8030 * DetailsViewModeEventArgs.cs:
8031 * DetailsViewModeEventHandler.cs:
8032 * DetailsViewPageEventArgs.cs:
8033 * DetailsViewPageEventHandler.cs:
8034 * DetailsViewUpdatedEventArgs.cs:
8035 * DetailsViewUpdatedEventHandler.cs:
8036 * DetailsViewUpdateEventArgs.cs:
8037 * DetailsViewUpdateEventHandler.cs: Added new delegates.
8039 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
8041 * AuthenticateEventArgs.cs:
8042 * AuthenticateEventHandler.cs:
8043 * CreateUserErrorEventArgs.cs:
8044 * CreateUserErrorEventHandler.cs: Added new delegates.
8046 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
8048 * IButtonControl.cs:
8049 * ICallbackContainer.cs:
8050 * ICompositeControlDesignerAccessor.cs:
8051 * IPostBackContainer.cs: Added new interfaces.
8053 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
8056 * AutoCompleteType.cs:
8057 * ContentDirection.cs:
8058 * DataControlCellType.cs:
8059 * DataControlRowState.cs:
8060 * DataControlRowType.cs:
8061 * DetailsViewMode.cs:
8062 * DynamicImageParameterMode.cs:
8065 * ImageFieldMode.cs:
8072 * SiteMapNodeItemType.cs:
8073 * SiteMapNodeType.cs:
8074 * SiteMapViewType.cs:
8076 * TableCaptionAlign.cs:
8077 * TableHeaderScope.cs:
8079 * TreeNodeSelectAction.cs:
8081 * TreeViewImageSet.cs:
8082 * WizardStepType.cs: Added enumerations
8084 2004-08-02 Duncan Mak <duncan@ximian.com>
8087 * LoginFailureAction.cs:
8088 * LoginTextLayout.cs: Added enumerations.
8090 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8092 * BaseValidator.cs: in Validate(), when the control is not visible or
8093 enabled, return inmediately after setting IsValid to true. Fixes bug
8096 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8098 * DataList.cs: s/HasChildren/HasControls()/.
8100 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8102 * DataList.cs: style.
8104 2004-07-27 Alon Gazit <along@mainsoft.com>
8105 * DataList.cs: Replaced foreach statement with for statement,
8106 in order to improve performence.
8108 2004-07-27 Alon Gazit <along@mainsoft.com>
8109 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
8111 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
8112 switch statements in order to improve performance.
8114 2004-06-10 Alon Gazit <along@mainsoft.com>
8115 * WebControl.cs: fixed LoadViewState().
8116 Creates new attributes state bag only when the current is null.
8118 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8120 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
8122 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8124 * Calendar.cs: set the title class attribute if we have it. Fixes bug
8127 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8129 * Style.cs: added SetBit.
8131 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8134 * CompareValidator.cs:
8137 * WebControl.cs: Added protected missing members and attributes.
8139 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8141 * TextBox.cs: don't save the Text if in ViewState if it's a password.
8142 Save it if the control is not visible or not enabled. Fixes bug #58497.
8144 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8146 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
8149 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
8151 * SqlDataSourceCommandEventArgs:
8152 * XmlDataSource.cs : removed temporary workarounds for CLS
8153 compliance as System.Data is now CLS compliant
8155 2004-05-06 Alon Gazit <along@mainsoft.com>
8156 * WebControl.cs: fixed LoadViewState() and SaveViewState().
8157 Before the change the Enabled property wasn't updated when a postback
8159 * ListControl.cs: fixed SelectedIndex property implementation.
8160 Prevents throwing ArgumentOutOfRangeException (that should not be
8161 thrown), when the list is empty.
8163 2004-04-28 Alon Gazit <along@mainsoft.com>
8164 * WebControl.cs: fixed LoadViewState().
8165 Always loading the saved attributes collection.
8167 2004-04-18 Alon Gazit <along@mainsoft.com>
8168 * Repeater.cs: fixed InstantiateItem() and DataSource property.
8169 The change in DataSource prevents throwing ArgumentException while
8170 setting property value to null.
8171 The change in InstantiateItem() prevents NullReferenceException.
8173 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
8175 * BaseValidator.cs: Store Display property in the correct ViewState
8176 property. Don't render anything if Display is ValidatorDisplay.None.
8178 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
8180 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
8181 since it is already a physical path. Fixes bug #55334.
8183 2004-02-13 Jackson Harper <jackson@ximian.com>
8185 * Calendar.cs: Match MS postback data. This allows sites that
8186 parse the postback data manually to work.
8188 2004-02-04 Alon Gazit <along@mainsoft.com>
8189 * EditCommandColumn.cs: fixed InitializeCell().
8190 The rendered LiteralControl should contain " " and not " ".
8192 2004-02-01 Alon Gazit <along@mainsoft.com>
8194 * DataGrid.cs: fixed a problem in the paging mechanism in the method
8196 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
8197 while clicking the "..." link in the second page.
8199 2004-01-28 Alon Gazit <along@mainsoft.com>
8201 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
8203 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8205 * Calendar.cs: when rendering days, add a LiteralControl containing the
8206 day before OnDayRender is called. Only generate the default links for
8207 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
8209 2004-01-21 Martin Baulig <martin@ximian.com>
8211 * XmlHierarchyData.cs: Make this compile with csc.
8213 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
8214 accessor since the base class doesn't have one.
8216 2004-01-18 Alon Gazit <along@mainsoft.com>
8218 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
8220 2004-01-18 Alon Gazit <along@mainsoft.com>
8222 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
8223 Property default value.
8224 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
8225 Property default value.
8227 2004-01-15 Alon Gazit <along@mainsoft.com>
8229 * RadioButtonList.cs: RepeatLayout property should affect the rendered
8232 2004-01-15 Alon Gazit <along@mainsoft.com>
8233 * FontInfo.cs: Add validation check to Size property.
8235 2004-01-07 Alon Gazit <along@mainsoft.com>
8236 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8237 merge the column's style to the cell's style and not to
8238 the item's(row) style.
8240 2004-01-04 Alon Gazit <along@mainsoft.com>
8241 * RangeValidator.cs: Fixed ControlPropertiesValid().
8243 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8245 * Xml.cs: mono-stylized and removed warnings.
8247 2004-1-1 Alon Gazit <along@mainsoft.com>
8248 * RadioButtonList.cs: update RenderItem() so that each RadioButton
8249 is enabled or disabled like the RadioButtonList.
8250 * CheckBoxList.cs: update RenderItem() so that each CheckBox
8251 is enabled or disabled like the CheckBoxList.
8253 2004-1-1 Alon Gazit <along@mainsoft.com>
8254 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8255 The Header or Footer Style shouldn't merge with the cells Style.
8257 2004-1-1 Alon Gazit <along@mainsoft.com>
8258 * DataGridColumn.cs: Headers and Footers are initialized
8259 with the relevant Style object.
8261 2003-12-30 Alon Gazit <along@mainsoft.com>
8262 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8263 DoHorizontalRendering().
8264 Current implementation produces few extra html tags.
8266 2003-12-29 Alon Gazit <along@mainsoft.com>
8268 * CheckBox.cs: change the implementation of LoadPostData.
8269 Currently, while the AutoPostBack property equals true ,
8270 it isn't possible to perform uncheck.
8272 2003-12-19 Jackson Harper <jackson@ximian.com>
8274 * TableCell.cs: Setting a cells text should clear its control
8275 collection as per la specification. This fixes bug #51825.
8277 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8279 * DataGridColumn.cs: stylized LoadViewState.
8280 * DataGridColumnCollection.cs: when TrackViewState is called, also
8281 call it on all the existing columns. Fixes bug #52334.
8283 2003-12-18 Alon Gazit <along@mainsoft.com>
8285 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
8288 2003-12-18 Alon Gazit <along@mainsoft.com>
8290 * TableStyle.cs: merge TableStyle properties when Style is empty.
8292 2003-12-16 Alon Gazit <along@mainsoft.com>
8294 * HyperLink.cs: Change Text property implementation. in MS when the Text
8295 property is set, all the controls in the HyperLink are being deleted.
8296 This fixes bug #52239.
8298 2003-12-15 Alon Gazit <along@mainsoft.com>
8299 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8300 DoHorizontalRendering().
8301 Both methods add additional empty table row in the head of each item
8302 table when the variable named isTable equals true (happenes with the
8303 default instantiation of RepeatInfo). These additional rows should be
8304 added when isTable equals false.
8305 This fixes bug #52225.
8307 2003-12-15 Alon Gazit <along@mainsoft.com>
8309 * RepeatInfo.cs: Fixed DoVerticalRendering() and
8310 DoHorizontalRendering().
8311 Both methods add to rendered Header a colspan attribute according to the
8312 rows count. after the change the colspan is added according to the
8315 2003-12-15 Alon Gazit <along@mainsoft.com>
8316 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
8317 In .NET if the checkbox is disabled ,its text appears disabled too.
8318 In Mono the text appears enabled. the fix is in Render().
8319 This fixes bug #52180.
8321 2003-12-15 Alon Gazit <along@mainsoft.com>
8322 * Repeater.cs: Change the implementation of CreateControlHierarchy().
8323 The current implementation renders extra Header and footer
8324 without Repeater.DataSource assign.
8325 This fixes bug #52179.
8327 2003-12-15 Alon Gazit <along@mainsoft.com>
8328 * DataGrid.cs: Change the implementation of the property
8329 BackImageUrl. The current implementation has no influence
8330 on the rendered Html.
8332 2003-12-15 Alon Gazit <along@mainsoft.com>
8333 * WebControl.cs: Change the implementation of the property
8334 Enabled. Before the change the WebControl also looked at
8335 parent.Enabled . fixed bug #52171.
8337 2003-12-11 Jackson Harper <jackson@ximian.com>
8339 * RepeatInfo.cs: When rendering vertically figure out how many
8340 colmns are not going to be filled in in the last row, and adjust
8341 things accordingly. This fixes bug #51863.
8343 2003-12-10 Alon Gazit <along@mainsoft.com>
8344 * TableRow.cs: Change the implementation of the properties
8345 HorizontalAlign and VerticalAlign. The current implementation
8346 has no influence on the rendered Html.
8348 2003-12-10 Alon Gazit <along@mainsoft.com>
8349 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
8350 property's set method.
8352 2003-12-09 Jackson Harper <jackson@ximian.com>
8354 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
8355 Increment counter when moving to start. Fixes bug #51926.
8357 2003-12-08 Jackson Harper <jackson@ximian.com>
8359 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
8360 Benjamin Jemlich. Fixes bug #51823.
8362 2003-12-07 Alon Gazit <along@mainsoft.com>
8363 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
8364 property is set to false. Fixes bug #58120.
8366 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8368 * TableItemStyle.cs: merge TableItemStyle properties when Style is
8369 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
8371 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8373 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
8376 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8378 * WebControl.cs: don't create the attributes when GetAttribute is
8381 2003-12-01 Jackson Harper <jackson@ximian.com>
8383 * WebControl.cs: Only allow access keys to be null or a single
8384 char. Patch by Alon Gazit <along@mainsoft.com>.
8386 2003-11-30 Jackson Harper <jackson@ximian.com>
8388 * CheckBoxList.cs: A checkbox will have null post data if it is
8389 unselected. This fixes bug #51516.
8391 2003-11-29 Jackson Harper <jackson@ximian.com>
8393 * DataGrid.cs: Display paging controls even when there is no
8394 data. Path by Mohammad DAMT. Fixes bug #51487.
8396 2003-11-29 Jackson Harper <jackson@ximian.com>
8398 * DataGrid.cs: Call TrackViewState when loading bound columns view
8399 state. So that their state is saved. This fixes bug #51424. Also
8402 2003-11-26 Jackson Harper <jackson@ximian.com>
8404 * BaseDataList.cs: Change && to || We will call that a typo so no
8405 one gets embarrased.
8407 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8409 * BaseDataList.cs: allow setting null as Datasource.
8411 * DataGrid.cs: keep autogenerated columns in the ViewState.
8413 Patches by Alon Gazit <along@mainsoft.com>.
8415 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8417 * SqlDataSource*: Implement almost everything. Data access is
8420 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8422 * Calendar.cs (SaveViewState):
8423 - We were allocating a 11 item array, we only used 10 items,
8424 so only allocate 10.
8425 - We only need to save the selected dates if there are any.
8426 * DataGrid.cs (SaveViewState):
8427 * DataGridColumn.cs (SaveViewState):
8428 * DataGridColumnCollection.cs (SaveViewState):
8429 - Only return the array if there is anything in it
8430 * Style.cs (SaveViewState):
8431 - Only save the bits if there were changes.
8432 * WebControl.cs (SaveViewState), (LoadViewState):
8433 - Don't save Enabled into the viewstate here, we already
8434 do it in the property. This just caused *EVERY* control
8435 to have a non-null state, taking up lots of extra room
8437 - The style will always be created with this control's
8438 viewstate, so the style will always return null for the
8439 viewstate. As such, we do not need to store it. We can
8440 also reduce the triplet to a pair because of this.
8442 2003-11-22 Jackson Harper <jackson@ximian.com>
8444 * ValidationSummary.cs: Fix number of messages and message array computation.
8446 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8448 * Xml.cs: Corrected attribute
8449 * XmlBuilder.cs: Added
8451 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8453 * Xml.cs: class status based fixes.
8455 2003-11-19 Jackson Harper <jackson@ximian.com>
8457 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
8459 2003-11-19 Jackson Harper <jackson@ximian.com>
8461 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
8462 teh applications base directory. This fixes bug #51092.
8464 2003-11-18 Todd Berman <tberman@gentoo.org>
8466 * ControlParameter.cs:
8467 * CookieParameter.cs:
8469 * QueryStringParameter.cs:
8470 * SessionParameter.cs: added public .ctor ()
8471 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
8472 and handling, as well as internal ParameterValue for easy access.
8473 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
8474 * ParameterCollection.cs: implementation redux.
8476 2003-11-18 Todd Berman <tberman@gentoo.org>
8478 * ParameterCollection.cs: Implemented
8479 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
8480 ToString () now matches asp.net
8482 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
8484 * ControlParameter.cs:
8485 * CookieParameter.cs:
8488 * QueryStringParameter.cs: New v2 files. Mostly
8489 implemented, still need a few methods.
8491 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8493 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
8494 Gazit <along@mainsoft.com>.
8496 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8498 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
8499 Patch by Alon Gazit <along@mainsoft.com>.
8501 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8503 * DataBoundControl.cs: Implement
8504 * ListControl.cs: inherit from the above.
8505 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
8507 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8512 * Repeater.cs: add v2 databinding stuff
8513 * XmlDataSource.cs: make it load the xml.
8515 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8518 * XmlDataSourceView.cs:
8519 * XmlHierarchicalDataSourceView.cs:
8520 * XmlHierarchicalEnumerable.cs:
8521 * XmlHierarchyData.cs: Implement
8523 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
8525 * SiteMapDataSourceView.cs: Implement.
8527 2003-11-07 Jackson Harper <jackson@ximian.com>
8529 * ImageButton.cs: This is a workaround for bug #49819. It appears
8530 that the .x and .y values are not being posted, and only the x
8531 value is being posted with the ctrl's id as the key.
8533 2003-11-07 Jackson Harper <jackson@ximian.com>
8535 * DataGrid.cs (CreateControlHierarchy): Current page index is
8536 alolowed to equal page count. This prevents an exception being
8537 thrown when both are zero.
8539 2003-11-06 Jackson Harper <jackson@ximian.com>
8541 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
8542 * BaseValidator.cs: Disable base control so the isValid flag is
8545 2003-11-03 Jackson Harper <jackson@ximian.com>
8547 * TemplateColumn.cs: Use the same renderer for selected items as
8548 normal items. This fixes bug #49744.
8550 2003-11-03 Jackson Harper <jackson@ximian.com>
8553 * WebControl.cs: Fix argument out of range exceptions on
8554 properties. Patch by Yaron Shkop.
8556 2003-11-03 Jackson Harper <jackson@ximian.com>
8558 * TemplateColumn.cs: If the item is selected but there is no
8559 editItemTemplate use the itemTemplate. This matches MS behvoir.
8561 2003-11-03 Jackson Harper <jackson@ximian.com>
8563 * Repeater.cs: Always set alternating items to the AlternatingItem
8564 type, when instantiating alternating items use the itemTemplate if
8565 the alternatingItem template is null. This matches MS behavoir and
8568 2003-11-03 Jackson Harper <jackson@ximian.com>
8570 * DataGridPagerStyle.cs: Name of view state attribute is
8571 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
8572 visibility is changed. Patch by Yaron Shkop.
8574 2003-11-03 Jackson Harper <jackson@ximian.com>
8576 * RepeatInfo.cs: When doing horizontal rendering use the repeat
8577 columns as the number of columns in a row. This fixes bug #49016.
8579 2003-11-03 Jackson Harper <jackson@ximian.com>
8581 * PagedDataSource.cs (PageCount): Return page count of 1 if there
8582 paging is disabled. Patch by Yaron Shkop.
8583 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
8584 * TableStyle.cs (AddAttributesToRender): Render border style
8585 collapse. Patch by Yaron Shkop.
8587 * TableItemStyle.cs:
8588 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
8589 the wrong type. Patch by Yaron Shkop.
8591 2003-11-03 Jackson Harper <jackson@ximian.com>
8593 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
8595 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
8598 * BulletedListDisplayMode.cs:
8599 * BulletedListEventHandler.cs:
8601 * BulletedListEventArgs.cs: V2 controls (yay!)
8603 2003-10-30 Jackson Harper <jackson@ximian.com>
8605 * Repeater.cs: Throw an exception if the datasource is set to
8606 something that does not implement either IListSource or
8607 IEnumerable. This fixes bug #50155.
8609 2003-10-30 Jackson Harper <jackson@ximian.com>
8611 * DataGridPagerStyle.cs: Do not allow page button counts to be set
8612 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
8614 2003-10-29 Jackson Harper <jackson@ximian.com>
8616 * ButtonColumn.cs: Format string and text to format were
8617 inversed. This fixes bug #50171.
8619 2003-10-29 Jackson Harper <jackson@ximian.com>
8621 * DataGridColumn.cs: If an item style is set apply it to the
8622 cell. This fixes bug #50173.
8624 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
8626 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
8627 old debugging value.
8629 2003-10-29 Jackson Harper <jackson@ximian.com>
8631 * PagedDataSource.cs:
8632 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
8633 end of the last page. Fixes bug #5085.
8635 2003-10-29 Jackson Harper <jackson@ximian.com>
8637 * CheckBox.cs: Do not change the status of a checkbox when there
8638 is no post data. This fixes bug #49091.
8639 * CheckBoxList.cs: Do not change the status of the checkboxes when
8640 there is no post data. This fixes bug #49093.
8642 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
8644 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
8645 RadioButton. Fixes #50132
8647 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8649 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
8650 paging from working. Fixes #48814.
8652 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8654 * DataGrid.cs: A few typos kept us from viewing datagrids
8655 that were based on customized collections.
8657 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
8659 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
8661 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
8663 * Calendar.cs: render the next month button so that aligns to the
8666 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8668 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
8669 was just changing && by || after the first Match.
8671 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8673 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
8674 Patch by Yaron Shkop.
8676 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8678 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
8679 that fixes bug #49744. Now the selection doesn't lose its data.
8681 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8683 * EditCommandColumn.cs: Implement; fix #49736
8685 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8687 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
8688 the forground color. bug #49738
8690 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8692 * Calendar.cs: fixed bug #49727.
8694 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
8696 * TableStyle.cs: fix #49740.
8698 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8700 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
8701 * ValidationSummary.cs: fixes bug #49669.
8703 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8705 * Calendar.cs: apply the calendar style to the new Table, not to itself.
8708 * CheckBox.cs: render the hidden fields if AutoPostBack.
8710 * Style.cs: don't render empty width/height. Small improvement in
8713 * Table.cs: fixed condition for border width.
8716 (CopyFrom): always call the base class to copy other attributes. Fixes
8717 bug #49408. Don't render empty 'rules' attribute.
8719 * WebControl.cs: track viewstate when enabled. Don't overwrite source
8720 control attributes in CopyBaseAttributes.
8722 * ChangeLog: fixed dates.
8725 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8727 * WebControl.cs : Attributes { get; } - Is Complete.
8728 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
8731 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8733 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
8734 : RegisterValidatorCommonScript()
8735 - More code, I need HELP!
8736 : RegisterValidatorDeclaration()
8737 - More code, I need HELP!
8739 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8741 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
8744 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8746 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
8747 ClearViewState only called when no items.
8749 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8751 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
8753 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8755 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
8757 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8759 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
8762 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8764 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
8767 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8769 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
8770 * WebControl.cs: fixed Enabled property and save it in ViewState.
8774 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8776 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
8778 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8780 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
8783 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8785 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
8786 <rich@velvetsea.net>.
8788 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8790 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
8791 Skripsky <juraj@hotfeet.ch>
8793 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8795 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
8796 fixes rendering of the end tag.
8798 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8800 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
8801 (Yaron Shkop). Closes bug #48060.
8803 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8805 * CheckBox.cs: in LoadPostData, only return
8806 true when the new data is different from the one we had. Fixed
8807 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
8810 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8812 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
8814 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8816 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
8817 of Enable in ViewState. Fixes bug #47865.
8819 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8821 * Style.cs: the MARKED bit is not send set in ViewState unless something
8822 is changed. Fixed TrackViewState condition.
8824 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
8825 because it uses the same ViewState as the control. Fixes bug #47725.
8827 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8829 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
8830 that fixes databinding when only DataTextField or DataNavigateUrlField
8833 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8835 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
8836 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
8837 values before assigning a data source and other issues.
8839 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8841 * CheckBox.cs: save viewstate when needed and correctly handle post
8842 data. Fixes bug #47462.
8844 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8846 * ButtonColumn.cs: Removed additional attributes
8847 * CheckBox.cs: Added attribute
8848 * DataGrid.cs: Added attributes
8849 * HyperLinkColumn.cs: Changed attributes, added lamespec
8850 * Style.cs: Removed attributes
8851 * TextBox.cs: Added/ removed attributes
8853 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8855 * AdRotator.cs: Added all attributes
8856 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
8857 * BaseValidator.cs: Added all attributes
8858 * BoundColumn.cs: Added all attributes
8859 * Button.cs: Added all attributes
8860 * ButtonColumn.cs: Added all attributes, added lamespec
8861 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
8862 * CheckBox.cs: Added all attributes
8863 * CheckBoxList.cs: Added all attributes
8864 * CompareValidator.cs: Added all attributes
8865 * CustomValidator.cs: Added all attributes
8866 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
8867 * DataGridColumn.cs: Added all attributes
8868 * DataGridColumnCollection.cs: Added all attributes
8869 * DataGridPagerStyle.cs: Added all attributes
8870 * DataGridTableInternal.cs: Made DataGridTableInternal internal
8871 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
8872 * DropDownList.cs: Added all attributes
8873 * FontInfo.cs: Added all attributes
8874 * HyperLink.cs: Added all attributes
8875 * HyperLinkColumn.cs: Added all attributes
8876 * Image.cs: Added all attributes
8877 * ImageButton.cs: Added all attributes
8878 * Label.cs: Added all attributes
8879 * LinkButton.cs: Added all attributes
8880 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
8881 * ListControl.cs: Added all attributes
8882 * ListItem.cs: Added all attributes
8883 * ListItemCollection.cs: Added attribute
8884 * Literal.cs: Added all attributes
8885 * Panel.cs: Added all attributes
8886 * RadioButton.cs: Added all attributes
8887 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
8888 * RangeValidator.cs: Added all attributes
8889 * RegularExpressionValidator.cs: Added all attributes
8890 * Repeater.cs: Added all attributes
8892 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8894 * RequiredFieldValidator.cs: Added all attributes
8895 * Style.cs: Added all attributes
8896 * Table.cs: Added all attributes
8897 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
8898 * TableCellCollection.cs: Added attribute
8899 * TableRow.cs: Added all attributes
8900 * TableRowCollection: Added attribute
8901 * TableStyle.cs: Added all attributes, improved error messages
8902 * TemplateColumn.cs: Added all attributes
8903 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
8904 * ValidationSummary.cs: Added all attributes
8905 * WebControl.cs: Added all attributes
8906 * Xml.cs: Added all attributes
8908 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8910 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
8911 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
8913 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8915 * CheckBoxList.cs: fixes bug reported on the list about the state of
8916 the CheckButtons not being preserved across posts.
8918 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8920 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
8922 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8924 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
8926 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8928 * ListControl.cs: save viewstate data when any of the 3 values is not
8929 null. Fixed condition to save selection indices. Closes bug #45493.
8931 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8933 * DataGrid.cs: fixed bug #43823.
8935 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8937 * DataGrid.cs: fixed delegate type for SortCommand.
8939 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8941 * DataGridColumnCollection.cs: added missing return in RemoveAt.
8943 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8945 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
8946 Don't save ViewState is the number of columns is 0.
8948 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8950 * DataGrid.cs: get the right item Type for the property we're reading
8951 fromt the data source.
8953 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8956 * TextBox.cs: added control builder attribute.
8958 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8960 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
8962 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
8964 * Unit.cs: Called the correct method to get the Numeric locale for the
8967 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8969 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
8970 correctly the header of the column.
8972 * DataGridTableInternal.cs: don't assign a default ID to this control.
8974 * LinkButton.cs: raise bubble event in OnCommand.
8976 * TableCellCollection.cs: fixed the index returned by Add.
8978 * TableRowCollection.cs: ditto.
8980 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8982 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
8984 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8986 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
8987 for reporting the bug and providing the fix.
8989 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8991 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
8992 CreateColumnSet. Set the owner of the column when auto generated.
8993 In PrepareControlHierarchyForItem, fixed for loop bound.
8995 * LinkButtonInternal.cs: fixed infinite recursion bug.
8999 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
9001 * Xml.cs: a few fixes.
9003 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9005 * DataList.cs: handle the exception when adding new keys to
9008 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9010 * BaseDataList.cs: what can I say for this one? I spent so many time
9011 until I finally found this that I'm gonna miss this f....g bug... ;-).
9012 Farewell. Now we can get events from image buttons inside Data*.
9014 * DataList.cs: now the value stored in ViewState for item count is
9017 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9019 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
9021 * DataGridColumn.cs: added SetOwner method.
9022 * DataGridColumnCollection.cs: set the owner of the column when added.
9024 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9026 * BoundColumn.cs: typo.
9027 * DataGrid.cs: use 'as' instead of casting. Typo.
9028 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
9031 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9033 * HyperLink.cs: fixes bug #36336.
9035 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9037 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
9039 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9041 * BaseValidator.cs: return an empty string in GetControlValidationValue
9042 when GetValue returned null.
9044 * CompareValidator.cs: fixed EvaluateIsValid.
9046 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
9048 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9050 * Xml.cs: use MapPathSecure to get the path of the document.
9052 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9054 * DataList.cs: fixed header & footer.
9056 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9058 * DataList.cs: for header and footer don't use data source.
9059 Instantiate in the DataListItem, not in the DataList.
9060 databind-template.aspx works now.
9062 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9065 (Render): call RenderContents (), not base.RenderContents ().
9067 * DataList.cs: style.
9069 But I still haven't found what i'm looking for....
9071 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9073 * Calendar.cs: fixed loading/saving selected dates.
9074 * SelectedDatesCollection.cs: added internal function to get the
9075 underlying ArrayList.
9077 Calendar navigation works again. Selecting dates too.
9079 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9081 * DataList.cs: added a few attributes and fixed infinite recursion.
9083 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9085 * ListItemCollection.cs: fixed LoadViewState.
9087 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9089 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
9090 Commented out some code until it works.
9092 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
9094 * BaseCompareValidator.cs - Fixed operator bug in
9095 Compare(string, string, ...)
9096 * CompareValidator.cs - EvaluateIsValid() : Implemented.
9098 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9100 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
9102 - All Properties : Now make use of ViewState.
9104 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9106 * BaseValidator.cs - Uncomment NotImplementedException.
9108 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9110 * BaseValidator.cs - Minor changes in TODO comments.
9112 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9114 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
9115 the NotImplementedException being thrown.
9116 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
9117 * DataGridLinkButton.cs - Added new class (private) : Implemented.
9118 * DataGrid.cs - InitializePager(DataGridItem, int,
9119 PagedDataSource) : Implemented.
9121 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9123 * DataList.cs - PrepareControlHierarchy() : Implemented.
9125 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9127 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
9128 - GetItem(ListItemType, int) : Removed TODO.
9129 - CreateControlHierarchy(bool) : Implemented.
9130 - CreateItem(int, ListItemType) : Implemented.
9131 - CreateItem(int, ListItemType,
9132 bool, object) : Implemented.
9133 - InitializeItem(DataItem) : Implemented.
9134 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
9135 The ViewState["_!ItemCount"],
9136 ViewState["_!DataSource_ItemCount"]
9137 are shared by DataList and DataGrid, and hence
9138 should share the same name.
9139 - ResolveDataSource(object, string)
9140 : Removed. Use System.Web.UI.Utils.DataSourceHelper
9141 ::GetResolvedDataSource(object, string).
9144 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9146 * DataGrid.cs: fixed compilation
9148 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
9150 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
9151 * DataGrid.cs - CreateControlHierarchy(bool)
9152 : working towards completion.
9153 - ResolveDataSource(object, string)
9154 : stubbed new method
9156 : stubbed new method
9157 Well. It's almost done.
9158 * DataGridTableInternal.cs
9159 - Added new internal class.
9161 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
9163 * DataSourceInternal.cs - Added new class (internal).
9165 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9168 * HorizontalAlign.cs:
9170 * VerticalAlign.cs: fixes based on class status page.
9172 * HorizontalAlignConverter.cs: implemented.
9173 * VerticalAlignConverter.cs: implemented.
9175 * FontUnitConverter.cs: implemented GetStandardValues ().
9177 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
9179 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9181 * DataGrid.cs - AutoCreateColumns: Bug fixes.
9183 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9185 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
9187 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9189 * DataGrid.cs - Working on the undocumented protected
9190 method CreateColumnSet. AutoCreateColumns method
9191 stubbed. Left CreateControlHierarchy for the time
9192 being, looks like I'm going insane. ;-)
9194 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9196 * Button.cs - Steffen's OnCommand bug fix.
9198 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
9200 * DataGrid.cs - Added protected method (skeleton)
9201 CreateColumnSet(PagedDataSource, bool)
9202 Still trying to know how will it be used
9205 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9207 * PagedDataSource.cs: fixed compilation.
9209 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
9211 * DataGrid.cs - Added private method
9212 CreatePagedDataSource
9214 CreateControlHierarchy(bool)
9215 * PagedDataSource.cs - Bug fixed.
9216 CurrentPageIndex is writable.
9218 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9220 * DataGrid.cs: fixed typo.
9221 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
9223 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9225 * DataGridColumn.cs - Added internal methods to get the
9226 various styles (needed in DataGrid.cs)
9227 * DataGrid.cs - Completed the method
9228 PrepareControlHierarchy()
9230 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9232 * DataGrid.cs - Wokring on PrepareControlHierarchy()
9233 - Added private method
9234 PrepareControlHierarchyForItem()
9236 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
9238 * DataGrid.cs - Completed method
9239 OnBubbleEvent(object, EventArgs)
9241 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9243 * Xml.cs: implemented document/transform load.
9245 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9247 * Calendar.cs: added myself to the list of authors.
9248 * DropDownList.cs: fixed a few properties.
9249 * ListControl.cs: fixed SelectedIndex.
9251 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9253 * Calendar.cs: lots of fixes. Render days. Still left to persist
9254 selected days when changing month.
9256 * Unit.cs: fixed Percentage and Pixel.
9258 * WebControl.cs: a few properties are now using ControlStyle instead
9259 of ViewState to persist.
9261 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9263 * BaseValidator.cs: it works now.
9264 * DataGridColumn.cs: added attribute and made it abstract.
9265 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
9267 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9269 * TextBox.cs: default for Wrap is true.
9270 (OnPreRender): don't save Text if there are no listeners on TextChanged.
9272 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9278 (LoadViewState): fixed.
9280 * ListItemCollection.cs:
9281 (TrackViewState): use items instead of 'this' in foreach.
9284 (LoadViewState): more checking of parameters.
9286 * WebControl.cs: implemented LoadViewState and SaveViewState.
9289 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9291 * ListItem.cs: there was no code to unset the flags!!!
9293 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9295 * FontUnit.cs: use a hashtable for mapping size name to value.
9296 * HyperLink.cs: fixed a bug and a typo.
9297 * Unit.cs: some fixes to internal constructor.
9299 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9301 * ListControl.cs: fixed a couple of range checks.
9302 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
9303 an HtmlForm (p.e., Label).
9305 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9315 * HyperLinkColumn.cs:
9324 * RadioButtonList.cs:
9328 * WebControl.cs: removed attributes added by mistake (i used
9329 GetCustomAttributes (true), d'oh!).
9331 * DataListItem.cs: implemented RenderItem.
9333 * Repeater.cs: implemented CreateItem and InitializeItem.
9335 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9337 * BaseDataList.cs: a couple of fiex and added attributes.
9338 * DataGrid.cs: little fixes.
9340 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9349 * RadioButtonList.cs:
9352 * Xml.cs: forgot to add using System.ComponentModel.
9354 * BaseValidator.cs: use explicitly
9355 System.ComponentModel.AttributeCollection as there is another class
9356 with the same name under System.Web.UI.
9358 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9377 * RadioButtonList.cs:
9382 * Xml.cs: added/fixed all attributes used by xsp.
9384 * BaseValidator.cs: some fixes.
9386 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9389 (AddAttributesToRender): correctly default to border=1.
9391 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9394 (LoadAdFile): make the dictionary null after every iteration.
9398 * ListItem.cs: fixed warnings.
9400 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
9402 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
9404 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9406 * DataGridColumn.cs:
9407 * DataGridPagerStyle.cs:
9414 * ListItemCollection.cs:
9416 * ServerValidateEventArgs.cs:
9420 * Xml.cs: more class status page based changes.
9422 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9425 (.ctor): fixed to render the correct tag.
9426 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
9428 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9431 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
9432 WebControl derived classes should be rendered inside a HtmlForm.
9434 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9436 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
9439 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9441 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9442 * RepeatInfo.cs: implemented DoHorizontalRendering.
9444 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9446 * System.Web.UI.WebControls/Repeater.cs:
9448 (OnDataBinding): fixed stack overflow.
9450 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9452 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9453 * RepeatInfo.cs: implemented DoHorizontalRendering.
9455 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9458 (CopyBaseAttributes): copy Attributes and don't throw exception.
9460 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9462 * ListBox.cs: mono-stylized.
9463 (AddAttributesToRender): call parent class method.
9465 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9467 * Style.cs: fixed IsEmpty and Width.
9469 * Table.cs: mono-stylized.
9470 (TableRowControlCollection.AddAt): fixed.
9471 (AddAttributesToRender): fixed.
9473 * TableCell.cs: mono-stylized.
9474 (.ctor): use PreventAutoID.
9475 (AddAttributesToRender): fixed.
9476 (AddParsedSubObject): fixed.
9478 * TableRow.cs: mono-stylized. Added
9479 ParseChildren attribute.
9482 (get_GridLine): fixed.
9484 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9486 * Panel.cs: fixed stack overflow.
9487 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
9488 and SingleConverter.
9490 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9492 * RadioButton.cs: mono-stylized and some little fixes.
9494 * TextBox.cs: mono-stylized.
9495 (MaxLength): fixed typo.
9497 (AddAttributesToRender): don't render the text between the tags for
9498 SingleLine, use value attribute for it. Don't render the text for
9501 (OnPreRender): don't throw exception and call base.OnPreRender.
9503 (Render): for MultiLine, render the text between the opening and
9504 closing tags encoded as HTML.
9506 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9509 (AddAttributesToRender): fixer another stack overflow.
9512 (TagName): modified to use TagKey instead of tagKey as the property
9515 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9517 * LinkButton.cs: mono-stylized.
9518 (AddParsedSubObject):
9519 (RenderControls): little fixes.
9522 (AddAttributesToRender): fixed usage of IEnumerator.
9524 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9526 * Literal.cs: beautified.
9528 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9530 * Label.cs: beautified and fixed a couple of 'classic' bugs.
9532 * WebControl.cs: use Span as default tag when no other provided in
9533 constructor. That is what MS renders.
9535 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9538 (AddAttributesToRender): fixed (classic) stack overflow.
9540 * CheckBox.cs: mono-stylized.
9541 (AutoPostBack): fixed stack overflow.
9542 (Render): fixed alignment issues. Also set the For attribute always
9545 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9547 * AdRotator.cs: GetData does not work as it should, but now it returns
9548 useful data (only the first ad in the file). Set the NavigateUrl
9549 property in the hyperlink if available.
9551 * HyperLink.cs: fixed constructor and a couple of stack overflows.
9553 * Image.cs: added an attribute and fixed stack overflow.
9556 (RenderBeginTag): fixed.
9557 (TagName): don't call Enum.IsDefined twice.
9559 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9561 * WebControl.cs: added attributes PersistChildrenAttribute and
9562 ParseChildrenAttribute.
9564 2002-05-24 Duncan Mak <duncan@ximian.com>
9566 * DataGridItem.cs (SetItemType): Changed function signature to
9569 * ListItemCollection.cs (this): Changes the visibility level of
9572 * Repeater.cs (OnItemCommand):
9574 (OnItemDataBound): Added necessary casts.
9576 2002-05-07 Duncan Mak <duncan@ximian.com>
9578 * Button.cs (AddAttributesToRender):
9579 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
9580 GetClientValidatedEvent method.
9582 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
9584 * Removed extra methods, corrected access modifiers to several
9587 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
9589 * <SeveralFiles>.cs - Added some attributes
9590 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
9591 methods. Will complete them later. Right now, busy with
9592 the attributes part.
9593 * RepeaterItem.cs - Completed.
9595 Oh God! Mercy! I will die applying attributes. I look at the missing
9596 part in the class-status - daemon! Kyrie eleison!
9598 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
9602 * AdRotator.cs - Added definition for Font.
9603 * BaseCompareValidator.cs - Added definition for Controls.
9604 * Calendar.cs - SelectMonthText definition corrected.
9605 * DataList.cs - Added definition for SeparatorTemplate.
9606 * BorderStyle.cs - Namespace correction. It belongs not to UI,
9607 but to UI.WebControls.
9609 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
9611 Finally, I have made it. Today I did a second build for the
9612 System.Web assembly. It compiled 195 classes today.
9613 I am waiting eagerly for the runtime to come up so that the objects
9614 may be tested to their last levels. Several of the methods are still
9615 under the tag of "TODO" throwing NotImplementedException. Well, I
9616 hope to remove them soon, but how far is this soon - even I don't
9617 know, though I am happy to make the build a success even before
9618 the vacations to come.
9620 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
9622 Yesterday and today I tried to do some building of the aseembly,
9623 but was dumped with uncoutably infinite errors. ;-)
9624 I have put the copies of the recent errors on my home page, want
9625 to have a look at them? See:
9626 http://mastergaurav.virtualave.net/mono/
9627 I don't know what to do with these errors. Oh! The buggy me! How
9628 will I overcome myself. Hopefully, by when my vacations over, I
9629 should have made a repository where the build will not fail.
9631 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
9633 I am now going to do a build that will include the
9634 System.Web.UI.WebControls namespace. Hoping that I will make it
9635 soon. My exams are coming near and I have to pack up soon.
9638 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
9641 And with this, ie, today's work, all the objects mentioned in the
9642 namespace appear in the implementation. But it may not be worth
9643 trying to go for a build because of dependence of several of the
9644 internal methods that may clash with already available assembly
9647 Also, the classes lack possible attributes, like those informing
9648 about child-controls etc. But I have to first create the attribute
9649 classes before I attach the attributes to the classes.
9651 * CustomValidator.cs - Completed. In process realized that
9652 I have to complete / rejuvinate BaseValidator class.
9653 * BaseValidator.cs - Complete rejuvination. Completed 80%
9654 of the job. All that is left is Render(HtmlTextWriter),
9655 DetermineRenderUplevel(), RegisterValidatorCommonScript()
9656 RegisterValidatorDeclaration()
9657 * DataGridPagerStyle.cs - Completed. That adds one more missle
9659 * DataKeyCollection.cs - Completed. Petty small.
9660 * Repeater.cs - Work started off. This is a quite
9662 * DataGridItemEventArgs.cs,
9663 * DataGridShortCommandEventArgs.cs,
9664 * DataListItemEventArgs.cs,
9665 * MonthChangedEventArgs.cs,
9666 * RepeaterItemEventArgs.cs,
9667 * ServerValidateEventArgs.cs,
9668 * DataGridPageChangedEventArgs.cs
9669 - Damn, I marked them "*", while they
9671 * Repeater.cs - Done all except for an undocumented
9672 method CreateControlHierarchy(bool). Though the method
9673 is quite clear by its name, but it will take some time
9674 for me to come with some material to flush in.
9676 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
9678 * SelectedDatesCollection.cs - Completed.
9679 * PagedDataSource.cs - Completed. Pathetically nice class.
9680 * RegularExpressionValidator.cs
9681 - Completed. Ridiculously small and
9682 annoyinglyc crazy-driving class, basically the method
9684 * RangeValidator.cs - Completed.
9685 * DataGridColumn.cs - Completed.
9686 * EditCommandColumn.cs - All is complete except for the
9687 InitializeCell(TableCell, int, ListItemType) method.
9688 * DataListItem.cs - All done except for a longish method
9689 RenderItem(HtmlTextWriter, bool, bool)
9691 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
9693 * RepeaterItemCollection.cs - Completed.
9694 I love *Collection classes. I am planning to make a
9695 program that will generate a *Collection class. It's so
9696 simple and the same. ;-)
9697 * DataGridColumnCollection.cs - Completed.
9698 ... except probably for *ColumnCollection classes, where
9699 you have to put in some more effort. Still, these class
9700 generation can be automated.
9701 * DataListItemCollection.cs - Completed.
9702 See, how easily, in less than a quarter of a minute, I
9703 completed this class - manually. Copy-Paste/Cut-Replace.
9705 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
9707 * DataGrid.cs - Following methods implemented:
9708 TrackViewState(), LoadViewState(object), SaveViewState(),
9709 On* -- The event raisers.
9710 OnBubbleEvent(object, EventArgs) is still incomplete.
9711 * DataGridItem.cs - Initial Implementation
9712 * DataGridItemCollection.cs - Completed.
9714 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
9716 * DataGrid.cs - Initial Implementation. Worked
9717 primarily with some properties.
9719 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
9721 * ListBox.cs - Completed. Implemented
9722 LoadPostData(string, NameValueCollection)
9723 * RequiredFieldValidator.cs - Completed. Pretty simple class.
9725 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
9727 * ListBox.cs - Implemented the following:
9728 RaisePostDataChangedEvent()
9730 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
9732 * ListBox.cs - Supports the following properties:
9733 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
9736 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
9737 RenderContents(HtmlTextWriter)
9740 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
9742 * TargetConverter.cs - Completed
9743 * TemplateColumn.cs - Completed
9744 * DataList.cs - Corrected the get-er methods for the
9745 *Style objects. Corrected the get/set-er methods for ViewState
9747 Addded support for properties:
9748 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
9749 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
9750 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
9751 SeparatorStyle, SeparatorItemTemplate.
9753 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
9754 ItemCreated, ItemDataBound, UpdateCommand.
9756 CreateControlStyle(), LoadViewState(object),
9757 SaveViewState(), TrackViewState
9759 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
9760 OnEditCommand, OnItemCommand, OnItemCreated,
9761 OnItemDataBound, OnUpdateCommand
9762 Added dummy methods for some undocumented methods:
9763 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
9764 CreateItem(int, ListItemType, bool, object),
9765 PrepareControlHierarchy(), InitializeItem(DataListItem)
9766 * ListBox.cs - Started working.
9770 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
9772 * RepeaterInfo.cs - Initial Implementation. Done all
9773 except for RepeatDirection.Vertical
9774 * TableStyle.cs - Completed
9776 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
9778 * DropDownList.cs - Completed
9779 * ListItemCollection.cs - Added method FindByValueInternal to
9780 assist in the derived classes.
9781 Discovered bug in FindByValue. Removed
9782 * UnitConverter.cs - Completed
9783 * PlaceHolder.cs - What can be simpler than this?
9784 * PlaceHolderControlBuilder.cs
9785 - Uh! Damn cool one.
9786 * RadioButtonList.cs - Initial Implementation. All is done
9787 except for the implementation of
9788 method IRepeatInfoUser.RenderItem(...)
9789 * ValidatedControlConverter.cs
9790 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
9791 * ValidationSummary.cs - Initial Implementation.
9792 * WebColorConverter.cs - Initial Implementation
9794 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9796 * FontNamesConverter.cs - Completed
9797 * FontUnitConverter.cs - Partial Implementation
9798 * ListItemControlBuilder.cs - Completed
9800 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9802 * TextBox.cs - All done except *Render* methods
9803 * TextBoxControlBuilder.cs - Completed
9804 * Xml.cs - Partial Implementation
9806 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
9808 * RadioButton.cs - Completed
9809 * TextBox.cs - Partial Implementation
9811 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
9813 * Panel.cs - Completed
9814 * TableItemStyle.cs - Completed
9816 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
9818 * TableCellCollection.cs - Completed
9819 * TableRowCollection.cs - Completed
9820 * TableHeaderCell.cs - Completed
9821 * TableRow.cs - Completed
9823 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
9825 * TableCellControlBuilder.cs - Completed
9826 * Table.cs - Completed
9827 * TableCell.cs - Completed
9829 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
9831 * CheckBoxList.cs - Completed
9832 * ButtonColumn.cs - Completed
9833 * Button.cs - Completed
9835 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
9837 * HyperLink.cs - Completed
9838 * Image.cs - Completed
9839 * ImageButton.cs - Completed
9840 * Label.cs - Completed
9841 * LabelControlBuilder.cs - Completed
9842 * LinkButton.cs - Completed
9843 * LinkButtonControlBuilder.cs - Completed
9844 * Literal.cs - Completed
9845 * LieteralControlBuilder.cs - Completed
9846 * FontUnit.cs - Completed
9849 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
9851 * Calendar.cs - Completed the functions of Render*,
9852 ViewStates (Track/View/Save),
9854 Left: RenderAllDays (partially)
9856 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
9858 * Calendar.cs - Added some more functions
9859 * Style.cs - Completed
9860 * ListItem.cs - Completed
9861 * ListItemCollection.cs - Completed
9863 Made the first successful build of System.Web.dll that included
9864 System.Web.UI.WebControls!
9866 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
9868 FontInfo.cs - Complete revamp. Completed
9870 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
9872 ListItemCollection.cs - Completed
9873 ListItem.cs - Initial Implementation
9874 Style.cs - Initial Implementation
9876 Right now I am in a total mood to do a successful build. Creating so many
9877 classes, completing classes in System.Web System.Web.UI namespaces.
9879 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
9881 TODO - Properly added
9882 CheckBox.cs - Completed
9883 BaseDataList.cs - Completed
9884 DayRenderEventArgs.cs - Completed
9885 RepeaterItem.cs - Initial implementation
9887 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
9889 BaseCompareValidator.cs - Completed
9890 AdRotator.cs - Completed
9892 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
9894 CommandEventArgs.cs - Completed
9895 DataGridCommandEventArgs.cs - Completed
9896 RepeaterCommandEventArgs.cs - Completed
9897 DataListCommandEventArgs.cs - Completed
9898 CompareValidator.cs - Partial Implementation
9900 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
9902 CheckBoxList.cs - Partial Implementation.
9905 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
9907 ListControl.cs - Completed
9909 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
9911 CheckBox.cs - Completed
9912 ListControl.cs - Initial Implementation
9913 CheckBoxList.cs - Started with it, but first needed
9914 ListControl. Left it.
9916 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
9918 CalendarDay.cs - Making a note that this
9919 has been implemented
9920 Calendar.cs - Making a note that have made some changes.
9921 Unimplmented functions throw
9922 NotImplementedException
9923 CheckBox.cs - Can now "Render" and "LoadPostData"
9926 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
9927 WebControl.cs - Total Revamp, Partial Implementation
9928 AdRotator.cs - Able to load files
9929 AdCreatedEventArgs.cs - Implemented
9931 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
9932 Calendar.cs - Initial Implementation
9933 ButtonColumn.cs - Initial Implementation
9934 Button.cs - Initial Implementation
9935 BoundColumn.cs - Initial Implementation
9936 BaseCompareValidator.cs - Minor Changes
9937 DataList.cs, BaseValidator.cs, BaseDataList.cs
9938 - Added more functions, other changes
9940 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
9941 WebControl.cs - Initial Implementation
9942 DataList.cs - Initial Implementation
9943 BaseValidator.cs - Initial Implementation
9944 BaseDataList.cs - Initial Implementation
9946 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
9948 AdCreatedEventArgs.cs - Initial Implementation
9949 AdCratedEventHandler.cs - Implemented
9950 AdRotator.cs - Initial Implementation
9951 BorderStyle.cs - Implemented
9952 ButtonColumnStyle.cs - Implemented
9953 CalendarSelectionMode.cs - Implemented
9954 DayNameFormat.cs - Implemented
9955 FirstDayOfWeek - Implemented
9956 FontInfo.cs - Partial Implementation
9957 FontSize.cs - Implemented
9958 GridLines.cs - Implemented
9959 HorizontalAlign.cs - Implemented
9960 HyperLink.cs - Initial Implementation
9961 ImageAlign.cs - Implemented
9962 IRepeatInfoUser.cs - Implemented
9963 ListItemType.cs - Implemented
9964 ListSelectionMode.cs - Implemented
9965 NextPrevFormat.cs - Implemented
9966 PagerMode.cs - Implemented
9967 PagerPosition.cs - Implemented
9968 RepeatDirection.cs - Implemented
9969 RepeatLayout.cs - Implemented
9970 TextAlign.cs - Implemented
9971 TextBoxMode.cs - Implemented
9972 TitleFormat.cs - Implemented
9973 UnitType.cs - Implemented
9974 ValidationCompareOperator.cs
9976 ValidationDataType.cs - Implemented
9977 ValidationSummaryDisplayMode.cs
9979 ValidatorDisplay.cs - Implemented
9980 VerticalAlign.cs - Implemented
9984 i/ File Created 2001-11-13