1 2010-07-19 Marek Habersack <mhabersack@novell.com>
3 * SqlDataSourceView.cs: added the RaiseUnsupportedCapabilityError
6 * RoleGroupCollection.cs: added OnValidate (undocumented) overload
8 * ParameterCollection.cs: added missing Add method overload (2.0+)
10 * LiteralControlBuilder.cs: added the AppendLiteralString method
13 * DataKey.cs: implemented IEquatable interface methods (4.0)
15 * XmlDataSource.cs: implemented CacheKeyContext property (4.0)
17 2010-07-16 Marek Habersack <mhabersack@novell.com>
19 * Login.cs, PasswordRecovery.cs: implemented RenderOuterTable
22 * FormViewRow.cs: added internal property RenderJustCellContents
23 which makes the control render only its children (4.0)
25 * FormView.cs: implemented RenderOuterTable property and the
26 ModifiedOuterTableStylePropertyName method (4.0)
28 2010-07-15 Marek Habersack <mhabersack@novell.com>
30 * WebControl.cs: implemented verifying that no inline style
31 property is set for controls which support the RenderOuterTable
34 * IRenderOuterTable.cs: internal helper interface for controls
35 which support the RenderOuterTable property (for now only
36 ChangePassword, 3 more to come)
38 * ChangePassword.cs: implemented RenderOuterTable property and the
39 corresponding behavior of not rendering surrounding table when the
40 property is set to false (4.0).
41 Modified BaseChangePasswordContainer to not inherit from Table
42 anymore. Table is an instance variable (always used as the
43 template container in 2.0) which is optionally (and by default)
44 used to contain the templates.
46 * PlaceHolder.cs, View.cs, WizardStepBase: added EnableTheming
49 * MultiViewControlBuilder.cs: added
51 2010-07-14 Marek Habersack <mhabersack@novell.com>
53 * Menu.cs: fixed skip link rendering (no child controls are added
54 in the process, writing directly to HtmlTextWriter). Fixes tests
56 If StaticSubMenuIndent equals Unit.Empty on 4.0, default to using
57 16px as the value of the margin-left CSS attribute.
59 2010-07-13 Marek Habersack <mhabersack@novell.com>
61 * BoundField.cs: implemented HtmlEncodeFormatString property
62 (3.5+) and modified the way FormatDataValue works accordingly.
64 * ListBox.cs, CheckBoxList.cs, ListControl.cs: VerifyMultiSelect
65 is not part of the official API. MultiSelect capability validation
66 is performed using an internal virtual method MultiSelectOk ().
68 * BaseDataList.cs: OnPagePreLoad is not part of the official API
70 * BaseDataBoundControl.cs, BaseDataList.cs, DataListItem.cs,
71 ValidationSummary.cs: implemented 4.0 SupportsDisabledAttribute
74 * Wizard.cs: wizard table doesn't contain any instances of
75 HtmlAnchor or Image controls. Moved rendering of the skip link
76 anchor to the TableCellNamingContainer class, which does that in
77 RenderChildren by directly writing to the passed writer. Fixes 4.0
78 rendering and all the failing Wizard tests.
80 2010-07-08 Marek Habersack <mhabersack@novell.com>
82 * CheckBoxList.cs: RepeatLayout property update for new values of
83 the RepeatLayout enum in 4.0
85 * TreeView.cs: in 4.0, checkbox renders the value of the current
86 node's ToolTip, if anything, and not Text.
88 * RepeatLayout.cs: added two new members, UnorderedList and
91 * ImageMap.cs: implemented missing Enabled property (2.0+)
92 RaisePostBackEvent must be protected and virtual (2.0+)
93 NavigateUrl is ignored if the control is disabled (4.0)
95 2010-07-07 Marek Habersack <mhabersack@novell.com>
97 * TreeView.cs: 4.0 rendering changes.
98 When using registered CSS classes, the node style must use them in
101 2010-07-06 Marek Habersack <mhabersack@novell.com>
103 * HyperLink.cs: the associated image is not rendered using the
106 2010-07-02 Marek Habersack <mhabersack@novell.com>
108 * Menu.cs: 4.0 API updates.
110 * GridView.cs: implemented 4.0 properties -
111 SortedAscendingCellStyle, SortedAscendingHeaderStyle,
112 SortedDescendingCellStyle, SortedDescendingHeaderStyle,
113 ClientIDRowSuffix, ClientIDRowSuffixDataKeys, ShowHeaderWhenEmpty
114 along with associated rendering changes.
116 * DetailsView.cs, FormView.cs, GridView.cs: 4.0 API changes -
117 renamed ShowPage to SetPageIndex and made it public.
118 Added 4.0 interfaces to inheritance list and implemented them.
120 * DataKeyArray.cs: added internal constructor which accepts IList
121 instead of ArrayList. Changed the 'keys' field type to IList.
123 * ContainedTable.cs: the 'id' attribute must be rendered last.
125 * CheckBox.cs, CheckBoxList.cs, SiteMapPath.cs, Table.cs,
126 TableStyle.cs, TextBox.cs, WebControl.cs: 4.0 rendering changes.
128 * Calendar.cs, CompositeControl.cs, DropDownList.cs, HyperLink.cs,
129 Image.cs, ImageButton.cs, Label.cs, LinkButton.cs, LoginName.cs,
130 Panel.cs, Table.cs, TableCell.cs, TableRow.cs:
131 added new 4.0 property, SupportsDisabledAttribute.
133 2010-06-21 Marek Habersack <mhabersack@novell.com>
135 * BaseValidator.cs, BulletedList.cs, Calendar.cs, CheckBox.cs,
136 CheckBoxList.cs, DataGrid.cs, DropDownList.cs, GridView.cs,
137 HyperLink.cs, ImageButton.cs, LinkButton.cs, ListBox.cs,
138 ListControl.cs, Menu.cs, RadioButton.cs, RadioButtonList.cs,
139 RepeatInfo.cs, Repeater.cs, TextBox.cs, TreeView.cs,
140 ValidationSummary.cs, WebControl.cs: use WebControl.IsEnabled
141 instead of Enabled wherever necessary.
143 2010-06-16 Marek Habersack <mhabersack@novell.com>
145 * FormView.cs: row values must be retrieved with inclusion of
146 keys. Fixes bug #607722
148 2010-06-03 Marek Habersack <mhabersack@novell.com>
150 * Parameter.cs, ControlParameter.cs, SessionParameter.cs,
151 CookieParameter.cs, FormParameter.cs, ProfileParameter.cs,
152 QueryStringParameter.cs: Evaluate is 'protected internal virtual'
155 * RouteParameter.cs: implemented.
157 2010-04-28 Marek Habersack <mhabersack@novell.com>
159 * CheckBoxList.cs: do not modify list item status in LoadPostData
160 when the list control is disabled.
161 If an item is selected and it was unchecked by the user, deselect
162 it. Fixes bug #600415
164 2010-04-13 Marek Habersack <mhabersack@novell.com>
166 * GridView.cs: make sure Header and Footer visibility are set when
167 binding the data. Fixes bug #595567
169 * ImageField.cs, CheckBoxField.cs: OnDataBindField must expect
170 sender to be something else than DataControlFieldCell. Fixes bug
173 2010-04-07 Marek Habersack <mhabersack@novell.com>
175 * FormParameter.cs, CookieParameter.cs, ProfileParameter.cs,
176 QueryStringParameter.cs, SessionParameter.cs: implemented
177 constructor overloads which take DbType as one of the arguments.
179 2010-04-01 Marek Habersack <mhabersack@novell.com>
181 * FormView.cs: do not show the pager if PagerSettings.Visible is
182 false. Fixes bug #578863
184 2010-03-29 Marek Habersack <mhabersack@novell.com>
186 * GridView.cs: main table must be created and added to the
187 controls collection before any OnRowCreated event is fired.
189 2010-03-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
191 * TreeView.cs: use enums instead of strings for attributes.
193 2010-03-06 Marek Habersack <mhabersack@novell.com>
195 * XmlDataSource.cs: reload document when one of Data, DataFile,
196 Transform or TransformFile properties is set. Fixes bug
197 #585968. Fix based on patch from Jeffrey Alvarez
198 <kuritsu@gmail.com>, thanks.
200 2010-02-19 Marek Habersack <mhabersack@novell.com>
202 * SqlDataSource.cs: call base.OnInit in OnInit. Fixes bug #572781
204 2010-02-18 Marek Habersack <mhabersack@novell.com>
206 * ListItemCollection.cs: ItemsEnabled and associated code removed
207 - there's no need to alter ListItem's Enabled property when
210 * ListControl.cs: SaveViewState doesn't set the items collection's
211 ItemsEnabled property as it was removed from ListItemCollection
213 * CheckBoxList.cs: LoadPostData never unselects any item. A better
215 RenderItem renders items as disabled when Enabled is false, but if
216 Enabled is true, item is rendered according to the value of its
217 own Enabled property. Fixes bug #578770
219 * TreeView.cs: RegisterStyle must copy CssClass in addition to
220 other style properties. Fixes bug #580692
222 2010-01-18 Marek Habersack <mhabersack@novell.com>
224 * Parameter.cs: added missing 3.5 APIs - constructors taking
225 DbType as one of the parameters, ConvertDbTypeToTypeCode,
226 ConvertTypeCodeToDbType and GetDatabaseType. Fixes bug #567850
228 2010-01-15 Marek Habersack <mhabersack@novell.com>
230 * ChangePassword.cs: BaseChangePasswordContainer forwards
231 EnsureChildControls call to its owner, so that finding controls in
232 the container works correctly.
234 2009-11-30 Marek Habersack <mhabersack@novell.com>
236 * WebControl.cs: HasAttributes made available as internal for 1.1
237 Avoid calling the Attributes getter many times in
239 If TrackViewState is called and attributes state bag already
240 exists, mark all items in the latter as dirty.
242 * CheckBox.cs, Button.cs, ImageButton.cs, LinkButton.cs: do not
243 create the Attributes collection if not necessary.
245 2009-11-16 Marek Habersack <mhabersack@novell.com>
247 * TreeNodeCollection.cs: whenever a node is added, let the owner
250 * TreeNode.cs: added internal property HadChildrenBeforePopulating
251 which is used to let TreeView know about an error condition where
252 a populate-on-demand node contains children added outside the
253 OnTreeNodePopulate event
255 * TreeView.cs: if a node has any child nodes and PopulatOnDemand
256 is set, throw an exception from RenderNode. This is the behavior
259 2009-11-13 Marek Habersack <mhabersack@novell.com>
261 * TableRowCollection.cs: added .NET compatibility NREX throws to
263 Whenever a row is added/removed, its Container property is
264 set. Fixes bug #551666
266 * TableRow.cs: introduced an internal property, Container, which
267 is set by TableRowCollection whenever this row is added/removed
268 to/from the collection. This allows the row to notify the
269 collectio and, in consequence, collection owner that TableSection
270 has been set and thead/tbody/tfoot elements need to be
271 generated. Fixes bug #551666
273 2009-11-10 Marek Habersack <mhabersack@novell.com>
275 * PasswordRecovery.cs:
276 {Question,Success,UserName}TemplateContainer must all be populated
277 the first time the property is accessed, so that calling
278 FindControl on the container returns valid and expected
279 results. If the associated template is not defined, though,
280 populating is postponed till CreateChildControls is called -
281 that's where default, empty, template will be created. This is
282 required to fix YetAnotherForum's password recovery control.
283 Mail template used in SendPasswordByMail must match the one used
284 in .NET (it has to end with a newline) as YAF parses the message
285 to retrieve user name and password and breaks if the last line
286 doesn't end with a newline character.
288 2009-10-30 Marek Habersack <mhabersack@novell.com>
290 * PasswordRecovery.cs: mail message replacements should include <%
291 Password %> and <% UserName %> and matching should be
292 case-insensitive. Fixes bug #545370
294 2009-10-28 Marek Habersack <mhabersack@novell.com>
296 * ListControl.cs: OnDataBinding must call base implementation
297 before performing the binding, so that DataSource can be assigned
298 from within the handler.
300 2009-10-13 Marek Safar <marek.safar@novell.com>
302 * WebColorConverter.cs: Delegate ConvertFrom to
303 ColorTranslator.FromHtml, it is correctly implemented and knows
306 2009-10-13 Marek Habersack <mhabersack@novell.com>
308 * WebColorConverter.cs: don't use a dictionary to check for valid
309 color names, use Color.IsKnownColor instead. Update for bug
311 Added more CSS2 color name mappings.
313 2009-10-12 Marek Habersack <mhabersack@novell.com>
315 * WebColorConverter.cs: when converting from color name, check if
316 the returned color's name is a member of the
317 System.Drawing.KnownColor enumeration to test for error condition,
318 as some colors might be #000000. Preserve the old error check as a
320 Map "captiontext" and "background" color names to
321 "ActiveCaptionText" and "Desktop", respectively, before passing
322 them to Color.FromName (). Fixes bug #546173
324 2009-10-02 Marek Habersack <mhabersack@novell.com>
326 * GridView.cs: added two 3.5 properties - SelectedPersistedDataKey
327 and IPersistedSelector.DataKey.
329 * BaseDataBoundControl.cs: slight optimizations to FindDataSource
331 2009-09-28 Marek Habersack <mhabersack@novell.com>
333 * DataBoundControl.cs: Initialize sets RequiresDataBinding
334 properly, only when we're not data-bound already, when we aren't
335 in postback or when we are in postback, but with viewstate
336 enabled. Fixes bug #542076
338 2009-09-01 Marek Habersack <mhabersack@novell.com>
340 * ObjectDataSourceView.cs: ExecuteSelect must call
341 QueryTotalRowCount after executing the select method (that's what
344 2009-08-25 Marek Habersack <mhabersack@novell.com>
346 * WebColorConverter.cs: inform the user that the might need to
347 check if libgdiplus is installed when parsing a color name
348 fails. Fixes bug #533749
350 2009-08-21 Marek Habersack <mhabersack@novell.com>
352 * Menu.cs: separator image is rendered next to the item in
353 horizontal layout and is preceeded by 3px spacer (unless
354 itemSpacing is set) to make output match .NET. Fixes bug #474716
356 * TreeNodeCollection.cs: {Save,Load}ViewState now store/load the
357 type of the node, if node is a of a custom type. Fixes bug #475997
359 2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
361 * Parameter.cs: add new DbType property.
363 2009-06-16 Marek Habersack <mhabersack@novell.com>
365 * IPersistedSelector.cs: removed AspNetHostingPermission
366 attributes from the 4.0 profile.
368 * IDataBoundControl.cs, IDataBoundItemControl.cs,
369 IDataBoundListControl.cs, IFieldControl.cs: added
371 * DetailsView.cs: control implements 4.0 IDataBoundItemControl
374 * DataBoundControl.cs: implemented 4.0 property DataSourceObject
375 (internal for 2.0) and made the InternalPerformDataBinding method
376 internal for the 4.0 profile.
378 2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
380 * ContentControlBuilderInternal.cs: detect missing
381 ContentPlaceHolderID attribute when parsing instead of throwing a
384 2009-05-29 Marek Habersack <mhabersack@novell.com>
386 * ListItem.cs: when tracking view state is turned on after
387 attributes have been set, make sure that the associated state bag
388 begins tracking state and that all of its existing items are
389 marked as dirty. Do the same after loading view state. Fixes bug
392 2009-04-29 Marek Habersack <mhabersack@novell.com>
394 * DataBoundControl.cs: added InternalGetDataSource method, used by
397 2009-04-28 Marek Habersack <mhabersack@novell.com>
399 * GridView.cs: implemented ColumnsGenerator and enabled its use in
402 * DetailsView.cs: implemented the RowsGenerator property and
403 enabled its use in CreateFieldSet.
405 2009-04-07 Marek Habersack <mhabersack@novell.com>
407 * TreeView.js: removed nodeText parameter from the JS calls.
409 * TreeView.cs: encode | characters into U+007C, so that
410 RaiseCallbackEvent doesn't get confused.
411 Removed nodeText parameter from the JS calls.
413 2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
415 * TreeNode.cs: reset the path data for all child nodes too.
416 * TreeView.cs: HtmlAttribute encode the node text. When rebuilding the
417 node tree, set the correct index for the nodes so that the Path is
420 2009-04-06 Marek Habersack <mhabersack@novell.com>
422 * TreeView.js: TreeView_ToggleExpand now takes more parameters - a
423 full definition of treeview's node contents.
424 Added new function, TreeView_PopulateNode, which partially takes
425 over role of the PopulateNode function generated in
426 TreeView.OnPreRender (see below). Fixes bug #492307
428 * TreeView.cs: RaiseCallbackEvent needs to recreate the event
429 target's parental tree all the way from the root to the node and
430 populate only the leaf (requested) node. This avoids calling the
431 TreeNodePopulate handler more times than needed. Fixes bug #492307
432 OnPreRender: moved the script code to constants and the script
433 body is now generated using StringBuilder instead of a series of
435 GetClientExpandEvent: adjusted code for new TreeView JavaScript
438 2009-03-17 Marek Habersack <mhabersack@novell.com>
440 * Unit.cs: introduced a field to tell the difference between empty
441 (as in Unit.Empty) and 0px units.
443 2009-03-06 Marek Habersack <mhabersack@novell.com>
445 * WebControl.cs: if savedState is not an instance of Pair in
446 LoadViewState, do not attempt to load from it.
448 2009-02-10 Marek Habersack <mhabersack@novell.com>
450 * ImageButton.cs: AddAttributesToRender renders the onclick
451 attribute only if any of the following is true:
452 - OnClientClick is not empty
453 - Validation is enabled for the control
454 - PostBackUrl is used
455 PostBackOptions now indicate that control requires the javascript
456 protocol for the handler.
457 RaisePostBackEvent passes String.Empty as the argument.
460 2009-02-09 Marek Habersack <mhabersack@novell.com>
462 * ObjectDataSourceView.cs: ExecuteSelect returns a single-item
463 array of objects containing the result, if the result isn't one of
464 DataSet, DataTable or IEnumerable. Fixes bug #471767
466 2009-02-06 Marek Habersack <mhabersack@novell.com>
468 * Style.cs: if CssClass is null, return String.Empty. Fixes bug
470 Added a range check to the BorderStyle property.
472 2009-02-05 Marek Habersack <mhabersack@novell.com>
474 * Login.cs: check the value of DisplayRememberMe when creating
475 the child controls. Fixes #468359
477 2009-01-20 Marek Habersack <mhabersack@novell.com>
479 * Substitution.cs: added. Fixes bug #467460
481 2009-01-13 Marek Habersack <mhabersack@novell.com>
483 * XmlBuilder.cs: updates related to ControlBuilder cleanup.
485 2008-12-01 Marek Habersack <mhabersack@novell.com>
487 * Style.cs: WriteStyleAttributes must not use the fontinfo field
488 directly, it has to be done via the Font property. Fixes bug
491 2008-11-15 Marek Habersack <mhabersack@novell.com>
493 * ContentPlaceHolder.cs, Content.cs, FormViewPagerRow.cs,
494 ChangePassword.cs, DetailsViewPagerRow.cs: implements
495 INonBindingContainer interface.
497 * Wizard.cs: implement INonBindingContainer interface for several
498 private/internal classes.
500 2008-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
502 * ImageButton.cs: clicking an image causes a postback.
505 2008-10-24 Marek Habersack <mhabersack@novell.com>
507 * CheckBox.cs: register for event validation in Render ().
509 2008-10-21 Marek Habersack <mhabersack@novell.com>
511 * XmlDataSource.cs: DataFile may be an URL.
513 2008-10-17 Marek Habersack <mhabersack@novell.com>
515 * ImageMap.cs: added the SupportsEventValidation attribute to the
517 Validate the event in RaisePostBackEvent ().
518 Register for event validation in Render ().
520 * DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().
522 * TextBox.cs: validate the event in LoadPostData ().
523 Register for event validation in AddAttributesToRender ().
525 * HiddenField.cs: validate the event in RaisePostDataChangedEvent.
526 Register for event validation in Render ().
528 * RadioButton.cs: validate the event in LoadPostData ().
529 Register for event validation in InternalAddAttributesToRender.
531 * CheckBox.cs, RadioButtonList.cs: validate the event in
532 RaisePostDataChangedEvent.
534 * Menu.cs: added the SupportsEventValidation attribute to the
536 Validate the event in RaisePostBackEvent ().
537 Register for event validation in GetClientEvent ().
539 * DetailsView.cs, GridView.cs: validate the event in
540 RaisePostBackEvent ().
541 Register for validation in GetCallbackScript () and in OnPreRender
543 * Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
544 ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().
546 2008-10-14 Marek Habersack <mhabersack@novell.com>
548 * CompositeDataBoundControl.cs: renamed the itemcount ViewState
549 item from "_ItemCount" to "_!ItemCount" for .NET
550 compatibility. This item is accessed and used by some commercial
553 * DataBoundControl.cs: OnPagePreLoad must force databinding also
554 when the request is not a postback.
556 2008-10-13 Marek Habersack <mhabersack@novell.com>
558 * Table.cs, TableRowCollection.cs, TableRow.cs: render table
559 sections when necessary. Fixes bug #434555
561 2008-10-08 Marek Habersack <mhabersack@novell.com>
563 * ControlParameter.cs: Evaluate calls DataBinder.Eval to do the
564 evaluation now. This makes it support complex expressions.
566 2008-09-30 Sebastien Pouliot <sebastien@ximian.com>
568 * RoleGroupCollection.cs: Fix recursive calls (wrong target)
569 [Found using Gendarme's BadRecursiveInvocationRule]
571 2008-09-28 Sebastien Pouliot <sebastien@ximian.com>
573 * XmlDataSource.cs: Make sure the result of the multiplication is a
574 long (not an integer casted into a long since it could overflow).
575 [Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
577 2008-09-17 Juraj Skripsky <js@hotfeet.ch>
579 * RadioButton.cs (ValueAttribute, LoadPostData): Fixes bug #426959.
581 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
583 * IPersistedSelector.cs : new in 3.5 SP1.
585 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
587 * DataBoundControlMode.cs : new 3.5 SP1 type.
589 2008-08-25 Marek Habersack <mhabersack@novell.com>
591 * DataBoundControl.cs: set RequiresDataBinding to true in
592 Initialize only if not in a postback, if not data bound and if the
593 view state is enabled. Fixes bug #398318
594 UpdateViewData removes the OnDataSourceViewChanged handler before
595 connecting to the datasource and restores it before returning to
597 OnLoad gets the data source before initialization, to avoid
598 premature OnDataSourceViewChanged triggers. Fixes bug #398318
599 Do not reconnect to the data source if we already have a valid one.
601 2008-08-18 Marek Habersack <mhabersack@novell.com>
603 * Unit.cs: rewrote the unit parser in a slightly slower, but more
604 correct, way. Fixes bug #417502
606 2008-07-28 Marek Habersack <mhabersack@novell.com>
608 * TreeView.cs: when TreeView is displaying a site map and there is
609 no node selected by the user, select the node corresponding to the
610 current page, if any.
612 2008-07-24 Marek Habersack <mhabersack@novell.com>
614 * DataGrid.cs: removed the private class TableID and moved its
615 code to ChildTable.cs (see below). 2.0 instantiates teh ChildTable
616 with the owner parameter now. Fixes bug #400377
618 * ChildTable.cs: refactoring - moved code from TableID previously
619 defined in DataGrid.cs to here and made the class available under
620 different names for both 1.x and 2.x profiles. Fixes bug #400377
622 * MailDefinition.cs: look for the mail body file in the correct
623 path. Patch from Jackson Harper <jaharper@novell.com>,
624 thanks! Fixes bug #408699
626 * PasswordRecovery.cs: do not ask password recovery question if
627 it's disabled. Patch from Jackson Harper <jaharper@novell.com>,
628 thanks! Fixes bug #408696
630 2008-07-16 Marek Habersack <mhabersack@novell.com>
632 * XmlDataSource.cs: check if Page isn't null before stringifying
633 it in GetDataKey (), fixes bug #409492
635 2008-07-13 Roei Erez <roeie@mainsoft.com>
637 * GridView.cs: When the RowDataBound event is invoked, the value
638 of GridView1.DataKeys should contains all the keys up untill the
639 current row, and not be empty.
640 I only changed the order of the user event invocation and the addition
643 2008-07-13 Roei Erez <roeie@mainsoft.com>
645 * TreeView.cs: In case of multiple tree node bingings, select
646 The first one and not the last one.
648 2008-07-10 Roei Erez <roeie@mainsoft.com>
650 * HyperlinkField.cs: Changed behavior of HyperLinkField bound field key
651 to be case insensitive.
653 2008-07-03 Marek Habersack <mhabersack@novell.com>
655 * CheckBox.cs: do not render the language="javascript" attribute
658 2008-07-02 Marek Habersack <mhabersack@novell.com>
660 * GridView.cs: minor optimizations (removed a foreach loop,
661 replaced calls to Array.Length with a variable containing the
664 2008-06-30 Marek Habersack <mhabersack@novell.com>
666 * ObjectDataSourceView.cs, Menu.cs, DataList.cs,
667 CustomValidator.cs: hush the warnings
669 2008-06-10 Noam Lampert <noaml@mainsoft.com>
671 * ListItemCollection.cs: Provide viewstate for dirty collection even if it is empty.
673 2008-05-30 Marek Habersack <mhabersack@novell.com>
675 * BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
676 DataControlFieldCollection.cs, DataControlField.cs,
677 PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
678 event accessors (to avoid locks).
680 2008-05-18 Marek Habersack <mhabersack@novell.com>
682 * HierarchicalDataBoundControl.cs: Modified GetData method to check if
683 DataSource implements IHierarchicalEnumerable and if so constructs and
684 returns a new instance of ReadOnlyDataSourceView. This provides functional
685 compatibility with the Microsoft.NET framework. Fixes bug
686 #395209. Patch contributed by James Fitzsimons
687 <james.fitzsimons@gmail.com>, thanks!
689 2008-05-06 Marek Habersack <mhabersack@novell.com>
691 * Calendar.cs: do not create dateInfo in the constructor - culture
692 might be not set yet at this point. Fixes bug #323566
693 Added a private property, DateInfo, which creates the dateInfo
696 2008-05-05 Sebastien Pouliot <sebastien@ximian.com>
698 * BulletedList.cs: Avoid calling ToString on a string.
699 * ButtonField.cs: Throw, not just create, the exceptions.
700 * HyperLinkField.cs: Throw, not just create, the exceptions.
701 * ImageField.cs: Throw, not just create, the exception. Avoid calling
702 ToString on a string.
703 * ListControl.cs: Avoid calling ToString on a string.
704 [All issues were found using Gendarme]
706 2008-04-30 Marek Habersack <mhabersack@novell.com>
708 * SiteMapDataSource.cs: when no starting node is found, return
709 null instead of Provider.RootNode. Fixes bug #323994
711 2008-04-24 Marek Habersack <mhabersack@novell.com>
713 * SqlDataSource.cs: raise the DataSourceChangedEvent when setting
714 ConnectionString, ProviderName or DataSourceMode properties only
715 when the new value differs from the old one. Fixes bug #359392
717 2008-04-16 Marek Habersack <mhabersack@novell.com>
719 * ObjectDataSourceView.cs: ExecuteSelect should return an empty
720 aray when no data has been retrieved from the specified source
721 type. Fixes bug #380106
723 2008-04-15 Marek Habersack <mhabersack@novell.com>
725 * MailDefinition.cs: dispose of streams the way it should
728 2008-04-10 Marek Habersack <mhabersack@novell.com>
730 * RadioButton.cs: adjust 'name' and 'value' attribute values to
731 match MS.NET. Fixes bug #378024
733 * CheckBoxList.cs: set the Selected property to the value in POST
734 data only if the item in question was enabled before postback
735 occurred. Fixes bug #377703
737 * ListControl.cs: make sure the owned items' Enabled property is
738 set to the same value what ListControl's. Fixes bug #377703
740 * ListItemCollection.cs: fixed SetDirty to store the index of the
741 last dirtied item properly. Fixes bug #377703
742 For the 2.0 profile, set the ListItem instances Enabled property
743 to the value of the owning ListControl (internal ItemsEnabled
744 property was added to make it possible). Fixes bug #377703
746 2008-04-08 Dean Brettle <dean@brettle.com>
748 * DataBoundControl.cs (InternalPerformDataBinding),
749 HierarchicalDataBoundControl.cs (InternalPerformDataBinding),
750 WebControl.cs (Render): fixed cast errors when a ControlAdapter
751 that wasn't of the type corresponding to the control was used.
753 2008-04-03 Marek Habersack <mhabersack@novell.com>
755 * DataList.cs: use the value of SelectedIndex, not selectedIndex,
756 to return the key value in the SelectedValue property. Fixes bug
757 #376519. Patch from Sergey Kuleshov <svyatogor@gmail.com>, thanks!
759 2008-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
761 * AutoGeneratedField.cs, CheckBoxField.cs: fixed OnDataBindField,
762 should hide checkbox only if DataItem is not defined
764 2008-03-09 Dean Brettle <dean@brettle.com>
766 * DetailsView.cs, ListControl.cs, DataBoundControl.cs,
767 FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs:
768 added support for using ControlAdapters when present.
770 * WebControl.cs: fixed implementation of IsEnabled to match
773 * Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of
774 RenderMenuItem() if an adapter is present. MenuAdapter.RenderItem()
775 calls back to new Menu.RenderItem() internal method which calls
776 RenderMenuItem() with the appropriate parameters.
778 2008-02-25 Igor Zelmanovich <igorz@mainsoft.com>
781 at Update and Delete use not read only coppies of dictionaries
782 in event argumens, that allows user to change them before corresponding
783 DataSource's method is called.
785 2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>
787 * Login.cs: render id attribute of root element correctly.
789 2008-02-18 Marek Habersack <mhabersack@novell.com>
791 * FormView.cs: the ItemCreated must be fired before data is bound
792 to the FormView. Fixes bug #360434
794 2008-02-07 Igor Zelmanovich <igorz@mainsoft.com>
796 * Login.cs: render id attribute of root element correctly.
798 2008-02-05 Marek Habersack <mhabersack@novell.com>
800 * FileUpload.cs: make sure FileContent always returns the input
801 stream positioned at the beginning. Fixes bug #356846
803 2008-01-31 Igor Zelmanovich <igorz@mainsoft.com>
805 * Calendar.cs: resolve Next/Prev. month link date correctly.
807 2008-01-29 Igor Zelmanovich <igorz@mainsoft.com>
809 * TreeView.cs: add XPFileExplorer icon set.
811 2008-01-28 Igor Zelmanovich <igorz@mainsoft.com>
813 * Menu.js: dynamic nodes are positioned after hover style of
814 parent node is applied.
816 2008-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
818 * DataSourceCacheManager.cs: fixed GetKeyFromParameters, incase more
819 than one datasource using the same object with the same select method
821 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
823 * ValidationSummary.cs:
824 refactoring: If page contents instance of IScriptManager, it calls
825 it's API instead Page.ClientScript.
827 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
829 * Menu.cs: fixed rendering.
831 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
834 manage history state on "MovePrevious" action.
836 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
839 resolve BulletImageUrl,
840 register for event validation.
842 2008-01-13 Igor Zelmanovich <igorz@mainsoft.com>
846 upgrade client side script due to changes in webform.js.
848 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
850 * BaseCompareValidator.cs:
852 * CompareValidator.cs:
853 * CustomValidator.cs:
855 * RegularExpressionValidator.cs:
856 * RequiredFieldValidator.cs:
857 refactoring: If page contents instance of IScriptManager, validators call
858 it's API instead Page.ClientScript.
860 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
865 for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
866 in GetPostBackOptions.
868 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
870 * DetailsView.cs: render invisible rows correct.
872 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
874 * DataControlField.cs: prevent infinite recursion
876 2008-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
878 * DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding
881 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
883 * DataSourceCacheManager.cs: fixed SetCachedObject, fixed
886 2007-12-24 Igor Zelmanovich <igorz@mainsoft.com>
888 * TreeView.cs: revert changes from r91230
890 2007-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
892 * ListControl.cs: fixed Load/SaveViewState, removed selected indices
894 * ListItem.cs: fixed Load/SaveViewState, added selected state storing
895 * ListItemCollection.cs: fixed Load/SaveViewState, added flag to not
896 rebuild the collection if was'nt changed
898 2007-12-13 Marek Habersack <mhabersack@novell.com>
900 * Menu.cs, TreeView.cs: optimize use of String.Format in
902 Speed optimization - use String.Concat instead of String.Format in
905 * GridView.cs, DetailsView.cs: optimize use of String.Format in
908 * CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
909 WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
910 ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
911 optimization - use String.Concat instead of String.Format in some cases.
913 2007-12-13 Vladimir Krasnov <vladimirk@mainsoft.com>
915 * Menu.cs: fixed rendering without head tag on page
917 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
919 * Calendar.cs: performance optimizations:
920 BuildLink fixed, StringBuilder used.
921 TodaysDate DateTime.Today call cahced.
923 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
925 * Unit.cs: performance optimization: ToString fixed, string.Concat used
926 instead of string.Format
928 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
930 * Style.cs: performance optimization: suppress finalizer added
932 2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>
936 evaluate bound value using ThisExpession ("!") properly
938 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
940 * WebControl.cs: enabled state restored properly.
942 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
945 refactoring for NET_2_0:
946 Text is removed from view state in case of need at SaveViewState phase.
948 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
951 SelectedValue/SelectedIndex is set during DataBinding always.
953 2007-11-06 Marek Habersack <mhabersack@novell.com>
955 * DataGrid.cs: add RenderTable before the DataGridItems, so that
956 numbering of children is the same what on MS.NET.
957 If there are any data items, require a postback script.
960 * ChildTable.cs: removed DOS EOLs.
962 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
965 does not perform authentication if Page.IsValid returns false;
966 the fix makes control works with disabled client side validation.
968 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
971 state of DataList.Items are restored correct on PostBack
972 such Items.Count and ItemType.
974 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
977 validator is rendered correct if EnabledClientClient is false.
979 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
981 * Image.cs: fixed management state of Enabled property.
982 * WebControl.cs: refactoring in management state of Enabled property.
984 2007-10-23 Marek Habersack <mhabersack@novell.com>
986 * ListBox.cs, Table.cs: use Render{Begin,End}Tag
987 instead of the Write* counterparts when rendering contents.
989 2007-10-18 Marek Habersack <mhabersack@novell.com>
991 * Menu.js: a workaround for an IE bug. IE recalculates element's
992 offsetWidth when the element's _height_ is set - which in case of
993 elements with overflowing content results in a value that's just
994 slightly smaller than the client window width. In effect, a long
995 submenu will also be very wide, which isn't desirable. Fixes bug
998 2007-10-15 Marek Habersack <mhabersack@novell.com>
1000 * ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
1003 * BulletedList.cs: html encode the item text. Fixes bug #333550.
1005 2007-10-01 Marek Habersack <mhabersack@novell.com>
1007 * ListItem.cs: make HasAttributes available for the 1.1 profile as
1010 * DropDownList.cs: render custom ListItem attributes in the 1.1
1011 profile. Fixes bug #326288
1013 2007-09-27 Marek Habersack <mhabersack@novell.com>
1015 * Button.cs: added missing OnPreRender method.
1017 2007-09-25 Marek Habersack <mhabersack@novell.com>
1019 * WebControl.cs: added an internal method, BuildScriptAttribute,
1020 which merges the specified JavaScript code in an attribute, with
1021 the value of that attribute specified by the user.
1023 * CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
1024 preserve user-specified attribute value, if present.
1026 * ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
1027 after doing its job. AutoPostBack handling makes sure to preserve
1028 user-specified attribute value, if present. Fixes bug #327816.
1030 2007-09-21 Marek Habersack <mhabersack@novell.com>
1032 * ListItem.cs: don't save StateBag in the control state - the
1033 class is not serializable and therefore ObjectStateFormatter
1034 cannot convert it. Instead have the sb object save its own state
1035 and store the returned value. Fixes bug #326288.
1037 2007-09-20 Marek Habersack <mhabersack@novell.com>
1039 * LoginView.cs: implemented RoleGroups support. Fixes bug
1042 2007-09-19 Marek Habersack <mhabersack@novell.com>
1044 * GridView.cs: copy attributes from GridView to the child table,
1045 as this is where the rendering takes place. Fixes bug #326309.
1047 2007-09-18 Marek Habersack <mhabersack@novell.com>
1049 * Calendar.cs: correctly apply day cell style. Fixes bug #315903
1051 2007-09-17 Marek Habersack <mhabersack@novell.com>
1053 * Calendar.cs: style attribute value must be enclosed in quotes.
1055 * TableStyle.cs: do not capitalize the align styles. Fixes bug
1058 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
1060 * ListControl.cs: partially restored r85314
1061 whenever a property that can affect data binding
1062 is set, make sure to set RequiresDataBinding.
1064 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
1066 * DataBoundControl.cs: fixed DataBind flow:
1067 prevent double binding when not necessary.
1070 2007-08-31 Marek Habersack <mhabersack@novell.com>
1072 * GridView.cs: instead of not adding hidden fields to the rows,
1073 mark the cells they would contain as invisible. Fixes bug #82615.
1075 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1079 make Menu work in multi form environment.
1081 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1083 * ListControl.cs: fixed selected items state management.
1085 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1087 * BaseCompareValidator.cs:
1089 * CompareValidator.cs:
1090 * CustomValidator.cs:
1091 * RangeValidator.cs:
1092 * RegularExpressionValidator.cs:
1093 * RequiredFieldValidator.cs:
1094 all Validators use RegisterExpandoAttribute for
1095 not XHTML compliant attributes.
1097 2007-08-23 Igor Zelmanovich <igorz@mainsoft.com>
1099 * Panel.cs: client script consider MultiForm environment.
1101 2007-08-21 Marek Habersack <mhabersack@novell.com>
1103 * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
1106 2007-08-20 Marek Habersack <mhabersack@novell.com>
1108 * ContentPlaceHolderBuilder.cs: store place holder id in the
1109 parser's internal place holder id list for later reference. Fixes
1112 2007-08-19 Vladimir Krasnov <vladimirk@mainsoft.com>
1114 * BoundField.cs: FormatDataValue, refactored multiple use of ToString
1116 2007-08-14 Marek Habersack <mhabersack@novell.com>
1118 * ObjectDataSourceView.cs: remove unused variable.
1120 * ChangePassword.cs: remove unused variable.
1121 The change password button id changed to
1122 "ChangePasswordPushButton", the cancel button id changed to
1123 "CancelPushButton". The change makes the generated ids the same
1124 what on MS.NET. Fixes bug #82418.
1126 * RoleGroupCollection.cs: OnValidate shouldn't be overridden.
1128 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1130 * ParameterCollection.cs: fixed IndexOfString, should use ordinal
1133 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1135 * Menu.cs: performance refactoring, used AddAttribute overload without
1136 encoding on known attribute values, optimized DynamicMenu rendering
1138 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1140 * TreeView.cs: refactoring, used AddAttribute overload without encoding
1141 on known attribute values,
1142 used Page.ClientScript.GetWebResourceUrl call instead of
1143 AssemblyResourceLoader.GetResourceUrl
1145 2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
1147 * AccessDataSource.cs: does not subscribed on view changed event.
1148 * ObjectDataSource.cs: fixed state management.
1149 * SqlDataSource.cs: fixed state management.
1151 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1154 DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs,
1155 RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs,
1156 TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs,
1157 BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs,
1158 RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs,
1159 ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs,
1160 TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs:
1161 refactoring, used AddAttribute overload without encoding on known attribute
1164 2007-08-01 Igor Zelmanovich <igorz@mainsoft.com>
1166 * DropDownList.cs: fixed onchange attibute.
1168 2007-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
1170 * ListItemCollection.cs: fixed LoadViewState, items restored from
1171 viewstate were not saved, fixes bug #82192
1173 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1175 * BaseValidator.cs: All client scripts are rendered
1176 according IsMultiForm property.
1178 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1180 * TreeView.cs: refactoring:
1182 used ClientScriptManager.GetCallbackEventReference API instead calling
1183 WebForm_DoCallback explicit.
1185 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1187 * BaseValidator.cs: for NET_2_0: fixed client side validation.
1188 validation is performed in WebForm_DoPostback,
1189 and there is no need to do it twice in ValidatorOnSubmit.
1191 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1193 * Calendar.cs: fixed: correct 'id' attribute is rendered.
1195 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
1197 * ListItemCollection.cs: optimized SetDirty method
1199 2007-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1203 * ListItemCollection.cs: controls based on ListControl should not save
1204 view state before than TrackViewState called
1206 2007-07-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1208 * WebControl.cs: fixed AddDisplayStyleAttribute, returns if
1209 ControlStyle is not created
1211 2007-07-02 Marek Habersack <mhabersack@novell.com>
1213 * WebControl.cs: Revert r80368, as it wasn't the correct
1214 fix. Fixes bug #81945.
1216 * ListControl.cs: if there are no items in the collection, do not
1217 return an empty ArrayList from GetSelectedIndicesInternal. Fixes
1218 bug #81945 and properly fixes bug #78533.
1220 * ListItemCollection.cs: if there are no items in collection,
1223 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1226 the Pager is created but unvisible for only one page.
1227 the Patch submitted by Dumitru Ban [dban@dako.ro]
1229 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1234 does not requires data binding if any ITemplate property is set.
1236 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1238 * CheckBox.cs: fixed Render, HasAttributes called instead
1241 2007-06-24 Igor Zelmanovich <igorz@mainsoft.com>
1243 * GridView.cs: fixed AllowPaging feature:
1244 When the AllowPaging is true the GridView control should automatically
1245 hide the pager row when the data source contains fewer than 2 records.
1246 patch Patch submitted by Dumitru Ban [dban@dako.ro]
1248 2007-06-20 Marek Habersack <mhabersack@novell.com>
1250 * WebControl.cs: if savedState is a Triplet, take the actual state
1251 data from savedState.First. Also make sure that the data is a
1252 Pair. Fixes bug #78533.
1254 * DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
1255 to keep private entries.
1256 * XmlDataSource.cs: as above
1258 2007-05-31 Vladimir Krasnov <vladimirk@mainsoft.com>
1260 * BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed
1261 to ClientScriptManager
1263 2007-05-29 Igor Zelmanovich <igorz@mainsoft.com>
1265 * ObjectDataSourceView.cs:
1266 * SiteMapDataSource.cs:
1268 * SqlDataSourceView.cs:
1269 DataSourceChanged and DataSourceViewChanged are raised in right case, when
1270 different properties changed their value.
1272 2007-05-27 Igor Zelmanovich <igorz@mainsoft.com>
1274 * ObjectDataSourceView.cs: fixed SelectMethod and SelectCountMethod properties:
1275 when changed, DataSourceViewChanged event is raised.
1277 * SqlDataSourceView: fixed SelectCommand property:
1278 when changed, DataSourceViewChanged event is raised.
1280 2007-05-25 Marek Habersack <mhabersack@novell.com>
1282 * ObjectDataSourceView.cs: CreateDataObject must pay attention to
1283 TypeConverter attributes on the property being converted.
1285 2007-05-24 Igor Zelmanovich <igorz@mainsoft.com>
1287 * Menu.cs: fixed: alt attribute is rendered as well.
1289 2007-05-16 Marek Habersack <mhabersack@novell.com>
1291 * CompareValidator.cs: formatting changes
1293 2007-05-15 Marek Habersack <mhabersack@novell.com>
1295 * ObjectDataSourceView.cs: refactoring - use
1296 HttpApplication.LoadType to look up types.
1298 2007-05-10 Marek Habersack <mhabersack@novell.com>
1300 * Table.cs: render rows, not controls
1302 * HyperLink.cs: RenderContents must check if the render method
1303 delegate is present and, if yes, call the base RenderContents.
1305 * LinkButton.cs: as above.
1307 * Label.cs: as above.
1309 * TableCell.cs: as above.
1310 This change makes the HeaderTemplate in the Wizard control work.
1312 * Wizard.cs: if a next/previous step handler modifies
1313 ActiveStepIndex do not, respectively, increase/decrease the
1314 current step, but use whatever was set in the handler.
1316 2007-05-09 Marek Habersack <mhabersack@novell.com>
1318 * TreeNodeStyleCollection.cs: do not set font's underline flag to
1319 false, set it to its own value instead.
1321 * TreeView.cs: if level style exists and has ChildNodesPadding
1322 set, it takes precedence over the node style setting (if any).
1324 2007-05-08 Marek Habersack <mhabersack@novell.com>
1326 * TreeView.cs: children padding is rendered only before and after
1327 the children are rendered, not between them. Also, render padding
1328 only if there are any nodes to follow the current one.
1330 2007-05-07 Marek Habersack <mhabersack@novell.com>
1332 * Wizard.cs: additional checks to see whether the wizard needs to
1333 move to a next step or not. Fixes bug #81532. Patch sent by Mike
1334 Morano <mmorano@mikeandwan.us>, thanks!
1336 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1338 * FormView.cs: fixed:
1339 avoid NullReferenceException when used EditTemplate w/o binding
1340 directive such Eval or Bind.
1342 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1344 * MenuItem.cs: fixed:
1345 when 'Value' property is not set, value of 'Text' property is used
1346 instead and vice versa.
1348 2007-05-06 Igor Zelmanovich <igorz@mainsoft.com>
1350 * TreeNode.cs: fixed:
1351 when 'Value' property is not set, value of 'Text' property is used
1352 instead and vice versa.
1354 2007-05-04 Marek Habersack <mhabersack@novell.com>
1356 * AdRotator.cs: use the new GetPhysicalFilePath method to look up
1357 the physical path of the ad file.
1359 2007-05-03 Marek Habersack <mhabersack@novell.com>
1361 * TreeView.cs: honor ChildNodesPadding of the NodeStyle.
1363 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1365 * ControlPropertyNameConverter.css:
1366 * FontUnitConverter.cs:
1368 * ValidatedControlConverter.cs:
1371 2007-05-03 Marek Habersack <mhabersack@novell.com>
1373 * TreeNode.cs: correct version of the fix in r76488. Nodes
1374 retrieved from a navigation data source which have empty URL will
1377 * TreeView.cs: revert r76488, it wasn't entirely correct. I need
1378 to investigate the special cases it solved a bit more.
1380 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
1382 * SqlDataSourceView.cs:
1383 make CancelSelectOnNullParameter property works.
1385 2007-05-01 Marek Habersack <mhabersack@novell.com>
1387 * BaseValidator.cs: do not use User-Agent directly, we must take
1388 ClientTarget into account.
1390 2007-04-30 Marek Habersack <mhabersack@novell.com>
1392 * TreeView.cs: bring rendering closer to the MS.NET rendering.
1394 * SqlDataSource.cs: do not catch the exception if ProviderName is
1395 not null or empty (as per docs and what MS.NET does).
1397 2007-04-19 Igor Zelmanovich <igorz@mainsoft.com>
1399 * ChangePassword.cs:
1400 does not accept invalid new password.
1402 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1406 added MonoLimitation attributes
1408 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1410 * BaseValidator.cs: for TARGET_J2EE:
1411 used Page.Request.Browser to determine RenderUplevel
1413 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1416 when databound with AutoGenerateColumns = true,
1417 data source enumerator created only once.
1419 2007-04-18 Marek Habersack <mhabersack@novell.com>
1421 * SiteMapDataSource.cs: query the site map for the current node
1422 when configured to use it as the start point. Fixes bug #81376,
1423 patch from Mike Morano <mmorano@mikeandwan.us>.
1425 * Calendar.cs: change year/month format to be culture aware. Fix
1426 for bug #81390. Patch submitted by Atsushi Enomoto
1427 <atsushi@ximian.com>
1429 2007-04-17 Daniel Nauck <dna@mono-project.de>
1431 * PasswordRecovery.cs: fixed typo (AnswerLabel.Text).
1433 2007-04-17 Marek Habersack <mhabersack@novell.com>
1435 * BaseValidator.cs: use the new uplevel browser detection code.
1437 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1439 * SqlDataSourceView.cs: fixed: InitializeParameters:
1440 restored flow, broken in r75137.
1442 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1444 * Menu.cs: popup menu is posed correctly if menu is placed within
1445 container with position=relative
1447 2007-04-12 Marek Habersack <mhabersack@novell.com>
1449 * LoginView.cs: do not call CreateChildControls directly from the
1450 IsAuthenticated setter since that would destroy the controls the
1451 user might've configured from their Page_PreRender method.
1452 Do not use IsAuthenticated in CreateChildControls since that
1453 prevents the _correct_ template from being instantiated before the
1454 control is transferred to the user's OnPreRender handler. Fixes
1457 2007-04-11 Marek Habersack <mhabersack@novell.com>
1459 * ImageButton.cs: implement the Enable property and do not
1460 register for post back if the control isn't enabled.
1462 2007-04-06 Marek Habersack <mhabersack@novell.com>
1464 * GridView.cs: don't render invisible fields. Fixes bug #80061.
1466 * DetailsView.cs: don't render invisible fields.
1468 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1470 * Menu.cs: resolve selected MenuItem if bounded with SiteMapeDataSource.
1472 2007-04-05 Marek Habersack <mhabersack@novell.com>
1474 * BaseDataBoundControl.cs: restore the LAMESPEC note and code it
1475 describes - tests show this is what's happening on MS.NET as
1478 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1481 * BaseDataBoundControl.cs:
1482 Break recursion when the property is set from within the OnSelect handler
1483 in user's code. fixes bug #81175.
1485 2007-04-05 Marek Habersack <mhabersack@novell.com>
1487 * SiteMapDataSource.cs: fix GetStartNode for situations when the
1488 current URL is not defined in the sitemap file. Fixes bug
1489 #81314. Patch from Mike Morano <mmorano@mikeandwan.us>.
1491 2007-04-03 Marek Habersack <mhabersack@novell.com>
1493 * BaseDataBoundControl.cs: adjust for lame specs on MSDN.
1495 2007-04-02 Gert Driesen <drieseng@users.sourceforge.net>
1497 * MenuItem.cs: Use INavigateUIData.Description as ToolTip. Fixed line
1500 2007-03-29 Adar Wesley <adarw@mainsoft.com>
1502 * ObjectDataSourceView.cs: fixed events so they are raized at the
1503 right times. Added many tests to verify the correct time.
1504 * SqlDataSourceView.cs: fixed events so they are raized at the right
1505 times. Added many tests to verify the correct time.
1507 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1511 avoid Exception if HierarchicalDataSourceView.Select() returns null.
1513 2007-03-22 Igor Zelmanovich <igorz@mainsoft.com>
1515 * ObjectDataSource.cs:
1516 * ObjectDataSourceView.cs:
1518 * SqlDataSourceView.cs:
1519 fixed flow: changes in Insert/Update/DeleteParameters does not
1520 cause DataSourceViewChanged event.
1522 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1524 * BaseDataBoundControl.cs: fix as per MSDN - the property is set
1525 only if data binding doesn't occur.
1527 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1529 * GridView.cs: fixed: PageIndex considers PageCount.
1531 2007-03-20 Marek Habersack <mhabersack@novell.com>
1533 * DataBoundControl.cs: avoid endless recursion here. Fixes bug #81175
1535 * LoginStatus.cs: render login/logout controls with the CssClass
1536 set from the parent control. Fixes bug #81196
1538 2007-03-19 Igor Zelmanovich <igorz@mainsoft.com>
1540 * DataGrid.cs: fixed Save/Load view state, applying styles.
1542 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
1544 * Style.cs: optimization: used CssStyleCollection .ctor w/o parameters.
1546 2007-03-09 Marek Habersack <mhabersack@novell.com>
1548 * Login.cs: Make command name comparison case-insensitive in
1549 OnBubbleEvent. Patch from Mike Morano <mmorano@mikeandwan.us>
1551 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1553 * DataGrid.cs: fixed:
1554 Auto-generated columns are restored properly on postback from view state.
1556 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1559 when AddAttributesToRender(System.Web.UI.HtmlTextWriter, WebControl)
1560 is called, WebControl parameter is passed as argument to
1561 FillStyleAttributes (CssStyleCollection, IUrlResolutionService) method.
1563 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1567 fixed applying styles if ExtractTemplateRows=true.
1569 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1571 * DropDownList.cs: in 2.0 first item is rendered with selected attribute
1572 is Enabled=false and no selected items.
1574 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1576 * CheckBoxList.cs: in 2.0 access key attribute is rendered in 'input' tags.
1578 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1584 * RadioButtonList.cs:
1585 fixed: list controls consider ListItem.Attributes property on render.
1587 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1589 * CheckBox.cs: fixed: 'span' tag is not rendered if all attributes
1590 are rendered in 'input' tag.
1592 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1596 used "ONLY_1_1" instead "!NET_2_0"
1598 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1600 * BaseDataBoundControl.cs:
1601 * DataBoundControl.cs:
1602 * HierarchicalDataBoundControl.cs:
1603 refactoring: DataBoundControl and HierarchicalDataBoundControl use internal
1604 method in BaseDataBoundControl to find a data source control.
1606 2007-03-05 Marek Habersack <mhabersack@novell.com>
1608 * Unit.cs: Support parsing of units in the form ".9em" etc.
1610 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1612 * TemplateColumn.cs: fixed: if ItemTemplate is null, " " is rendered.
1614 2007-03-05 Marek Habersack <mhabersack@novell.com>
1616 * BaseValidator.cs: make validators work correctly with
1617 ListItems. Patch from Daniel Nauck <dna@informatik.uni-kiel.de>
1619 2007-03-04 Marek Habersack <mhabersack@novell.com>
1621 * HierarchicalDataBoundControl.cs: Use the method described below
1622 to get the data source named in DataSourceID.
1624 * BaseDataBoundControl.cs: add an internal method to find a data
1625 source control within all the naming containers above a given
1626 control. The method makes it possible to find controls that reside
1629 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1631 * Repeater.cs: fixed: data-binding flow for 2.0 features.
1633 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1636 * ParameterCollection.cs:
1637 fixed GetValue/s and UpdateValue/s.
1639 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1641 * TreeNodeCollection.cs:
1642 fixed Save/Load viewstate.
1644 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1646 * MenuItemCollection.cs:
1647 fixed Save/Load viewstate.
1649 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1651 * CreateUserWizard.cs:
1653 fixed CausesValidaion and ValidationGroup for navigation buttons.
1655 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1659 fixed LoadPostData to restore checked state for node's checkboxes.
1661 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1663 * TreeNodeCollection.cs: 'dirty' flag is assigned if 'marked' only
1665 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1667 * BaseDataBoundControl.cs: setting DataSource to null does not
1668 call ValidateDataSource.
1669 * HierarchicalDataBoundControl.cs: ValidateDataSource does not
1670 throw exception if argument is null.
1672 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1674 * WebControl.cs: implemented IsEnabled and HasAttributes.
1676 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1678 * BaseDataList.cs: fixed: data-binding flow for 2.0 features.
1680 2007-02-27 Marek Habersack <grendello@gmail.com>
1682 * FileUpload.cs: HasFile is true only if PostedFile is not null
1683 and it actually has an associated file.
1685 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1687 * LoginView.cs: fixed:
1688 ViewChanging and ViewChanged are fired.
1689 optimized Save/Load control state.
1691 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1693 * CreateUserWizard.cs: fixed: does not attempt to send email if
1694 MailDefinition is not defined.
1696 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1699 considers FormsAuthentication.ReturnUrl only if is placed in
1700 the login page defined in web.config.
1702 2007-02-23 Marek Habersack <grendello@gmail.com>
1704 * ObjectDataSourceView.cs: Fix saving/restoring the view state.
1706 * CreateUserWizard.cs: support for sending mail when a new user is
1707 created. Patch from dban@dako.ro.
1709 2007-02-22 Marek Habersack <grendello@gmail.com>
1711 * LoginStatus.cs: Handle OnLoggedOut properly. Patch from
1714 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1716 * ObjectDataSourceView.cs: fixed ViewState behavior to match MS. Added relevant tests.
1718 2007-02-20 Gert Driesen <drieseng@users.sourceforge.net>
1720 * Calendar.cs: Fixed bug #80881 by using Thread's CurrentCulture
1721 instead of CurrentUICulture for DateFormatInfo.
1723 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1725 * SqlDataSource.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1726 * SqlDataSourceView.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1728 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
1730 * ChangePassword.cs: fixed:
1731 ChangePasswordContainer and SuccessContainer cannot be BindingContainer.
1733 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1735 * SqlDataSourceView.cs: Fixed parameter merging logic and some bug fixing.
1738 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
1743 implemented Form.SubmitDisabledControls feature.
1745 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1747 * GridView.cs: IsBindableType for decimal returns true.
1749 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1751 * Menu.js: client script: support IE6.
1753 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1755 * Menu.cs: fixed: considers item.ToolTip, render image inside 'a' tag.
1757 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
1759 * Button.cs, ImageButton.cs, LinkButton.cs: Hanlding of PostbackOptions for
1760 TARGET_J2EE is now centralized in ClientScriptManager.
1761 * TreeView.cs, DetailsView.cs, GridView.cs, TreeView.js, DetailsView.js,
1762 GridView.js: Added a field to the controls JavaScript 'data' object. The
1763 form is initialized to the page 'theForm'. This is used for J2EE portlets
1766 2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1769 first step is recognized as 'finish' if only two steps
1770 and last step is 'complete'
1772 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1774 * BaseValidator: ControlPropertiesValid is called on PreRender
1775 * CompareValidator.cs:
1776 * RangeValidator.cs: fixed ControlPropertiesValid, EvaluateIsValid.
1778 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1780 * BaseCompareValidator.cs: fixed: support for type=Currency on client side.
1782 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1784 * ParameterCollection.cs: fixed IndexOfString, this indexer should be
1787 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
1789 * TreeView.js: refactoring:
1790 removed TreeView_ErrorCallback, used TreeView_PopulateCallback instead.
1792 2007-02-13 Adar Wesley <adarw@mainsoft.com>
1794 * ObjectDataSourceView.cs: fixed parameter merging and added more tests
1796 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1798 * Literal.cs: implemented 2.0 feature - Mode.
1800 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1802 * ViewCollection.cs: fixed public API.
1804 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1806 * RepeaterItem.cs: implemented IDataItemContainer interface.
1808 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1810 * TreeNodeStyle.cs: fixed public API.
1812 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1814 * MenuItemStyle.cs: fixed public API.
1816 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1819 * DayRenderEventArgs.cs:
1820 implemented 2.0 feature - SelectUrl.
1822 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1824 * GridViewRowCollection.cs: implemented IsReadOnly property.
1826 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1828 * BaseValidator.cs: implemented SetFocusOnError feature.
1830 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1832 * Wizard.cs: refactoring:
1833 used ContainedTable for ID attribute is rendered properly.
1835 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1837 * CreateUserWizard.cs:
1841 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1843 * DataList.cs: fixed: OnBubbleEvent() will return true if event is handled
1845 2007-02-09 Gert Driesen <drieseng@users.sourceforge.net>
1847 * FontUnit.cs: Fixed ToString () to use current locale.
1849 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1851 * BaseValidator.cs: fixed render, works in static mode properly
1852 * CreateUserWizard.cs: fixed display mode for validators.
1854 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1858 implemented FormViewPagerRow class
1860 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1863 header and footer visibility is set at creation.
1865 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1867 * FormView.cs: fixed:
1868 header and footer are not created with empty row.
1870 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1872 * FormView.cs: fixed:
1873 works properly with not ICollection data source.
1875 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1877 * DetailsView.cs: fixed:
1878 PageIndex, CreateChildControls,
1879 works properly with not ICollection data source.
1881 2007-02-06 Eyal Alaluf <eyala@mainsoft.com>
1883 * Menu.cs ImageMap.cs Panel.cs TreeView.cs: Ensure that the NavigateUrl
1884 property is rendered as a RenderURL for J2EE portlets.
1886 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1888 * BaseValidator.cs: refactored RegisterValidatorCommonScript to use
1889 RegisterClientScriptInclude instead of RegisterClientScriptBlock
1891 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1893 * DataBoundControl.cs:
1896 PerformDataBinding is called with RequiresDataBinding was set false
1898 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1901 fixed validation flow.
1903 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1906 fixed validation flow.
1908 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1910 * CustomValidator.cs:
1911 ValidateEmptyText is considered on client side.
1913 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1918 * DataControlButton.cs:
1919 * DataControlField.cs:
1922 Internal classes are used in databound controls for buttons
1923 are derived from right types. It allows to have access to them by casting
1924 to public types. This trick is used in one of starter kits of MS.
1926 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1928 * Panel.cs: fixed: reverted r71441.
1929 * TreeView.cs: used internal RegisterWebFormClientScript API
1930 to cause the relevant script be included.
1932 2007-02-01 Adar Wesley <adarw@mainsoft.com>
1934 * FormView.cs: fixed events ModeChanging and ModeChanged
1935 to be raized in all relevant situations.
1937 2007-02-01 Igor Zelmanovich <igorz@mainsoft.com>
1939 * ValidationSammary.cs: fixed:
1940 control is rendered even if there is no validators on the page.
1941 important if the page contain a client side script that refer to the
1942 id of the validation summary div.
1944 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1949 * RadioButtonList.cs:
1950 EnsureDataBound is called when PostData is processed to restore
1951 'state' of control if EnableViewState is false
1953 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1955 * GridView.cs: fixed:
1956 RowDataBound is fired for PagerRow.
1957 Styles are applied using MergeWith instead CopyFrom
1958 to allow using custom styles for rows in code-behind.
1960 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1962 * GridView.cs: fixed: RowCommand event is fired properly.
1964 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1966 * GridView.cs: fixed: created rows are added in table after initialization.
1969 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1971 * Panel.cs: fixed 'background-image' attribute.
1973 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1975 * BaseDataBoundControl.cs:
1976 * DataBoundControl.cs:
1977 fixed DataBinding flow: RequiresDataBinding is set to false in
1979 * HierarchicalDataBoundControl.cs: implemented MarkAsDataBound().
1981 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1985 fixed DataBinding flow for Insert mode.
1987 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1990 does not RegisterRequiresPostBack if is not enabled.
1992 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1996 fixed PopulateOnDemand: used UniqueID to call WebForms_DoCallBack().
1998 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
2000 * MultyView.cs: OnActiveViewChanged is called.
2002 2007-01-29 Vladimir Krasnov <vladimirk@mainsoft.com>
2004 * Panel.cs: fixed AddAttributesToRender for 2.0, text align should be
2007 2007-01-29 Adar Wesley <adarw@mainsoft.com>
2009 * EditCommandColumn.cs: implemented CausesValidation and
2010 ValidationGroup and coresponding tests.
2011 * DataGrid.cs: fixed generated table to be compatible with MS 2.0
2013 2007-01-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2015 * WebControl.cs: added internal method AddDisplayStyleAttribute for
2016 display:inline-block style attribute
2019 * CheckBox.cs: added call to AddDisplayStyleAttribute on rendering
2021 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
2023 * TreeView.js: Used WebForm_GetFormFromCtrl to lookup the form.
2025 2007-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
2027 * TextBox.cs: implemented AutoCompleteType property, fixed
2028 AddAttributesToRender
2030 2007-01-24 Ilya Kharmatsky <ilya -at- decode-systems.com>
2032 * DetailsView.cs: fixed problems with rendering of control, when
2033 empty data source is provided. Respective tests are provided
2034 in DetailsViewTest.cs
2036 2007-01-21 Konstantin Triger <kostat@mainsoft.com>
2038 * TreeView.js, DetailsView.js, Menu.js, GridView.js:
2039 suppress exception if eval() fails.
2041 2007-01-20 Miguel de Icaza <miguel@novell.com>
2043 * DataControlFieldCollection.cs (RemoveAt): remove unused
2046 * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
2049 * RadioButton.cs (RaisePostDataChangedEvent): This method was not
2050 used in 1.0, so put the whole method in 2.0
2052 2007-01-18 Adar Wesley <adarw@mainsoft.com>
2054 * Xml.cs: added support for XPathNavigator, fixed DocumentContent
2055 to be compatible with MS 2.0, implemented EnableTheming, implemented
2056 SkinID, fixed Focus behavior.
2058 2007-01-18 Vladimir Krasnov <vladimirk@mainsoft.com>
2060 * Menu.js, Menu.js: added null reference checking for every getTree or
2063 2007-01-18 Adar Wesley <adarw@mainsoft.com>
2065 * SiteMapDataSource.cs: implemented logic of GetStartNode when
2066 StartingNodeOffset is positive.
2068 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
2070 * BaseValidator.cs: ToString the validating property value or
2071 if null return an empty string.
2073 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2075 * TreeView.cs: fixed RegisterStyle, style names should be without
2076 leading underscore. fixed RenderNode, node icons should be taken also
2079 2007-01-17 Adar Wesley <adarw@mainsoft.com>
2081 * Repeater.cs: refactored GetData to return data both from DataSource
2082 and DataSrouceID, Implemented EnableTheming, updated initialization of
2083 DataBinding according to the pattern of BaseDataBoundControl, fixed
2084 SelectArguments implementation to call the virtual
2085 CreateDataSourceSelectArguments method.
2087 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
2089 * GridView.cs: don't force creating rows collection when SelectedIndex
2090 changes; EnsureDatabound on select.
2092 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2094 * TreeNode.cs: fixed Bind, fixed Value updating
2096 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2098 * DataList.cs: fixed OnBubbleEvent, added SelectedIndex updating
2100 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2102 * DetailsView.cs: fixed CreateChildControls, PageIndex cannot be less
2105 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2107 * DetailsView.cs: fixed CreateChildControls, PageIndex should be less
2108 or equal to PageCount
2110 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2112 * Menu.cs: added z-index attribute to popup div's.
2114 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2116 * FileUpload.cs: fixed FileName property, should return filename
2117 without full path on client side
2119 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
2124 Implemented the protected net_2_0 method 'VerifyMultiSelect' with
2125 proper overloading in derived types.
2127 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2130 considers INavigateUIData.NavigateUrl when bound.
2132 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2134 * CompleteWizardStep.cs
2135 * CreateUserWizard.cs
2136 * CreateUserWizardStep.cs
2137 * TemplatedWizardStep.cs
2139 make the design complied to .NET
2140 build all possible controls at once and manage render by Visible property
2142 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
2143 * Button.cs, HyperLink.cs, DataGrid.cs, ImageButton.cs, LinkButton.cs,
2144 PagedDataSource.cs: Added J2EE Portal support for TARGET_J2EE.
2146 2007-01-14 Ilya Kharmatsky <ilyak-at-mainsoft.com>
2147 * BaseCompareValidator
2149 Added support for CultureInvariantValues property, which should be
2150 counted in new 2.0 methods such as - Compare, Convert etc. The code
2151 has been changed in such way, that the old - 1.1 method implementation
2152 could use the new methods defined for 2.0 version.
2154 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2156 * XmlDataSource.cs: refactored to use cached collection.
2157 * SqlDataSource.cs: refactored to use cached collection;
2158 don't throw exception on 'DefaultView'.
2159 * ObjectDataSource.cs: refactored to use cached collection.
2161 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2163 * ObjectDataSourceView.cs: consider parameter names and
2164 DataObjectMethodAttribute during method resolution.
2166 2007-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2168 * SqlDataSourceView.cs: fixed OnUpdating, OnInserting call with
2169 SqlDataSourceCommandEventArgs
2171 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2173 * ObjectDataSourceView.cs: use case unsensitive comparer for
2174 parameters collection.
2176 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2178 * LoginStatus.cs: fixed: not causes page validation.
2180 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2182 * CreateUserWizard.cs: fixed: resolves ErrorMessage control correct.
2183 * CreateUserWizardStep.cs:
2185 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2187 * TreeView.cs: fixed: SelectedNode, CheckedNodes.
2189 * TreeNodeCollection.cs:
2191 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2193 * GridView.cs: fixed: header and footer does not appear in no items.
2194 * CompositeDataBoundControl.cs:
2196 2007-01-09 Konstantin Triger <kostat@mainsoft.com>
2198 * AdRotator.cs: Backport the fix for AdRotator AbsoluteUri to 1.1.
2200 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2202 * GridView.cs: fixed: SelectedDataKey.
2204 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2208 implemented 2.0 features.
2210 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2212 * SqlDataSourceView.cs: fixed parameters init for ExecuteUpdate
2214 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2216 * DataSourceCacheManager.cs:
2217 * ObjectDataSource.cs:
2219 fixed: cache considers parameters values changes.
2221 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2223 * DetailsView.cs: fixed DeleteItem, excluded keys for new values
2224 * SqlDataSourceView.cs: fixed ExecuteDelete, check cancel in
2227 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2229 * GridView.cs: fixed: show all rows when AllowPaging=false
2231 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2233 * SqlDataSourceView.cs: fixed CreateDbParameter, used DBNull for value=null.
2235 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2237 * ButtonField.cs: fixed: consider its CausesValidation property.
2239 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2241 * GridView.cs: fixed:
2242 ReadOnly property is false for AutoGeneratedColumn if field is DataKey.
2243 causesValidation parameter is considered properly in UpdateRow.
2244 OldValues contains readonly fields values
2246 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2248 * SqlDataSourceView.cs: fixed InitializeParameters, added
2249 ParameterPrefix when check that param is already in collection
2251 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2253 * AdRotator.cs: fixed: considers absolute uri such html://......
2255 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2257 * SqlDataSourceView.cs: fixed insert, delete, update methods, added
2258 calls to OnDataSourceViewChanged
2260 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2262 * added ProfileParameter.cs
2264 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2266 * Label.cs: fixed: according MSDN OnPreRender is not overridden.
2268 2007-01-04 Adar Wesley <adarw@mainsoft.com>
2270 * ImageButton.cs: implemented GenerateEmptyAlternateText
2272 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2274 * FormView.cs: fixed data binding flow considers Insert mode.
2276 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2278 * DataBoundControl.cs: fixed Init flow.
2280 2007-01-4 Adar Wesley <adarw@mainsoft.com>
2282 * RadioButtonList.cs: Implemented properties of IRepeatInfoUser as public virtual
2284 2007-01-03 Marek Habersack <grendello@gmail.com>
2286 * ObjectDataSourceView.cs: Look for unqualified type also in the top-level assemblies.
2288 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2290 * FormView.cs: fixed PageIndex property.
2292 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2294 * ListControl.cs: fixed SelectedValue and SelectedIndex properties.
2295 set accessor works differently in 2.0.
2297 2007-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
2299 * SqlDataSourceView.cs,ObjectDataSourceView.cs: fixed parameter merge
2300 when values and old values are null
2302 2006-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2304 * ListControl.cs: reverted r70112, fixed in r70319.
2306 2007-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2308 * DetailsView.cs: fixed CreateAutoGeneratedRows.
2310 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2312 * AutoGeneratedField.cs: is editable in Insest mode.
2313 * BoundField.cs: is editable in Insest mode.
2314 * CheckBoxField.cs: is editable in Insest mode.
2315 * DetailsView.cs: fixed DataBinding flow.
2317 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2319 * BaseDataBoundControl.cs:
2320 * CompositeDataBoundControl.cs: fixed DataBinding flow.
2322 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2324 * LinkButton.cs: show the validation summary when client validation
2325 and linkbuttons are used. Patch by Juraj Skripsky.
2327 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2329 * TextBox.cs: consider ToolTip property
2331 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2333 * ContainedTable.cs:
2334 * DataControlButton.cs:
2335 * DetailsView.cs: fixed EnablePagingCallbacks
2338 * GridView.js: fixed EnableSortingAndPagingCallbacks
2340 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2343 ResolveClientUrl used with LineImagesFolder, ExpandImageUrl,
2344 CollapseImageUrl and NoExpandImageUrl properties.
2346 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2348 * SqlDataSource.cs: Added parameters update on OnInit
2350 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2352 * LoginView.cs: fixed rendering LoggedInTemplate even after user
2355 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2360 control's behavior depends on using DataSource or DataSourceID
2361 property for binding
2363 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2365 * CommandField.cs: fixed:
2366 when ShowEditButton=false Update/Cancel button doesn't appear.
2367 when ShowInsertButton=false Insert/Cancel button doesn't appear.
2369 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2371 * Login.cs: fixed AuthenticateUser, should redirect to ReturnUrl when
2373 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2375 * Parameter.cs: fixed ConvertValue to coorect handle TypeCode.Empty
2376 * ObjectDataSourceView.cs: fixed MergeParameterValues,
2377 call Parameter.ConvertValue
2378 fixed ConvertParameter to hanlde TypeCode.Empty
2379 * SqlDataSourceView.cs: fixed InitializeParameters,
2380 call Parameter.ConvertValue
2381 fixed ParameterPrefix property
2382 fixed CreateDbParameter, added usege of ParameterPrefix
2384 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2386 * ListControl.cs: fixed: when is used with DataSourceID data bind is not
2387 perfomed on PostBack because Items collection is restored from View state.
2389 2006-12-26 Igor Zelmanovich <igorz@mainsoft.com>
2391 * DataGridPagerStyle.cs:
2396 * TableItemStyle.cs:
2401 fixed: Load/Save viewstate of WebControl does not call Load/Save viewstate
2402 for it's ControlStyle, but the shared ViewState is used to manage style's
2405 2006-12-21 Igor Zelmanovich <igorz@mainsoft.com>
2407 * CompleteWizardStep.cs:
2408 * CreateUserWizard.cs:
2409 * CreateUserWizardStep.cs:
2410 * TemplatedWizardStep.cs:
2412 fixed: CreateUserWizard works properly in advanced scenarios
2413 such being used with additional steps or/and with custom templates.
2414 Styles are aplied properly.
2416 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
2418 * SqlDataSourceView.cs: fixed InitializeParameters, parameters order
2419 parameters case insensetive search
2420 * ObjectDataSourceView.cs: fixed MergeParameterValues, parameters
2421 case insensetive search
2423 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2425 * Menu.cs: fixed: ResolveClientUrl used with src and href attributes
2427 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2431 TreeNodeCollapsed is not raised for leaf node.
2433 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2435 * DataGrid.cs, RepeatInfo.cs: fixed accessibility features
2437 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2439 * Calendar.cs: support DayNameFormat.Shortest
2441 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2443 * HiddenField.cs: implemented
2445 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2447 * FormView.cs: fixed: FillRowDataKey
2448 * DetailsView.cs: fixed: FillRowDataKey
2450 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2452 * TreeView.cs: fixed: ResolveClientUrl used with ImageUrl and NavigateUrl
2454 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2456 * Login.cs: refactored rendering, fixed OnAuthenticate event
2458 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2460 * GridView.cs: fixed: Update works not only for EditRow
2462 * CompositeDataBoundControl.cs:
2464 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2466 * RadioButton.cs: fixed:
2467 When GroupName is not defined UniqueID is used instead for name attribute.
2468 CheckedChanged is raised only when control is checked.
2470 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2472 * Menu.cs: fixed: rendering.
2474 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2476 * Menu.cs: fixed: rendering.
2478 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2483 fixed rendering for 2.0
2485 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2487 * DetaisView.cs: fixed: rendering.
2488 * DataControlButton.cs:
2491 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2493 * FormView.cs: fixed: avoid empty row rendering.
2495 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2497 * AdRotator.cs: fixed:
2498 MSDN: The ImageUrl and NavigateUrl attributes can be a full URL, a
2499 root-relative path, or a relative path. If you use a root-relative path,
2500 the path is relative to the same Web site. If you use a relative path,
2501 the path is relative to the directory that contains the advertisement file.
2503 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2505 * BaseCompareValidator.cs: fixed: support for type=Date on client side.
2507 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2509 * TreeView.cs: fixed: support for event validation.
2511 2006-12-04 Igor Zelmanovich <igorz@mainsoft.com>
2513 * DataGridPagerStyle.cs: chenged values of DataGridPagerStyles flags.
2515 2006-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2517 * CreateUserWizard.cs: implement GeneratePassword based on Membership.
2519 2006-11-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2521 * Wizard.cs: fixed GetStepType method that returned wrong type if the
2522 last step type is Complete.
2523 fixed ProcessEvent method, corrected FinishButtonClick behavior
2525 2006-11-26 Marek Habersack <grendello@gmail.com>
2527 * Calendar.cs: Fixed event validation registration. Now it
2528 registers all the arguments that can be passed by this control to
2531 2006-11-25 Marek Habersack <grendello@gmail.com>
2533 * FileUpload.cs: Implementation of SaveAs
2535 * TreeView.cs: A few optimizations for empty style collections.
2537 * Menu.cs: A few optimizations for empty style collections.
2539 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2541 * BoundField.cs: fixed: GetDesignTimeValue()
2543 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2545 * SiteMapDataSource.cs: fixed: GetViewNames()
2547 2006-11-23 Vladimir Krasnov <vladimirk@mainsoft.com>
2549 * ChangePassword.cs: implemented functionality
2550 * MailDefinition.cs: implemented CreateMailMessage method
2551 * PasswordRecovery.cs: implemented functionality
2553 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2555 * CircleHotSpot.cs: fixed:
2556 setting Radius with value <0 throws ArgumentOutOfRangeException.
2558 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2560 * CookieParameter.cs: fixed Evaluate method.
2562 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2564 * Parameter.cs: fixed Evaluate, ToString methods.
2565 * QueryStringParameter.cs: fixed Evaluate method.
2566 * SessionParameter.cs: fixed Evaluate method.
2568 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2570 * ImageMap.cs: fixed rendering.
2572 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2574 * HotSpot.cs: fixed: AccessKey and HotSpotMode
2575 throw ArgumentOutOfRangeException.
2577 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2579 * ControlParameter.cs: fixed: Evaluate method
2580 throws exceptions correctly.
2582 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2584 * CheckBox.cs: fixed: new 2.0 features such
2585 LabelAttributes and InputAttributes.
2587 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2589 * GridView.cs: fixed: header, footer and empty rows are databound.
2591 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2593 * Style.cs: added internal helper method RemoveTextStyles.
2595 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2597 * Button.cs: fixed: support for event validation.
2598 * CheckBox.cs: fixed: support for event validation.
2599 * FormView.cs: fixed: support for event validation.
2600 * ImageButton.cs: fixed: support for event validation.
2601 * ListBox.cs: fixed: support for event validation.
2602 * TextBox.cs: fixed: support for event validation.
2604 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2606 * DropDownList.cs: fixed: support for event validation.
2608 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2610 * LinkButton.cs: optimized: support for event validation.
2611 * DataControlButton.cs: Added support for event validation.
2612 * DetailsView.cs: fixed: RowIndex for DetailsViewRow.
2614 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2616 * LinkButton.cs: Added support for event validation.
2618 2006-11-17 Marek Habersack <grendello@gmail.com>
2620 * ImageButton.cs: Added support for event validation.
2622 * ListBox.cs: Added support for event validation.
2624 * Calendar.cs: Added support for event validation.
2626 * DropDownList.cs: Added support for event validation.
2628 * FormView.cs: Added support for event validation.
2630 * RadioButtonList.cs: Added support for event validation.
2632 * TextBox.cs: Added support for event validation.
2634 * BulletedList.cs: Added support for event validation.
2636 * CheckBox.cs: Added support for event validation.
2638 * Button.cs: Added support for event validation.
2640 2006-11-16 Igor Zelmanovich <igorz@mainsoft.com>
2642 * CreateUserWizard.cs: fixed: ActiveStepIndex property.
2644 2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>
2646 * ListControl.cs: fixed: DataBinding for 2.0, for 1.x - refactoring only.
2648 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2650 * GridView.cs: fixed: Rows property, DataBinding flow.
2651 * DataBoundControl.cs:
2652 * BaseDataBoundControl.cs:
2654 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2656 * CompositeDataBoundControl.cs: fixed:
2657 DataBind call Controls.Clear().
2659 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
2661 * CompositeDataBoundControl.cs: fixed:
2662 DataBind sets ChildControlsCreated=true.
2664 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2666 * Login.cs: fixed CreateChildControls, throws exception if needed
2668 * LoginView.cs: fixed CreateChildControls, check templates for null
2670 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2672 * Wizard.cs: fixed ActiveStepIndex property, fixed SideBar button
2673 rendering, fixed history updating
2674 * WizardStepCollection.cs: fixed implemented interfaces
2676 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2678 * XmlDataSource.cs: CacheKeyDependency fixed
2680 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
2682 * DetailsView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2684 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2686 * DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.
2688 2006-11-09 Vladimir Krasnov <vladimirk@mainsoft.com>
2690 * ParameterCollection.cs: fixed SetDirtyObject method
2691 * ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState
2692 utilization for control's properties, implemented caching
2693 * SqlDataSource.cs, SqlDataSourceView.cs: implemented caching
2695 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2697 * GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2699 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2701 * DataBoundControl.cs: fixed:
2702 ConfirmInitState method s called by
2703 the DataBoundControl class in its OnLoad method.
2705 2006-11-06 Igor Zelmanovich <igorz@mainsoft.com>
2707 * FormView.cs: fixed: DataBinding flow.
2709 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2711 * CustomValidator.cs: implemented ValidateEmptyText fixture.
2713 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2715 * BaseCompareValidator.cs: fixed: CultureInvariantValues, Type properties.
2717 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2719 * Menu.cs: fixed: RenderEndTag.
2720 Dynamic menu is rendered when StaticDisplayLevels=1
2722 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2724 * GridView.cs: fixed: UpdateRow, DeleteRow, RowCreated.
2726 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2728 * FormView.cs: fixed: UpdateItem, DeleteItem.
2730 2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>
2732 * DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.
2734 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2736 * RadioButtonList.cs: fixed: has no html output when Items.Count=0.
2738 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2740 * ListControl.cs: fixed: setting SelectedVolue for 2.0.
2742 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2744 * DataBoundControl: fixed: ValidateDataSource allows null as dataSource.
2746 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2748 * ListControl.cs: fixed: assigning SelectedIndex with too hight value.
2750 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2752 * ListControl.cs: fixed: DataBinding for 2.0.
2753 for 1.x refactoring only.
2755 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2757 * ChangePassword.cs: new class was implemented.
2759 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2761 * EmbeddedMailObject.cs: new class was implemented.
2762 * EmbeddedMailObjectsCollection.cs: new class was implemented.
2763 * MailDefinition.cs: new class was implemented.
2765 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2767 * PagerSettings.cs: fixed: CreatePagerControl.
2769 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2771 * CommandField.cs: fixed:
2772 considers CaseValidation, ValidationGroup, ButtonType.
2773 * DataControlButton.cs: refactoring:
2775 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2777 * DetailsView.cs: implemented: GetCallbackScript method.
2779 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2781 * FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2783 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2785 * FormFiew.cs: fixed: UpdateItem, InsertItem.
2787 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2789 * FormFiew.cs: fixed: PageIndex, rendering.
2791 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2793 * DropDownList.cs: fixed: rendering "name" attribute".
2795 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2797 * GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2798 * DataControlButton.cs:
2799 * CommandField.cs: CausesValidation feature must be implemented other way
2801 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2803 * CompositeDataBoundControl.cs: fixed: CreateChildControls flow.
2805 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2807 * FormView.cs: fixed: OnBubbleEvent returns true when event is handled.
2809 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2811 * DetailsView.cs: fixed: OnBubbleEvent works properly.
2813 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2815 * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
2817 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2819 * DetailsView.cs: fixed: CurrentMode property.
2821 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2823 * DetailsView.cs: fixed: current state are not changed during paging.
2825 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2827 * DetailsView.cs: fixed:
2828 in Insert mode Select not invoked from DataSource
2830 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
2832 * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
2834 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2836 * FormView.cs: fixed: CreateDataSourceSelectArguments method.
2837 (corresponding test does not work because bug in ObjectDataSourceView)
2839 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2841 * DataBoundControl.cs: fixed: DataBind calls
2842 CreateDataSourceSelectArguments() and stores result in SelectArguments
2844 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2848 fixed: EnablePagingCallbacks feature.
2849 when postback is invoked after callback control state is restored
2852 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2854 * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
2856 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2858 * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
2859 (corresponding test does not work because bug in ObjectDataSourceView)
2861 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2863 * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
2864 when postback is invoked after callback control state is restored
2867 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2869 * GridView.cs: fixed: Sorting feature.
2870 When sorting EditIndex and PageIndex are reseted
2872 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2874 * GridView.cs: fixed: Sorting feature.
2875 CreateDataSourceSelectArguments considers SortExpression and SortDirection.
2876 (corresponding test does not work because bug in ObjectDataSourceView)
2878 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2880 * GridView.cs: fixed:
2881 CreateDataSourceSelectArguments works according to MSDN.
2882 (corresponding test does not work because bug in ObjectDataSourceView)
2884 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2886 * ObjectDataSourceView.cs: fixed:
2887 CanRetrieveTotalRowCount returns true if EnablePaging = false
2889 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
2891 * DataBoundControl.cs: fixed: DataBind flow
2892 CreateDataSourceSelectArguments() is called
2893 each time as DataBind() is called
2895 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2897 * BoundField.cs: implemented ValidateSupportsCallback().
2899 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2901 * CommandField.cs: ValidateSupportsCallback(): exception's message.
2903 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2905 * FormView.cs: fixed: CurrentMode property.
2907 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2913 reverted r66222, problem solved in r66283: command buttons inherit ForeColor
2915 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2917 * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
2920 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2922 * HyperLink.cs: don't render the img tag 'by hand' but use an Image
2923 instead, which takes care of the 0/0px case. Also set the ToolTip
2924 property. Fixes bug #79585.
2926 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2928 * DetailsView.cs: optimization for previous patch
2930 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2932 * FormView.cs: optimization for previous patch
2934 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2937 * DetailsViewRow.cs:
2938 implemented PrepareControlHierarchy()
2939 styles are applied correct
2941 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2944 implemented PrepareControlHierarchy()
2945 styles are applied correct
2947 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2950 * DataControlButton.cs:
2951 * DataControlField.cs:
2952 implemented PrepareControlHierarchy()
2953 styles are applied correct
2954 command buttons inherit ForeColor
2956 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2958 * WebControl.cs: fixed: CreateControlStyle()
2960 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2966 corrected pager rendering: Color style applied to A tag,
2967 Input type="image" used if ImageUrl is not empty.
2969 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2971 * GridView.cs: corrected rendering
2972 * ContainedTable.cs: added new helper class
2974 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2976 * FormView.cs: fixed:
2977 in Insert mode Select not invoked from DataSource
2979 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2981 * FormView.cs: fixed:
2982 Pager is not shown when page count < 1
2983 in Edit mode use EmptyDataTemplate if there is no DataItem
2984 when page changed FormView stays in current state.
2986 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
2988 * FormView.cs: fixed: OnBubbleEvent works properly
2990 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
2992 * DataBoundControl.cs: fixed: DataBind flow
2993 GetData return "empty" DataSourceView when no DataSource and DataSourceID
2994 was assigned to cause PerformDataBinding be called.
2996 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2998 * DataList.cs: use ExtractTemplateRows to determine if the style is
2999 applied to the Table in a template or to its rows. Fixes bug #78058.
3001 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3003 * ListBox.cs: if the list is not enabled, don't require a postback.
3006 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3008 * HyperLink.cs: don't output the nabvigate url if disabled.
3009 * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
3010 the link URL if disabled.
3013 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3015 * RadioButtonList.cs:
3016 make it to consider CausesValidation and ValidationGroup properties
3018 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3021 make it to consider CausesValidation and ValidationGroup properties
3023 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3026 Page.Validate() is called when CausesValidation=true
3028 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3031 make onclick attribute to consider ValidationGroup property.
3033 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3036 make rendering of the href attribute to consider ValidationGroup property.
3037 Page.Validate() is called when CausesValidation=true
3039 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3042 make rendering of the onchange attribute to consider ValidationGroup
3044 Page.Validate() is called when CausesValidation=true
3046 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3049 make rendering of the onclick attribute to consider ValidationGroup property
3050 Page.Validate() is called when CausesValidation=true
3052 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3055 VewState saving and restoring rolled back to 1.1 implementation
3056 (fixed corresponding test), corrected public interface (there are no
3057 overriden methods SaveControlState, LoadControlState and OnInit),
3058 implemented CausesValidation and ValidationGroup properties.
3060 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3063 make rendering of the onclick attribute to consider ValidationGroup property
3064 Page.Validate() is called when CausesValidation=true
3066 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3069 implemented: RaisePostBackEvent,
3070 refactoring: GetPostBackOptions used to build onclick client event
3072 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3074 * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
3076 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3078 * BaseValidator.cs: implemented ValidationGroup feature on client side
3079 * ValidationSummary.cs:
3081 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
3083 * TreeView.cs: corrected rendering
3086 2006-09-11 Konstantin Triger <kostat@mainsoft.com>
3088 * Login.cs: ensure the urls are correctly resolved.
3090 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3092 * TreeView.cs: corrected rendering: styles are applied correct
3096 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3098 * TreeView.cs: corrected rendering: HoverNodeStyle works
3102 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3104 * TreeNodeStyle.cs: fixed: ViewState restored properly
3106 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3110 * TableItemStyle.cs:
3111 * DataGridPagerStyle.cs:
3112 refactoring: makes Style class more flexible for inheriting and reuse
3114 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3116 * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked
3117 state restored correct on PostBack.
3120 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3122 * ObjectDataSourceView.cs: correctly find the type when it is not in the
3123 executing assembly. Fixes bug #78321. Patch by Marek Habersack.
3125 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3127 * ControlParameter.cs: fix search for controls so that they use their
3128 NamingContainer, not the Page. Patch by Marek Habersack that fixes
3131 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3133 * Login.cs: fix problem with the login control and master pages.
3134 Patch by Marek Habersack that fixes bug #78219.
3136 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3138 * TreeView.cs: fixed: populating nodes.
3141 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3143 * TreeNode.cs: fixed: ToggleExpandState.
3145 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
3147 * SqlDataSourceView.cs: return DataView from ExecuteSelect when
3148 DataSourceMode is DataSet.
3150 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3152 * TreeView.cs: fixed: populating nodes flow.
3153 * TreeNodeCollection.cs
3156 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3158 * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.
3160 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3162 * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.
3164 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3166 * TreeView.cs: fixed: when specified value is not one of
3167 the TreeNodeTypes values exception is threw.
3169 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3171 * TreeView.cs: fixed: when specified image set is not one of
3172 the TreeViewImageSet values exception is threw.
3174 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
3176 * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.
3178 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
3180 * Style.cs: implemented SetBit().
3182 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3184 * CompareValidator.cs: fixed controltocompare attribute.
3186 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3189 when login attempt was not successful FailureText is shown.
3191 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3193 * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage
3194 is formatted correct.
3196 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3198 * CreateUserWizard.cs:
3199 * CompleteWizardStep.cs:
3200 * CreateUserWizardStep.cs:
3202 fixed: ContinueButtonClick occurs when the user clicks
3203 the Continue button in the final user account creation step.
3204 ContinueDestinationPageUrl - redirected after clicking
3205 the Continue button on the success page.
3207 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3209 * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
3210 insted internal DataControlButton.
3212 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3214 * Button.cs: implemented GetPostBackOptions + refactoring
3216 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3218 * ImageButton.cs: implemented 2.0 features
3219 OnClientClick attached to onclick attribute.
3220 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3221 generate onclick attribute.
3223 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3225 * LinkButton.cs: typo fix
3227 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3229 * Button.cs: refactoring
3231 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3233 * LinkButton.cs: implemented 2.0 features
3234 OnClientClick attached to onclick attribute.
3235 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3238 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
3240 * Button.cs: implemented 2.0 features
3242 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
3244 * Menu.cs: refactoring
3247 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3249 * TreeView.cs: fixed data binding
3251 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3253 * TreeNodeBinding.cs: fixed ToString method
3255 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3257 * MenuItem.cs: typo fix
3259 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3261 * CreateUserWizardStep.cs: fixed validators message display
3263 2006-08-25 Kornél Pál <kornelpal@gmail.com>
3265 * FileUpload.cs: Use assembly name constants.
3267 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3269 * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
3270 always creates ExtractTemplateValuesMethod delegate
3272 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
3274 * TreeNodeBinding.cs: corrected public interface
3277 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3279 * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
3280 case, but there are many others.
3282 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3284 * Menu.cs: corrected rendering of static and dynamic items
3287 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3291 fixed: AddAttributesToRender method calls FillStyleAttributes,
3292 text styles applied correct.
3294 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3297 fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
3298 refactoring: Name and Names properties has same source in bag.
3300 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3302 * Style.cs: restored r63894: for 1.x is refactoring only
3304 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3307 fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
3308 added ClearDefaults method for 2.0.
3310 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3312 * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
3315 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3317 * SubMenuStyle.cs: fixed:
3318 Unit.ToString() already include unit (e.g. "3px")
3320 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3323 * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
3324 submitted for review and it only added tests for the 2.0 profile.
3326 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3328 * FormView.cs: added explicit implementation of
3329 IDataItemContainer.DataItemIndex, as documented
3331 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
3334 When style is registered with StyleSheet AddAttributesToRender method
3335 adds class attribute but not style to writer
3337 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
3340 OnBubleEvent works properly - controls like Button, LinkButton nested into template
3341 can raise MenuItemClick event,
3342 ViewState of Items saved and restored properly.
3344 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
3346 * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
3349 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
3351 * Menu.cs: fixed databinding feature:
3352 ensure that items initialization occurs only once
3354 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
3356 * Menu.cs, MenuItem.cs: fixed databinding feature
3358 2006-08-09 Robert Jordan <robertj@gmx.net>
3360 * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
3361 replace ResolveUrl with ResolveClientUrl to match MS.NET's
3362 behaviour. Fixes bug #77539.
3364 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
3366 * HierarchicalDataBoundControl.cs: fixed DataBind flow
3368 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3374 * WebControl.cs: fixed ParseChildren attribute to be compliant
3377 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3379 * MultiView.cs: fixed: EnableTheming property
3381 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3385 * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
3387 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3389 * Style.cs: fixed restoring FontInfo from ViewState
3391 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3393 * XmlDataSource.cs: implemented caching functionality
3395 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3397 * PagerSettings.cs: Fixed the pager range calculation formula. The old
3398 one didn't work with more than 20 pages. Patch by Marek Habersack that
3401 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3403 * FormView.cs: fixes to make Render more similar to dotnet.
3405 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
3407 * Wizard.cs: fixed return value of OnBubbleEvent
3409 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3411 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
3412 handle null result of GetData().
3414 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3416 * FormView.cs: use TableStyle for ControlStyle.
3418 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3420 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
3422 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3424 * FormView.cs: init DataKeys and fix null reference.
3426 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3428 * TreeView.cs: several changes to improve compatibility with MS.
3429 Patch by Marek Habersack that fixes bug #77551.
3431 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3433 * Style.cs: output the text-decoration value even when it is 'none'.
3434 Patch by Marek Habersack that fixes bug #78968.
3436 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3438 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
3441 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3443 * DetailsViewRowCollection.cs: returns this in SyncRoot.
3445 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3447 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
3450 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3452 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
3454 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3456 * AutoGeneratedField.cs: fix the internal constructor according to test
3457 DetailsView_CreateAutoGenerateRow.
3459 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
3461 * XmlDataSource.cs: implemented XSLT, removed properties from
3463 * XmlDataSourceView.cs: fixed default xpath
3465 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
3467 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
3469 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
3471 * Wizard.cs: fixed ActiveStep property
3472 fixed templated side bar
3474 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3476 * ImageField.cs: fix null reference bug.
3478 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3480 * DetailsView.cs: init DataKey property with empty collection.
3481 * DataKey.cs: fix unexpected exception bug.
3482 * DataControlField.cs: override ToString according to MSDN.
3484 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3486 * DetailsView.cs: create table style in CreateControlStyle.
3488 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3490 * DetailsView.cs: don't throw the exception which .Net does not throw.
3492 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3494 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
3495 to match .Net; fix PageCount to match record count.
3497 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3499 * Menu.cs: fixed properties default values, fixed rendering
3502 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3504 * Wizard.cs: implemented SkipLinkText, TagKey
3505 fixed rendering bugs, fixed templated button bar rendering
3506 fixed side bar rendering
3507 * WizardStepBase.cs: fixed Name property
3509 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3511 * DetailsView.cs: fix the regressions, caused by the previous commit.
3513 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3515 * DetailsView.cs: correct handling the different default values of
3516 DetailsView.CellSpacing and Table.CellSpacing.
3518 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3520 * DetailsView.cs: create a pager row when needed.
3522 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3526 * PagedDataSource.cs:
3529 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
3530 support it. The GridView control will no longer throw an exception when
3531 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
3533 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3535 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
3536 Rows with empty collection; call EnsureChildControls from get Row;
3537 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
3538 implemented IPostBackContainer.GetPostBackOptions.
3540 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3542 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
3543 and FooterText are empty, to match .NET. Otherwise we have NullReference
3546 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3548 * DetailsView.cs: Render fix.
3550 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3552 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
3555 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3557 * DetailsView.cs: NullReferenceException fix
3559 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3561 * PagerSettings.cs: implemented PropertyGhanged event
3563 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3565 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
3566 with .Net; don't throw NotImplemented when base class implementation
3569 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3571 * DetailsViewPagerRow.cs: add a stub for this class
3573 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3575 * GridView: fixed DataKeyNames property, moved to ControlState
3576 fixed PageCount property, initial PageCount ahould be zero
3577 fixed SelectedDataKey, should throw exception if not initialized
3578 fixed CreateColumns, wrong order of columns
3579 fixed CreateControlStyle,
3580 fixed InitializePager, no columnspan attrib on only one column
3581 fixed LoadControlState, SaveControlState added DataKeyNames
3582 fixed Render, RenderGrid should render within div tag
3583 implemented GetPostBackOptions
3584 * DataControlButton.cs: fixed Render, fixed style for img button
3586 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3588 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
3591 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3593 * CommandField.cs: fixed ValidateSupportsCallback
3595 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3597 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
3598 affect the flow yet.
3600 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3602 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
3604 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3606 * WebControl.cs: fix for AddAttributesToRender - add display
3607 style when appropriate
3609 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3611 * CommandField.cs: fixed InitializeCell, wrong order of command
3613 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
3614 should be rendered as label
3615 * BoundField.cs: empty null value should be rendered as nbsp
3616 * GridViewRowCollection.cs: fixed SyncRoot
3618 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3620 * SiteMapPath.cs: create Literal instead of Label according to the
3621 MSDN and test SiteMapPath_InitializeItem.
3623 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3625 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
3626 * Image.cs: in 2.0 there is no border attribute, but border-width
3629 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3631 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
3633 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3635 * DataList.cs: correctly initialize editable items when there's an
3636 EditItemTemplate. Patch by Jarosław Pawlak.
3638 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
3640 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
3643 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3645 * BulletedList.cs: fixed Render, RenderBulletText, various properties
3646 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
3649 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3651 * MultiView.cs: 'initied' state variable was changed to views count in
3652 the views collection.
3654 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3656 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
3657 checkbox should have tooltip
3658 * HyperLinkField.cs: fixed InitializeCell, should create link control
3659 only in data cell (not in header or footer), initialization of
3661 * ImageField.cs: fixed InitializeDataCell, initialization of
3664 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3666 * MultiView.cs: removed exception throwing from ActiveViewIndex
3668 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
3670 * DataControlFieldCollection.cs: added OnClearComplete override;
3671 refactor to eliminate null reference exception.
3673 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3675 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
3676 * View.cs: fixed Visible property
3678 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
3680 * ImageField.cs: fixing .net compliancy.
3682 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
3684 * SiteMapPath.cs: fix the default PathSeparator value.
3686 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3688 * GridView.cs: always create Header/Fotter rows, but render only when
3689 ShowHeader/Footer is true. Compute Header/Footer rows from rows
3691 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
3692 add ToolTip and Text to the created CheckBox,
3693 wrap exception thrown in OnDataBindField in httpException.
3695 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3697 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
3699 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3701 * DataControlField.cs: correct handling empty header/footer text.
3702 * TemplateField.cs: correct initialization according to
3703 DataControlRowState.
3705 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
3707 * Wizard.cs: added functionality for Templated WizardStep
3708 and CreateUserWizard
3709 * added CompleteWizardStep.cs, CreateUserWizard.cs,
3710 CreateUserWizardStep.cs, TemplatedWizardStep.cs
3712 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3714 * AutoGeneratedField.cs: correcting default dataType.
3716 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3718 * DataControlField.cs: fixed Initialize, should always return false
3720 2006-07-03 Lluis Sanchez <lluis@novell.com>
3722 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
3724 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3726 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
3727 setting RequiresDataBinding in OnLoad event.
3728 * GridView.cs: DataBind rows before other control can access the data.
3729 * BoundField.cs: add unique ID to control for postback parameters.
3731 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3733 * WebControl.cs: fix typo in EnableTheming.
3735 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
3737 * MenuItemCollection.cs: save items if the collection is dirty.
3738 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
3739 Add item to collection before binding to let the state be correctly tracked.
3740 * Menu.cs: Add item to collection before binding to let the state be correctly
3743 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
3745 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
3746 test against with "^...$" if necessary. MS.NET does this too.
3748 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
3750 * WizardStepCollection.cs: Fixed Add methods to initialize
3751 WizardStep.Wizard property
3752 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
3753 Fixed GetStepType, if only one step present, it should be FinishStep
3754 Fixed styles of tables for more accurate rendering, fixed Wizard
3757 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
3759 * FormView.cs: instantiate correct template when the bounding data source is
3762 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
3764 * FormView.cs: disabling setting out of range FormView.PageIndex.
3766 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
3768 * FileUpload.cs: added
3770 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
3772 * FormView.cs: handle CssClass attribute
3774 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3776 * Button.cs: do something in PostBackUrl.
3777 * Repeater.cs: when creating the RepeaterItemCollection, initialize
3778 'items' if it hasn't been done yet. Fixes bug #78417.
3780 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
3782 * BaseDataList.cs: added ConnectToDataSource method that called from
3783 OnLoad, fixed GetData method
3784 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
3787 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
3789 * Menu.cs: add CssStyle value to the rendered class attribute
3791 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
3793 * Calendar.cs: Make sure WebControls.Enabled is respected.
3794 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
3795 to 12:00am as MS.NET does the same.
3798 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3800 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
3801 DataSourceViewChanged, looks for a datasource in its parent control
3802 fixed GetData method, should not get data if datasource is null
3804 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
3806 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
3808 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3810 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
3812 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3814 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
3816 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3818 * DataList.cs: Fixed LoadViewState method
3820 2006-05-04 Lluis Sanchez <lluis@novell.com>
3822 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
3824 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3826 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
3828 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3830 * FormView.cs: fix FormView.PageCount after data binding.
3832 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3834 * CheckBox.cs: certain attributes have to be rendered in the input tag,
3835 not the <span>. Fixes bug #71251.
3837 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3839 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
3842 ensure rebinding when FormView.PageIndex is called.
3843 and bind to the correct PageIndex.
3845 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3847 * MenuItem.cs: when binding to IHierarchyData, check whether
3848 it implements INavigateUIData and retrieve NavigateUrl.
3849 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
3851 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
3852 Provide basic CreateChildControls implementation by ensuring the control is bound.
3853 Ensure the child controls are created when the postback event is raised.
3854 Provide default implementation for SkipLinkText to let the default functionality to work.
3856 2006-04-11 Lluis Sanchez <lluis@novell.com>
3858 * TreeNodeBinding.cs: Added HasPropertyValue property
3859 to check if some properties have a value in the
3861 * TreeNode.cs: Lazily get the dataPath. Instead of getting
3862 bound properties when they are requested, get all of
3863 them when the node is bound and store their values in
3864 the state bag. In this way it won't be necessary to
3865 query every time the datasource to get the values.
3866 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
3867 * TreeView.cs: Call base in OnInit(). Bind nodes after
3868 adding them to the list, to properly keep track of
3869 changes. Don't databind in postbacks.
3871 2006-04-11 Chris Toshok <toshok@ximian.com>
3873 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
3875 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3877 * BaseDataList.cs: Fix searching control by DataSourceID.
3878 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
3881 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3883 * Login.cs: Added LayoutTemplate property support.
3884 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
3885 DataBind: correctly bind child controls.
3886 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
3888 2006-03-29 Robert Jordan <robertj@gmx.net>
3890 * DataGrid.cs: if custom paging is enabled the persisted item count
3891 must be the count of the rendered items, otherwise paging from the
3892 last to a previous page won't work correctly. Fixes bug #77556.
3894 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
3896 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
3897 when rendering disabled list control
3899 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3901 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
3903 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
3905 * FontInfo.cs: Implemented ShouldSerializeNames
3907 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3909 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
3911 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3913 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
3915 in PrepareControlHierarchy fixed style applying to AlternatingItem
3917 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
3919 * DataList.cs: fixed RepeatColumns property, added value validation
3920 in PrepareControlHierarchy method fixed style applying for
3921 AlternatingItem, EditItem and Separator item
3922 fixed RenderContents method, if no items exist, no nned to
3923 render emty table strructure.
3925 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3927 * CompareValidator.cs: when searching for the control to compare, use
3928 NamingContainer instead of Page. Fixes bug #77793.
3930 2006-03-15 Chris Toshok <toshok@ximian.com>
3932 * SiteMapPath.cs (InitializeItem): in the Current and Root node
3933 cases, apply the NodeTemplate if it exists and there isn't a
3934 CurrentNodeTemplate or RootNodeTemplate, respectively.
3936 2006-03-15 Chris Toshok <toshok@ximian.com>
3938 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
3940 * SiteMapDataSource.cs (StartingNodeOffset): new property.
3941 (GetStartNode): add code to handle StartNodeOffset < 0.
3943 * CompositeControl.cs
3944 (ICompositeControlDesignerAccessor.RecreateChildControls): just
3945 call the non-iface method.
3947 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
3948 traverse up the naming container tree looking for our datasource
3949 if we're bound using a DataSourceID. This fixes things in the
3950 sitemap1 test, which uses a mixture of templates and
3951 ContentPlaceholders with the sitemapdatasource and sitemappath at
3952 different levels in the naming container tree (let along the
3955 * SiteMapPath.cs (DataBind): implement this by chaining up to
3956 base.DataBind, then by looping over our children, emitting
3957 OnItemDataBound for each SiteMapNodeItem.
3958 (AddAttributesToRender): remove.
3959 (CreateChildControls): call DataBind as the final step here.. I
3960 have, of course, no idea if this is right.
3961 (CreateControlHierarchy): don't databind our children here, as
3962 they need to be in the Controls collection before we do.
3963 (RenderContents): render our accessibility/screenreader stuff
3964 here, if SkipLinkText != "".
3966 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
3968 * DataGridPagerStyle.cs: fixed PrevPageText property
3970 2006-03-13 Chris Toshok <toshok@ximian.com>
3972 * BaseCompareValidator.cs (Convert): make the
3973 ValidationDataType.String case a bit more compact.
3975 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3978 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
3979 Patch by Hubert Fongarnand.
3981 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3983 * FontInfo.cs: fixed CopyFrom, this method should not reset the
3984 received fontinfo if it is the same instance
3985 fixed ToString, corrected output where only font size specified
3987 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3989 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
3990 if it not set but the border has width
3991 fixes in CopyFrom, MergeWith correct unit compare when it has zero
3994 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3996 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
3997 properties of custom class
3998 fixed InitializeNumericPager, pager numbers should be a Label control
3999 fixed CreateControlHierarchy, corrected dataset index of items if
4002 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
4004 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
4006 fixed CreateControlStyle to set correct cellspacing of table style
4007 fixed InitializeItem to correct applying template to selected and
4010 2006-03-08 Chris Toshok <toshok@ximian.com>
4012 * SiteMapNodeType.cs: nuke.
4014 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
4015 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
4016 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
4017 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
4018 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
4019 ValidationCompareOperator.cs, ValidationDataType.cs,
4020 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
4021 [Serializable] in 2.0.
4023 * DayNameFormat.cs: add "Shortest".
4025 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
4027 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
4030 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
4032 * TextBox.cs: fixed missing value validations, fixed rendering
4033 of empty value attribute
4035 2006-03-07 Chris Toshok <toshok@ximian.com>
4037 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
4038 by chaining up to base.EnableTheming.
4040 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
4042 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
4044 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
4046 * RadioButton.cs: added ValueAttribute property to store the button
4048 * RadioButtonList.cs: fixed tab index when rendering.
4050 2006-03-02 Chris Toshok <toshok@ximian.com>
4052 * WebControl.cs (SkinID): implement setter/getter, and have them
4053 just chain up to base.SkinID.
4055 2006-02-27 Chris Toshok <toshok@ximian.com>
4057 * SqlDataSource.cs: track change to DataSourceControl's protected
4060 * AccessDataSource.cs: same.
4062 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
4064 * ListControl.cs: fixed SelectedIndex property, fixed selection
4065 reset on incorrect value
4067 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
4069 * TableStyle.cs: fixed AddAttributesToRender function, style
4070 BorderCollapse:Collapse was added if table's CellSpacing is zero
4072 2006-02-23 Chris Toshok <toshok@ximian.com>
4074 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
4075 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
4076 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
4077 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
4078 ImageButton.cs, ImageField.cs, Literal.cs,
4079 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
4081 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
4082 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
4083 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
4084 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
4085 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
4086 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
4087 errors. most were caused by a property/method being virtual when
4088 it shouldn't be, or vice versa.
4090 2006-02-22 Chris Toshok <toshok@ximian.com>
4092 * ObjectDataSource.cs: corcompare work.
4094 2006-02-22 Chris Toshok <toshok@ximian.com>
4096 * ParameterCollection.cs: add an EditorAttribute to the class.
4098 * Parameter.cs: cleanup, fix the Value property, and implement the
4101 * SqlDataSourceView.cs: clean things up a bit, and add handling
4104 2006-02-22 Chris Toshok <toshok@ximian.com>
4106 * SqlDataSourceFilteringEventArgs.cs: formatting.
4108 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
4109 both the property and ctor arg.
4111 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
4112 not CommandEventArgs. Also, cast the return value of
4113 oleCommand.ExecuteReader.
4115 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
4117 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
4118 (GetPhysicalDataFilePath): implement, again naively. this is
4119 where the NRE is generated when we access ConnectionString in a
4121 (ConnectionString): dynamically generate this based on our
4123 (DataFile): clear the ConnectionString in the setter so we'll
4125 (ProviderName): use base.ProviderName in the getter, not
4126 this.ProviderName, so we don't recurse infinitely.
4128 * SqlDataSourceView.cs: start reworking this class.
4130 * SqlDataSource.cs (GetDbProviderFactory): implement this,
4131 following the MS docs on the matter (if ProviderName is null/"",
4132 return SqlClientFactory.Instance.)
4133 (GetDbProviderFactoryInternal): add an internal method for use by
4135 (TrackViewState): don't invoke View.TrackViewState unless we have
4137 (Selecting): change event handler type to match MS.
4138 (Filtering): add missing event.
4139 (View): call CreateDataSourceView, don't just create an
4142 2006-02-21 Chris Toshok <toshok@ximian.com>
4144 * BoundField.cs: ues the ViewState.Get* pattern with default
4145 instead of the explicit ViewState lookup + null check, and fix the
4146 scope of InitializeDataCell.
4148 * ButtonField.cs: ues the ViewState.Get* pattern with default
4149 instead of the explicit ViewState lookup + null check.
4151 * CommandField.cs: same.
4153 * CheckBox.cs: same.
4155 * AutoGeneratedFieldProperties.cs: same.
4157 * BaseDataList.cs: same.
4159 * CircleHotSpot.cs: same.
4161 * BulletedList.cs: same.
4163 * DataBoundControl.cs: same.
4165 * CookieParameter.cs: same.
4167 * ControlParameter.cs: same.
4169 * CustomValidator.cs: same.
4171 * ButtonFieldBase.cs: same.
4173 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
4175 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
4177 * BaseValidator.cs: same, and clean up the getter/setter formatting.
4179 * CompareValidator.cs: same.
4181 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4183 * ListControl.cs: fixed DataSource property, to throw
4184 ArgumentException on incorrect value
4186 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4188 * Image.cs: fixed missing border="0" attribute, when image has style,
4189 but border width is not specified.
4191 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4193 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
4194 correct the "disabled" attribute in CheckBoxList
4195 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
4196 attribute in CheckBoxList
4198 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4200 * CheckBox.cs: fixed Render function, removed rendering of empty
4201 <span> element if ControlStyleCreated but it's empty.
4202 fixed "disabled" attribute, it should be placed into span element
4204 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4206 * BoundColumn.cs: fixed InitializeCell function, if DataField is
4207 null or empty string, the cell should not be bound.
4209 2006-02-08 Chris Toshok <toshok@ximian.com>
4211 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
4212 AppendDataBoundItems != false. Also, split all the databinding
4213 logic out to DoDataBinding, which we call from here only if
4215 (DoDataBinding): new function. actually perform the binding.
4216 (PerformDataBinding): implement.
4217 (PerformSelect): chain up to base class.
4219 2006-02-07 Chris Toshok <toshok@ximian.com>
4221 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
4223 * Content.cs: use ContentControlBuilderInternal, and add a bunch
4224 of unused (for now) EventHandler's here.
4226 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
4229 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4231 * ListControl.cs: bound checking for Items when loading the control
4232 state, as the number might have been changed on the fly. Patch by
4235 2006-01-22 Chris Toshok <toshok@ximian.com>
4237 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
4239 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
4240 the intended comparison right and quiet mcs.
4242 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4244 * Button.cs: Add semicolon after client script if does not exist.
4246 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4248 * Button.cs: preserve user logic when adding client validation.
4250 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4252 * BaseValidator.cs: fixing visibility bahavior
4254 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4256 * RangeValidator.cs: allow empty data from the control. Patch from Marek
4257 Habersack that fixes bug #77239.
4259 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4261 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
4262 by Cyrille Colin. Closes bug #77184.
4264 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
4266 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
4267 compilation pass with csc 1.1.
4269 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4271 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
4273 2005-12-07 Chris Toshok <toshok@ximian.com>
4275 * BaseValidator.cs: in the uplevel rendering case, don't render
4276 the text if the validator's Display attribute is "None". Should
4279 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4281 * RadioButton.cs: if the 'value' attribute is set explicitly (as
4282 RadioButtonList does now), use that as the 'name' attribute.
4283 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
4288 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4290 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
4291 the 'name' attribute when not aligninng to the right.
4292 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
4293 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
4295 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4297 * DataGrid.cs: clear the control collection on every call to
4298 CreateControlHierarchy. Fixes bug #76732.
4300 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4302 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
4304 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4306 * CheckBox.cs: use the NameAttribute property for setting 'name'.
4307 * RadioButton.cs: get a UniqueID based identifier for 'name'.
4310 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4312 * LinkButton.cs: don't output any javascript when the linkbutton is
4313 disabled. Fixes bug #76713.
4315 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4317 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
4318 UseAccesibleHeader property is true. Patch by Robert Jordan.
4320 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4322 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
4323 control to validate. Fixes bug #76641.
4325 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4327 * BoundColumn.cs: when the column is readonly and we're in edit mode,
4328 keep it as a TextBox. Fixes bug #76714.
4330 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4332 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
4333 enabled. Fixes bug #76608.
4335 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4337 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
4338 the logic to Render and make it render the ID, which fixes bug #76596.
4340 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4342 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
4344 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4346 * Literal.cs: allow LiteralControl as child, but instead of adding it
4347 to the control collection, it just gets the Text out of it.
4349 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4351 * PagedDataSource.cs: fix range when we're at the last page.
4352 * DataGrid.cs: only need to keep the item count in the viewstate.
4355 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4357 * ListControl.cs: made GetSelectedIndices() internal.
4358 * ListBox.cs: html-encode the item text. Fixed single and multiple
4359 selection handling. All the tests pass now. Closes bug #76478.
4361 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4363 * ListControl.cs: throw when the selected value is not in the
4364 items collection. Fixes bug #76415.
4366 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4368 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
4369 throw a nullref, so we have to do it by ourselves here to make
4372 * BaseValidator.cs: render the text of the error message even if
4373 we set IsValid programatically. Don't use 'valid' directly, as
4378 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4380 * CustomValidator.cs: an empty ControlToValidate is valid.
4382 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
4384 * RequiredFieldValidator.cs: Added missing permissions.
4386 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4388 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
4389 Now the items get the attributes from the styles in datalist. Add the
4390 separators after each item, not before. GetItemStyle returns the actual
4391 item style, not the styles in the datalist. Fixes bug #76384 and all
4394 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4396 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
4399 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4401 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
4404 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
4406 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
4407 inheritance demands.
4408 * FontUnit.cs: Structs are sealed so there's no need for inheritance
4410 * Unit.cs: Structs are sealed so there's no need for inheritance
4413 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4415 * PagedDataSource.cs: fix the upper bound for collection and ilist
4418 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4420 * DataGrid.cs: change the ListItemType for the item selected, set
4421 SelectedIndex before calling OnSelectedIndexChanged and set the selected
4422 item type correctly when creating the columns. Fixes bug #76334.
4425 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
4426 selecting the row, the button keep the regular link color.
4428 * DataGridColumn.cs: made the class internal.
4430 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4432 * DataGrid.cs: fix breakaga of alternating item style in one of my
4435 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4437 * Calendar.cs: remove Console.
4438 * ListBox.cs: the name is the UniqueID, not the ClientID.
4439 * WebControl.cs: Attributes is case insensitive.
4441 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4443 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
4444 UniqueID without appending a ".x" or ".y". Fixes several issues in
4445 mojoPortal. Thanks to Joe Audetter for his patience.
4447 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4449 * ButtonColumn.cs: it was lacking databinding, so copied most of it
4452 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4454 * FontInfo.cs: removed useless ctor.
4455 * Style.cs: keep here some commented out debugging code.
4456 * DataGrid.cs: the Items property does not create a new arraylist if
4457 the items_list was already initialized. Add case for Separator.
4458 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
4459 in the header columns has a special ForeColor handling.
4461 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4463 * DataGrid.cs: PageCount must persist in ViewState too and returns the
4464 number of pages in the paged data source once we set that. Fix checks
4465 for visibility of the pager: no more 2 pagers when custom paging is
4468 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4470 * ImageButton.cs: fix a bug reported on the list. We were triggering the
4471 command event on every POST. And the 'name' attribute was not being
4472 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
4473 and we couldn't find the values.
4475 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4477 * DataGrid.cs: fix the links for the numeric pager.
4479 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4481 * DataGrid.cs: when paging is enable, the actual number of items is not
4482 the number of items rendered before the postback, but that number times
4483 the number of pages. Now we store the page count in the viewstate. Also,
4484 as the number might be big, don't allocate an array of objects to fake
4485 the collection for the PagedDataSource, but use the new NCollection
4486 class instead, which provides cheap (memory wise) enumerator for an
4487 arbitrary number of items. Thanks to "Adriano" for the test case.
4489 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4491 * Xml.cs: the show must go on. Removed a few NotImplemented.
4493 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4495 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
4496 existing code in 1.1 (or viceversa). RenderContents() does nothing.
4498 * DataGrid.cs: changed autoid api.
4500 * EditCommandColumn.cs: only 'Update' causes validation.
4502 * TableCell.cs: changed autoid api. RenderContents checks the number
4503 of controls to decide what to do, not the value of Text in the
4506 * TableRow.cs: changed autoid api.
4508 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
4509 event. When we get an EditItem, we need a TextBox to be created and
4510 this one will be the one that gets the event. Changed
4511 ItemDataBinding to deal with a TextBox too.
4513 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4515 * PagedDataSource.cs: fix IsLastPage. All tests pass.
4516 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
4517 need to keep the old one in a field. Now all tests pass here too.
4519 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4521 * PagedDataSource.cs: don't use the properties when they just return a
4522 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
4523 before ICollection (otherwise, an IList will always fall under the
4524 ICollection case). The enumerator for lists will be empty if 'start'
4525 is beyond the list size. All existing tests pass, but one in
4526 DataGridTest that fails because of some problem with the paging.
4528 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4530 * Style.cs: fix the 2.0 build.
4532 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4534 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
4535 instead write the style attributes directly to the HtmlTextWriter.
4537 * CheckBox.cs: adapted to new API.
4539 * DataGrid.cs: handle null data sources. Fixed the contions that make
4540 the table to be added to the Controls collection.
4542 * Calendar.cs: the table needed an ID and the attributes from the
4543 parent. Also don't create the ControlStyleCollection if it has not
4544 already been created.
4546 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4548 * DataGrid.cs: handle null data sources. Fixed the contions that make
4549 the table to be added to the Controls collection.
4551 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4553 * Calendar.cs: TrackViewState should be called upon creation, not on
4554 every get_XXX call. Cleanup.
4556 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4558 * DataGrid.cs: fix another test. The ID of the table generated by the
4559 datagrid is set to the one on the datagrid if no one set the ID for the
4562 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4564 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
4567 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4569 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
4570 converted to string as X{1,2}-.*. All FontUnitTests pass now.
4571 * Unit.cs: throw a format exception when there's not number or minus
4572 sign in the first non-whitespace character.
4574 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4576 * ListControl.cs: SelectedIndex/SelectedValue can be set before
4577 DataBinding () is called on the control, so we have to keep this values
4578 around and use them after the data is read. If both properties are
4579 used, they must refer to the same item.
4581 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4583 * DataList.cs: fill in the data keys from BaseDataList so that the
4584 events can see them. Only assign DataItem when using data binding and
4585 nullify it after all events are raised.
4587 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4589 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
4592 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4594 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
4596 * DataGrid.cs: Fix TagKey (table) for 2.0.
4597 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
4598 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
4600 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
4602 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
4603 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
4605 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
4607 * TreeView.cs: Added declarative security (Link and Inheritance
4608 demands) for Minimal.
4609 * XmlDataSource.cs: Added declarative security (Link and Inheritance
4610 demands) for Minimal.
4612 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4614 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
4615 Inheritance demands) for Minimal.
4616 * Label.cs: Added declarative security (Link and Inheritance demands)
4618 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
4619 * ListItemCollection.cs: Added declarative security (LinkDemands) for
4621 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
4622 2.0, Inheritance demands) for Minimal.
4623 * PagedDataSource.cs: Added declarative security (LinkDemands) for
4625 * Panel.cs: Added declarative security (Link and Inheritance demands)
4627 * Repeater.cs: Added declarative security (Link and Inheritance
4628 demands) for Minimal.
4629 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
4630 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
4632 * TargetConverter.cs: Added declarative security (Link and Inheritance
4633 demands) for Minimal.
4634 * Unit.cs: Added, but only for 1.x, declarative security (Link and
4635 Inheritance demands) for Minimal.
4636 * ValidatedControlConverter.cs: Added declarative security (Link and
4637 Inheritance demands) for Minimal.
4638 * WebColorConverter.cs: Added declarative security (Link and
4639 Inheritance demands) for Minimal.
4640 * Xml.cs: Added declarative security (Link and Inheritance demands)
4642 * ValidationSummary.cs: Added declarative security (Link and
4643 Inheritance demands) for Minimal.
4645 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4647 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
4649 2005-09-22 Ben Maurer <bmaurer@ximian.com>
4651 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
4652 it took O(height) time, not O(1).
4654 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4656 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
4658 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4660 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
4661 2.0, Inheritance demands) for Minimal.
4662 * BaseCompareValidator.cs: Added declarative security (Link and
4663 Inheritance demands) for Minimal.
4664 * BaseDataBoundControl.cs: Added declarative security (Link and
4665 Inheritance demands) for Minimal.
4666 * BaseValidator.cs: Added declarative security (Link and Inheritance
4667 demands) for Minimal.
4668 * BoundColumn.cs: Added declarative security (Link and Inheritance
4669 demands) for Minimal.
4670 * ButtonColumn.cs: Added declarative security (Link and Inheritance
4671 demands) for Minimal.
4672 * CalendarDay.cs: Added declarative security (Link and Inheritance
4673 demands) for Minimal.
4674 * CheckBoxList.cs: Added declarative security (Link and Inheritance
4675 demands) for Minimal.
4676 * CompareValidator.cs: Added declarative security (Link and
4677 Inheritance demands) for Minimal.
4678 * CustomValidator.cs: Added declarative security (Link and Inheritance
4679 demands) for Minimal.
4680 * DataBoundControl.cs: Added declarative security (Link and
4681 Inheritance demands) for Minimal.
4682 * DataGridItemCollection.cs: Added declarative security (Link and
4683 Inheritance demands) for Minimal.
4684 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
4686 * DataListItemCollection.cs: Added declarative security (LinkDemands)
4688 * DataListItem.cs: Added declarative security (Link and Inheritance
4689 demands) for Minimal.
4690 * FontNamesConverter.cs: Added declarative security (Link and
4691 Inheritance demands) for Minimal.
4692 * HyperLink.cs: Added declarative security (Link and Inheritance
4693 demands) for Minimal.
4694 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
4695 demands) for Minimal.
4696 * Image.cs: Added declarative security (Link and Inheritance demands)
4699 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4701 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
4703 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
4704 a data source, first try reflection, then componentmodel. If we get
4705 an enumerator, keep it around, as MS only calls GetEnumerator once.
4706 Throw an exception if no columns can be created from the given data
4707 source. Tested with DbDataRecord, DataTable, ArrayList and
4708 ICustomTypeDescriptor.
4710 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
4712 * AccessDataSource.cs: Added declarative security (Link and Inheritance
4713 demands) for Minimal. Added [ToolboxBitmap] on class.
4714 * AdRotator.cs: Added declarative security (Link and Inheritance
4715 demands) for Minimal. Removed extra Page and ViewState properties.
4716 * BulletedList.cs: Added declarative security (Link and Inheritance
4717 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4718 * Button.cs: Added declarative security (Link and Inheritance demands)
4719 for Minimal. Added [SupportsEventValidation] on class (2.0).
4720 * Calendar.cs: Added declarative security (Link and Inheritance
4721 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4722 * CheckBox.cs: Added declarative security (Link and Inheritance
4723 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4724 * CompositeControl.cs: Added declarative security (Link and Inheritance
4725 demands) for Minimal. Added new protected RecreateChildControls method.
4726 * DataControlCommands.cs: Added declarative security (LinkDemands) for
4727 Minimal. Added private ctor.
4728 * DataGrid.cs: Added declarative security (Link and Inheritance
4729 demands) for Minimal. Fixed properties for 2.0 (mostly removing
4730 [Bindable]). Added override for TagKey property.
4731 * DataGridColumn.cs: Added declarative security (Link and Inheritance
4732 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
4733 * DataGridItem.cs: Added declarative security (Link and Inheritance
4734 demands) for Minimal. Added IDataItemContainer interface for 2.0.
4735 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
4736 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
4737 * DataList.cs: Removed [Load|Save]ControlState methods.
4738 * DropDownList.cs: Added declarative security (Link and Inheritance
4739 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4740 * EditCommandColumn.cs: Added declarative security (Link and
4741 Inheritance demands) for Minimal. Added missing attributes,
4742 [DefaultValue] and [Localize] for 2.0.
4743 * FontInfo.cs: Added declarative security (Link and Inheritance
4744 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
4746 * Login.cs: Added declarative security (Link and Inheritance demands)
4747 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
4748 * ImageButton.cs: Added declarative security (Link and Inheritance
4749 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4750 * LinkButton.cs: Added declarative security (Link and Inheritance
4751 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4752 * ListBox.cs: Added declarative security (Link and Inheritance demands)
4753 for Minimal. Added [SupportsEventValidation] on class (2.0).
4754 * Literal.cs: Added declarative security (Link and Inheritance demands)
4755 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
4756 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
4757 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
4758 but will be shown as extra).
4759 * RadioButton.cs: Added declarative security (Link and Inheritance
4760 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4761 * RadioButtonList.cs: Added declarative security (Link and Inheritance
4762 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4763 * RangeValidator.cs: Added declarative security (Link and Inheritance
4764 demands) for Minimal. Added missing [Themeable] attributes.
4765 * RegularExpressionValidator.cs: Added declarative security (Link and
4766 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
4768 * RoleGroupCollection.cs: Added declarative security (Link and
4769 Inheritance demands) for Minimal. Fixed base class (changed in RC).
4770 Re-implemented CopyTo. Removed some methods.
4771 * Style.cs: Added declarative security (Link and Inheritance demands)
4772 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
4773 is now public in 2.0.
4774 * Table.cs: Added declarative security (Link and Inheritance demands)
4775 for Minimal. Added [SupportsEventValidation] on class (2.0).
4776 * TableCell.cs: Fixed PersistenceMode for 2.0.
4777 * TextBox.cs: Added declarative security (Link and Inheritance demands)
4778 for Minimal. Added [SupportsEventValidation] on class (2.0).
4779 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
4780 but will be shown as extra).
4781 * WebControl.cs: Added declarative security (Link and Inheritance
4782 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
4785 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4787 * TableStyle.cs: fixed typo that prevented restoring GridLines from
4790 * DataGrid.cs: the table does not get an auto ID. When restoring from
4791 viewstate, use all the saved columns, not just that data bound ones. Set
4792 the owner of the BoundColumns created. Save/restore columns.
4793 OnItemCreated happens after the item is initialized and the data item is
4794 set before the event and nullified after OnItemDataBound.
4795 Add the render_table to the Controls immediately, otherwise we might get
4796 errors from child controls such as "must be rendered inside a form".
4797 Keep the items created in the list waiting for them.
4798 The table uses the attributes from the DataGrid and ControlStyle.
4799 Raise OnItemCommand on all bubble events and don't propagate bubble
4800 event up in the hierarchy
4802 * TableCell.cs: it does not get an automatic ID.
4803 * BoundColumn.cs: FormatDataValue returns an empty string on null input
4804 (there was already a test for this).
4808 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4810 * DataGridColumnCollection.cs: track the view state in the newly added
4813 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4815 * DataGrid.cs: merge column styles too. Fixes bug #76106.
4816 * DataGridColumn.cs: new internal method to retrieve the styles without
4817 creating an instance for them.
4819 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
4821 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
4822 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
4823 StateBag.SetDirty (true).
4825 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
4827 * Menu.cs: Fixed parameter orders for CreateStyleRule.
4829 2005-09-13 Chris Toshok <toshok@ximian.com>
4831 * Style.cs: corcompare stuff.
4833 * RequiredFieldValidator.cs: more corcompare stuff.
4835 * CheckBoxList.cs: clean up some of the interface methods vs
4836 protected virtual 2.0 calls.
4838 * SubMenuStyle.cs: corcompare says this should implement
4839 ICustomTypeDescriptor... sooo, make it.
4841 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4843 * TableCell.cs: do the same as HyperLink and others in
4844 AddParsedSubobject so that adding a literal control does not remove the
4845 existing controls if any. Fixes bug #76078.
4847 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4849 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
4851 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4853 * ImageButton.cs: fix invalid cast exception.
4855 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4857 * ListItem.cs: throw in AddParsedSubObject if the object is not a
4859 * RadioButtonList.cs: implemented LoadPostData and
4860 RaisePostDataChangedEvent.
4862 2005-09-09 Chris Toshok <toshok@ximian.com>
4864 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
4865 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
4866 LoadPostData/RaisePostDataChangedEvent.
4868 2005-09-09 Chris Toshok <toshok@ximian.com>
4870 * FontInfo.cs (IsEmpty): new internal property, used by
4873 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
4876 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4878 * ListItemCollection.cs: remove obsoleted methods.
4879 * ListBox.cs: use IStateManager on the item collection.
4881 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
4883 * Use C# 1.0 style of delegate instantiating. Needed to compile
4884 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
4886 2005-09-07 Chris Toshok <toshok@ximian.com>
4888 * Calendar.cs (WriteDay): always add BackColor=Silver,
4889 ForeColor=White to selected day cells, before copying over the
4890 selectedDayStyle, if it exists.
4891 (WriteDays): fix nunit test - if the first day of the month falls
4892 on the first day of the week, go back one week (effectively adding
4893 a row of dates from the previous month.)
4894 (WriteTitle): don't copy the control style to the tableTitle,
4895 since it might have height specifications, which would make the
4896 title look rather off.
4898 2005-09-07 Chris Toshok <toshok@ximian.com>
4900 * ValidationSummary.cs (AddAttributesToRender): we only set
4901 display=none if there are no errors.
4903 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
4904 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
4906 2005-09-07 Chris Toshok <toshok@ximian.com>
4908 * ListControl.cs (SelectedIndex): add comment about how you'd
4909 think OnSelectedIndexChanged would be called.. and you'd be wrong.
4910 (Text): implement in terms of SelectedValue.
4911 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
4912 (LoadControlState): implement - this is where the selected index
4913 ArrayList gets stuffed in 2.0.
4914 (OnInit): call Page.RegisterRequiresControlState.
4915 (OnTextChanged): implement.
4916 (RenderContents): for now just chain up to base.RenderContents.
4917 (SaveControlState): save our control state properly.
4918 (GetSelectedIndices): split this out from SaveViewState to it can
4919 be used by both that and SaveControlState.
4920 (SaveViewState): mangle this function so it works in both 2.0 and
4922 (LoadViewState): same.
4924 2005-09-06 Chris Toshok <toshok@ximian.com>
4926 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
4927 we weren't assigned an ID.
4929 * ValidationSummary.cs (AddAttributesToRender): same.
4931 2005-09-06 Chris Toshok <toshok@ximian.com>
4933 * WebControl.cs: revert the last change.
4935 2005-09-06 Chris Toshok <toshok@ximian.com>
4937 * WebControl.cs (AddAttributesToRender): always render ClientID.
4939 * ValidationSummary.cs (Render): same.
4941 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
4944 2005-09-06 Chris Toshok <toshok@ximian.com>
4946 * ValidationSummary.cs (Render): only do the JS stuff when the
4947 validators on the page are uplevel.
4949 * BaseValidator.cs (Render): remove unnecessary comment.
4951 2005-09-05 Chris Toshok <toshok@ximian.com>
4953 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
4954 stored in the ViewState.
4956 2005-09-02 Chris Toshok <toshok@ximian.com>
4958 * Repeater.cs (GetData): change this slightly so the Repeater
4959 doesn't keep a ref to the return value of GetData.
4961 2005-09-01 Chris Toshok <toshok@ximian.com>
4963 * ListControl.cs (AppendDataBoundItems): implement (2.0)
4966 2005-09-01 Chris Toshok <toshok@ximian.com>
4968 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
4969 System.Web.UI.WebControls/ValidatedControlConverter.cs,
4970 System.Web.UI.WebControls/Xml.cs,
4971 System.Web.UI.WebControls/RegularExpressionValidator.cs,
4972 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
4973 System.Web.UI.WebControls/Menu.cs,
4974 System.Web.UI.WebControls/MailMessageEventArgs.cs,
4975 System.Web.UI.WebControls/MenuItemStyle.cs,
4976 System.Web.UI.WebControls/RangeValidator.cs,
4977 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
4978 System.Web.UI.WebControls/MenuItem.cs,
4979 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
4980 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
4981 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
4982 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
4983 System.Web.UI.WebControls/XmlBuilder.cs,
4984 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
4987 2005-09-01 Chris Toshok <toshok@ximian.com>
4989 * System.Web.UI.WebControls/Button.cs,
4990 System.Web.UI.WebControls/ButtonField.cs,
4991 System.Web.UI.WebControls/DataControlField.cs,
4992 System.Web.UI.WebControls/BaseCompareValidator.cs,
4993 System.Web.UI.WebControls/AutoGeneratedField.cs,
4994 System.Web.UI.WebControls/CustomValidator.cs,
4995 System.Web.UI.WebControls/Content.cs,
4996 System.Web.UI.WebControls/BoundField.cs,
4997 System.Web.UI.WebControls/AdRotator.cs,
4998 System.Web.UI.WebControls/ButtonColumn.cs,
4999 System.Web.UI.WebControls/CompareValidator.cs,
5000 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
5001 work. Stub things out, and add attributes.
5003 2005-09-01 Chris Toshok <toshok@ximian.com>
5005 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
5006 CommandField.cs, HyperLinkColumn.cs, Table.cs,
5007 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
5008 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
5009 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
5010 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
5011 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
5012 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
5013 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
5014 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
5015 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
5016 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
5017 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
5018 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
5019 TableItemStyle.cs: Add some WebCategory and WebSysDescription
5022 2005-09-01 Chris Toshok <toshok@ximian.com>
5024 * AccessDataSource.cs: corcompare work.
5026 * SqlDataSource.cs: same.
5028 2005-09-01 Miguel de Icaza <miguel@novell.com>
5030 * Various places: make sure that the DefaultValue matches the
5031 type. Thanks to Michael for pointing this out.
5033 In future audits, you might want to use the following awk command:
5035 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
5036 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
5037 print $0; looking = 0; } /public/ && looking { looking = 0; } '
5040 The above skips bools, strings and ints as those were fine as we
5041 set them. The bug was on the other ones.
5043 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5045 * Repeater.cs: fix the build.
5047 2005-08-31 Chris Toshok <toshok@ximian.com>
5049 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
5050 {Base}DataList, and also from debug spew garnered from some
5051 Repeater subclass tests on MS.
5052 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
5053 the IEnumerable by calling GetData().
5054 (DataBind): reset RequiresDataBinding to false (2.0).
5055 (DataMember): copy the set implementation from DataList, and add
5056 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
5057 (DataSource): more c&p.
5058 (DataSourceID); implement (2.0)
5059 (Initialized): implement (2.0)
5060 (IsBoundUsingDataSource): implement (2.0)
5061 (RequiresDataBinding): implement (2.0)
5062 (SelectArguments): implement (2.0)
5063 (CreateDataSourceSelectArguments): implement (2.0)
5064 (EnsureDataBound): implement (2.0)
5065 (GetData): implement.
5066 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
5068 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
5069 leave the MonoTODO. (2.0)
5070 (OnInit): call base.OnInit instead of throwing NIE, but leave the
5072 (OnLoad): implement.
5073 (OnPreRender): implement.
5074 (ConnectToDataSource): new method - look for the right control.
5076 2005-08-31 Chris Toshok <toshok@ximian.com>
5078 * XmlDataSourceView.cs: fix the scope of our select. Don't use
5079 call SelectNodes on the XmlDocument, not on
5080 XmlDocument.DocumentElement.
5082 2005-08-31 Chris Toshok <toshok@ximian.com>
5084 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
5085 (DoXPathSelect): put the xpath selection stuff here.
5086 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
5089 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
5090 select here, the view does it.
5092 2005-08-31 Jackson Harper <jackson@ximian.com>
5094 * DataList.cs: Remove some debugging code that was starting to bug
5097 2005-08-31 Chris Toshok <toshok@ximian.com>
5099 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
5100 create our Navigator by calling node.CreateNavigator().
5102 2005-08-31 Chris Toshok <toshok@ximian.com>
5104 * XmlDataSource.cs (GetXmlDataDocument): rename this to
5105 GetXmlDocument, and change the return value from XmlDataDocument
5107 (LoadXmlDataDocument): similar change.
5108 (Save): xmlDataDocument -> xmlDocument.
5109 (CanBeSaved): there's no ReadOnly attribute.
5110 (LoadViewState, SaveViewState, TrackViewState): nuke.
5111 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
5112 (CacheDuration): stub out with NIE.
5113 (CacheExpirationPolocy): same.
5114 (CacheKeyDependency): same.
5115 (EnableCaching): same.
5117 (Data, DataFile): xmlDataDocument -> xmlDocument.
5118 (Schema, SchemaFile): nuke.
5119 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
5121 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
5123 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
5124 Don't use the obsolete IsSet method.
5125 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
5126 * CheckBox.cs: Implement some 2.0 methods.
5127 * GridView.cs: Removed some "throw new NotImplementedException"
5129 2005-08-29 Chris Toshok <toshok@ximian.com>
5131 * TreeView.cs: Use the StateBag accessors Ben added, and implement
5132 SkipLinkText and Visible.
5134 2005-08-29 Chris Toshok <toshok@ximian.com>
5136 * TreeView.cs: fix typo in an attribute.
5138 2005-08-29 Jackson Harper <jackson@ximian.com>
5140 * PagedDataSource.cs: If it's not a list or collection we don't
5141 use a bounded enumerator.
5143 2005-08-29 Chris Toshok <toshok@ximian.com>
5145 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
5147 * CheckBox.cs: same.
5149 * BaseValidator.cs: same.
5151 * DropDownList.cs: same.
5153 * ValidationSummary.cs: same.
5155 2005-08-28 Chris Toshok <toshok@ximian.com>
5157 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
5159 2005-08-26 Chris Toshok <toshok@ximian.com>
5161 * TextBox.cs: implement ValidationGroup and CausesValidation
5164 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
5166 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
5169 2005-08-26 Chris Toshok <toshok@ximian.com>
5171 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
5173 * FontUnit.cs: add two 2.0 ctors, and the 2.0
5174 ToString(IFormatProvider) method.
5176 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
5178 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
5179 no items are present in the list.
5180 * RoleGroup.cs: Added missing attributes.
5181 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
5182 documented) methods.
5183 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
5184 must be done in the HtmlTextWriter (not in the TableStyle).
5186 2005-08-26 Chris Toshok <toshok@ximian.com>
5188 * Calendar.cs (UseAccessibleHeader): implement.
5189 (RaisePostBackEvent): some #ifdef ugliness to get this all working
5190 propertly between 1.x and 2.0
5191 (WriteDayHeader): if UseAccessibleHeader == true, render header
5192 cells as th's, not td's, and add abbr and scope attributes.
5194 2005-08-25 Chris Toshok <toshok@ximian.com>
5196 * Calendar.cs (Caption, CaptionAlign): implement these properties.
5197 (Render): if we have a non-empty caption, show it.
5198 (WriteCaption): new method, output the caption.
5200 2005-08-25 Chris Toshok <toshok@ximian.com>
5202 * Calendar.cs (Render): Copy the entire style from the Calendar to
5203 the Table, not just the font.
5204 (WriteDay): don't just write the link/text/etc. Create a
5205 LiteralControl as a child of the cell, before the call to
5206 OnDayRender, with its text set to the day number. After
5207 OnDayRender, set the literal's text to either the number again (if
5208 it's not selectable) or the full text of the js __doPostBack
5209 hyperlink (if it is.) Also, use cell.RenderControl here so we can
5210 render child controls with the id's listed properly (and arguably
5212 (ApplyTitleStyleCell): remove.
5213 (WriteTitle): apply the titleStyle to the enclosing table, not the
5214 table cell containing the month name. Also, copy from the
5215 Calendar's ControlStyle to populate tableTitle's style initially.
5216 We end up with more (superfluous) style attributes than MS, but
5217 it's better than having less.
5219 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5221 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
5224 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5226 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
5227 and RegisteredCssClass property
5229 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5231 * LoginView.cs: Fixed attributes.
5232 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
5233 an exception to allow pages to work on 2.x.
5235 2005-08-25 Chris Toshok <toshok@ximian.com>
5237 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
5239 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
5242 * HiddenField.cs: stub out this class and label everything
5245 2005-08-25 Jackson Harper <jackson@ximian.com>
5247 * DataGrid.cs: Disable the pager row if there no paging enabled
5250 2005-08-25 Chris Toshok <toshok@ximian.com>
5252 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
5255 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
5256 add a using statement.
5258 2005-08-25 Chris Toshok <toshok@ximian.com>
5260 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
5263 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
5266 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5268 * Login.cs: Added rendering and fixed parts of the authentication.
5269 Now using IStateManager to allow compilation in another assembly (e.g.
5270 to test the control under IIS). Needs more tests (error conditions)
5271 once we get a "real" Membership provider running.
5272 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
5275 2005-08-25 Chris Toshok <toshok@ximian.com>
5277 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
5279 2005-08-25 Chris Toshok <toshok@ximian.com>
5281 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
5282 calling base.Foo to get the standalone adrotator (1.0) tests to
5283 run without throwing exceptions.
5285 2005-08-25 Chris Toshok <toshok@ximian.com>
5287 * ValidationSummary.cs (ValidationGroup): implement.
5288 (Render): use Page.GetValidators in .net 2.0, so we can support
5289 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
5292 2005-08-25 Chris Toshok <toshok@ximian.com>
5294 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
5295 2.0 attribute modifiers, and revert back to "override".
5297 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
5298 2.0 attribute modifiers, and revert back to "override".
5299 (BorderStyle): same.
5300 (BorderWidth): same.
5302 * TextBox.cs (SaveViewState): implement naively, calling
5304 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
5305 modifiers, and revert back to "override".
5307 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5309 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
5310 Load ViewState for derived classes; no public LoadViewState override
5311 exists in those classes
5312 * Style.cs: Added 2.0 IsStyleEmpty method
5314 2005-08-25 Jackson Harper <jackson@ximian.com>
5316 * DataGrid.cs: The number of pages set in the pager is specified
5319 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5321 * LoginView.cs: New (2.0). Work in progress.
5323 2005-08-24 Chris Toshok <toshok@ximian.com>
5325 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
5326 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
5327 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
5328 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
5329 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
5330 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
5331 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
5332 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
5333 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
5334 Add MonoTODO's for all things that throw NotImplementException.
5336 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
5338 * RoleGroup.cs: New (2.0). Complete implementation.
5339 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
5341 2005-08-23 Chris Toshok <toshok@ximian.com>
5343 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
5344 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
5345 even though they were written for the 1.0 stuff.
5347 2005-08-23 Chris Toshok <toshok@ximian.com>
5349 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
5350 output. Our tests now pass on both mono and ms, with both 1.x and
5353 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
5355 * Login.cs: Throw exception if the specified provider doesn't exists.
5356 * LoginStatus.cs: Complete events.
5358 2005-08-22 Jackson Harper <jackson@ximian.com>
5360 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
5362 (InitializeNumericPager): Now that the pager actually renders
5363 properly I can see that I was computing it incorrectly.
5365 2005-08-22 Jackson Harper <jackson@ximian.com>
5367 * DataGrid.cs (RenderTable): Make sure the new table gets the
5369 (CreateColumnSet): Clear the data source columnbs before adding
5370 new ones regardless of whether or not a property descriptor was
5372 (InitializePager): pager_cell needs to be a member so it isn't
5373 created more then once per a render.
5374 (InitializeNumericPager): Compute start and end more
5376 - Link commands are 1 indexed.
5377 (CreateControlHierarchy): Clear the table before we begin
5379 - Revert patch that made adding the pagers conditional. This is
5380 incorrect, the pagers are always added. Only their visibility is
5381 affected by the pager style.
5382 - Save the entire count in the viewstate, not just the rendered
5383 count. So when paging is enabled the pager's count isn't broken by
5386 2005-08-22 Chris Toshok <toshok@ximian.com>
5388 * LinkButton.cs (ValidationGroup): implement.
5389 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
5390 pass ValidationGroup to Page.Validate.
5392 2005-08-22 Chris Toshok <toshok@ximian.com>
5394 * ImageButton.cs (ValidationGroup): implement.
5395 (IPostBackEventHandler.RaisePostBackEvent): if we cause
5396 validation, call Page.Validate properly (in both profiles).
5398 2005-08-22 Chris Toshok <toshok@ximian.com>
5400 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
5401 case, pass ValidationGroup to Page.Validate.
5402 (ValidationGroup): implement using ViewState.
5404 2005-08-22 Chris Toshok <toshok@ximian.com>
5406 * BaseValidator.cs (Text): 2.0 only. implement naively, just
5408 (OnInit): add 2.0 support for validation groups.
5411 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
5413 * LoginName.cs: New (2.0) web control.
5414 * LoginStatus.cs: New (2.0) web control.
5416 2005-08-19 Chris Toshok <toshok@ximian.com>
5418 * LinkButton.cs (ValidationGroup): implement getter/setter.
5419 (RaisePostBackEvent): implement naively, by c&p'ing the old
5420 implementation of IPostBackEventHandler.RaisePostBackEvent, but
5421 making use of the ValidationGroup in the call to Page.Validate.
5425 * Style.cs (LoadViewState): set our style flags for all the things
5426 we have flags for. Seems like the subclass flags should be
5427 handled in overridden LoadViewState methods, but none of the Style
5428 subclasses seem to override this method.
5430 2005-08-19 Chris Toshok <toshok@ximian.com>
5432 * TableStyle.cs (Merge, MergeWith): make these look a bit more
5433 like Copy/CopyFrom, with the styles checks instead of just
5436 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
5439 2005-08-19 Chris Toshok <toshok@ximian.com>
5441 * DataGrid.cs (InitializePager): don't unconditionally set
5442 pager_cell to the numeric pager (especially after setting it
5443 conditionally to the nextprev pager.)
5444 (InitializeNumericPager): the link buttons don't participate in
5446 (InitializeNextPrevPager): same.
5447 (CreateControlHierarchy): create the top/bottom pagers only if the
5448 PagerStyle says too.
5450 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
5452 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
5454 2005-08-18 Chris Toshok <toshok@ximian.com>
5456 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
5457 the start of this method so templates are created properly.
5459 2005-08-18 Dick Porter <dick@ximian.com>
5461 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
5462 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
5463 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
5464 BaseDataList.cs, DataList.cs, BulletedList.cs,
5465 DataBoundControl.cs, Login.cs, GridView.cs,
5466 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
5467 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
5468 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
5469 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
5470 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
5471 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
5472 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
5473 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
5476 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
5478 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
5480 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
5481 empty array of objects just to get the number of items.
5482 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
5483 but we're missing some bits from the class lib to complete all this...
5485 2005-08-17 Jackson Harper <jackson@ximian.com>
5487 * DataGrid.cs: Only create one pager and add it to both the top
5488 and bottom of the grid, this way all the id numbers stay the same
5489 and we save a bunch of cycles.
5491 2005-08-17 Jackson Harper <jackson@ximian.com>
5493 * DataGrid.cs: The top and bottom pagers are always created. Just
5494 the visibility is changed by the PagerStyle::Position.
5496 2005-08-17 Chris Toshok <toshok@ximian.com>
5498 * CompositeControl.cs (RecreateChildControls): implement naively -
5499 just call CreateChildControls. We might need to call
5500 Controls.Clear() as well, but for the time being, this is ok.
5502 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
5504 * BaseDataList.cs: Completed implementation for 2.0.
5506 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5508 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
5509 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
5511 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5513 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
5515 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
5516 Adjusted size and ordering of the ViewState (new element #0 is still
5517 unknown). Properly fixed the TagKey in 2.0.
5518 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
5519 all properties using enums.
5520 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
5521 * TableItemStyle.cs: Fixed attribute rendering to use style to render
5522 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
5524 2005-08-15 Jackson Harper <jackson@ximian.com>
5526 * EditCommandColumn.cs: Use a normal LinkButton.
5528 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5530 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
5531 viewstate (even if assigned to the default value).
5532 * TableRow.cs: Implement TableSection property (2.0). It has no effect
5533 on the rendering of the table row.
5535 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5537 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
5538 and removed [Bindable] attributes for 2.0.
5539 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
5540 attributes (for 2.0).
5541 * DataListCommandEventArgs.cs: Not sealed in 2.0.
5542 * DataListItemEventArgs.cs: Not sealed in 2.0.
5543 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
5544 attributes for URLs.
5545 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
5546 attributes for URLs.
5547 * Table.cs: Fixed [Editor] attribute for 2.0.
5548 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5549 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
5550 AssociatedHeaderCellID and it's [DefaultValue] attribute.
5551 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
5552 and Scope attributes.
5553 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
5554 on TableSection attribute.
5555 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5557 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
5559 * Image.cs: Fixed attributes for 2.0 profile.
5560 * Login.cs: Fixed some attributes and default values.
5561 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
5562 RaisePostBackEvent (TODO) in 2.0 profile.
5563 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
5564 and added AssociateHeaderCellID property (TODO).
5565 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5566 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
5567 page (if the device requires to breaks the table into multiple pages).
5568 This seems to be a "flag" class, the real work will be in Table.
5569 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
5570 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
5571 page (if the device requires to breaks the table into multiple pages).
5572 This seems to be a "flag" class, the real work will be in Table.
5573 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
5574 * TableRow.cs: Remove [Bindable (true)] from properties and add
5575 [Bindable (false)] and [Designer] on class. Added new TableSection
5577 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5578 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
5579 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
5580 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
5581 FillStyleAttributes method (2.0).
5583 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
5585 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
5586 attributes from existing controls.
5587 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
5588 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
5590 2005-08-12 Jackson Harper <jackson@ximian.com>
5592 * TableRow.cs: No AutoID for TableRows.
5594 2005-08-12 Jackson Harper <jackson@ximian.com>
5596 * DataGrid.cs (CreateRenderColumns): If we aren't using data
5597 binding grab the rendercols from the data source columns.
5598 (LoadViewState): Restore the bound columns when reloading the
5600 (InitializeNumericPager): Create elipsised pagers.
5601 (CreateItem): Don't set the item's ID.
5602 (CreateItem): Add the control to the table before it is databound
5603 so that it's value is saved in the viewstate.
5604 (CreateControlHierarchy): Create a fake data source when not using
5605 databinding. Don't add controls to the table as they are added in
5607 (PrepareControlHierarchy): Make footers and header non visible if
5608 they aren't enabled.
5610 2005-08-12 Chris Toshok <toshok@ximian.com>
5612 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
5613 docs says these methods/properties "ensure the child controls are
5614 created" -- so call EnsureChildControls() before invoking the base
5617 2005-08-12 Jackson Harper <jackson@ximian.com>
5619 * BoundColumn.cs: Set the controls text instead of adding a
5620 literal control. So it is saved in the controls viewstate.
5622 2005-08-11 Jackson Harper <jackson@ximian.com>
5624 * CheckBoxList.cs: Set the tabindex on the checkbox control and
5625 don't render it on the main table (Setting it to zero causes it to
5626 not be rendered). Also use the invariant culture on the id.
5628 2005-08-11 Dick Porter <dick@ximian.com>
5630 * CheckBox.cs: Let ViewState manage removals; apply styles and
5631 "style" attributes in a surrounding <span>. Fixes unit tests.
5633 2005-08-10 Chris Toshok <toshok@ximian.com>
5635 * Label.cs (LoadViewState): set the Text attribute from our
5636 ViewState (if it exists) to clear out any child controls. Fixes
5637 jsunit test label/label-child-control-postback.aspx.
5639 2005-08-10 Jackson Harper <jackson@ximian.com>
5641 * PagedDataSource.cs: Respect paging with all data source types.
5643 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
5645 * BaseDataList.cs: Changed Controls property from "virtual new"
5646 (2.0 doc) to "override" (monop) to fix the Visible bug (see
5647 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
5648 any controls (required due to change to Controls). Implemented
5649 DataBind(bool) for 2.0.
5650 * DataListItem.cs: Fix the multiple table when extractRows is used.
5651 Removed extra span tags by rendering contents (not control). Added
5652 support for IDataItemContainer (2.0).
5654 2005-08-08 Jackson Harper <jackson@ximian.com>
5656 * DataGrid.cs: Apply the styles to each item type.
5658 2005-08-08 Jackson Harper <jackson@ximian.com>
5660 * PagedDataSource.cs: If paging is not enabled keep enumerating to
5661 the end of the list.
5663 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
5665 * BaseDataList.cs: Remove old compatibility stuff.
5666 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
5667 * WebControl.cs: Always call CreateControlStyle to create the
5668 ControlStyle. Fix the exception for datalist-style-edit.aspx.
5670 2005-08-05 Jackson Harper <jackson@ximian.com>
5672 * DataGrid.cs: Don't make the current page index a link in the
5675 2005-08-05 Jackson Harper <jackson@ximian.com>
5677 * DataGrid.cs: Honour PagerPosition.
5679 2005-08-05 Jackson Harper <jackson@ximian.com>
5681 * PagedDataSource.cs: Round PageCount properly.
5683 2005-08-05 Dick Porter <dick@ximian.com>
5685 * CheckBox.cs: Shut corcompare up a bit more. Still need to
5686 figure out how to not use AddAttributesToRender to get it
5689 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
5691 * DataGridColumn.cs: Added the duplicate viewstate manipulation
5694 2005-08-05 Chris Toshok <toshok@ximian.com>
5696 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
5697 null when it comes to the format string.
5698 (FormatDataTextValue): same.
5700 2005-08-04 Chris Toshok <toshok@ximian.com>
5702 * BaseValidator.cs (Validate): only test a validator if it's both
5703 enabled and visible.
5705 2005-08-04 Chris Toshok <toshok@ximian.com>
5707 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
5710 2005-08-04 Jackson Harper <jackson@ximian.com>
5712 * DataGrid.cs: Add a new space control for each link. Also make
5713 the link's text 1 indexed. Don't add the space after the last
5716 2005-08-04 Ben Maurer <bmaurer@ximian.com>
5718 * LinkButton.cs: Fix up the test suite here.
5720 * Panel.cs: Fix up nowrap
5722 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5724 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
5725 * ListControl.cs: Clear item list before adding data (again)
5727 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
5729 * Calendar.cs: fixes issues with OnDayRender event and others
5731 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5733 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
5735 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
5736 if DataTextField is bound
5737 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
5738 two controls in edit mode, lets do the same
5740 2005-08-03 Jackson Harper <jackson@ximian.com>
5742 * BoundColumn.cs: Respek for the thisExpr when data binding.
5744 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5746 * EditCommandColumn.cs: No need to offer edit when in edit mode.
5749 2005-08-04 Dick Porter <dick@ximian.com>
5751 * DataGridColumn.cs: New implementation
5754 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
5756 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5758 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
5761 2005-08-03 Ben Maurer <bmaurer@ximian.com>
5763 * RepeatInfo.cs: Finally figured out how to use base control
5765 2005-08-03 Jackson Harper <jackson@ximian.com>
5767 * ButtonColumn.cs: Partial implementation.
5769 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5771 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
5774 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5776 * Calendar.cs: fixes Save/Load state
5778 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5780 * Calendar.cs: bug fixes
5782 2005-08-03 Jackson Harper <jackson@ximian.com>
5784 * DataGrid.cs: Merge the table style with the render table. Some
5785 initial work on the numeric pager. Remove some debugging code.
5787 2005-08-03 Jackson Harper <jackson@ximian.com>
5789 * BoundColumn.cs: Implement Initialize and InitializeCell. When
5790 Data is formated it uses the DataFormatString that was set at the
5791 time Initialize was called (or null if initialize was never
5794 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5796 * RadioButtonList.cs: bug fixes
5798 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5800 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
5801 AddAttributesToRender
5802 * RadioButtonList.cs: Implementation
5804 2005-08-01 Jackson Harper <jackson@ximian.com>
5806 * TableStyle.cs: Copy style bit when copying from another style.
5808 2005-08-01 Jackson Harper <jackson@ximian.com>
5810 * PagedDataSource.cs: Implement missing properties, use yield for
5811 the Enumerator methods. Only allow the enums to return one page at
5814 2005-08-01 Chris Toshok <toshok@ximian.com>
5816 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
5818 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5820 * WebControl.cs: Track enabled state across sessions
5822 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5824 * ListControl.cs(OnDatabinding): Value is equivalent to text if
5827 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
5829 * ImageButton.cs: fixes, complete missing parts
5831 2005-07-31 Ben Maurer <bmaurer@ximian.com>
5833 * TextBox.cs: Html encode for multiline text boxes
5835 * HyperLink.cs: Resolve images
5837 2005-07-30 Chris Toshok <toshok@ximian.com>
5839 * BaseValidator.cs: initial version of 2.0 properties
5840 ValidationGroup and SetFocusOnError.
5842 2005-07-30 Chris Toshok <toshok@ximian.com>
5844 * HyperLinkColumn.cs (InitializeCell): clean this up.
5846 2005-07-30 Chris Toshok <toshok@ximian.com>
5848 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
5849 DataBinder.FormatResult.
5850 (FormatDataTextValue): same.
5851 (Initialize): call base.Initialize.
5852 (ItemDataBinding): new function, get the text/navigateurl and set
5853 them on our HyperLink control.
5854 (InitializeCell): create a hyperlink control in the
5855 Item/EditItem/AlternatingItem case.
5857 2005-07-30 Ben Maurer <bmaurer@ximian.com>
5859 * RepeatInfo.cs: Handle 0 items situations correctly
5861 * HyperLink.cs: Resolve urls correctly
5863 * CheckBox.cs: use the correct ID for the label element.
5865 * Label.cs: Correct AddParsedSubObject impl. See FAQ
5867 2005-07-29 Chris Toshok <toshok@ximian.com>
5869 * BaseCompareValidator.cs (GetDateElementOrder): implement.
5871 2005-07-29 Chris Toshok <toshok@ximian.com>
5873 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
5874 #if'ed out version follows microsoft's docs on msdn, but doesn't
5875 match ms's behavior. The other matches their behavior but not
5876 their docs. we use the latter. go figure.
5877 (get_CutoffYear): implement using
5878 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
5880 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5883 - Name property now throws exception when set to null
5884 - Names now handles situation where our bit tells us we have
5885 a font, but it's not in the StateBag (null removal)
5886 * RangeValidator.cs: Removed unused vars
5888 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5890 * Label.cs: ClientID should be used rather than UniqueID to get
5893 2005-07-29 Chris Toshok <toshok@ximian.com>
5895 * BaseValidator.cs (Validatate): not sure if this is entirely
5896 correct (some fairly deep testing required), but setting Enabled =
5897 false has the effect of setting IsValid = true.
5899 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5901 * RadioButton.cs: The "remove from groupstate" isn't needed any
5902 more, now that statebag is correct.
5904 2005-07-29 Dick Porter <dick@ximian.com>
5906 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
5907 ViewState when it is null.
5909 * CheckBox.cs: Hide nonstandard API
5911 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
5913 * Calendar.cs: fixes exceptions, bug fixes, new features
5914 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
5915 * CalendarDay.cs: fixes default value
5917 2005-07-28 Ben Maurer <bmaurer@ximian.com>
5919 * CompositeControl.cs: Stub
5921 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5923 * EditCommandColumn.cs: Implemented
5925 2005-07-27 Chris Toshok <toshok@ximian.com>
5927 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
5929 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5931 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
5934 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5936 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
5937 for it's constructor, so remove it
5938 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
5940 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5942 * DataGridPagerStyle.cs: Implemented
5943 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
5944 * Style.cs: Added Styles enum values for DataGridPagerStyle
5946 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
5948 * Calendar.cs: get the styles right, honors more properties, fixes, fix
5951 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5953 * DataGridItem.cs: Implemented
5955 2005-07-26 Chris Toshok <toshok@ximian.com>
5957 * LinkButton.cs (AddParsedSubObject): reversed the order of
5958 Controls.Add() and Text = null
5959 (set_Text): call Controls.Clear()
5960 (RenderContents): use HasControls() for the if test instead of
5963 * HyperLink.cs (AddParsedSubObject): reversed the order of
5964 Controls.Add () and Text = null;
5966 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5968 * DataGridItemCollection.cs: Implemented
5970 2005-07-26 Chris Toshok <toshok@ximian.com>
5972 * LinkButton.cs (AddParsedSubObject): copy implementation from
5974 (RenderContents): only call writer.Write(Text) if Text != "".
5975 Otherwise default to base.RenderContents.
5977 2005-07-26 Chris Toshok <toshok@ximian.com>
5979 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5980 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
5981 (Page != null) around my last commit.
5983 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5985 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
5986 Fixed use of literal strings, instead using Consts
5987 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
5988 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
5989 Panel.cs, Literal.cs: Added attributes
5990 * BaseValidator.cs: Added missing override
5992 2005-07-26 Chris Toshok <toshok@ximian.com>
5994 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5995 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
5996 Page.VerifyRenderingInServerFormHere.
5998 2005-07-26 Chris Toshok <toshok@ximian.com>
6000 * BaseValidator.cs: remove some MonoTODO's about the client side
6003 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
6005 * Calendar.cs: selection of dates, state load, save, track, support
6006 for new properties, many fixes.
6008 2005-07-26 Miguel de Icaza <miguel@novell.com>
6010 * Style.cs: Temporary methods to help buliding .NET 2.x
6012 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6014 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
6016 * Xml.cs: Fixed base class, attributes
6017 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
6018 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
6019 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
6020 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
6021 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
6023 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6025 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
6028 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6030 * RepeatInfo.cs: If the repeater has one column, the separators
6031 are rendered on a different line
6033 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6035 * DataGridSortCommandEventArgs: Sealed class
6036 * ButtonColumn.cs, Calendar.cs: Added Attributes
6038 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6040 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
6041 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
6043 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6045 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
6046 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
6048 2005-07-25 Chris Toshok <toshok@ximian.com>
6050 * ValidationSummary.cs (AddAttributesToRender): add client side
6052 (OnPreRender): set the "been here" flag.
6053 (Render): add client side support.
6055 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6057 * RepeatInfo.cs: Split the horiz and vertical cases, because this
6058 class has rules that are beyond strange. Continue working to make
6061 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6063 * RepeatInfo.cs: Misc fixes for my test suite.
6065 2005-07-25 Jackson Harper <jackson@ximian.com>
6067 * DataGrid.cs: Set the command name and args on the link buttons.
6069 2005-07-25 Jackson Harper <jackson@ximian.com>
6071 * DataGrid.cs: Lots o implementation.
6073 2005-07-25 Jackson Harper <jackson@ximian.com>
6075 * BoundColumn.cs: Partial implementation to get the DataGrid tests
6078 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
6080 * Button.cs: fixes events, adds attributes
6082 2005-07-23 Chris Toshok <toshok@ximian.com>
6084 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
6085 prop.GetValue results.
6086 (Render): fix the static non-uplevel case, so that we display text
6087 when there's an error.
6089 2005-07-22 Chris Toshok <toshok@ximian.com>
6091 * RegularExpressionValidator.cs (AddAttributesToRender): only
6092 output ValidationExpression if it's != null.
6094 2005-07-22 Chris Toshok <toshok@ximian.com>
6096 * BaseValidator.cs (AddAttributesToRender): fix up the Display
6097 rendering such it matches MS's output.
6098 (Render): stop using the huge complicated if's for each output
6099 stage and move to boolean flags, and fix the static-nonuplevel
6100 case, where a validator outputs as nothing but
6102 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
6103 * Calendar.cs: Initial implementation
6104 * CalendarSelectionMode.cs: fix enum order
6106 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
6108 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
6109 (or more?) specific cases - including correct support for separators.
6110 Added some (commented) debugging code.
6111 * HyperLink.cs: Only render href and target attributes if they're not
6112 empty. Add "border=0" when rendering <img> tag. Fix Target default
6115 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
6117 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
6119 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
6121 * Style.cs (CopyFrom): Reset our styles and don't set bits from
6122 target explicitly, properties will set them
6124 2005-07-22 Dick Porter <dick@ximian.com>
6127 * ButtonColumn.cs: Initial stubs
6129 2005-07-22 Dick Porter <dick@ximian.com>
6132 * CheckBox.cs: Add assembly attributes
6134 2005-07-22 Ben Maurer <bmaurer@ximian.com>
6136 * HyperLink.cs: Handle non-literal children.
6138 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6140 * Label.cs: SP1 stuff
6142 2005-07-21 Chris Toshok <toshok@ximian.com>
6144 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
6145 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
6146 stuff WebUIValidation.js uses, so we don't support it for uplevel
6149 2005-07-21 Chris Toshok <toshok@ximian.com>
6151 * BaseValidator.cs (DetermineRenderUplevel): include checks for
6152 the EcmaScriptVersion and W3CDomVersion.
6154 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6156 * BaseDataList.cs: Support IEnumerable.
6157 * DataList.cs: Fix alternate items.
6158 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
6159 controls and the Text property.
6161 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6163 * TextBoxMode.cs: Wrong ordering of enum...
6165 2005-07-21 Chris Toshok <toshok@ximian.com>
6167 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
6170 2005-07-21 Chris Toshok <toshok@ximian.com>
6172 * BaseValidator.cs (get_PropertiesValid): use our containing
6173 NamingContainer, not ourselves, to look up controls.
6174 (CheckControlValidationProperty): same.
6175 (GetControlRenderID): same.
6176 (GetControlValidationValue): same.
6177 (AddAttributesToRender): add the display style attribute if
6178 Display != Static, and add the value of IsValid if it's false.
6179 (DetermineRenderUplevel): use a try block around (Page.Request)
6180 since that can raise an exception.
6181 (OnPreRender): set pre_render_called, so we can consult it in
6183 (Render): complicate this method more to handle more of the
6184 Display/pre_render_called permutations.
6186 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
6188 * CustomValidator.cs: Initial implementation, still work in progress
6190 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6192 * DataList.cs: Fix rendering for special items (-1).
6194 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6196 * RepeatInfo.cs: Fix most of the tests.
6198 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6200 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
6201 Add a border=0 attribute if no style is defined.
6202 * TableCell.cs: Use HtmlTextWriterTag (not a string).
6203 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
6204 * TableRow.cs: Use HtmlTextWriterTag (not a string).
6206 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6208 * BaseDataList.cs: Fix attributes.
6209 * HorizontalAlign.cs: Fix attributes.
6210 * Image.cs: Fix attributes and enums checks.
6211 * Table.cs: Fix attributes an enums checks.
6212 * TableCell.cs: Fix attributes.
6213 * TableCellCollection.cs: Fix attributes.
6214 * TableItemStyle.cs: Fix attributes and enums checks.
6215 * TableRowCollection.cs: Fix attributes.
6216 * TableRow.cs: Fix attributes.
6217 * TableStyle.cs: Fix attributes and enums checks.
6218 * VerticalAlign.cs: Fix attributes.
6220 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6222 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
6223 * DataList.cs: Added rendering support when ExtractTemplatesRows
6224 property is true (but RepeatInfo needs to be fixed to see it works).
6225 * DataListItem.cs: Added rendering support when extractRows parameter
6226 is true (but RepeatInfo still needs to be fixed ;-)
6228 2005-07-21 Duncan Mak <duncan@novell.com>
6230 * HyperLinkColumn.cs: Initial implementation.
6231 Todo: Figure out Initialize and InitializeCell.
6233 2005-07-20 Chris Toshok <toshok@ximian.com>
6235 * BaseValidator.cs: don't use Page.FindControl, use this Control's
6236 FindControl, so it'll use the same naming container.
6238 2005-07-21 Duncan Mak <duncan@novell.com>
6240 * DataGridCommandEventArgs.cs:
6241 * DataGridPageChangedEventArgs.cs:
6242 * RepeaterCommandEventArgs.cs: Fixed visibility.
6244 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
6245 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
6247 2005-07-20 Chris Toshok <toshok@ximian.com>
6249 * Button.cs: hook up the client side validation stuff.
6251 * ImageButton.cs: same.
6253 * LinkButton.cs: same, although it's a little more complicated
6256 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6259 - Implemented RaisePostDataChangedEvent()
6260 - Spewing postback command if AutoPostBack is true
6262 2005-07-20 Chris Toshok <toshok@ximian.com>
6264 * BaseValidator.cs: another Page != null check when uplevel
6267 2005-07-20 Chris Toshok <toshok@ximian.com>
6269 * BaseValidator.cs: check Page != null when determining if we're
6270 rendering uplevel or not.
6272 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6274 * ListItemCollection.cs: Removed obsolete method that's no longer
6277 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6279 * DropDownList.cs: Oops. Forgot to implement LoadPostData
6280 * ListItemCollection.cs: Added convenience method to have faster
6283 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6286 - Automatically select the first item if none are selected
6287 - Throw exception if more than one item is selected
6289 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6291 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
6292 handled by RepeatInfo).
6294 2005-07-20 Jackson Harper <jackson@ximian.com>
6296 * DataGrid.cs: Store the data source created columns in a
6297 DataGridColumnCollection. This way they can be put in the
6298 view state more easily, and accessed without casting.
6300 2005-07-20 Chris Toshok <toshok@ximian.com>
6302 * BaseValidator.cs (AddAttributesToRender): render the client side
6303 attributes if we're in uplevel mode.
6304 (DetermineRenderUplevel): flesh out a bit - for now basically
6305 return true unless the control has it disabled.
6306 (OnInit): only add the validator to Page's list if there is, in
6308 (OnUnload): same for removal.
6309 (OnPreRender): hook up client scripting stuff here. Only the call
6310 to RegisterValidatorCommonScript is a for sure thing here, the
6311 registering of the submit statement and startup script should
6312 probably go elsewhere, but I don't know where.
6313 (RegisterValidatorCommonScript): register the <script
6314 src=".../WebUIValidation.js"> tag, if it's not already there.
6315 (RegisterValidatorDeclaration): add our span object to the
6316 Page_Validators JS array.
6317 (Render): always render the tags (although this is probably not
6318 right), and call RegisterValidatorDeclaration here.
6320 * BaseCompareValidator.cs (AddAttributesToRender): render the
6321 client side attributes if we're in uplevel mode.
6322 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
6323 call base.DetermineRenderUplevel for now.
6325 * RegularExpressionValidator.cs (AddAttributesToRender): render
6326 the client side attributes if we're in uplevel mode.
6328 * RequiredFieldValidator.cs (AddAttributesToRender): same.
6330 * CompareValidator.cs (AddAttributesToRender): same.
6332 2005-07-20 Jackson Harper <jackson@ximian.com>
6334 * DataGrid.cs: Save the data source created column set in the
6337 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6339 * DataList.cs: Fix events and properties exceptions. Give the right
6340 informations to RenderItem.
6342 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6344 * ValidationSummary.cs: Implemented rendering
6346 2005-07-20 Jackson Harper <jackson@ximian.com>
6348 * DataGrid.cs: column names are cached and only regenerated if useDataSource
6349 is set to true. Otherwise they are just fetched from the last set that
6350 was generated from the source.
6352 2005-07-20 Jackson Harper <jackson@ximian.com>
6354 * DataGrid.cs: Assign some properties of newly created BoundColumns.
6356 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6358 * DataList.cs: Fix viewstate ordering.
6360 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6362 * SelectedDatesCollection.cs: Apprarently, I don't write code well
6365 * Repeater.cs: Uh, actually add stuff to the items collection
6368 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6370 * BaseDataList.cs: EnsureChildControls on Controls property.
6371 * DataList.cs: Fix rendering and Controls/Items differences.
6372 * DataListItem.cs: Added rendering of controls.
6374 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6376 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
6378 2005-07-20 Jackson Harper <jackson@ximian.com>
6380 * DataGrid.cs: Add some of the collections. Implement
6383 2005-07-20 Jackson Harper <jackson@ximian.com>
6385 * PagedDataSource.cs: Implement GetItemProperties, this is
6386 needed for the datagrid.
6388 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6390 * DataGridColumnCollection.cs: New impl
6392 * TemplateColumn.cs: New impl
6394 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6396 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
6397 * DataList.cs: Work in progress... Added attributes, proper
6398 IRepeatInfoUser support and cool things stolen from other classes.
6399 * DataListCommandEventArgs.cs: Class is sealed.
6400 * DataListItem.cs: RenderItem is public.
6402 2005-07-19 Jackson Harper <jackson@ximian.com>
6404 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
6405 a viewstate object if all the viewstate stuff is null.
6407 2005-07-19 Jackson Harper <jackson@ximian.com>
6409 * DataGrid.cs: Implement style properties and viewstate
6410 saving/loading/tracking.
6412 2005-07-19 Chris Toshok <toshok@ximian.com>
6414 * BaseValidator.cs: more fixes from pdb.
6416 2005-07-19 Chris Toshok <toshok@ximian.com>
6418 * BaseValidator.cs: some test-driven fixes.
6420 2005-07-19 Chris Toshok <toshok@ximian.com>
6422 * BaseValidator.cs: Initial implementation.
6424 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6426 * Repeater.cs: Fix small typo.
6428 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
6430 * ValidationSummaryTest.cs: Started implementation
6431 * RangeValidator.cs: Implemented
6432 * ValidatedControlConverter.cs: Implemented
6433 * DropDownList.cs: Implemented
6435 2005-07-19 Jackson Harper <jackson@ximian.com>
6437 * DataGrid.cs: Implement bubble event.
6439 2005-07-19 Jackson Harper <jackson@ximian.com>
6441 * DataGrid.cs: New implementation. Just properties and events for
6444 2005-07-18 Chris Toshok <toshok@ximian.com>
6446 * BaseCompareValidator.cs: Initial implementation, with some NYI.
6448 2005-07-19 Ben Maurer <bmaurer@ximian.com>
6450 * FontUnit.cs: Corcompare fixes
6452 * UnitConverter.cs: Fix api diffs
6454 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6456 * ListControl.cs: Fix api differences
6458 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6460 * Table.cs: Fix indentation for caption. Simplify check when adding
6462 * TableRow.cs: Simplify check when adding controls.
6464 2005-07-18 Chris Toshok <toshok@ximian.com>
6466 * CompareValidator.cs: wtf, just use the base class's methods.
6468 2005-07-18 Chris Toshok <toshok@ximian.com>
6470 * CompareValidator.cs: do comparisons based on
6471 BaseCompareValidator.Type.
6473 2005-07-18 Chris Toshok <toshok@ximian.com>
6475 * CompareValidator.cs: initial implementation.
6477 2005-07-18 Chris Toshok <toshok@ximian.com>
6479 * RegularExpressionValidator.cs: initial implementation.
6481 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6483 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
6485 2005-07-18 Jackson Harper <jackson@ximian.com>
6487 * CheckBoxList.cs: Implement LoadPostBackData. Also register
6488 checkboxes for postback if they are checked so we can find
6489 out when they are unchecked. Copy the AutoPostBack variable
6490 to the to be rendered checkbox when rendering.
6492 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6494 * TextBox.cs: Finish this up.
6496 * AdRotator.cs: Fix issues in the test suite. Minor style
6499 * Repeater.cs: Fix a bug where the datasource is null and we do
6502 * WebColorConverter.cs: Optimize by not doing a concat on a
6505 2005-07-17 Ben Maurer <bmaurer@ximian.com>
6507 * ListItemCollection.cs: Multiple uses of equals rather than
6508 string.compare as below. Remove unreachable code warning.
6510 * WebColorConverter.cs (ConvertTo): Use the == operator on string
6511 rather than an invariant non-case ignoring compare. They are
6512 exactly the same thing. Use proper coding style in this method.
6514 * WebControl.cs: Return null when saving the view state if there
6515 is no state in any of the things we save. This creates a fairly
6516 large savings, because we can avoid saving anything about many
6517 levels of deaply nested controls.
6519 2005-07-15 Jackson Harper <jackson@ximian.com>
6521 * CheckBoxList.cs: Use the index as the ID, the rest of the
6522 id is built by being in the NamingContainer.
6524 2005-07-15 Jackson Harper <jackson@ximian.com>
6526 * ListControl.cs: Use enum instead of string. Saves a lookup.
6528 2005-07-15 Jackson Harper <jackson@ximian.com>
6530 * CheckBoxList.cs: FindControl always returns 'this' according
6533 2005-07-15 Jackson Harper <jackson@ximian.com>
6535 * CheckBoxList.cs: New impl.
6537 2005-07-15 Jackson Harper <jackson@ximian.com>
6539 * WebControl.cs: Use the ClientID when rendering a controls ID
6540 attribute so that naming containers are honoured.
6542 2005-07-15 Jackson Harper <jackson@ximian.com>
6544 * ListControl.cs: use the state manager interface for tracking
6547 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6549 * Repeater.cs (DoItem): Add the DataItem before we call user
6550 methods, as it seems to be there with msft.
6552 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
6554 * BaseDataList.cs: New. (mostly complete) implementation.
6555 * DataKeyCollection.cs: New. Implementation (complete).
6556 * DataList.cs: New. (mostly incomplete) implementation.
6557 * DataListItem.cs: New. (mostly complete) implementation.
6558 * DataListItemCollection.cs: New. Implementation (complete).
6560 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6562 * Repeater.cs (DoItem): We need to .Add the control *before* we
6563 data bind it so that the state gets tracked correctly. Fixes the
6566 2005-07-15 Jackson Harper <jackson@ximian.com>
6568 * ListControl.cs: Simplify comparison.
6570 2005-07-15 Jackson Harper <jackson@ximian.com>
6573 * Repeater.cs: Use new utility class for resolving data sources.
6575 2005-07-15 Jackson Harper <jackson@ximian.com>
6577 * ListControl.cs: Add attributes so the sub items get parsed
6578 properly. Remove old unneeded code for resolving lists.
6580 2005-07-15 Jackson Harper <jackson@ximian.com>
6582 * ListControl.cs: Use the DataSourceHelper so DataMembers are
6585 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6588 - Some optimizations
6589 * Don't use enum formatting stuff, it is 1) expensive 2) does
6590 allocations. Use a new method in HtmlControl to do the right
6592 * Don't use Enum.IsDefined but an explicit check.
6593 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
6594 - Use the correct coding style.
6596 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6598 * WebColorConverter.cs:
6599 - Alpha of 255 is only set if the hex number is exactly 6 digits
6600 - Ben didn't like the catch { throw; } (even though MS documents to
6602 - Use Invariant Culture for parsing (thanks, Ben)
6604 2005-07-14 Jackson Harper <jackson@ximian.com>
6606 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
6607 code-reuse-arific. Also use the IStateManager interface for loading
6608 data instead of the old internal method.
6610 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6612 * WebColorConverter.cs: Implemented
6614 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6616 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
6618 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6620 * Repeater.cs: Get it working
6622 2005-07-14 Jackson Harper <jackson@ximian.com>
6624 * ListControl.cs: Initial implementation of Databinding. Make sure
6625 that the ListItemCollection is created when we load its ViewState.
6627 2005-07-14 Jackson Harper <jackson@ximian.com>
6629 * ListControl.cs: Fix typo.
6631 2005-07-14 Jackson Harper <jackson@ximian.com>
6633 * ListControl.cs: New Implementation. Lacks databinding support.
6635 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6637 * Repeater.cs: The beginnings of this control
6639 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6641 * TargetConverter.cs: Implemented
6643 2005-07-14 Duncan Mak <duncan@novell.com>
6645 * PagedDataSource.cs: Initial implementation.
6647 Methods that need to be figured out:
6648 CopyTo, GetItemProperties, PageCount, IsLastPage.
6650 To complete: CollectionEnumerator, ListEnumerator.
6652 2005-07-13 Duncan Mak <duncan@novell.com>
6654 * RepeatDirection.cs:
6656 * ValidationCompareOperator.cs:
6657 * ValidationDataType.cs:
6658 * ValidationSummaryDisplayMode.cs:
6659 * ValidatorDisplay.cs: Added remaining enumerations.
6661 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6663 * FontNamesConverter.cs: Implemented
6665 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6667 * RepeaterItem.cs: Compile fix
6669 * RepeaterItemCollection.cs: New file
6671 * RepeaterItem.cs: get OnBubbleEvent right.
6673 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6675 * ListItemCollection.cs: Count can be derived from the array, which
6676 allows us to use a Pair instead of a Triplet and save some space
6678 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6680 * RepeaterItem.cs: Stub
6682 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6684 * ListItemCollection.cs: Implemented
6685 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
6687 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6689 * RepeatInfo.cs: Impl.
6691 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6693 * FirstDayOfWeek.cs: Added
6695 2005-07-13 Jackson Harper <jackson@ximian.com>
6697 * ListBox.cs: Some parameter checking.
6699 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6701 * Image.cs: Added support for DescriptionUrl as this property was
6702 added in Fx 1.1 SP1.
6704 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6706 * Style.cs (AddAttributesToRender): Don't render attributes if they
6707 contain only their default value
6709 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6711 * Table.cs: New. Initial re-implementation.
6712 * TableCell.cs: New. Initial re-implementation.
6713 * TableCellCollection.cs: New. Initial re-implementation.
6714 * TableHeaderCell.cs: New. Initial re-implementation.
6715 * TableItemStyle.cs: New. Initial re-implementation.
6716 * TableRow.cs: New. Initial re-implementation.
6717 * TableRowCollection.cs: New. Initial re-implementation.
6718 * TableStyle.cs: New. Initial re-implementation.
6720 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6722 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
6723 unit tests (for Style) and more tests in Table* classes.
6725 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6727 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
6728 however IsEmpty returns false if any of their properties are set.
6729 Looks ugly but it's compatible with MS implementation (feature and
6732 2005-07-13 Dick Porter <dick@ximian.com>
6734 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
6735 null Text properties from the ViewState, test for TextAlign being
6736 out of range. All to make tests pass on both mono and ms
6739 2005-07-13 Jackson Harper <jackson@ximian.com>
6741 * ListBox.cs: Use invariant culture when doing a ToString,
6742 set value to the item's value, not to its Text.
6744 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6746 * WebControl.cs (AddAttributesToRender): Added ID to rendered
6749 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6751 * Style.cs(MergeWith): Handle null styles
6753 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
6755 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
6756 the #if NET_2_0 on it.
6758 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6760 * Style.cs: Only render font elements if fontinfo object exists
6762 - Implemented SaveViewState()
6763 - Added loading of Style to LoadViewState
6764 - Implemented IAttributeAccessor methods
6766 2005-07-12 Jackson Harper <jackson@ximian.com>
6768 * ListBox.cs: Even track default values in the viewstate. Call
6769 base's RenderContents.
6771 2005-07-12 Jackson Harper <jackson@ximian.com>
6773 * ListBox.cs: New impl.
6775 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6778 - Implemented methods
6781 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6783 * ListItem.cs: New impl.
6785 2005-07-12 Duncan Mak <duncan@novell.com>
6787 * DayNameFormat.cs: Added.
6789 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6791 * WebControl.cs: Implemented properties
6793 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6795 * TextBox.cs: Passwords seem 1) not to be rendered to the client
6796 if set, 2) not kept in view state (for security reasons...)
6799 * Button.cs: Page.Validate () if needed. Gets the validator tests
6802 * TextBox.cs: Properties to get the validator stuff to work.
6804 2005-07-12 Miguel de Icaza <miguel@novell.com>
6806 * Unit.cs: If the units are pixels, then truncate the value.
6808 2005-07-12 Dick Porter <dick@ximian.com>
6810 * RadioButton.cs: New implementation
6812 * CheckBox.cs: Rearrange the attributes rendering to allow
6813 RadioButton to derive from this
6815 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6817 * TitleFormat.cs: Add attribute
6818 * TextBoxMode.cs: Add attribute
6819 * CalendarDay.cs: Initial implementation
6820 * ImageButton.cs: Initial implementation
6821 * CalendarSelectionMode.cs:Initial implementation
6823 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6825 * TextBoxMode.cs: simple enum
6826 * TitleFormat.cs: simple enum
6828 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6830 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
6832 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6834 * FontUnit.cs: Added TypeConverter attribute to class
6835 * FontUnitConverter.cs: Implemented
6837 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6840 * Button.cs: Bubble the Command event.
6842 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6845 - Clean up style (with my wonderful state bag hack!)
6846 - Fix a view state typo.
6847 - Use AddAttributesToRender
6848 - Don't add an extra <span>
6850 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6852 * Style.cs: Handle null constructor argument for bag
6854 2005-07-11 Dick Porter <dick@ximian.com>
6856 * CheckBox.cs: New implementation
6858 * RadioButton.cs: Initial stubbed version that just compiles
6860 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
6862 * Button.cs: Initial Button implementation
6864 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
6866 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
6868 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6870 * HorizontalAlign.cs: Typo in header.
6871 * VerticalAlign.cs: New. Required enum for TableRow control.
6873 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6875 * TextBox.cs: More work on this
6877 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6879 * GridLines.cs: New. Required enum for Table control.
6880 * HorizontalAlign.cs: New. Required enum for Table control.
6882 2005-07-09 Duncan Mak <duncan@novell.com>
6884 * CommandEventHandler.cs:
6885 * DataGridCommandEventHandler.cs:
6886 * DataGridItemEventHandler.cs:
6887 * DataGridPageChangedEventHandler.cs:
6888 * DataGridSortCommandEventHandler.cs:
6889 * DataListCommandEventHandler.cs:
6890 * DayRenderEventHandler.cs:
6891 * RepeaterCommandEventHandler.cs:
6892 * ServerValidateEventHandler.cs: Add delegates.
6895 * ListSelectionMode.cs:
6896 * NextPrevFormat.cs:
6898 * PagerPosition.cs: Add enums.
6900 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6902 * TextBox.cs: Add the work I did on this today. It's not complete
6903 yet, but its a start!
6905 2005-07-09 Duncan Mak <duncan@novell.com>
6907 * CommandEventArgs.cs:
6908 * DataGridCommandEventArgs.cs:
6909 * DataGridItemEventArgs.cs:
6910 * DataGridPageChangedEventArgs.cs:
6911 * DataGridSortCommandEventArgs.cs:
6912 * DataListCommandEventArgs.cs:
6913 * DataListItemEventArgs.cs:
6914 * DayRenderEventArgs.cs:
6915 * RepeaterCommandEventArgs.cs:
6916 * RepeaterItemEventArgs.cs:
6917 * ServerValidateEventArgs.cs: Implemented.
6919 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
6921 * Image.cs: New. Image class implementation.
6922 * ImageAlign.cs: New. ImageAlign enum definitions.
6924 2005-07-08 Jackson Harper <jackson@ximian.com>
6926 * Literal.cs: New implentation.
6927 * MonthChangedEventArgs.cs: new
6928 * MonthChangedEventHandler.cs: new
6930 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6932 * LinkButton.cs: Command impl
6934 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6936 * LinkButton.cs: Initial impl
6938 2005-07-08 Jackson Harper <jackson@ximian.com>
6940 * AdCreatedeventArgs.cs: New implementation.
6942 2005-07-08 Dick Porter <dick@ximian.com>
6945 * BorderStyle.cs: Added
6947 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6949 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
6951 2005-07-07 Miguel de Icaza <miguel@novell.com>
6953 * Xml.cs: New implementation. R00lz.
6955 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6957 * FontInfo.cs: Added and implemented.
6958 * Style.cs: Fixed behaviour discrepancies showed by tests
6960 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6962 * PlaceHolderControlBuilder.cs: new file
6964 * LabelControlBuilder.cs: New file
6966 * HyperLink.cs: use control builder; fix parsing stuff
6968 * HyperLinkControlBuilder.cs: new file
6970 * Panel.cs: misc fixes
6972 2005-07-07 Miguel de Icaza <miguel@novell.com>
6974 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
6976 * UnitConverter.cs: Add new file, learned from the
6977 System.Drawing.ColorConverter.
6979 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6981 * PlaceHolder.cs: New file. Seems to do nothing
6983 * Label.cs: Use my new statebag trick to reduce typing
6985 * HyperLink.cs: New file
6987 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6989 * Style.cs: Added and implemented.
6991 2005-07-06 Miguel de Icaza <miguel@novell.com>
6993 * FontUnit.cs: New file.
6995 * Unit.cs: New file.
6997 Added support for null and empty string constructors.
6999 2005-07-06 Ben Maurer <bmaurer@ximian.com>
7001 * Unit.cs: cctor not needed; static fields are 0 init'd by default
7003 * WebControl.cs: Kothari & Datye's book explains how these work.
7005 * IRepeatInfoUser.cs: Reimpl.
7007 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
7009 * WebControl.cs: Added stub
7011 2005-07-05 Miguel de Icaza <miguel@novell.com>
7013 * Label.cs: First control.
7015 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
7017 * DataControlField.cs: Ignore the ShowHeader property when
7018 building the control's content. It is the resposability of
7019 the field container to decide if the header should be shown
7022 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
7025 * ImageFieldMode.cs:
7026 * DynamicImageParameterMode.cs:
7027 * TableViewMode.cs: Removed.
7031 * TableRowSection.cs:
7032 * AutoCompleteType.cs:
7033 * DayNameFormat.cs: Track changes in 2.0 api.
7035 * StringArrayConverter.cs: This class is 2.0 only.
7037 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
7041 * DetailsView.cs: Bind the control after creating all child
7043 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
7044 the correct methods.
7045 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
7046 in this class. This is done in DataBoundControl. All this fixes
7049 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7051 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
7052 FindByText. Closes bug #74205.
7054 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7056 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
7057 1 when there's a datasource and 0 pages. Closes bug #73864.
7059 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
7066 * MenuItemTemplateContainer.cs:
7067 * DetailsView.cs: Track changes in the IDataItemContainer interface.
7069 * CommandField.cs: Added CausesValidation property. Set that
7070 property value to all buttons of the field.
7072 * SqlDataSourceView.cs:
7073 * CollectionDataSource.cs:
7074 * XmlDataSourceView.cs: Properly initialize the base class.
7076 * SiteMapDataSource.cs:
7077 * SiteMapHierarchicalDataSourceView.cs:
7078 * SiteMapNodeItem.cs:
7079 * SiteMapDataSourceView.cs:
7080 * SiteMapPath.cs: Mostly implemented.
7082 * HierarchicalDataBoundControl.cs: Always bind the control when the
7083 page is loaded for the first time.
7085 * TreeView.cs: Properly bind the control when loaded from a callback.
7087 2005-05-21 Ben Maurer <bmaurer@ximian.com>
7089 * BaseDataList.cs: Caption is in 1.1 too, though not
7090 documented. Gonz owes me [more] ice cream. Yummmmm.
7092 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7094 * BaseDataList.cs: implemented 2.0 Caption property.
7096 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
7098 * TreeView.cs: Always render the startup script. This fixes
7101 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
7103 * WizardStepBase.cs:
7104 * WizardStep.cs: Added missing attributes.
7105 * Wizard.cs: Implemented missing methods and properties. It can now
7106 be considered feature complete.
7108 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7110 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
7111 the method if the data source was en empty IEnumerator. Fixes
7114 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
7118 * Menu.cs: Implemented some new properties from beta 2.
7120 * DataControlButton.cs: Render the ControlStyle if it
7124 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
7125 It will now generate an object creation, instead of a Parse call.
7127 * GridViewCommandEventArgs.cs: Added missing property.
7128 * SubMenuStyleCollection.cs: This class is not sealed.
7129 * MultiView.cs: Set Visible=false to all views that are not
7130 shown. This ensures that it's view state is saved.
7132 * BaseDataBoundControl.cs:
7133 * GridViewDeletedEventArgs.cs: Minor api fixes.
7135 * FormViewDeleteEventArgs.cs:
7136 * DetailsViewDeletedEventArgs.cs:
7137 * ListControl.cs: Fix warnings.
7141 * HotSpotCollection.cs
7144 * RectangleHotSpot.cs
7145 * WizardStepCollection.cs : Implemented.
7149 * Wizard.cs: Initial implementation.
7151 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
7153 * DataControlField.cs:
7157 * DataControlCommands.cs:
7158 * DetailsView.cs: Use constants to identify commands.
7160 * SubMenuStyle.cs: Use Unit instead of int for padding.
7161 * SubMenuStyleCollection.cs: Implemented.
7164 * Menu.cs: Added some missing methods and properties.
7167 * DataGridPagerStyle.cs: Fixed default value attributes.
7168 * ListControl.cs: Implemented IEditableTextControl interface.
7170 * MenuItemBinding.cs: Added Selectable property.
7171 * CustomValidator.cs: removed interface.
7173 * MenuItem.cs: Added support for custom binding.
7174 * DropDownList.cs: Moved text properties to base class.
7176 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7178 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
7180 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7182 * Calendar.cs: when the day is active, modify the text of the literal
7183 control that holds the number, not the text of the TableCell. Also call
7184 OnDayRender before updating that text. Fixes bug #74718.
7186 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
7188 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
7190 * DataControlFieldHeaderCell.cs: Save Scope in view state.
7191 Added AbbreviatedText property.
7192 * AutoGeneratedField.cs: The constructor should actually be internal.
7193 * DataGridItem.cs: Added implemented interface in 2.0.
7194 * DataControlFieldCollection.cs: Implemented CloneFields and
7198 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7200 * StringArrayConverter.cs:
7201 * Calendar.cs: warnings.
7203 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
7205 * FormViewDeleteEventArgs.cs:
7206 * FormViewInsertEventArgs.cs:
7207 * FormViewUpdateEventArgs.cs:
7208 * FormViewDeletedEventArgs.cs:
7209 * FormViewUpdatedEventArgs.cs:
7210 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
7213 * IButtonControl.cs:
7214 * Button.cs: Removed SoftKey property.
7216 * CheckBox.cs: Don't try to load post back data if the control
7220 * AutoGeneratedField.cs:
7221 * DataControlField.cs:
7223 * ButtonFieldBase.cs:
7227 * ButtonField.cs: Don't bind fields in Insert state.
7228 Implemented CreateField and CopyProperties.
7231 * DetailsView.cs: Removed some unneeded interfaces. Don't
7232 generate the field rows if there are no items in the data source.
7233 Don't get the current keys until the whole control has been
7236 * DetailsViewInsertedEventArgs.cs:
7237 * DataBoundControl.cs:
7238 * ObjectDataSourceView.cs: Made some methods private.
7241 * Menu.cs: Changed some properties from int to Unit.
7243 * DataControlButton.cs: javascript prefix is needed when raising
7244 the postback event from a link.
7246 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
7247 The result was wrong when the total data source count was 0.
7249 * FormView.cs: Implemented.
7250 * FormViewRow.cs: Implemented.
7253 * Localize.cs: Fixed base interface.
7255 * BaseDataBoundControl.cs: In DataBind() call the base class
7256 DataBind method, so the binding context is properly set.
7258 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
7260 * DetailsView.cs: Added some null checks.
7261 * TemplateField.cs: Implemented support for two-way bindings.
7263 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
7265 * DetailsView.cs: Implemented support for Insert operation.
7266 Added header and footer templates. Added missing style
7268 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
7269 to get filter values. Other minor fixes.
7270 * CommandField.cs: Properly render the Insert and New buttons.
7271 * ObjectDataSource.cs: Update the parameter collections after
7272 the page is loaded. This will fire the ParameterChanged event
7274 * DataBoundControl.cs: The OnDataSourceViewChanged method
7275 is called when the view changes, not when the datasource
7278 * DetailsViewInsertedEventArgs.cs:
7279 * DetailsViewInsertEventArgs.cs: Implement Values property.
7282 * AutoGeneratedField.cs
7285 Take into account the Insert mode.
7287 * ParameterCollection.cs: Implemented UpdateValues and fixed
7288 GetValues (values can't be cached because can change).
7289 * Parameter.cs: Detect value changes in GetValue, and fire
7290 the change event if needed. Removed unused ParameterValue
7291 property. Other fixes.
7293 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
7295 * DetailsView.cs: Initial implementation.
7296 * ObjectDataSourceView.cs: Notify changes in the parameters.
7297 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
7298 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
7299 Implemented some properties.
7300 * GridView.cs: Added null check in SelectedValue. Don't return null
7301 for empty DataKeyNames list.
7302 * DetailsViewRowCollection.cs: Implemented.
7303 * DetailsViewRow.cs: Implemented.
7304 * ButtonFieldBase.cs: By default button field don't have headers.
7305 * BoundField.cs: Don't bind header fields.
7307 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
7309 * ButtonField.cs: Get data item properties using TypeDescriptor.
7310 Made OnDataBindField private.
7311 * ObjectDataSourceView.cs: Implemented support for Delete and
7312 Insert operations, support for filtering and sorting,
7313 conflict detection, etc. It's now complete.
7314 * ObjectDataSource.cs: Completed most of functionality. Only
7315 caching support is missing.
7316 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
7317 * TreeNode.cs: Get data item properties using TypeDescriptor.
7318 * PagerSettings.cs: Flush.
7319 * ObjectDataSourceFilteringEventArgs.cs: New event args.
7320 * GridView.cs: Get data item properties using TypeDescriptor
7321 and cache them. Properly set descending order in the sort
7322 expression. In UpdateRow, make sure we get the old values
7323 before the control is bound again.
7324 * ImageField.cs: Implemented.
7325 * AutoGeneratedField.cs: Initialize the field's sort
7326 expression in the constructor.
7327 * MenuItem.cs: Get data item properties using TypeDescriptor.
7328 * BoundField.cs: Get data item properties using TypeDescriptor.
7329 * CheckBoxField.cs: Added missing attributes.
7330 * TemplateField.cs: Implemented.
7332 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7335 * FontUnitConverter.cs: fixed ConvertTo to work with target
7336 InstanceDescriptor and value as a string.
7338 * Unit.cs: culture might be null.
7342 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
7344 * ButtonField.cs: Mostly implemented.
7345 * DataControlFieldHeaderCell.cs: Implemented.
7346 * ObjectDataSourceView.cs: Initial implementation.
7347 * DataControlButton.cs: Added support for real buttons.
7348 * Label.cs, DataControlField.cs: Flush.
7349 * ObjectDataSource.cs: Initial implementation.
7350 * HiddenField.cs: Added class stub.
7351 * GridView.cs: Load autogenerated field properties before
7352 creating the children, to make sure that column info is ready.
7353 * ControlParameter.cs: Implemented Evaluate method.
7354 * ImageField.cs: Added class stub.
7355 * BoundField.cs: Added HtmlEncode property.
7356 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
7358 * CheckBoxField.cs: Mostly implemented.
7359 * TemplateField.cs: Added class stub.
7360 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
7361 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
7362 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
7364 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
7366 * DataControlField.cs: Added missing InsertVisible property.
7367 * AutoGeneratedFieldProperties.cs: Implemented.
7368 * PagerSettings.cs: Minor fix.
7369 * GridView.cs: Implemented support for autogenerated fields, templates,
7370 accessible headers. Implemented paging using PagedDataSource.
7371 Implemented missing overridable methods.
7372 * AutoGeneratedField.cs: Initial implementation.
7373 * BoundField.cs: Added ReadOnly property.
7374 * PagedDataSource.cs: Implemented 2.0 api.
7375 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
7376 cell class to be used by accessible headers.
7377 * TableCell.cs: Removed unneded constructor. If the cell is bound to
7378 a template, call the default RenderContents method.
7380 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7382 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
7383 event when loading the view state. Fixes #73746.
7385 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7387 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
7389 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
7391 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
7393 * CommandField.cs: Mostly implemented.
7394 * Menu.cs: Use callback methods moved to ClientScriptManager.
7395 * DataControlButton.cs: Internal control used to implement buttons
7396 for navigating in data bound controls.
7397 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
7398 to render the column headers.
7399 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
7400 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
7401 Don't use Page.GetPostBackClientEvent
7402 since it is deprecated in 2.0.
7403 * GridView.cs: Implemented some several interfaces.
7404 Implemented support client sorting and page navigation (using callbacks).
7405 Implemented the autogenerated command column using the new CommandField
7407 * ButtonFieldBase.cs: Implemented.
7408 * GridView.js: New helper script to support client side sorting and
7409 paging in the grid view.
7411 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
7413 * DataKey.cs: Implemented.
7414 * XmlDataSourceView.cs: Implemented support for row pagging.
7415 * Table.cs: Fixed attribute value.
7416 * DataControlField.cs: Added support for sorting headers.
7417 * ChildTable.cs: Created.
7418 * ListControl.cs: Delay selection assignment, since control state
7419 is now loaded before view state.
7420 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
7421 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
7422 several missing properties.
7423 * PagerSettings.cs: Fully implemented.
7424 * BaseDataList.cs: Added null check.
7425 * GridView.cs: Implemented more functionality.
7426 * BoundField.cs: Added support for cell editing.
7427 * StringArrayConverter.cs: Implemented.
7428 * DataKeyArray.cs: Implemented.
7429 * BaseDataBoundControl.cs: Reset the requires binding flag before
7430 executing the query. This avoids recursive query calls.
7431 * GridViewRow.cs: Handler commands raised from row childs.
7433 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
7435 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
7436 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
7437 it is possible to query for properties fore each data item.
7438 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
7439 when loading its view state.
7440 * DataControlField.cs: Implement properties using a StateBag.
7441 * XmlDataSourcePropertyDescriptor.cs: Implemented.
7442 * PagerSettings.cs: Mostly implemented.
7443 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
7444 * DataBoundControl.cs: Added null check.
7445 * GridView.cs: Initial implementation.
7446 * CompositeDataBoundControl.cs: Implemented.
7447 * BoundField.cs: Initial implementation.
7448 * GridViewRowCollection.cs: Initial implementation.
7449 * DataControlFieldCollection.cs: Initial implementation.
7450 * DataControlFieldCell.cs: Fixed control tag.
7451 * GridViewRow: Initial implementation.
7452 * XmlDataSourceNodeDescriptor.cs: Implemented.
7454 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7456 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
7457 is zero, use the TagName no matter its value. Fixes bug #72415.
7459 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
7461 * Style.cs: Method name fix.
7462 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
7463 * BaseCompareValidator.cs: Method signature fix.
7464 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
7465 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
7466 * BulletedList.cs: Added missing method.
7467 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
7469 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
7471 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
7472 * RadioButton.cs: Added missing 2.0 methods.
7473 * ListItem.cs: Added Enabled property.
7474 * MailMessageEventArgs.cs: Use the correct message class.
7475 * ListControl.cs: Implemented missing properties and support for
7476 control state. Implemented base RenderContents method.
7477 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
7479 * BaseCompareValidator.cs: Implemented methods that support conditional
7480 use of the invariant culture.
7481 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
7482 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
7483 It takes a DbCommand instead of a IDbCommand.
7484 * GridViewSortEventArgs.cs: Added SortDirection property.
7485 * TextBox.cs, CheckBoxList.cs: Added protected version of
7486 IPostBackDataHandler methods.
7487 * RadioButtonList.cs: Added protected version of
7488 IPostBackDataHandler and IRepeatInfoUser methods.
7489 * Repeater.cs: Updated some method names.
7490 * DropDownList.cs: Added protected version of
7491 IPostBackDataHandler methods. Reuse RenderContents from base class.
7492 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
7493 * GridViewUpdatedEventArgs.cs: Fix typo.
7494 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
7495 Reuse RenderContents from base class.
7496 * BaseDataBoundControl.cs: Several fixes.
7497 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
7499 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7501 * CheckBoxList.cs: Fix build.
7503 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7505 * Button.cs: Use validation group when validating page.
7506 * XmlDataSourceView.cs: Implemented ExecuteSelect.
7507 * Menu.cs: Minor fix.
7508 * CheckBox.cs: Added 2.0 properties and methods.
7509 * BaseDataList.cs: Always databind the control if view state
7511 * DataList.cs: In 2.0, use control state to save the selected index.
7512 * DetailsViewUpdatedEventArgs.cs: Fix typo.
7513 * CustomValidator.cs: Implement IStaticTextControl interface.
7514 * CheckBoxList.cs: Added missing 2.0 methods.
7515 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
7517 * XmlDataSource.cs: Return childs of DocumentElement, not the root
7519 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
7520 Implemented 2.0 API.
7523 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
7525 * Button.cs: Implemented all missing 2.0 features.
7526 * Table.cs: Render the table caption, when specified.
7527 * Calendar.cs: Implemented most of missing 2.0 features.
7528 * TableCell.cs: Fixed attributes.
7530 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7532 * ControlPropertyNameConverter.cs: Added file.
7534 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7536 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
7537 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
7538 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
7539 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
7540 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
7541 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
7542 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
7543 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
7544 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
7545 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
7546 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
7547 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
7548 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
7549 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
7550 DataGridSortCommandEventArgs.cs, Repeater.cs,
7551 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
7552 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
7553 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
7554 CompareValidator.cs, HierarchicalDataBoundControl.cs,
7555 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
7556 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
7557 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
7558 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
7559 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
7560 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
7561 AdCreatedEventArgs.cs:
7563 General 2.0 API fixes: missing attributes, incorrect inheritance,
7564 missing sealed keywords, wrong signatures, etc.
7566 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
7568 * Table.cs: Added some 2.0 properties.
7569 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
7571 * BaseValidator.cs: Fix warning.
7572 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
7574 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
7576 * Menu.cs: Rendering fixes.
7578 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
7580 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
7581 ContentPlaceHolderBuilder.cs: Implemented.
7583 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7585 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
7586 attributes that are meant to be in the input tag in their place.
7588 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
7590 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
7591 generates invalid html).
7593 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
7595 * Menu.cs: Implemented most of missing properties. Added support for
7596 item templates. Implemented menu scrolling.
7597 * MenuItemBinding.cs: Implemented most of missing properties.
7598 * MenuItem.cs: Implemented most of missing properties.
7599 * Menu.js: Implemented scrolling and menu reposition into screen.
7600 * MenuItemTemplateContainer.cs: Implemented.
7601 * SubMenuStyle.cs: Implemented.
7603 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
7605 * Style.cs: Implemented RegisteredCssClass property. Added
7606 CopyTextStylesFrom method, which copies styles that only apply to text.
7607 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
7608 in the page stylesheet. Added support for ItemSpacing property.
7609 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
7611 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
7613 * Style.cs: Generate styles using a CssStyleCollection, so the code can
7614 be reused for the 2.0 FillStyleAttributes method.
7615 * Menu.cs: Implemented more properties and events. Rendering is very
7617 * MenuItem.cs: Added PopOutImageUrl property.
7618 * Menu.js: More work on submenu management.
7620 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
7622 * Menu.cs: Implemented basic rendering. Added some missing properties.
7623 * MenuItem.cs: Improved implementation of Depth.
7624 * Unit.cs: Added serializable attribute.
7625 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
7626 so it can be reused.
7627 * Menu.js: New script to support he Menu control.
7629 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
7631 * MenuEventArgs.cs: Changed to sealed.
7632 * TreeView.cs: Minor fix.
7633 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
7634 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
7635 MenuItemStyleCollection.cs: Initial Menu code.
7637 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
7639 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
7640 Implemented SetDirtyObject.
7641 * Style.cs: Implemented SetDirty().
7642 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
7643 * TreeNode.cs: Added missing attributes added support for
7644 PopulateOnDemand. Added some missing property bindings.
7645 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
7646 to newly added elements to make sure al new data is saved.
7647 * TreeView.js: Implemented support for client population of nodes.
7648 * TreeNodeStyle.cs: Added missing attributes.
7649 * TreeView.cs: Implemented support for PopulateNodesFromClient and
7650 PopulateOnDemand. Improved rendering.
7652 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
7654 * DataControlField.cs:
7655 * DataControlFieldCell.cs: Initial implementation.
7657 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
7659 * TreeNodeBindingCollection.cs: Implemented.
7660 * TreeNodeBinding.cs: Implemented.
7661 * TreeNode.cs: Added support for data binding.
7662 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
7663 TreeView_Default_NoExpand.gif: Moved to resources directory.
7664 * ListControl.cs: Fixed api.
7665 * XmlHierarchicalEnumerable.cs: Made internal.
7666 * DataBoundControl.cs: Modified api to match latest ms.net.
7667 * TreeView.js: New javascript file to support TreeView in the client.
7668 * XmlDataSource.cs: Added missing attributes.
7669 * HierarchicalDataBoundControl.cs: Mostly implemented.
7670 * BaseDataBoundControl.cs: Mostly implemented.
7671 * XmlHierarchyData.cs: Made internal.
7672 * TreeView.cs: Mostly implemented. The major missing feature is
7673 client side tree population.
7675 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
7678 * DataBountControl.cs:
7679 * Repeater.cs: Added SelectArguments property and updated.
7680 * SiteMapDataSourceView.cs:
7681 * SqlDataSourceView.cs:
7682 * XmlDataSourceView.cs: Removed extra method, which was there to
7683 keep things compiling.
7685 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
7687 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
7688 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
7689 TreeView.cs: Initial implementation.
7690 * DataBoundControl.cs: Set the correct base class.
7691 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
7692 * TreeNodeSelectAction.cs: Formatting.
7693 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
7694 TreeView_Default_NoExpand.gif: TreeView images.
7696 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
7698 * SqlDataSourceView.cs: Updated methods and added one property.
7700 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7702 * AccessDataSource.cs:
7703 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
7704 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7706 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
7707 * SqlDataSourceView.cs: Updated constructor.
7709 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7711 * AccessDataSourceView.cs: Added new class.
7713 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7715 * SqlDataSourceView.cs: Corrected exception handling in
7716 ExecuteSelect method.
7718 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
7720 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
7721 * SiteMapDataSourceView.cs: Minor fix.
7723 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7725 * SqlDataSourceView.cs: Updated ExecuteSelect method.
7727 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7729 * SqlDataSource.cs: Corrected Select method.
7731 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7733 * SqlDataSource.cs: Updated Select method definition.
7734 * SqlDataSourceStatusEventArgs.cs: Updated class.
7736 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
7738 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
7739 from DataSourceView.cs).
7741 2004-11-10 Raja R Harinath <rharinath@novell.com>
7743 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
7745 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
7747 * SqlDataSource.cs: Corrected method calls.
7748 * SqlDataSourceView.cs: Partial implementation of few methods.
7750 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7752 * ListItemCollection.cs: fixed bug when indexing changed elements in
7753 LoadViewState. Patch from Alois Bělaška.
7755 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
7757 * SiteMapDataSourceView.cs:
7758 * SqlDataSourceView.cs:
7759 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
7760 base class, DataSourceView. Changes are to keep things compiling.
7762 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
7764 * SiteMapDataSourceView.cs: Corrected class definition and updated.
7765 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
7768 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
7770 * AdRotator.cs: Updated.
7772 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
7774 * AccessDataSource.cs: Updated.
7776 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7778 * ValidatedControlConverter.cs: Updated.
7780 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7782 * AssociatedControlConverter.cs: Implemented.
7784 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7786 * ControlIDConverter.cs: Initial implementation.
7788 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7790 * IButtonControl.cs: Corrected property name.
7792 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7794 * ParameterCollection.cs: Updated.
7796 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7798 * Parameter.cs: Updated and completed implementation.
7800 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7802 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
7805 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7807 * AccessDataSource.cs: Initial implementation.
7809 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
7811 * DataControlRowState.cs:
7813 * TreeNodeTypes.cs: Added attribute.
7814 * DataControlRowType.cs:
7816 * SortDirection.cs: Corrected enumeration values.
7817 * TableRowSection.cs: Added new enumeration.
7818 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
7820 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7822 * TableStyle.cs: don't render empty 'rules' attribute (again).
7824 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
7826 * FormViewUpdatedEventArgs.cs: Spelling mistake.
7828 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
7830 * Literal.cs: Added new method Focus().
7832 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7834 * RadioButton.cs: fix GroupName when the control is inside a
7835 NamingContainer different from Page. Closes bug #65586.
7837 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
7839 * Localize.cs: Added new class.
7841 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
7843 * CompositeControl.cs : Completed
7844 * Login.cs : Initial implementation.
7846 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7848 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
7849 don't call MapPathSecure on the content itself.
7851 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
7852 document is checked at parse time and will be checked again at run time.
7856 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
7858 * AuthenticateEventHandler.cs:
7859 * CreateUserErrorEventArgs.cs:
7860 * CreateUserErrorEventHandler.cs:
7861 * DetailsViewCommandEventHandler.cs:
7862 * DetailsViewDeleteEventArgs.cs:
7863 * DetailsViewDeleteEventHandler.cs:
7864 * DetailsViewDeletedEventArgs.cs:
7865 * DetailsViewDeletedEventHandler.cs:
7866 * DetailsViewInsertEventArgs.cs:
7867 * DetailsViewInsertEventHandler.cs:
7868 * DetailsViewInsertedEventArgs.cs:
7869 * DetailsViewInsertedEventHandler.cs:
7870 * DetailsViewModeEventArgs.cs:
7871 * DetailsViewModeEventHandler.cs:
7872 * DetailsViewPageEventHandler.cs:
7873 * DetailsViewUpdateEventArgs.cs:
7874 * DetailsViewUpdateEventHandler.cs:
7875 * DetailsViewUpdatedEventArgs.cs:
7876 * DetailsViewUpdatedEventHandler.cs:
7877 * FormViewCommandEventHandler.cs:
7878 * FormViewDeleteEventArgs.cs:
7879 * FormViewDeleteEventHandler.cs:
7880 * FormViewDeletedEventArgs.cs:
7881 * FormViewDeletedEventHandler.cs:
7882 * FormViewInsertEventArgs.cs:
7883 * FormViewInsertEventHandler.cs:
7884 * FormViewInsertedEventArgs.cs:
7885 * FormViewInsertedEventHandler.cs:
7886 * FormViewModeEventHandler.cs:
7887 * FormViewPageEventHandler.cs:
7888 * FormViewUpdateEventArgs.cs:
7889 * FormViewUpdateEventHandler.cs:
7890 * FormViewUpdatedEventArgs.cs:
7891 * FormViewUpdatedEventHandler.cs:
7892 * GridViewCancelEditEventArgs.cs:
7893 * GridViewCancelEditEventHandler.cs:
7894 * GridViewCommandEventHandler.cs:
7895 * GridViewDeleteEventArgs.cs:
7896 * GridViewDeleteEventHandler.cs:
7897 * GridViewDeletedEventArgs.cs:
7898 * GridViewDeletedEventHandler.cs:
7899 * GridViewEditEventHandler.cs:
7900 * GridViewPageEventHandler.cs:
7901 * GridViewRowEventHandler.cs:
7902 * GridViewSelectEventHandler.cs:
7903 * GridViewSortEventArgs.cs:
7904 * GridViewSortEventHandler.cs:
7905 * GridViewUpdateEventArgs.cs:
7906 * GridViewUpdateEventHandler.cs:
7907 * GridViewUpdatedEventArgs.cs:
7908 * GridViewUpdatedEventHandler.cs:
7909 * ImageMapEventHandler.cs:
7910 * MailMessageEventHandler.cs:
7911 * MenuEventHandler.cs:
7912 * ObjectDataSourceDisposingEventHandler.cs:
7913 * ObjectDataSourceEventHandler.cs:
7914 * ObjectDataSourceMethodEventArgs.cs:
7915 * ObjectDataSourceMethodEventHandler.cs:
7916 * ObjectDataSourceSelectingEventArgs.cs:
7917 * ObjectDataSourceSelectingEventHandler.cs:
7918 * ObjectDataSourceStatusEventArgs.cs:
7919 * ObjectDataSourceStatusEventHandler.cs:
7920 * SendMailErrorEventHandler.cs:
7921 * SiteMapNodeItemEventHandler.cs:
7922 * SqlDataSourceSelectingEventArgs.cs:
7923 * SqlDataSourceSelectingEventHandler.cs:
7924 * TreeNodeEventHandler.cs:
7925 * WizardNavigationEventArgs.cs:
7926 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
7927 corrections and removing "sealed" access specifier from *EventHandler.cs
7929 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
7931 * Literal.cs: Added new attributes and property for .Net 2.0
7933 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
7935 * GridViewDeleteEventArgs.cs: Removed extra code.
7937 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
7939 * SendMailErrorEventArgs.cs:
7940 * SendMailErrorEventHandler.cs:
7941 * SiteMapNodeItemEventArgs.cs:
7942 * SiteMapNodeItemEventHandler.cs:
7943 * SqlDataSourceSelectingEventArgs.cs:
7944 * SqlDataSourceSelectingEventHandler.cs:
7945 * TreeNodeEventArgs.cs:
7946 * TreeNodeEventHandler.cs:
7947 * WizardNavigationEventArgs.cs:
7948 * WizardNavigationEventHandler.cs: Added new delegates.
7950 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7952 * ImageMapEventArgs.cs:
7953 * ImageMapEventHandler.cs:
7954 * MailMessageEventArgs.cs:
7955 * MailMessageEventHandler.cs:
7957 * MenuEventHandler.cs:
7958 * ObjectDataSourceDisposingEventArgs.cs:
7959 * ObjectDataSourceDisposingEventHandler.cs:
7960 * ObjectDataSourceEventArgs.cs:
7961 * ObjectDataSourceEventHandler.cs:
7962 * ObjectDataSourceMethodEventArgs.cs:
7963 * ObjectDataSourceMethodEventHandler.cs:
7964 * ObjectDataSourceSelectingEventArgs.cs:
7965 * ObjectDataSourceSelectingEventHandler.cs:
7966 * ObjectDataSourceStatusEventArgs.cs:
7967 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
7969 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7971 * DetailsViewCommandEventArgs.cs:
7972 * FormViewCommandEventArgs.cs:
7973 * GridViewCommandEventArgs.cs: Corrected constructor.
7975 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7977 * GridViewCancelEditEventArgs.cs:
7978 * GridViewCancelEditEventHandler.cs:
7979 * GridViewCommandEventArgs.cs:
7980 * GridViewCommandEventHandler.cs:
7981 * GridViewDeletedEventArgs.cs:
7982 * GridViewDeletedEventHandler.cs:
7983 * GridViewDeleteEventArgs.cs:
7984 * GridViewDeleteEventHandler.cs:
7985 * GridViewEditEventArgs.cs:
7986 * GridViewEditEventHandler.cs:
7987 * GridViewPageEventArgs.cs:
7988 * GridViewPageEventHandler.cs:
7989 * GridViewRowEventArgs.cs:
7990 * GridViewRowEventHandler.cs:
7991 * GridViewSelectEventArgs.cs:
7992 * GridViewSelectEventHandler.cs:
7993 * GridViewSortEventArgs.cs:
7994 * GridViewSortEventHandler.cs:
7995 * GridViewUpdatedEventArgs.cs:
7996 * GridViewUpdatedEventHandler.cs:
7997 * GridViewUpdateEventArgs.cs:
7998 * GridViewUpdateEventHandler.cs: Added new delegates.
8000 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
8002 * FormViewUpdatedEventArgs.cs: Corrected constructor.
8004 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
8006 * FormViewCommandEventArgs.cs: Corrected name of class.
8008 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8010 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
8013 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
8015 * FormViewCommandEventArgs.cs:
8016 * FormViewCommandEventHandler.cs:
8017 * FormViewDeletedEventArgs.cs:
8018 * FormViewDeletedEventHandler.cs:
8019 * FormViewDeleteEventArgs.cs:
8020 * FormViewDeleteEventHandler.cs:
8021 * FormViewInsertedEventArgs.cs:
8022 * FormViewInsertedEventHandler.cs:
8023 * FormViewInsertEventArgs.cs:
8024 * FormViewInsertEventHandler.cs:
8025 * FormViewModeEventArgs.cs:
8026 * FormViewModeEventHandler.cs:
8027 * FormViewPageEventArgs.cs:
8028 * FormViewPageEventHandler.cs:
8029 * FormViewUpdatedEventArgs.cs:
8030 * FormViewUpdatedEventHandler.cs:
8031 * FormViewUpdateEventArgs.cs:
8032 * FormViewUpdateEventHandler.cs: Added new delegates.
8034 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
8036 * DetailsViewCommandEventArgs.cs:
8037 * DetailsViewCommandEventHandler.cs:
8038 * DetailsViewDeletedEventArgs.cs:
8039 * DetailsViewDeletedEventHandler.cs:
8040 * DetailsViewDeleteEventArgs.cs:
8041 * DetailsViewDeleteEventHandler.cs:
8042 * DetailsViewInsertedEventArgs.cs:
8043 * DetailsViewInsertedEventHandler.cs:
8044 * DetailsViewInsertEventArgs.cs:
8045 * DetailsViewInsertEventHandler.cs:
8046 * DetailsViewModeEventArgs.cs:
8047 * DetailsViewModeEventHandler.cs:
8048 * DetailsViewPageEventArgs.cs:
8049 * DetailsViewPageEventHandler.cs:
8050 * DetailsViewUpdatedEventArgs.cs:
8051 * DetailsViewUpdatedEventHandler.cs:
8052 * DetailsViewUpdateEventArgs.cs:
8053 * DetailsViewUpdateEventHandler.cs: Added new delegates.
8055 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
8057 * AuthenticateEventArgs.cs:
8058 * AuthenticateEventHandler.cs:
8059 * CreateUserErrorEventArgs.cs:
8060 * CreateUserErrorEventHandler.cs: Added new delegates.
8062 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
8064 * IButtonControl.cs:
8065 * ICallbackContainer.cs:
8066 * ICompositeControlDesignerAccessor.cs:
8067 * IPostBackContainer.cs: Added new interfaces.
8069 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
8072 * AutoCompleteType.cs:
8073 * ContentDirection.cs:
8074 * DataControlCellType.cs:
8075 * DataControlRowState.cs:
8076 * DataControlRowType.cs:
8077 * DetailsViewMode.cs:
8078 * DynamicImageParameterMode.cs:
8081 * ImageFieldMode.cs:
8088 * SiteMapNodeItemType.cs:
8089 * SiteMapNodeType.cs:
8090 * SiteMapViewType.cs:
8092 * TableCaptionAlign.cs:
8093 * TableHeaderScope.cs:
8095 * TreeNodeSelectAction.cs:
8097 * TreeViewImageSet.cs:
8098 * WizardStepType.cs: Added enumerations
8100 2004-08-02 Duncan Mak <duncan@ximian.com>
8103 * LoginFailureAction.cs:
8104 * LoginTextLayout.cs: Added enumerations.
8106 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8108 * BaseValidator.cs: in Validate(), when the control is not visible or
8109 enabled, return inmediately after setting IsValid to true. Fixes bug
8112 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8114 * DataList.cs: s/HasChildren/HasControls()/.
8116 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8118 * DataList.cs: style.
8120 2004-07-27 Alon Gazit <along@mainsoft.com>
8121 * DataList.cs: Replaced foreach statement with for statement,
8122 in order to improve performence.
8124 2004-07-27 Alon Gazit <along@mainsoft.com>
8125 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
8127 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
8128 switch statements in order to improve performance.
8130 2004-06-10 Alon Gazit <along@mainsoft.com>
8131 * WebControl.cs: fixed LoadViewState().
8132 Creates new attributes state bag only when the current is null.
8134 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8136 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
8138 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8140 * Calendar.cs: set the title class attribute if we have it. Fixes bug
8143 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8145 * Style.cs: added SetBit.
8147 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8150 * CompareValidator.cs:
8153 * WebControl.cs: Added protected missing members and attributes.
8155 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8157 * TextBox.cs: don't save the Text if in ViewState if it's a password.
8158 Save it if the control is not visible or not enabled. Fixes bug #58497.
8160 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8162 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
8165 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
8167 * SqlDataSourceCommandEventArgs:
8168 * XmlDataSource.cs : removed temporary workarounds for CLS
8169 compliance as System.Data is now CLS compliant
8171 2004-05-06 Alon Gazit <along@mainsoft.com>
8172 * WebControl.cs: fixed LoadViewState() and SaveViewState().
8173 Before the change the Enabled property wasn't updated when a postback
8175 * ListControl.cs: fixed SelectedIndex property implementation.
8176 Prevents throwing ArgumentOutOfRangeException (that should not be
8177 thrown), when the list is empty.
8179 2004-04-28 Alon Gazit <along@mainsoft.com>
8180 * WebControl.cs: fixed LoadViewState().
8181 Always loading the saved attributes collection.
8183 2004-04-18 Alon Gazit <along@mainsoft.com>
8184 * Repeater.cs: fixed InstantiateItem() and DataSource property.
8185 The change in DataSource prevents throwing ArgumentException while
8186 setting property value to null.
8187 The change in InstantiateItem() prevents NullReferenceException.
8189 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
8191 * BaseValidator.cs: Store Display property in the correct ViewState
8192 property. Don't render anything if Display is ValidatorDisplay.None.
8194 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
8196 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
8197 since it is already a physical path. Fixes bug #55334.
8199 2004-02-13 Jackson Harper <jackson@ximian.com>
8201 * Calendar.cs: Match MS postback data. This allows sites that
8202 parse the postback data manually to work.
8204 2004-02-04 Alon Gazit <along@mainsoft.com>
8205 * EditCommandColumn.cs: fixed InitializeCell().
8206 The rendered LiteralControl should contain " " and not " ".
8208 2004-02-01 Alon Gazit <along@mainsoft.com>
8210 * DataGrid.cs: fixed a problem in the paging mechanism in the method
8212 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
8213 while clicking the "..." link in the second page.
8215 2004-01-28 Alon Gazit <along@mainsoft.com>
8217 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
8219 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8221 * Calendar.cs: when rendering days, add a LiteralControl containing the
8222 day before OnDayRender is called. Only generate the default links for
8223 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
8225 2004-01-21 Martin Baulig <martin@ximian.com>
8227 * XmlHierarchyData.cs: Make this compile with csc.
8229 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
8230 accessor since the base class doesn't have one.
8232 2004-01-18 Alon Gazit <along@mainsoft.com>
8234 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
8236 2004-01-18 Alon Gazit <along@mainsoft.com>
8238 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
8239 Property default value.
8240 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
8241 Property default value.
8243 2004-01-15 Alon Gazit <along@mainsoft.com>
8245 * RadioButtonList.cs: RepeatLayout property should affect the rendered
8248 2004-01-15 Alon Gazit <along@mainsoft.com>
8249 * FontInfo.cs: Add validation check to Size property.
8251 2004-01-07 Alon Gazit <along@mainsoft.com>
8252 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8253 merge the column's style to the cell's style and not to
8254 the item's(row) style.
8256 2004-01-04 Alon Gazit <along@mainsoft.com>
8257 * RangeValidator.cs: Fixed ControlPropertiesValid().
8259 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8261 * Xml.cs: mono-stylized and removed warnings.
8263 2004-1-1 Alon Gazit <along@mainsoft.com>
8264 * RadioButtonList.cs: update RenderItem() so that each RadioButton
8265 is enabled or disabled like the RadioButtonList.
8266 * CheckBoxList.cs: update RenderItem() so that each CheckBox
8267 is enabled or disabled like the CheckBoxList.
8269 2004-1-1 Alon Gazit <along@mainsoft.com>
8270 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8271 The Header or Footer Style shouldn't merge with the cells Style.
8273 2004-1-1 Alon Gazit <along@mainsoft.com>
8274 * DataGridColumn.cs: Headers and Footers are initialized
8275 with the relevant Style object.
8277 2003-12-30 Alon Gazit <along@mainsoft.com>
8278 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8279 DoHorizontalRendering().
8280 Current implementation produces few extra html tags.
8282 2003-12-29 Alon Gazit <along@mainsoft.com>
8284 * CheckBox.cs: change the implementation of LoadPostData.
8285 Currently, while the AutoPostBack property equals true ,
8286 it isn't possible to perform uncheck.
8288 2003-12-19 Jackson Harper <jackson@ximian.com>
8290 * TableCell.cs: Setting a cells text should clear its control
8291 collection as per la specification. This fixes bug #51825.
8293 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8295 * DataGridColumn.cs: stylized LoadViewState.
8296 * DataGridColumnCollection.cs: when TrackViewState is called, also
8297 call it on all the existing columns. Fixes bug #52334.
8299 2003-12-18 Alon Gazit <along@mainsoft.com>
8301 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
8304 2003-12-18 Alon Gazit <along@mainsoft.com>
8306 * TableStyle.cs: merge TableStyle properties when Style is empty.
8308 2003-12-16 Alon Gazit <along@mainsoft.com>
8310 * HyperLink.cs: Change Text property implementation. in MS when the Text
8311 property is set, all the controls in the HyperLink are being deleted.
8312 This fixes bug #52239.
8314 2003-12-15 Alon Gazit <along@mainsoft.com>
8315 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8316 DoHorizontalRendering().
8317 Both methods add additional empty table row in the head of each item
8318 table when the variable named isTable equals true (happenes with the
8319 default instantiation of RepeatInfo). These additional rows should be
8320 added when isTable equals false.
8321 This fixes bug #52225.
8323 2003-12-15 Alon Gazit <along@mainsoft.com>
8325 * RepeatInfo.cs: Fixed DoVerticalRendering() and
8326 DoHorizontalRendering().
8327 Both methods add to rendered Header a colspan attribute according to the
8328 rows count. after the change the colspan is added according to the
8331 2003-12-15 Alon Gazit <along@mainsoft.com>
8332 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
8333 In .NET if the checkbox is disabled ,its text appears disabled too.
8334 In Mono the text appears enabled. the fix is in Render().
8335 This fixes bug #52180.
8337 2003-12-15 Alon Gazit <along@mainsoft.com>
8338 * Repeater.cs: Change the implementation of CreateControlHierarchy().
8339 The current implementation renders extra Header and footer
8340 without Repeater.DataSource assign.
8341 This fixes bug #52179.
8343 2003-12-15 Alon Gazit <along@mainsoft.com>
8344 * DataGrid.cs: Change the implementation of the property
8345 BackImageUrl. The current implementation has no influence
8346 on the rendered Html.
8348 2003-12-15 Alon Gazit <along@mainsoft.com>
8349 * WebControl.cs: Change the implementation of the property
8350 Enabled. Before the change the WebControl also looked at
8351 parent.Enabled . fixed bug #52171.
8353 2003-12-11 Jackson Harper <jackson@ximian.com>
8355 * RepeatInfo.cs: When rendering vertically figure out how many
8356 colmns are not going to be filled in in the last row, and adjust
8357 things accordingly. This fixes bug #51863.
8359 2003-12-10 Alon Gazit <along@mainsoft.com>
8360 * TableRow.cs: Change the implementation of the properties
8361 HorizontalAlign and VerticalAlign. The current implementation
8362 has no influence on the rendered Html.
8364 2003-12-10 Alon Gazit <along@mainsoft.com>
8365 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
8366 property's set method.
8368 2003-12-09 Jackson Harper <jackson@ximian.com>
8370 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
8371 Increment counter when moving to start. Fixes bug #51926.
8373 2003-12-08 Jackson Harper <jackson@ximian.com>
8375 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
8376 Benjamin Jemlich. Fixes bug #51823.
8378 2003-12-07 Alon Gazit <along@mainsoft.com>
8379 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
8380 property is set to false. Fixes bug #58120.
8382 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8384 * TableItemStyle.cs: merge TableItemStyle properties when Style is
8385 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
8387 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8389 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
8392 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8394 * WebControl.cs: don't create the attributes when GetAttribute is
8397 2003-12-01 Jackson Harper <jackson@ximian.com>
8399 * WebControl.cs: Only allow access keys to be null or a single
8400 char. Patch by Alon Gazit <along@mainsoft.com>.
8402 2003-11-30 Jackson Harper <jackson@ximian.com>
8404 * CheckBoxList.cs: A checkbox will have null post data if it is
8405 unselected. This fixes bug #51516.
8407 2003-11-29 Jackson Harper <jackson@ximian.com>
8409 * DataGrid.cs: Display paging controls even when there is no
8410 data. Path by Mohammad DAMT. Fixes bug #51487.
8412 2003-11-29 Jackson Harper <jackson@ximian.com>
8414 * DataGrid.cs: Call TrackViewState when loading bound columns view
8415 state. So that their state is saved. This fixes bug #51424. Also
8418 2003-11-26 Jackson Harper <jackson@ximian.com>
8420 * BaseDataList.cs: Change && to || We will call that a typo so no
8421 one gets embarrased.
8423 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8425 * BaseDataList.cs: allow setting null as Datasource.
8427 * DataGrid.cs: keep autogenerated columns in the ViewState.
8429 Patches by Alon Gazit <along@mainsoft.com>.
8431 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8433 * SqlDataSource*: Implement almost everything. Data access is
8436 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8438 * Calendar.cs (SaveViewState):
8439 - We were allocating a 11 item array, we only used 10 items,
8440 so only allocate 10.
8441 - We only need to save the selected dates if there are any.
8442 * DataGrid.cs (SaveViewState):
8443 * DataGridColumn.cs (SaveViewState):
8444 * DataGridColumnCollection.cs (SaveViewState):
8445 - Only return the array if there is anything in it
8446 * Style.cs (SaveViewState):
8447 - Only save the bits if there were changes.
8448 * WebControl.cs (SaveViewState), (LoadViewState):
8449 - Don't save Enabled into the viewstate here, we already
8450 do it in the property. This just caused *EVERY* control
8451 to have a non-null state, taking up lots of extra room
8453 - The style will always be created with this control's
8454 viewstate, so the style will always return null for the
8455 viewstate. As such, we do not need to store it. We can
8456 also reduce the triplet to a pair because of this.
8458 2003-11-22 Jackson Harper <jackson@ximian.com>
8460 * ValidationSummary.cs: Fix number of messages and message array computation.
8462 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8464 * Xml.cs: Corrected attribute
8465 * XmlBuilder.cs: Added
8467 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8469 * Xml.cs: class status based fixes.
8471 2003-11-19 Jackson Harper <jackson@ximian.com>
8473 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
8475 2003-11-19 Jackson Harper <jackson@ximian.com>
8477 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
8478 teh applications base directory. This fixes bug #51092.
8480 2003-11-18 Todd Berman <tberman@gentoo.org>
8482 * ControlParameter.cs:
8483 * CookieParameter.cs:
8485 * QueryStringParameter.cs:
8486 * SessionParameter.cs: added public .ctor ()
8487 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
8488 and handling, as well as internal ParameterValue for easy access.
8489 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
8490 * ParameterCollection.cs: implementation redux.
8492 2003-11-18 Todd Berman <tberman@gentoo.org>
8494 * ParameterCollection.cs: Implemented
8495 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
8496 ToString () now matches asp.net
8498 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
8500 * ControlParameter.cs:
8501 * CookieParameter.cs:
8504 * QueryStringParameter.cs: New v2 files. Mostly
8505 implemented, still need a few methods.
8507 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8509 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
8510 Gazit <along@mainsoft.com>.
8512 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8514 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
8515 Patch by Alon Gazit <along@mainsoft.com>.
8517 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8519 * DataBoundControl.cs: Implement
8520 * ListControl.cs: inherit from the above.
8521 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
8523 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8528 * Repeater.cs: add v2 databinding stuff
8529 * XmlDataSource.cs: make it load the xml.
8531 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8534 * XmlDataSourceView.cs:
8535 * XmlHierarchicalDataSourceView.cs:
8536 * XmlHierarchicalEnumerable.cs:
8537 * XmlHierarchyData.cs: Implement
8539 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
8541 * SiteMapDataSourceView.cs: Implement.
8543 2003-11-07 Jackson Harper <jackson@ximian.com>
8545 * ImageButton.cs: This is a workaround for bug #49819. It appears
8546 that the .x and .y values are not being posted, and only the x
8547 value is being posted with the ctrl's id as the key.
8549 2003-11-07 Jackson Harper <jackson@ximian.com>
8551 * DataGrid.cs (CreateControlHierarchy): Current page index is
8552 alolowed to equal page count. This prevents an exception being
8553 thrown when both are zero.
8555 2003-11-06 Jackson Harper <jackson@ximian.com>
8557 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
8558 * BaseValidator.cs: Disable base control so the isValid flag is
8561 2003-11-03 Jackson Harper <jackson@ximian.com>
8563 * TemplateColumn.cs: Use the same renderer for selected items as
8564 normal items. This fixes bug #49744.
8566 2003-11-03 Jackson Harper <jackson@ximian.com>
8569 * WebControl.cs: Fix argument out of range exceptions on
8570 properties. Patch by Yaron Shkop.
8572 2003-11-03 Jackson Harper <jackson@ximian.com>
8574 * TemplateColumn.cs: If the item is selected but there is no
8575 editItemTemplate use the itemTemplate. This matches MS behvoir.
8577 2003-11-03 Jackson Harper <jackson@ximian.com>
8579 * Repeater.cs: Always set alternating items to the AlternatingItem
8580 type, when instantiating alternating items use the itemTemplate if
8581 the alternatingItem template is null. This matches MS behavoir and
8584 2003-11-03 Jackson Harper <jackson@ximian.com>
8586 * DataGridPagerStyle.cs: Name of view state attribute is
8587 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
8588 visibility is changed. Patch by Yaron Shkop.
8590 2003-11-03 Jackson Harper <jackson@ximian.com>
8592 * RepeatInfo.cs: When doing horizontal rendering use the repeat
8593 columns as the number of columns in a row. This fixes bug #49016.
8595 2003-11-03 Jackson Harper <jackson@ximian.com>
8597 * PagedDataSource.cs (PageCount): Return page count of 1 if there
8598 paging is disabled. Patch by Yaron Shkop.
8599 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
8600 * TableStyle.cs (AddAttributesToRender): Render border style
8601 collapse. Patch by Yaron Shkop.
8603 * TableItemStyle.cs:
8604 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
8605 the wrong type. Patch by Yaron Shkop.
8607 2003-11-03 Jackson Harper <jackson@ximian.com>
8609 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
8611 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
8614 * BulletedListDisplayMode.cs:
8615 * BulletedListEventHandler.cs:
8617 * BulletedListEventArgs.cs: V2 controls (yay!)
8619 2003-10-30 Jackson Harper <jackson@ximian.com>
8621 * Repeater.cs: Throw an exception if the datasource is set to
8622 something that does not implement either IListSource or
8623 IEnumerable. This fixes bug #50155.
8625 2003-10-30 Jackson Harper <jackson@ximian.com>
8627 * DataGridPagerStyle.cs: Do not allow page button counts to be set
8628 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
8630 2003-10-29 Jackson Harper <jackson@ximian.com>
8632 * ButtonColumn.cs: Format string and text to format were
8633 inversed. This fixes bug #50171.
8635 2003-10-29 Jackson Harper <jackson@ximian.com>
8637 * DataGridColumn.cs: If an item style is set apply it to the
8638 cell. This fixes bug #50173.
8640 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
8642 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
8643 old debugging value.
8645 2003-10-29 Jackson Harper <jackson@ximian.com>
8647 * PagedDataSource.cs:
8648 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
8649 end of the last page. Fixes bug #5085.
8651 2003-10-29 Jackson Harper <jackson@ximian.com>
8653 * CheckBox.cs: Do not change the status of a checkbox when there
8654 is no post data. This fixes bug #49091.
8655 * CheckBoxList.cs: Do not change the status of the checkboxes when
8656 there is no post data. This fixes bug #49093.
8658 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
8660 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
8661 RadioButton. Fixes #50132
8663 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8665 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
8666 paging from working. Fixes #48814.
8668 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8670 * DataGrid.cs: A few typos kept us from viewing datagrids
8671 that were based on customized collections.
8673 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
8675 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
8677 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
8679 * Calendar.cs: render the next month button so that aligns to the
8682 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8684 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
8685 was just changing && by || after the first Match.
8687 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8689 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
8690 Patch by Yaron Shkop.
8692 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8694 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
8695 that fixes bug #49744. Now the selection doesn't lose its data.
8697 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8699 * EditCommandColumn.cs: Implement; fix #49736
8701 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8703 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
8704 the forground color. bug #49738
8706 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8708 * Calendar.cs: fixed bug #49727.
8710 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
8712 * TableStyle.cs: fix #49740.
8714 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8716 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
8717 * ValidationSummary.cs: fixes bug #49669.
8719 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8721 * Calendar.cs: apply the calendar style to the new Table, not to itself.
8724 * CheckBox.cs: render the hidden fields if AutoPostBack.
8726 * Style.cs: don't render empty width/height. Small improvement in
8729 * Table.cs: fixed condition for border width.
8732 (CopyFrom): always call the base class to copy other attributes. Fixes
8733 bug #49408. Don't render empty 'rules' attribute.
8735 * WebControl.cs: track viewstate when enabled. Don't overwrite source
8736 control attributes in CopyBaseAttributes.
8738 * ChangeLog: fixed dates.
8741 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8743 * WebControl.cs : Attributes { get; } - Is Complete.
8744 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
8747 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8749 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
8750 : RegisterValidatorCommonScript()
8751 - More code, I need HELP!
8752 : RegisterValidatorDeclaration()
8753 - More code, I need HELP!
8755 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8757 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
8760 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8762 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
8763 ClearViewState only called when no items.
8765 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8767 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
8769 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8771 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
8773 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8775 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
8778 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8780 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
8783 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8785 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
8786 * WebControl.cs: fixed Enabled property and save it in ViewState.
8790 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8792 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
8794 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8796 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
8799 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8801 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
8802 <rich@velvetsea.net>.
8804 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8806 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
8807 Skripsky <juraj@hotfeet.ch>
8809 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8811 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
8812 fixes rendering of the end tag.
8814 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8816 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
8817 (Yaron Shkop). Closes bug #48060.
8819 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8821 * CheckBox.cs: in LoadPostData, only return
8822 true when the new data is different from the one we had. Fixed
8823 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
8826 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8828 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
8830 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8832 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
8833 of Enable in ViewState. Fixes bug #47865.
8835 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8837 * Style.cs: the MARKED bit is not send set in ViewState unless something
8838 is changed. Fixed TrackViewState condition.
8840 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
8841 because it uses the same ViewState as the control. Fixes bug #47725.
8843 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8845 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
8846 that fixes databinding when only DataTextField or DataNavigateUrlField
8849 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8851 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
8852 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
8853 values before assigning a data source and other issues.
8855 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8857 * CheckBox.cs: save viewstate when needed and correctly handle post
8858 data. Fixes bug #47462.
8860 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8862 * ButtonColumn.cs: Removed additional attributes
8863 * CheckBox.cs: Added attribute
8864 * DataGrid.cs: Added attributes
8865 * HyperLinkColumn.cs: Changed attributes, added lamespec
8866 * Style.cs: Removed attributes
8867 * TextBox.cs: Added/ removed attributes
8869 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8871 * AdRotator.cs: Added all attributes
8872 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
8873 * BaseValidator.cs: Added all attributes
8874 * BoundColumn.cs: Added all attributes
8875 * Button.cs: Added all attributes
8876 * ButtonColumn.cs: Added all attributes, added lamespec
8877 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
8878 * CheckBox.cs: Added all attributes
8879 * CheckBoxList.cs: Added all attributes
8880 * CompareValidator.cs: Added all attributes
8881 * CustomValidator.cs: Added all attributes
8882 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
8883 * DataGridColumn.cs: Added all attributes
8884 * DataGridColumnCollection.cs: Added all attributes
8885 * DataGridPagerStyle.cs: Added all attributes
8886 * DataGridTableInternal.cs: Made DataGridTableInternal internal
8887 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
8888 * DropDownList.cs: Added all attributes
8889 * FontInfo.cs: Added all attributes
8890 * HyperLink.cs: Added all attributes
8891 * HyperLinkColumn.cs: Added all attributes
8892 * Image.cs: Added all attributes
8893 * ImageButton.cs: Added all attributes
8894 * Label.cs: Added all attributes
8895 * LinkButton.cs: Added all attributes
8896 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
8897 * ListControl.cs: Added all attributes
8898 * ListItem.cs: Added all attributes
8899 * ListItemCollection.cs: Added attribute
8900 * Literal.cs: Added all attributes
8901 * Panel.cs: Added all attributes
8902 * RadioButton.cs: Added all attributes
8903 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
8904 * RangeValidator.cs: Added all attributes
8905 * RegularExpressionValidator.cs: Added all attributes
8906 * Repeater.cs: Added all attributes
8908 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8910 * RequiredFieldValidator.cs: Added all attributes
8911 * Style.cs: Added all attributes
8912 * Table.cs: Added all attributes
8913 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
8914 * TableCellCollection.cs: Added attribute
8915 * TableRow.cs: Added all attributes
8916 * TableRowCollection: Added attribute
8917 * TableStyle.cs: Added all attributes, improved error messages
8918 * TemplateColumn.cs: Added all attributes
8919 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
8920 * ValidationSummary.cs: Added all attributes
8921 * WebControl.cs: Added all attributes
8922 * Xml.cs: Added all attributes
8924 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8926 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
8927 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
8929 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8931 * CheckBoxList.cs: fixes bug reported on the list about the state of
8932 the CheckButtons not being preserved across posts.
8934 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8936 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
8938 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8940 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
8942 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8944 * ListControl.cs: save viewstate data when any of the 3 values is not
8945 null. Fixed condition to save selection indices. Closes bug #45493.
8947 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8949 * DataGrid.cs: fixed bug #43823.
8951 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8953 * DataGrid.cs: fixed delegate type for SortCommand.
8955 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8957 * DataGridColumnCollection.cs: added missing return in RemoveAt.
8959 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8961 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
8962 Don't save ViewState is the number of columns is 0.
8964 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8966 * DataGrid.cs: get the right item Type for the property we're reading
8967 fromt the data source.
8969 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8972 * TextBox.cs: added control builder attribute.
8974 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8976 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
8978 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
8980 * Unit.cs: Called the correct method to get the Numeric locale for the
8983 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8985 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
8986 correctly the header of the column.
8988 * DataGridTableInternal.cs: don't assign a default ID to this control.
8990 * LinkButton.cs: raise bubble event in OnCommand.
8992 * TableCellCollection.cs: fixed the index returned by Add.
8994 * TableRowCollection.cs: ditto.
8996 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8998 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
9000 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9002 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
9003 for reporting the bug and providing the fix.
9005 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9007 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
9008 CreateColumnSet. Set the owner of the column when auto generated.
9009 In PrepareControlHierarchyForItem, fixed for loop bound.
9011 * LinkButtonInternal.cs: fixed infinite recursion bug.
9015 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
9017 * Xml.cs: a few fixes.
9019 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9021 * DataList.cs: handle the exception when adding new keys to
9024 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9026 * BaseDataList.cs: what can I say for this one? I spent so many time
9027 until I finally found this that I'm gonna miss this f....g bug... ;-).
9028 Farewell. Now we can get events from image buttons inside Data*.
9030 * DataList.cs: now the value stored in ViewState for item count is
9033 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9035 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
9037 * DataGridColumn.cs: added SetOwner method.
9038 * DataGridColumnCollection.cs: set the owner of the column when added.
9040 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9042 * BoundColumn.cs: typo.
9043 * DataGrid.cs: use 'as' instead of casting. Typo.
9044 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
9047 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9049 * HyperLink.cs: fixes bug #36336.
9051 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9053 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
9055 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9057 * BaseValidator.cs: return an empty string in GetControlValidationValue
9058 when GetValue returned null.
9060 * CompareValidator.cs: fixed EvaluateIsValid.
9062 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
9064 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9066 * Xml.cs: use MapPathSecure to get the path of the document.
9068 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9070 * DataList.cs: fixed header & footer.
9072 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9074 * DataList.cs: for header and footer don't use data source.
9075 Instantiate in the DataListItem, not in the DataList.
9076 databind-template.aspx works now.
9078 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9081 (Render): call RenderContents (), not base.RenderContents ().
9083 * DataList.cs: style.
9085 But I still haven't found what i'm looking for....
9087 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9089 * Calendar.cs: fixed loading/saving selected dates.
9090 * SelectedDatesCollection.cs: added internal function to get the
9091 underlying ArrayList.
9093 Calendar navigation works again. Selecting dates too.
9095 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9097 * DataList.cs: added a few attributes and fixed infinite recursion.
9099 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9101 * ListItemCollection.cs: fixed LoadViewState.
9103 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9105 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
9106 Commented out some code until it works.
9108 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
9110 * BaseCompareValidator.cs - Fixed operator bug in
9111 Compare(string, string, ...)
9112 * CompareValidator.cs - EvaluateIsValid() : Implemented.
9114 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9116 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
9118 - All Properties : Now make use of ViewState.
9120 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9122 * BaseValidator.cs - Uncomment NotImplementedException.
9124 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9126 * BaseValidator.cs - Minor changes in TODO comments.
9128 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9130 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
9131 the NotImplementedException being thrown.
9132 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
9133 * DataGridLinkButton.cs - Added new class (private) : Implemented.
9134 * DataGrid.cs - InitializePager(DataGridItem, int,
9135 PagedDataSource) : Implemented.
9137 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9139 * DataList.cs - PrepareControlHierarchy() : Implemented.
9141 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9143 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
9144 - GetItem(ListItemType, int) : Removed TODO.
9145 - CreateControlHierarchy(bool) : Implemented.
9146 - CreateItem(int, ListItemType) : Implemented.
9147 - CreateItem(int, ListItemType,
9148 bool, object) : Implemented.
9149 - InitializeItem(DataItem) : Implemented.
9150 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
9151 The ViewState["_!ItemCount"],
9152 ViewState["_!DataSource_ItemCount"]
9153 are shared by DataList and DataGrid, and hence
9154 should share the same name.
9155 - ResolveDataSource(object, string)
9156 : Removed. Use System.Web.UI.Utils.DataSourceHelper
9157 ::GetResolvedDataSource(object, string).
9160 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9162 * DataGrid.cs: fixed compilation
9164 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
9166 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
9167 * DataGrid.cs - CreateControlHierarchy(bool)
9168 : working towards completion.
9169 - ResolveDataSource(object, string)
9170 : stubbed new method
9172 : stubbed new method
9173 Well. It's almost done.
9174 * DataGridTableInternal.cs
9175 - Added new internal class.
9177 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
9179 * DataSourceInternal.cs - Added new class (internal).
9181 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9184 * HorizontalAlign.cs:
9186 * VerticalAlign.cs: fixes based on class status page.
9188 * HorizontalAlignConverter.cs: implemented.
9189 * VerticalAlignConverter.cs: implemented.
9191 * FontUnitConverter.cs: implemented GetStandardValues ().
9193 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
9195 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9197 * DataGrid.cs - AutoCreateColumns: Bug fixes.
9199 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9201 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
9203 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9205 * DataGrid.cs - Working on the undocumented protected
9206 method CreateColumnSet. AutoCreateColumns method
9207 stubbed. Left CreateControlHierarchy for the time
9208 being, looks like I'm going insane. ;-)
9210 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9212 * Button.cs - Steffen's OnCommand bug fix.
9214 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
9216 * DataGrid.cs - Added protected method (skeleton)
9217 CreateColumnSet(PagedDataSource, bool)
9218 Still trying to know how will it be used
9221 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9223 * PagedDataSource.cs: fixed compilation.
9225 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
9227 * DataGrid.cs - Added private method
9228 CreatePagedDataSource
9230 CreateControlHierarchy(bool)
9231 * PagedDataSource.cs - Bug fixed.
9232 CurrentPageIndex is writable.
9234 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9236 * DataGrid.cs: fixed typo.
9237 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
9239 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9241 * DataGridColumn.cs - Added internal methods to get the
9242 various styles (needed in DataGrid.cs)
9243 * DataGrid.cs - Completed the method
9244 PrepareControlHierarchy()
9246 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9248 * DataGrid.cs - Wokring on PrepareControlHierarchy()
9249 - Added private method
9250 PrepareControlHierarchyForItem()
9252 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
9254 * DataGrid.cs - Completed method
9255 OnBubbleEvent(object, EventArgs)
9257 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9259 * Xml.cs: implemented document/transform load.
9261 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9263 * Calendar.cs: added myself to the list of authors.
9264 * DropDownList.cs: fixed a few properties.
9265 * ListControl.cs: fixed SelectedIndex.
9267 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9269 * Calendar.cs: lots of fixes. Render days. Still left to persist
9270 selected days when changing month.
9272 * Unit.cs: fixed Percentage and Pixel.
9274 * WebControl.cs: a few properties are now using ControlStyle instead
9275 of ViewState to persist.
9277 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9279 * BaseValidator.cs: it works now.
9280 * DataGridColumn.cs: added attribute and made it abstract.
9281 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
9283 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9285 * TextBox.cs: default for Wrap is true.
9286 (OnPreRender): don't save Text if there are no listeners on TextChanged.
9288 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9294 (LoadViewState): fixed.
9296 * ListItemCollection.cs:
9297 (TrackViewState): use items instead of 'this' in foreach.
9300 (LoadViewState): more checking of parameters.
9302 * WebControl.cs: implemented LoadViewState and SaveViewState.
9305 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9307 * ListItem.cs: there was no code to unset the flags!!!
9309 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9311 * FontUnit.cs: use a hashtable for mapping size name to value.
9312 * HyperLink.cs: fixed a bug and a typo.
9313 * Unit.cs: some fixes to internal constructor.
9315 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9317 * ListControl.cs: fixed a couple of range checks.
9318 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
9319 an HtmlForm (p.e., Label).
9321 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9331 * HyperLinkColumn.cs:
9340 * RadioButtonList.cs:
9344 * WebControl.cs: removed attributes added by mistake (i used
9345 GetCustomAttributes (true), d'oh!).
9347 * DataListItem.cs: implemented RenderItem.
9349 * Repeater.cs: implemented CreateItem and InitializeItem.
9351 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9353 * BaseDataList.cs: a couple of fiex and added attributes.
9354 * DataGrid.cs: little fixes.
9356 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9365 * RadioButtonList.cs:
9368 * Xml.cs: forgot to add using System.ComponentModel.
9370 * BaseValidator.cs: use explicitly
9371 System.ComponentModel.AttributeCollection as there is another class
9372 with the same name under System.Web.UI.
9374 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9393 * RadioButtonList.cs:
9398 * Xml.cs: added/fixed all attributes used by xsp.
9400 * BaseValidator.cs: some fixes.
9402 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9405 (AddAttributesToRender): correctly default to border=1.
9407 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9410 (LoadAdFile): make the dictionary null after every iteration.
9414 * ListItem.cs: fixed warnings.
9416 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
9418 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
9420 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9422 * DataGridColumn.cs:
9423 * DataGridPagerStyle.cs:
9430 * ListItemCollection.cs:
9432 * ServerValidateEventArgs.cs:
9436 * Xml.cs: more class status page based changes.
9438 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9441 (.ctor): fixed to render the correct tag.
9442 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
9444 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9447 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
9448 WebControl derived classes should be rendered inside a HtmlForm.
9450 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9452 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
9455 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9457 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9458 * RepeatInfo.cs: implemented DoHorizontalRendering.
9460 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9462 * System.Web.UI.WebControls/Repeater.cs:
9464 (OnDataBinding): fixed stack overflow.
9466 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9468 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9469 * RepeatInfo.cs: implemented DoHorizontalRendering.
9471 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9474 (CopyBaseAttributes): copy Attributes and don't throw exception.
9476 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9478 * ListBox.cs: mono-stylized.
9479 (AddAttributesToRender): call parent class method.
9481 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9483 * Style.cs: fixed IsEmpty and Width.
9485 * Table.cs: mono-stylized.
9486 (TableRowControlCollection.AddAt): fixed.
9487 (AddAttributesToRender): fixed.
9489 * TableCell.cs: mono-stylized.
9490 (.ctor): use PreventAutoID.
9491 (AddAttributesToRender): fixed.
9492 (AddParsedSubObject): fixed.
9494 * TableRow.cs: mono-stylized. Added
9495 ParseChildren attribute.
9498 (get_GridLine): fixed.
9500 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9502 * Panel.cs: fixed stack overflow.
9503 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
9504 and SingleConverter.
9506 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9508 * RadioButton.cs: mono-stylized and some little fixes.
9510 * TextBox.cs: mono-stylized.
9511 (MaxLength): fixed typo.
9513 (AddAttributesToRender): don't render the text between the tags for
9514 SingleLine, use value attribute for it. Don't render the text for
9517 (OnPreRender): don't throw exception and call base.OnPreRender.
9519 (Render): for MultiLine, render the text between the opening and
9520 closing tags encoded as HTML.
9522 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9525 (AddAttributesToRender): fixer another stack overflow.
9528 (TagName): modified to use TagKey instead of tagKey as the property
9531 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9533 * LinkButton.cs: mono-stylized.
9534 (AddParsedSubObject):
9535 (RenderControls): little fixes.
9538 (AddAttributesToRender): fixed usage of IEnumerator.
9540 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9542 * Literal.cs: beautified.
9544 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9546 * Label.cs: beautified and fixed a couple of 'classic' bugs.
9548 * WebControl.cs: use Span as default tag when no other provided in
9549 constructor. That is what MS renders.
9551 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9554 (AddAttributesToRender): fixed (classic) stack overflow.
9556 * CheckBox.cs: mono-stylized.
9557 (AutoPostBack): fixed stack overflow.
9558 (Render): fixed alignment issues. Also set the For attribute always
9561 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9563 * AdRotator.cs: GetData does not work as it should, but now it returns
9564 useful data (only the first ad in the file). Set the NavigateUrl
9565 property in the hyperlink if available.
9567 * HyperLink.cs: fixed constructor and a couple of stack overflows.
9569 * Image.cs: added an attribute and fixed stack overflow.
9572 (RenderBeginTag): fixed.
9573 (TagName): don't call Enum.IsDefined twice.
9575 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9577 * WebControl.cs: added attributes PersistChildrenAttribute and
9578 ParseChildrenAttribute.
9580 2002-05-24 Duncan Mak <duncan@ximian.com>
9582 * DataGridItem.cs (SetItemType): Changed function signature to
9585 * ListItemCollection.cs (this): Changes the visibility level of
9588 * Repeater.cs (OnItemCommand):
9590 (OnItemDataBound): Added necessary casts.
9592 2002-05-07 Duncan Mak <duncan@ximian.com>
9594 * Button.cs (AddAttributesToRender):
9595 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
9596 GetClientValidatedEvent method.
9598 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
9600 * Removed extra methods, corrected access modifiers to several
9603 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
9605 * <SeveralFiles>.cs - Added some attributes
9606 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
9607 methods. Will complete them later. Right now, busy with
9608 the attributes part.
9609 * RepeaterItem.cs - Completed.
9611 Oh God! Mercy! I will die applying attributes. I look at the missing
9612 part in the class-status - daemon! Kyrie eleison!
9614 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
9618 * AdRotator.cs - Added definition for Font.
9619 * BaseCompareValidator.cs - Added definition for Controls.
9620 * Calendar.cs - SelectMonthText definition corrected.
9621 * DataList.cs - Added definition for SeparatorTemplate.
9622 * BorderStyle.cs - Namespace correction. It belongs not to UI,
9623 but to UI.WebControls.
9625 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
9627 Finally, I have made it. Today I did a second build for the
9628 System.Web assembly. It compiled 195 classes today.
9629 I am waiting eagerly for the runtime to come up so that the objects
9630 may be tested to their last levels. Several of the methods are still
9631 under the tag of "TODO" throwing NotImplementedException. Well, I
9632 hope to remove them soon, but how far is this soon - even I don't
9633 know, though I am happy to make the build a success even before
9634 the vacations to come.
9636 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
9638 Yesterday and today I tried to do some building of the aseembly,
9639 but was dumped with uncoutably infinite errors. ;-)
9640 I have put the copies of the recent errors on my home page, want
9641 to have a look at them? See:
9642 http://mastergaurav.virtualave.net/mono/
9643 I don't know what to do with these errors. Oh! The buggy me! How
9644 will I overcome myself. Hopefully, by when my vacations over, I
9645 should have made a repository where the build will not fail.
9647 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
9649 I am now going to do a build that will include the
9650 System.Web.UI.WebControls namespace. Hoping that I will make it
9651 soon. My exams are coming near and I have to pack up soon.
9654 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
9657 And with this, ie, today's work, all the objects mentioned in the
9658 namespace appear in the implementation. But it may not be worth
9659 trying to go for a build because of dependence of several of the
9660 internal methods that may clash with already available assembly
9663 Also, the classes lack possible attributes, like those informing
9664 about child-controls etc. But I have to first create the attribute
9665 classes before I attach the attributes to the classes.
9667 * CustomValidator.cs - Completed. In process realized that
9668 I have to complete / rejuvinate BaseValidator class.
9669 * BaseValidator.cs - Complete rejuvination. Completed 80%
9670 of the job. All that is left is Render(HtmlTextWriter),
9671 DetermineRenderUplevel(), RegisterValidatorCommonScript()
9672 RegisterValidatorDeclaration()
9673 * DataGridPagerStyle.cs - Completed. That adds one more missle
9675 * DataKeyCollection.cs - Completed. Petty small.
9676 * Repeater.cs - Work started off. This is a quite
9678 * DataGridItemEventArgs.cs,
9679 * DataGridShortCommandEventArgs.cs,
9680 * DataListItemEventArgs.cs,
9681 * MonthChangedEventArgs.cs,
9682 * RepeaterItemEventArgs.cs,
9683 * ServerValidateEventArgs.cs,
9684 * DataGridPageChangedEventArgs.cs
9685 - Damn, I marked them "*", while they
9687 * Repeater.cs - Done all except for an undocumented
9688 method CreateControlHierarchy(bool). Though the method
9689 is quite clear by its name, but it will take some time
9690 for me to come with some material to flush in.
9692 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
9694 * SelectedDatesCollection.cs - Completed.
9695 * PagedDataSource.cs - Completed. Pathetically nice class.
9696 * RegularExpressionValidator.cs
9697 - Completed. Ridiculously small and
9698 annoyinglyc crazy-driving class, basically the method
9700 * RangeValidator.cs - Completed.
9701 * DataGridColumn.cs - Completed.
9702 * EditCommandColumn.cs - All is complete except for the
9703 InitializeCell(TableCell, int, ListItemType) method.
9704 * DataListItem.cs - All done except for a longish method
9705 RenderItem(HtmlTextWriter, bool, bool)
9707 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
9709 * RepeaterItemCollection.cs - Completed.
9710 I love *Collection classes. I am planning to make a
9711 program that will generate a *Collection class. It's so
9712 simple and the same. ;-)
9713 * DataGridColumnCollection.cs - Completed.
9714 ... except probably for *ColumnCollection classes, where
9715 you have to put in some more effort. Still, these class
9716 generation can be automated.
9717 * DataListItemCollection.cs - Completed.
9718 See, how easily, in less than a quarter of a minute, I
9719 completed this class - manually. Copy-Paste/Cut-Replace.
9721 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
9723 * DataGrid.cs - Following methods implemented:
9724 TrackViewState(), LoadViewState(object), SaveViewState(),
9725 On* -- The event raisers.
9726 OnBubbleEvent(object, EventArgs) is still incomplete.
9727 * DataGridItem.cs - Initial Implementation
9728 * DataGridItemCollection.cs - Completed.
9730 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
9732 * DataGrid.cs - Initial Implementation. Worked
9733 primarily with some properties.
9735 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
9737 * ListBox.cs - Completed. Implemented
9738 LoadPostData(string, NameValueCollection)
9739 * RequiredFieldValidator.cs - Completed. Pretty simple class.
9741 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
9743 * ListBox.cs - Implemented the following:
9744 RaisePostDataChangedEvent()
9746 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
9748 * ListBox.cs - Supports the following properties:
9749 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
9752 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
9753 RenderContents(HtmlTextWriter)
9756 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
9758 * TargetConverter.cs - Completed
9759 * TemplateColumn.cs - Completed
9760 * DataList.cs - Corrected the get-er methods for the
9761 *Style objects. Corrected the get/set-er methods for ViewState
9763 Addded support for properties:
9764 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
9765 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
9766 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
9767 SeparatorStyle, SeparatorItemTemplate.
9769 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
9770 ItemCreated, ItemDataBound, UpdateCommand.
9772 CreateControlStyle(), LoadViewState(object),
9773 SaveViewState(), TrackViewState
9775 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
9776 OnEditCommand, OnItemCommand, OnItemCreated,
9777 OnItemDataBound, OnUpdateCommand
9778 Added dummy methods for some undocumented methods:
9779 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
9780 CreateItem(int, ListItemType, bool, object),
9781 PrepareControlHierarchy(), InitializeItem(DataListItem)
9782 * ListBox.cs - Started working.
9786 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
9788 * RepeaterInfo.cs - Initial Implementation. Done all
9789 except for RepeatDirection.Vertical
9790 * TableStyle.cs - Completed
9792 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
9794 * DropDownList.cs - Completed
9795 * ListItemCollection.cs - Added method FindByValueInternal to
9796 assist in the derived classes.
9797 Discovered bug in FindByValue. Removed
9798 * UnitConverter.cs - Completed
9799 * PlaceHolder.cs - What can be simpler than this?
9800 * PlaceHolderControlBuilder.cs
9801 - Uh! Damn cool one.
9802 * RadioButtonList.cs - Initial Implementation. All is done
9803 except for the implementation of
9804 method IRepeatInfoUser.RenderItem(...)
9805 * ValidatedControlConverter.cs
9806 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
9807 * ValidationSummary.cs - Initial Implementation.
9808 * WebColorConverter.cs - Initial Implementation
9810 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9812 * FontNamesConverter.cs - Completed
9813 * FontUnitConverter.cs - Partial Implementation
9814 * ListItemControlBuilder.cs - Completed
9816 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9818 * TextBox.cs - All done except *Render* methods
9819 * TextBoxControlBuilder.cs - Completed
9820 * Xml.cs - Partial Implementation
9822 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
9824 * RadioButton.cs - Completed
9825 * TextBox.cs - Partial Implementation
9827 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
9829 * Panel.cs - Completed
9830 * TableItemStyle.cs - Completed
9832 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
9834 * TableCellCollection.cs - Completed
9835 * TableRowCollection.cs - Completed
9836 * TableHeaderCell.cs - Completed
9837 * TableRow.cs - Completed
9839 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
9841 * TableCellControlBuilder.cs - Completed
9842 * Table.cs - Completed
9843 * TableCell.cs - Completed
9845 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
9847 * CheckBoxList.cs - Completed
9848 * ButtonColumn.cs - Completed
9849 * Button.cs - Completed
9851 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
9853 * HyperLink.cs - Completed
9854 * Image.cs - Completed
9855 * ImageButton.cs - Completed
9856 * Label.cs - Completed
9857 * LabelControlBuilder.cs - Completed
9858 * LinkButton.cs - Completed
9859 * LinkButtonControlBuilder.cs - Completed
9860 * Literal.cs - Completed
9861 * LieteralControlBuilder.cs - Completed
9862 * FontUnit.cs - Completed
9865 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
9867 * Calendar.cs - Completed the functions of Render*,
9868 ViewStates (Track/View/Save),
9870 Left: RenderAllDays (partially)
9872 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
9874 * Calendar.cs - Added some more functions
9875 * Style.cs - Completed
9876 * ListItem.cs - Completed
9877 * ListItemCollection.cs - Completed
9879 Made the first successful build of System.Web.dll that included
9880 System.Web.UI.WebControls!
9882 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
9884 FontInfo.cs - Complete revamp. Completed
9886 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
9888 ListItemCollection.cs - Completed
9889 ListItem.cs - Initial Implementation
9890 Style.cs - Initial Implementation
9892 Right now I am in a total mood to do a successful build. Creating so many
9893 classes, completing classes in System.Web System.Web.UI namespaces.
9895 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
9897 TODO - Properly added
9898 CheckBox.cs - Completed
9899 BaseDataList.cs - Completed
9900 DayRenderEventArgs.cs - Completed
9901 RepeaterItem.cs - Initial implementation
9903 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
9905 BaseCompareValidator.cs - Completed
9906 AdRotator.cs - Completed
9908 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
9910 CommandEventArgs.cs - Completed
9911 DataGridCommandEventArgs.cs - Completed
9912 RepeaterCommandEventArgs.cs - Completed
9913 DataListCommandEventArgs.cs - Completed
9914 CompareValidator.cs - Partial Implementation
9916 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
9918 CheckBoxList.cs - Partial Implementation.
9921 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
9923 ListControl.cs - Completed
9925 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
9927 CheckBox.cs - Completed
9928 ListControl.cs - Initial Implementation
9929 CheckBoxList.cs - Started with it, but first needed
9930 ListControl. Left it.
9932 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
9934 CalendarDay.cs - Making a note that this
9935 has been implemented
9936 Calendar.cs - Making a note that have made some changes.
9937 Unimplmented functions throw
9938 NotImplementedException
9939 CheckBox.cs - Can now "Render" and "LoadPostData"
9942 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
9943 WebControl.cs - Total Revamp, Partial Implementation
9944 AdRotator.cs - Able to load files
9945 AdCreatedEventArgs.cs - Implemented
9947 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
9948 Calendar.cs - Initial Implementation
9949 ButtonColumn.cs - Initial Implementation
9950 Button.cs - Initial Implementation
9951 BoundColumn.cs - Initial Implementation
9952 BaseCompareValidator.cs - Minor Changes
9953 DataList.cs, BaseValidator.cs, BaseDataList.cs
9954 - Added more functions, other changes
9956 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
9957 WebControl.cs - Initial Implementation
9958 DataList.cs - Initial Implementation
9959 BaseValidator.cs - Initial Implementation
9960 BaseDataList.cs - Initial Implementation
9962 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
9964 AdCreatedEventArgs.cs - Initial Implementation
9965 AdCratedEventHandler.cs - Implemented
9966 AdRotator.cs - Initial Implementation
9967 BorderStyle.cs - Implemented
9968 ButtonColumnStyle.cs - Implemented
9969 CalendarSelectionMode.cs - Implemented
9970 DayNameFormat.cs - Implemented
9971 FirstDayOfWeek - Implemented
9972 FontInfo.cs - Partial Implementation
9973 FontSize.cs - Implemented
9974 GridLines.cs - Implemented
9975 HorizontalAlign.cs - Implemented
9976 HyperLink.cs - Initial Implementation
9977 ImageAlign.cs - Implemented
9978 IRepeatInfoUser.cs - Implemented
9979 ListItemType.cs - Implemented
9980 ListSelectionMode.cs - Implemented
9981 NextPrevFormat.cs - Implemented
9982 PagerMode.cs - Implemented
9983 PagerPosition.cs - Implemented
9984 RepeatDirection.cs - Implemented
9985 RepeatLayout.cs - Implemented
9986 TextAlign.cs - Implemented
9987 TextBoxMode.cs - Implemented
9988 TitleFormat.cs - Implemented
9989 UnitType.cs - Implemented
9990 ValidationCompareOperator.cs
9992 ValidationDataType.cs - Implemented
9993 ValidationSummaryDisplayMode.cs
9995 ValidatorDisplay.cs - Implemented
9996 VerticalAlign.cs - Implemented
10000 i/ File Created 2001-11-13