1 2010-07-16 Marek Habersack <mhabersack@novell.com>
3 * Login.cs: implemented RenderOuterTable (4.0)
5 * FormViewRow.cs: added internal property RenderJustCellContents
6 which makes the control render only its children (4.0)
8 * FormView.cs: implemented RenderOuterTable property and the
9 ModifiedOuterTableStylePropertyName method (4.0)
11 2010-07-15 Marek Habersack <mhabersack@novell.com>
13 * WebControl.cs: implemented verifying that no inline style
14 property is set for controls which support the RenderOuterTable
17 * IRenderOuterTable.cs: internal helper interface for controls
18 which support the RenderOuterTable property (for now only
19 ChangePassword, 3 more to come)
21 * ChangePassword.cs: implemented RenderOuterTable property and the
22 corresponding behavior of not rendering surrounding table when the
23 property is set to false (4.0).
24 Modified BaseChangePasswordContainer to not inherit from Table
25 anymore. Table is an instance variable (always used as the
26 template container in 2.0) which is optionally (and by default)
27 used to contain the templates.
29 * PlaceHolder.cs, View.cs, WizardStepBase: added EnableTheming
32 * MultiViewControlBuilder.cs: added
34 2010-07-14 Marek Habersack <mhabersack@novell.com>
36 * Menu.cs: fixed skip link rendering (no child controls are added
37 in the process, writing directly to HtmlTextWriter). Fixes tests
39 If StaticSubMenuIndent equals Unit.Empty on 4.0, default to using
40 16px as the value of the margin-left CSS attribute.
42 2010-07-13 Marek Habersack <mhabersack@novell.com>
44 * BoundField.cs: implemented HtmlEncodeFormatString property
45 (3.5+) and modified the way FormatDataValue works accordingly.
47 * ListBox.cs, CheckBoxList.cs, ListControl.cs: VerifyMultiSelect
48 is not part of the official API. MultiSelect capability validation
49 is performed using an internal virtual method MultiSelectOk ().
51 * BaseDataList.cs: OnPagePreLoad is not part of the official API
53 * BaseDataBoundControl.cs, BaseDataList.cs, DataListItem.cs,
54 ValidationSummary.cs: implemented 4.0 SupportsDisabledAttribute
57 * Wizard.cs: wizard table doesn't contain any instances of
58 HtmlAnchor or Image controls. Moved rendering of the skip link
59 anchor to the TableCellNamingContainer class, which does that in
60 RenderChildren by directly writing to the passed writer. Fixes 4.0
61 rendering and all the failing Wizard tests.
63 2010-07-08 Marek Habersack <mhabersack@novell.com>
65 * CheckBoxList.cs: RepeatLayout property update for new values of
66 the RepeatLayout enum in 4.0
68 * TreeView.cs: in 4.0, checkbox renders the value of the current
69 node's ToolTip, if anything, and not Text.
71 * RepeatLayout.cs: added two new members, UnorderedList and
74 * ImageMap.cs: implemented missing Enabled property (2.0+)
75 RaisePostBackEvent must be protected and virtual (2.0+)
76 NavigateUrl is ignored if the control is disabled (4.0)
78 2010-07-07 Marek Habersack <mhabersack@novell.com>
80 * TreeView.cs: 4.0 rendering changes.
81 When using registered CSS classes, the node style must use them in
84 2010-07-06 Marek Habersack <mhabersack@novell.com>
86 * HyperLink.cs: the associated image is not rendered using the
89 2010-07-02 Marek Habersack <mhabersack@novell.com>
91 * Menu.cs: 4.0 API updates.
93 * GridView.cs: implemented 4.0 properties -
94 SortedAscendingCellStyle, SortedAscendingHeaderStyle,
95 SortedDescendingCellStyle, SortedDescendingHeaderStyle,
96 ClientIDRowSuffix, ClientIDRowSuffixDataKeys, ShowHeaderWhenEmpty
97 along with associated rendering changes.
99 * DetailsView.cs, FormView.cs, GridView.cs: 4.0 API changes -
100 renamed ShowPage to SetPageIndex and made it public.
101 Added 4.0 interfaces to inheritance list and implemented them.
103 * DataKeyArray.cs: added internal constructor which accepts IList
104 instead of ArrayList. Changed the 'keys' field type to IList.
106 * ContainedTable.cs: the 'id' attribute must be rendered last.
108 * CheckBox.cs, CheckBoxList.cs, SiteMapPath.cs, Table.cs,
109 TableStyle.cs, TextBox.cs, WebControl.cs: 4.0 rendering changes.
111 * Calendar.cs, CompositeControl.cs, DropDownList.cs, HyperLink.cs,
112 Image.cs, ImageButton.cs, Label.cs, LinkButton.cs, LoginName.cs,
113 Panel.cs, Table.cs, TableCell.cs, TableRow.cs:
114 added new 4.0 property, SupportsDisabledAttribute.
116 2010-06-21 Marek Habersack <mhabersack@novell.com>
118 * BaseValidator.cs, BulletedList.cs, Calendar.cs, CheckBox.cs,
119 CheckBoxList.cs, DataGrid.cs, DropDownList.cs, GridView.cs,
120 HyperLink.cs, ImageButton.cs, LinkButton.cs, ListBox.cs,
121 ListControl.cs, Menu.cs, RadioButton.cs, RadioButtonList.cs,
122 RepeatInfo.cs, Repeater.cs, TextBox.cs, TreeView.cs,
123 ValidationSummary.cs, WebControl.cs: use WebControl.IsEnabled
124 instead of Enabled wherever necessary.
126 2010-06-16 Marek Habersack <mhabersack@novell.com>
128 * FormView.cs: row values must be retrieved with inclusion of
129 keys. Fixes bug #607722
131 2010-06-03 Marek Habersack <mhabersack@novell.com>
133 * Parameter.cs, ControlParameter.cs, SessionParameter.cs,
134 CookieParameter.cs, FormParameter.cs, ProfileParameter.cs,
135 QueryStringParameter.cs: Evaluate is 'protected internal virtual'
138 * RouteParameter.cs: implemented.
140 2010-04-28 Marek Habersack <mhabersack@novell.com>
142 * CheckBoxList.cs: do not modify list item status in LoadPostData
143 when the list control is disabled.
144 If an item is selected and it was unchecked by the user, deselect
145 it. Fixes bug #600415
147 2010-04-13 Marek Habersack <mhabersack@novell.com>
149 * GridView.cs: make sure Header and Footer visibility are set when
150 binding the data. Fixes bug #595567
152 * ImageField.cs, CheckBoxField.cs: OnDataBindField must expect
153 sender to be something else than DataControlFieldCell. Fixes bug
156 2010-04-07 Marek Habersack <mhabersack@novell.com>
158 * FormParameter.cs, CookieParameter.cs, ProfileParameter.cs,
159 QueryStringParameter.cs, SessionParameter.cs: implemented
160 constructor overloads which take DbType as one of the arguments.
162 2010-04-01 Marek Habersack <mhabersack@novell.com>
164 * FormView.cs: do not show the pager if PagerSettings.Visible is
165 false. Fixes bug #578863
167 2010-03-29 Marek Habersack <mhabersack@novell.com>
169 * GridView.cs: main table must be created and added to the
170 controls collection before any OnRowCreated event is fired.
172 2010-03-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
174 * TreeView.cs: use enums instead of strings for attributes.
176 2010-03-06 Marek Habersack <mhabersack@novell.com>
178 * XmlDataSource.cs: reload document when one of Data, DataFile,
179 Transform or TransformFile properties is set. Fixes bug
180 #585968. Fix based on patch from Jeffrey Alvarez
181 <kuritsu@gmail.com>, thanks.
183 2010-02-19 Marek Habersack <mhabersack@novell.com>
185 * SqlDataSource.cs: call base.OnInit in OnInit. Fixes bug #572781
187 2010-02-18 Marek Habersack <mhabersack@novell.com>
189 * ListItemCollection.cs: ItemsEnabled and associated code removed
190 - there's no need to alter ListItem's Enabled property when
193 * ListControl.cs: SaveViewState doesn't set the items collection's
194 ItemsEnabled property as it was removed from ListItemCollection
196 * CheckBoxList.cs: LoadPostData never unselects any item. A better
198 RenderItem renders items as disabled when Enabled is false, but if
199 Enabled is true, item is rendered according to the value of its
200 own Enabled property. Fixes bug #578770
202 * TreeView.cs: RegisterStyle must copy CssClass in addition to
203 other style properties. Fixes bug #580692
205 2010-01-18 Marek Habersack <mhabersack@novell.com>
207 * Parameter.cs: added missing 3.5 APIs - constructors taking
208 DbType as one of the parameters, ConvertDbTypeToTypeCode,
209 ConvertTypeCodeToDbType and GetDatabaseType. Fixes bug #567850
211 2010-01-15 Marek Habersack <mhabersack@novell.com>
213 * ChangePassword.cs: BaseChangePasswordContainer forwards
214 EnsureChildControls call to its owner, so that finding controls in
215 the container works correctly.
217 2009-11-30 Marek Habersack <mhabersack@novell.com>
219 * WebControl.cs: HasAttributes made available as internal for 1.1
220 Avoid calling the Attributes getter many times in
222 If TrackViewState is called and attributes state bag already
223 exists, mark all items in the latter as dirty.
225 * CheckBox.cs, Button.cs, ImageButton.cs, LinkButton.cs: do not
226 create the Attributes collection if not necessary.
228 2009-11-16 Marek Habersack <mhabersack@novell.com>
230 * TreeNodeCollection.cs: whenever a node is added, let the owner
233 * TreeNode.cs: added internal property HadChildrenBeforePopulating
234 which is used to let TreeView know about an error condition where
235 a populate-on-demand node contains children added outside the
236 OnTreeNodePopulate event
238 * TreeView.cs: if a node has any child nodes and PopulatOnDemand
239 is set, throw an exception from RenderNode. This is the behavior
242 2009-11-13 Marek Habersack <mhabersack@novell.com>
244 * TableRowCollection.cs: added .NET compatibility NREX throws to
246 Whenever a row is added/removed, its Container property is
247 set. Fixes bug #551666
249 * TableRow.cs: introduced an internal property, Container, which
250 is set by TableRowCollection whenever this row is added/removed
251 to/from the collection. This allows the row to notify the
252 collectio and, in consequence, collection owner that TableSection
253 has been set and thead/tbody/tfoot elements need to be
254 generated. Fixes bug #551666
256 2009-11-10 Marek Habersack <mhabersack@novell.com>
258 * PasswordRecovery.cs:
259 {Question,Success,UserName}TemplateContainer must all be populated
260 the first time the property is accessed, so that calling
261 FindControl on the container returns valid and expected
262 results. If the associated template is not defined, though,
263 populating is postponed till CreateChildControls is called -
264 that's where default, empty, template will be created. This is
265 required to fix YetAnotherForum's password recovery control.
266 Mail template used in SendPasswordByMail must match the one used
267 in .NET (it has to end with a newline) as YAF parses the message
268 to retrieve user name and password and breaks if the last line
269 doesn't end with a newline character.
271 2009-10-30 Marek Habersack <mhabersack@novell.com>
273 * PasswordRecovery.cs: mail message replacements should include <%
274 Password %> and <% UserName %> and matching should be
275 case-insensitive. Fixes bug #545370
277 2009-10-28 Marek Habersack <mhabersack@novell.com>
279 * ListControl.cs: OnDataBinding must call base implementation
280 before performing the binding, so that DataSource can be assigned
281 from within the handler.
283 2009-10-13 Marek Safar <marek.safar@novell.com>
285 * WebColorConverter.cs: Delegate ConvertFrom to
286 ColorTranslator.FromHtml, it is correctly implemented and knows
289 2009-10-13 Marek Habersack <mhabersack@novell.com>
291 * WebColorConverter.cs: don't use a dictionary to check for valid
292 color names, use Color.IsKnownColor instead. Update for bug
294 Added more CSS2 color name mappings.
296 2009-10-12 Marek Habersack <mhabersack@novell.com>
298 * WebColorConverter.cs: when converting from color name, check if
299 the returned color's name is a member of the
300 System.Drawing.KnownColor enumeration to test for error condition,
301 as some colors might be #000000. Preserve the old error check as a
303 Map "captiontext" and "background" color names to
304 "ActiveCaptionText" and "Desktop", respectively, before passing
305 them to Color.FromName (). Fixes bug #546173
307 2009-10-02 Marek Habersack <mhabersack@novell.com>
309 * GridView.cs: added two 3.5 properties - SelectedPersistedDataKey
310 and IPersistedSelector.DataKey.
312 * BaseDataBoundControl.cs: slight optimizations to FindDataSource
314 2009-09-28 Marek Habersack <mhabersack@novell.com>
316 * DataBoundControl.cs: Initialize sets RequiresDataBinding
317 properly, only when we're not data-bound already, when we aren't
318 in postback or when we are in postback, but with viewstate
319 enabled. Fixes bug #542076
321 2009-09-01 Marek Habersack <mhabersack@novell.com>
323 * ObjectDataSourceView.cs: ExecuteSelect must call
324 QueryTotalRowCount after executing the select method (that's what
327 2009-08-25 Marek Habersack <mhabersack@novell.com>
329 * WebColorConverter.cs: inform the user that the might need to
330 check if libgdiplus is installed when parsing a color name
331 fails. Fixes bug #533749
333 2009-08-21 Marek Habersack <mhabersack@novell.com>
335 * Menu.cs: separator image is rendered next to the item in
336 horizontal layout and is preceeded by 3px spacer (unless
337 itemSpacing is set) to make output match .NET. Fixes bug #474716
339 * TreeNodeCollection.cs: {Save,Load}ViewState now store/load the
340 type of the node, if node is a of a custom type. Fixes bug #475997
342 2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
344 * Parameter.cs: add new DbType property.
346 2009-06-16 Marek Habersack <mhabersack@novell.com>
348 * IPersistedSelector.cs: removed AspNetHostingPermission
349 attributes from the 4.0 profile.
351 * IDataBoundControl.cs, IDataBoundItemControl.cs,
352 IDataBoundListControl.cs, IFieldControl.cs: added
354 * DetailsView.cs: control implements 4.0 IDataBoundItemControl
357 * DataBoundControl.cs: implemented 4.0 property DataSourceObject
358 (internal for 2.0) and made the InternalPerformDataBinding method
359 internal for the 4.0 profile.
361 2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
363 * ContentControlBuilderInternal.cs: detect missing
364 ContentPlaceHolderID attribute when parsing instead of throwing a
367 2009-05-29 Marek Habersack <mhabersack@novell.com>
369 * ListItem.cs: when tracking view state is turned on after
370 attributes have been set, make sure that the associated state bag
371 begins tracking state and that all of its existing items are
372 marked as dirty. Do the same after loading view state. Fixes bug
375 2009-04-29 Marek Habersack <mhabersack@novell.com>
377 * DataBoundControl.cs: added InternalGetDataSource method, used by
380 2009-04-28 Marek Habersack <mhabersack@novell.com>
382 * GridView.cs: implemented ColumnsGenerator and enabled its use in
385 * DetailsView.cs: implemented the RowsGenerator property and
386 enabled its use in CreateFieldSet.
388 2009-04-07 Marek Habersack <mhabersack@novell.com>
390 * TreeView.js: removed nodeText parameter from the JS calls.
392 * TreeView.cs: encode | characters into U+007C, so that
393 RaiseCallbackEvent doesn't get confused.
394 Removed nodeText parameter from the JS calls.
396 2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
398 * TreeNode.cs: reset the path data for all child nodes too.
399 * TreeView.cs: HtmlAttribute encode the node text. When rebuilding the
400 node tree, set the correct index for the nodes so that the Path is
403 2009-04-06 Marek Habersack <mhabersack@novell.com>
405 * TreeView.js: TreeView_ToggleExpand now takes more parameters - a
406 full definition of treeview's node contents.
407 Added new function, TreeView_PopulateNode, which partially takes
408 over role of the PopulateNode function generated in
409 TreeView.OnPreRender (see below). Fixes bug #492307
411 * TreeView.cs: RaiseCallbackEvent needs to recreate the event
412 target's parental tree all the way from the root to the node and
413 populate only the leaf (requested) node. This avoids calling the
414 TreeNodePopulate handler more times than needed. Fixes bug #492307
415 OnPreRender: moved the script code to constants and the script
416 body is now generated using StringBuilder instead of a series of
418 GetClientExpandEvent: adjusted code for new TreeView JavaScript
421 2009-03-17 Marek Habersack <mhabersack@novell.com>
423 * Unit.cs: introduced a field to tell the difference between empty
424 (as in Unit.Empty) and 0px units.
426 2009-03-06 Marek Habersack <mhabersack@novell.com>
428 * WebControl.cs: if savedState is not an instance of Pair in
429 LoadViewState, do not attempt to load from it.
431 2009-02-10 Marek Habersack <mhabersack@novell.com>
433 * ImageButton.cs: AddAttributesToRender renders the onclick
434 attribute only if any of the following is true:
435 - OnClientClick is not empty
436 - Validation is enabled for the control
437 - PostBackUrl is used
438 PostBackOptions now indicate that control requires the javascript
439 protocol for the handler.
440 RaisePostBackEvent passes String.Empty as the argument.
443 2009-02-09 Marek Habersack <mhabersack@novell.com>
445 * ObjectDataSourceView.cs: ExecuteSelect returns a single-item
446 array of objects containing the result, if the result isn't one of
447 DataSet, DataTable or IEnumerable. Fixes bug #471767
449 2009-02-06 Marek Habersack <mhabersack@novell.com>
451 * Style.cs: if CssClass is null, return String.Empty. Fixes bug
453 Added a range check to the BorderStyle property.
455 2009-02-05 Marek Habersack <mhabersack@novell.com>
457 * Login.cs: check the value of DisplayRememberMe when creating
458 the child controls. Fixes #468359
460 2009-01-20 Marek Habersack <mhabersack@novell.com>
462 * Substitution.cs: added. Fixes bug #467460
464 2009-01-13 Marek Habersack <mhabersack@novell.com>
466 * XmlBuilder.cs: updates related to ControlBuilder cleanup.
468 2008-12-01 Marek Habersack <mhabersack@novell.com>
470 * Style.cs: WriteStyleAttributes must not use the fontinfo field
471 directly, it has to be done via the Font property. Fixes bug
474 2008-11-15 Marek Habersack <mhabersack@novell.com>
476 * ContentPlaceHolder.cs, Content.cs, FormViewPagerRow.cs,
477 ChangePassword.cs, DetailsViewPagerRow.cs: implements
478 INonBindingContainer interface.
480 * Wizard.cs: implement INonBindingContainer interface for several
481 private/internal classes.
483 2008-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
485 * ImageButton.cs: clicking an image causes a postback.
488 2008-10-24 Marek Habersack <mhabersack@novell.com>
490 * CheckBox.cs: register for event validation in Render ().
492 2008-10-21 Marek Habersack <mhabersack@novell.com>
494 * XmlDataSource.cs: DataFile may be an URL.
496 2008-10-17 Marek Habersack <mhabersack@novell.com>
498 * ImageMap.cs: added the SupportsEventValidation attribute to the
500 Validate the event in RaisePostBackEvent ().
501 Register for event validation in Render ().
503 * DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().
505 * TextBox.cs: validate the event in LoadPostData ().
506 Register for event validation in AddAttributesToRender ().
508 * HiddenField.cs: validate the event in RaisePostDataChangedEvent.
509 Register for event validation in Render ().
511 * RadioButton.cs: validate the event in LoadPostData ().
512 Register for event validation in InternalAddAttributesToRender.
514 * CheckBox.cs, RadioButtonList.cs: validate the event in
515 RaisePostDataChangedEvent.
517 * Menu.cs: added the SupportsEventValidation attribute to the
519 Validate the event in RaisePostBackEvent ().
520 Register for event validation in GetClientEvent ().
522 * DetailsView.cs, GridView.cs: validate the event in
523 RaisePostBackEvent ().
524 Register for validation in GetCallbackScript () and in OnPreRender
526 * Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
527 ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().
529 2008-10-14 Marek Habersack <mhabersack@novell.com>
531 * CompositeDataBoundControl.cs: renamed the itemcount ViewState
532 item from "_ItemCount" to "_!ItemCount" for .NET
533 compatibility. This item is accessed and used by some commercial
536 * DataBoundControl.cs: OnPagePreLoad must force databinding also
537 when the request is not a postback.
539 2008-10-13 Marek Habersack <mhabersack@novell.com>
541 * Table.cs, TableRowCollection.cs, TableRow.cs: render table
542 sections when necessary. Fixes bug #434555
544 2008-10-08 Marek Habersack <mhabersack@novell.com>
546 * ControlParameter.cs: Evaluate calls DataBinder.Eval to do the
547 evaluation now. This makes it support complex expressions.
549 2008-09-30 Sebastien Pouliot <sebastien@ximian.com>
551 * RoleGroupCollection.cs: Fix recursive calls (wrong target)
552 [Found using Gendarme's BadRecursiveInvocationRule]
554 2008-09-28 Sebastien Pouliot <sebastien@ximian.com>
556 * XmlDataSource.cs: Make sure the result of the multiplication is a
557 long (not an integer casted into a long since it could overflow).
558 [Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
560 2008-09-17 Juraj Skripsky <js@hotfeet.ch>
562 * RadioButton.cs (ValueAttribute, LoadPostData): Fixes bug #426959.
564 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
566 * IPersistedSelector.cs : new in 3.5 SP1.
568 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
570 * DataBoundControlMode.cs : new 3.5 SP1 type.
572 2008-08-25 Marek Habersack <mhabersack@novell.com>
574 * DataBoundControl.cs: set RequiresDataBinding to true in
575 Initialize only if not in a postback, if not data bound and if the
576 view state is enabled. Fixes bug #398318
577 UpdateViewData removes the OnDataSourceViewChanged handler before
578 connecting to the datasource and restores it before returning to
580 OnLoad gets the data source before initialization, to avoid
581 premature OnDataSourceViewChanged triggers. Fixes bug #398318
582 Do not reconnect to the data source if we already have a valid one.
584 2008-08-18 Marek Habersack <mhabersack@novell.com>
586 * Unit.cs: rewrote the unit parser in a slightly slower, but more
587 correct, way. Fixes bug #417502
589 2008-07-28 Marek Habersack <mhabersack@novell.com>
591 * TreeView.cs: when TreeView is displaying a site map and there is
592 no node selected by the user, select the node corresponding to the
593 current page, if any.
595 2008-07-24 Marek Habersack <mhabersack@novell.com>
597 * DataGrid.cs: removed the private class TableID and moved its
598 code to ChildTable.cs (see below). 2.0 instantiates teh ChildTable
599 with the owner parameter now. Fixes bug #400377
601 * ChildTable.cs: refactoring - moved code from TableID previously
602 defined in DataGrid.cs to here and made the class available under
603 different names for both 1.x and 2.x profiles. Fixes bug #400377
605 * MailDefinition.cs: look for the mail body file in the correct
606 path. Patch from Jackson Harper <jaharper@novell.com>,
607 thanks! Fixes bug #408699
609 * PasswordRecovery.cs: do not ask password recovery question if
610 it's disabled. Patch from Jackson Harper <jaharper@novell.com>,
611 thanks! Fixes bug #408696
613 2008-07-16 Marek Habersack <mhabersack@novell.com>
615 * XmlDataSource.cs: check if Page isn't null before stringifying
616 it in GetDataKey (), fixes bug #409492
618 2008-07-13 Roei Erez <roeie@mainsoft.com>
620 * GridView.cs: When the RowDataBound event is invoked, the value
621 of GridView1.DataKeys should contains all the keys up untill the
622 current row, and not be empty.
623 I only changed the order of the user event invocation and the addition
626 2008-07-13 Roei Erez <roeie@mainsoft.com>
628 * TreeView.cs: In case of multiple tree node bingings, select
629 The first one and not the last one.
631 2008-07-10 Roei Erez <roeie@mainsoft.com>
633 * HyperlinkField.cs: Changed behavior of HyperLinkField bound field key
634 to be case insensitive.
636 2008-07-03 Marek Habersack <mhabersack@novell.com>
638 * CheckBox.cs: do not render the language="javascript" attribute
641 2008-07-02 Marek Habersack <mhabersack@novell.com>
643 * GridView.cs: minor optimizations (removed a foreach loop,
644 replaced calls to Array.Length with a variable containing the
647 2008-06-30 Marek Habersack <mhabersack@novell.com>
649 * ObjectDataSourceView.cs, Menu.cs, DataList.cs,
650 CustomValidator.cs: hush the warnings
652 2008-06-10 Noam Lampert <noaml@mainsoft.com>
654 * ListItemCollection.cs: Provide viewstate for dirty collection even if it is empty.
656 2008-05-30 Marek Habersack <mhabersack@novell.com>
658 * BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
659 DataControlFieldCollection.cs, DataControlField.cs,
660 PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
661 event accessors (to avoid locks).
663 2008-05-18 Marek Habersack <mhabersack@novell.com>
665 * HierarchicalDataBoundControl.cs: Modified GetData method to check if
666 DataSource implements IHierarchicalEnumerable and if so constructs and
667 returns a new instance of ReadOnlyDataSourceView. This provides functional
668 compatibility with the Microsoft.NET framework. Fixes bug
669 #395209. Patch contributed by James Fitzsimons
670 <james.fitzsimons@gmail.com>, thanks!
672 2008-05-06 Marek Habersack <mhabersack@novell.com>
674 * Calendar.cs: do not create dateInfo in the constructor - culture
675 might be not set yet at this point. Fixes bug #323566
676 Added a private property, DateInfo, which creates the dateInfo
679 2008-05-05 Sebastien Pouliot <sebastien@ximian.com>
681 * BulletedList.cs: Avoid calling ToString on a string.
682 * ButtonField.cs: Throw, not just create, the exceptions.
683 * HyperLinkField.cs: Throw, not just create, the exceptions.
684 * ImageField.cs: Throw, not just create, the exception. Avoid calling
685 ToString on a string.
686 * ListControl.cs: Avoid calling ToString on a string.
687 [All issues were found using Gendarme]
689 2008-04-30 Marek Habersack <mhabersack@novell.com>
691 * SiteMapDataSource.cs: when no starting node is found, return
692 null instead of Provider.RootNode. Fixes bug #323994
694 2008-04-24 Marek Habersack <mhabersack@novell.com>
696 * SqlDataSource.cs: raise the DataSourceChangedEvent when setting
697 ConnectionString, ProviderName or DataSourceMode properties only
698 when the new value differs from the old one. Fixes bug #359392
700 2008-04-16 Marek Habersack <mhabersack@novell.com>
702 * ObjectDataSourceView.cs: ExecuteSelect should return an empty
703 aray when no data has been retrieved from the specified source
704 type. Fixes bug #380106
706 2008-04-15 Marek Habersack <mhabersack@novell.com>
708 * MailDefinition.cs: dispose of streams the way it should
711 2008-04-10 Marek Habersack <mhabersack@novell.com>
713 * RadioButton.cs: adjust 'name' and 'value' attribute values to
714 match MS.NET. Fixes bug #378024
716 * CheckBoxList.cs: set the Selected property to the value in POST
717 data only if the item in question was enabled before postback
718 occurred. Fixes bug #377703
720 * ListControl.cs: make sure the owned items' Enabled property is
721 set to the same value what ListControl's. Fixes bug #377703
723 * ListItemCollection.cs: fixed SetDirty to store the index of the
724 last dirtied item properly. Fixes bug #377703
725 For the 2.0 profile, set the ListItem instances Enabled property
726 to the value of the owning ListControl (internal ItemsEnabled
727 property was added to make it possible). Fixes bug #377703
729 2008-04-08 Dean Brettle <dean@brettle.com>
731 * DataBoundControl.cs (InternalPerformDataBinding),
732 HierarchicalDataBoundControl.cs (InternalPerformDataBinding),
733 WebControl.cs (Render): fixed cast errors when a ControlAdapter
734 that wasn't of the type corresponding to the control was used.
736 2008-04-03 Marek Habersack <mhabersack@novell.com>
738 * DataList.cs: use the value of SelectedIndex, not selectedIndex,
739 to return the key value in the SelectedValue property. Fixes bug
740 #376519. Patch from Sergey Kuleshov <svyatogor@gmail.com>, thanks!
742 2008-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
744 * AutoGeneratedField.cs, CheckBoxField.cs: fixed OnDataBindField,
745 should hide checkbox only if DataItem is not defined
747 2008-03-09 Dean Brettle <dean@brettle.com>
749 * DetailsView.cs, ListControl.cs, DataBoundControl.cs,
750 FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs:
751 added support for using ControlAdapters when present.
753 * WebControl.cs: fixed implementation of IsEnabled to match
756 * Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of
757 RenderMenuItem() if an adapter is present. MenuAdapter.RenderItem()
758 calls back to new Menu.RenderItem() internal method which calls
759 RenderMenuItem() with the appropriate parameters.
761 2008-02-25 Igor Zelmanovich <igorz@mainsoft.com>
764 at Update and Delete use not read only coppies of dictionaries
765 in event argumens, that allows user to change them before corresponding
766 DataSource's method is called.
768 2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>
770 * Login.cs: render id attribute of root element correctly.
772 2008-02-18 Marek Habersack <mhabersack@novell.com>
774 * FormView.cs: the ItemCreated must be fired before data is bound
775 to the FormView. Fixes bug #360434
777 2008-02-07 Igor Zelmanovich <igorz@mainsoft.com>
779 * Login.cs: render id attribute of root element correctly.
781 2008-02-05 Marek Habersack <mhabersack@novell.com>
783 * FileUpload.cs: make sure FileContent always returns the input
784 stream positioned at the beginning. Fixes bug #356846
786 2008-01-31 Igor Zelmanovich <igorz@mainsoft.com>
788 * Calendar.cs: resolve Next/Prev. month link date correctly.
790 2008-01-29 Igor Zelmanovich <igorz@mainsoft.com>
792 * TreeView.cs: add XPFileExplorer icon set.
794 2008-01-28 Igor Zelmanovich <igorz@mainsoft.com>
796 * Menu.js: dynamic nodes are positioned after hover style of
797 parent node is applied.
799 2008-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
801 * DataSourceCacheManager.cs: fixed GetKeyFromParameters, incase more
802 than one datasource using the same object with the same select method
804 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
806 * ValidationSummary.cs:
807 refactoring: If page contents instance of IScriptManager, it calls
808 it's API instead Page.ClientScript.
810 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
812 * Menu.cs: fixed rendering.
814 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
817 manage history state on "MovePrevious" action.
819 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
822 resolve BulletImageUrl,
823 register for event validation.
825 2008-01-13 Igor Zelmanovich <igorz@mainsoft.com>
829 upgrade client side script due to changes in webform.js.
831 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
833 * BaseCompareValidator.cs:
835 * CompareValidator.cs:
836 * CustomValidator.cs:
838 * RegularExpressionValidator.cs:
839 * RequiredFieldValidator.cs:
840 refactoring: If page contents instance of IScriptManager, validators call
841 it's API instead Page.ClientScript.
843 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
848 for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
849 in GetPostBackOptions.
851 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
853 * DetailsView.cs: render invisible rows correct.
855 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
857 * DataControlField.cs: prevent infinite recursion
859 2008-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
861 * DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding
864 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
866 * DataSourceCacheManager.cs: fixed SetCachedObject, fixed
869 2007-12-24 Igor Zelmanovich <igorz@mainsoft.com>
871 * TreeView.cs: revert changes from r91230
873 2007-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
875 * ListControl.cs: fixed Load/SaveViewState, removed selected indices
877 * ListItem.cs: fixed Load/SaveViewState, added selected state storing
878 * ListItemCollection.cs: fixed Load/SaveViewState, added flag to not
879 rebuild the collection if was'nt changed
881 2007-12-13 Marek Habersack <mhabersack@novell.com>
883 * Menu.cs, TreeView.cs: optimize use of String.Format in
885 Speed optimization - use String.Concat instead of String.Format in
888 * GridView.cs, DetailsView.cs: optimize use of String.Format in
891 * CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
892 WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
893 ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
894 optimization - use String.Concat instead of String.Format in some cases.
896 2007-12-13 Vladimir Krasnov <vladimirk@mainsoft.com>
898 * Menu.cs: fixed rendering without head tag on page
900 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
902 * Calendar.cs: performance optimizations:
903 BuildLink fixed, StringBuilder used.
904 TodaysDate DateTime.Today call cahced.
906 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
908 * Unit.cs: performance optimization: ToString fixed, string.Concat used
909 instead of string.Format
911 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
913 * Style.cs: performance optimization: suppress finalizer added
915 2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>
919 evaluate bound value using ThisExpession ("!") properly
921 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
923 * WebControl.cs: enabled state restored properly.
925 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
928 refactoring for NET_2_0:
929 Text is removed from view state in case of need at SaveViewState phase.
931 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
934 SelectedValue/SelectedIndex is set during DataBinding always.
936 2007-11-06 Marek Habersack <mhabersack@novell.com>
938 * DataGrid.cs: add RenderTable before the DataGridItems, so that
939 numbering of children is the same what on MS.NET.
940 If there are any data items, require a postback script.
943 * ChildTable.cs: removed DOS EOLs.
945 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
948 does not perform authentication if Page.IsValid returns false;
949 the fix makes control works with disabled client side validation.
951 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
954 state of DataList.Items are restored correct on PostBack
955 such Items.Count and ItemType.
957 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
960 validator is rendered correct if EnabledClientClient is false.
962 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
964 * Image.cs: fixed management state of Enabled property.
965 * WebControl.cs: refactoring in management state of Enabled property.
967 2007-10-23 Marek Habersack <mhabersack@novell.com>
969 * ListBox.cs, Table.cs: use Render{Begin,End}Tag
970 instead of the Write* counterparts when rendering contents.
972 2007-10-18 Marek Habersack <mhabersack@novell.com>
974 * Menu.js: a workaround for an IE bug. IE recalculates element's
975 offsetWidth when the element's _height_ is set - which in case of
976 elements with overflowing content results in a value that's just
977 slightly smaller than the client window width. In effect, a long
978 submenu will also be very wide, which isn't desirable. Fixes bug
981 2007-10-15 Marek Habersack <mhabersack@novell.com>
983 * ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
986 * BulletedList.cs: html encode the item text. Fixes bug #333550.
988 2007-10-01 Marek Habersack <mhabersack@novell.com>
990 * ListItem.cs: make HasAttributes available for the 1.1 profile as
993 * DropDownList.cs: render custom ListItem attributes in the 1.1
994 profile. Fixes bug #326288
996 2007-09-27 Marek Habersack <mhabersack@novell.com>
998 * Button.cs: added missing OnPreRender method.
1000 2007-09-25 Marek Habersack <mhabersack@novell.com>
1002 * WebControl.cs: added an internal method, BuildScriptAttribute,
1003 which merges the specified JavaScript code in an attribute, with
1004 the value of that attribute specified by the user.
1006 * CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
1007 preserve user-specified attribute value, if present.
1009 * ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
1010 after doing its job. AutoPostBack handling makes sure to preserve
1011 user-specified attribute value, if present. Fixes bug #327816.
1013 2007-09-21 Marek Habersack <mhabersack@novell.com>
1015 * ListItem.cs: don't save StateBag in the control state - the
1016 class is not serializable and therefore ObjectStateFormatter
1017 cannot convert it. Instead have the sb object save its own state
1018 and store the returned value. Fixes bug #326288.
1020 2007-09-20 Marek Habersack <mhabersack@novell.com>
1022 * LoginView.cs: implemented RoleGroups support. Fixes bug
1025 2007-09-19 Marek Habersack <mhabersack@novell.com>
1027 * GridView.cs: copy attributes from GridView to the child table,
1028 as this is where the rendering takes place. Fixes bug #326309.
1030 2007-09-18 Marek Habersack <mhabersack@novell.com>
1032 * Calendar.cs: correctly apply day cell style. Fixes bug #315903
1034 2007-09-17 Marek Habersack <mhabersack@novell.com>
1036 * Calendar.cs: style attribute value must be enclosed in quotes.
1038 * TableStyle.cs: do not capitalize the align styles. Fixes bug
1041 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
1043 * ListControl.cs: partially restored r85314
1044 whenever a property that can affect data binding
1045 is set, make sure to set RequiresDataBinding.
1047 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
1049 * DataBoundControl.cs: fixed DataBind flow:
1050 prevent double binding when not necessary.
1053 2007-08-31 Marek Habersack <mhabersack@novell.com>
1055 * GridView.cs: instead of not adding hidden fields to the rows,
1056 mark the cells they would contain as invisible. Fixes bug #82615.
1058 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1062 make Menu work in multi form environment.
1064 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1066 * ListControl.cs: fixed selected items state management.
1068 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1070 * BaseCompareValidator.cs:
1072 * CompareValidator.cs:
1073 * CustomValidator.cs:
1074 * RangeValidator.cs:
1075 * RegularExpressionValidator.cs:
1076 * RequiredFieldValidator.cs:
1077 all Validators use RegisterExpandoAttribute for
1078 not XHTML compliant attributes.
1080 2007-08-23 Igor Zelmanovich <igorz@mainsoft.com>
1082 * Panel.cs: client script consider MultiForm environment.
1084 2007-08-21 Marek Habersack <mhabersack@novell.com>
1086 * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
1089 2007-08-20 Marek Habersack <mhabersack@novell.com>
1091 * ContentPlaceHolderBuilder.cs: store place holder id in the
1092 parser's internal place holder id list for later reference. Fixes
1095 2007-08-19 Vladimir Krasnov <vladimirk@mainsoft.com>
1097 * BoundField.cs: FormatDataValue, refactored multiple use of ToString
1099 2007-08-14 Marek Habersack <mhabersack@novell.com>
1101 * ObjectDataSourceView.cs: remove unused variable.
1103 * ChangePassword.cs: remove unused variable.
1104 The change password button id changed to
1105 "ChangePasswordPushButton", the cancel button id changed to
1106 "CancelPushButton". The change makes the generated ids the same
1107 what on MS.NET. Fixes bug #82418.
1109 * RoleGroupCollection.cs: OnValidate shouldn't be overridden.
1111 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1113 * ParameterCollection.cs: fixed IndexOfString, should use ordinal
1116 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1118 * Menu.cs: performance refactoring, used AddAttribute overload without
1119 encoding on known attribute values, optimized DynamicMenu rendering
1121 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1123 * TreeView.cs: refactoring, used AddAttribute overload without encoding
1124 on known attribute values,
1125 used Page.ClientScript.GetWebResourceUrl call instead of
1126 AssemblyResourceLoader.GetResourceUrl
1128 2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
1130 * AccessDataSource.cs: does not subscribed on view changed event.
1131 * ObjectDataSource.cs: fixed state management.
1132 * SqlDataSource.cs: fixed state management.
1134 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1137 DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs,
1138 RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs,
1139 TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs,
1140 BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs,
1141 RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs,
1142 ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs,
1143 TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs:
1144 refactoring, used AddAttribute overload without encoding on known attribute
1147 2007-08-01 Igor Zelmanovich <igorz@mainsoft.com>
1149 * DropDownList.cs: fixed onchange attibute.
1151 2007-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
1153 * ListItemCollection.cs: fixed LoadViewState, items restored from
1154 viewstate were not saved, fixes bug #82192
1156 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1158 * BaseValidator.cs: All client scripts are rendered
1159 according IsMultiForm property.
1161 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1163 * TreeView.cs: refactoring:
1165 used ClientScriptManager.GetCallbackEventReference API instead calling
1166 WebForm_DoCallback explicit.
1168 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1170 * BaseValidator.cs: for NET_2_0: fixed client side validation.
1171 validation is performed in WebForm_DoPostback,
1172 and there is no need to do it twice in ValidatorOnSubmit.
1174 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1176 * Calendar.cs: fixed: correct 'id' attribute is rendered.
1178 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
1180 * ListItemCollection.cs: optimized SetDirty method
1182 2007-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1186 * ListItemCollection.cs: controls based on ListControl should not save
1187 view state before than TrackViewState called
1189 2007-07-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1191 * WebControl.cs: fixed AddDisplayStyleAttribute, returns if
1192 ControlStyle is not created
1194 2007-07-02 Marek Habersack <mhabersack@novell.com>
1196 * WebControl.cs: Revert r80368, as it wasn't the correct
1197 fix. Fixes bug #81945.
1199 * ListControl.cs: if there are no items in the collection, do not
1200 return an empty ArrayList from GetSelectedIndicesInternal. Fixes
1201 bug #81945 and properly fixes bug #78533.
1203 * ListItemCollection.cs: if there are no items in collection,
1206 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1209 the Pager is created but unvisible for only one page.
1210 the Patch submitted by Dumitru Ban [dban@dako.ro]
1212 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1217 does not requires data binding if any ITemplate property is set.
1219 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1221 * CheckBox.cs: fixed Render, HasAttributes called instead
1224 2007-06-24 Igor Zelmanovich <igorz@mainsoft.com>
1226 * GridView.cs: fixed AllowPaging feature:
1227 When the AllowPaging is true the GridView control should automatically
1228 hide the pager row when the data source contains fewer than 2 records.
1229 patch Patch submitted by Dumitru Ban [dban@dako.ro]
1231 2007-06-20 Marek Habersack <mhabersack@novell.com>
1233 * WebControl.cs: if savedState is a Triplet, take the actual state
1234 data from savedState.First. Also make sure that the data is a
1235 Pair. Fixes bug #78533.
1237 * DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
1238 to keep private entries.
1239 * XmlDataSource.cs: as above
1241 2007-05-31 Vladimir Krasnov <vladimirk@mainsoft.com>
1243 * BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed
1244 to ClientScriptManager
1246 2007-05-29 Igor Zelmanovich <igorz@mainsoft.com>
1248 * ObjectDataSourceView.cs:
1249 * SiteMapDataSource.cs:
1251 * SqlDataSourceView.cs:
1252 DataSourceChanged and DataSourceViewChanged are raised in right case, when
1253 different properties changed their value.
1255 2007-05-27 Igor Zelmanovich <igorz@mainsoft.com>
1257 * ObjectDataSourceView.cs: fixed SelectMethod and SelectCountMethod properties:
1258 when changed, DataSourceViewChanged event is raised.
1260 * SqlDataSourceView: fixed SelectCommand property:
1261 when changed, DataSourceViewChanged event is raised.
1263 2007-05-25 Marek Habersack <mhabersack@novell.com>
1265 * ObjectDataSourceView.cs: CreateDataObject must pay attention to
1266 TypeConverter attributes on the property being converted.
1268 2007-05-24 Igor Zelmanovich <igorz@mainsoft.com>
1270 * Menu.cs: fixed: alt attribute is rendered as well.
1272 2007-05-16 Marek Habersack <mhabersack@novell.com>
1274 * CompareValidator.cs: formatting changes
1276 2007-05-15 Marek Habersack <mhabersack@novell.com>
1278 * ObjectDataSourceView.cs: refactoring - use
1279 HttpApplication.LoadType to look up types.
1281 2007-05-10 Marek Habersack <mhabersack@novell.com>
1283 * Table.cs: render rows, not controls
1285 * HyperLink.cs: RenderContents must check if the render method
1286 delegate is present and, if yes, call the base RenderContents.
1288 * LinkButton.cs: as above.
1290 * Label.cs: as above.
1292 * TableCell.cs: as above.
1293 This change makes the HeaderTemplate in the Wizard control work.
1295 * Wizard.cs: if a next/previous step handler modifies
1296 ActiveStepIndex do not, respectively, increase/decrease the
1297 current step, but use whatever was set in the handler.
1299 2007-05-09 Marek Habersack <mhabersack@novell.com>
1301 * TreeNodeStyleCollection.cs: do not set font's underline flag to
1302 false, set it to its own value instead.
1304 * TreeView.cs: if level style exists and has ChildNodesPadding
1305 set, it takes precedence over the node style setting (if any).
1307 2007-05-08 Marek Habersack <mhabersack@novell.com>
1309 * TreeView.cs: children padding is rendered only before and after
1310 the children are rendered, not between them. Also, render padding
1311 only if there are any nodes to follow the current one.
1313 2007-05-07 Marek Habersack <mhabersack@novell.com>
1315 * Wizard.cs: additional checks to see whether the wizard needs to
1316 move to a next step or not. Fixes bug #81532. Patch sent by Mike
1317 Morano <mmorano@mikeandwan.us>, thanks!
1319 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1321 * FormView.cs: fixed:
1322 avoid NullReferenceException when used EditTemplate w/o binding
1323 directive such Eval or Bind.
1325 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1327 * MenuItem.cs: fixed:
1328 when 'Value' property is not set, value of 'Text' property is used
1329 instead and vice versa.
1331 2007-05-06 Igor Zelmanovich <igorz@mainsoft.com>
1333 * TreeNode.cs: fixed:
1334 when 'Value' property is not set, value of 'Text' property is used
1335 instead and vice versa.
1337 2007-05-04 Marek Habersack <mhabersack@novell.com>
1339 * AdRotator.cs: use the new GetPhysicalFilePath method to look up
1340 the physical path of the ad file.
1342 2007-05-03 Marek Habersack <mhabersack@novell.com>
1344 * TreeView.cs: honor ChildNodesPadding of the NodeStyle.
1346 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1348 * ControlPropertyNameConverter.css:
1349 * FontUnitConverter.cs:
1351 * ValidatedControlConverter.cs:
1354 2007-05-03 Marek Habersack <mhabersack@novell.com>
1356 * TreeNode.cs: correct version of the fix in r76488. Nodes
1357 retrieved from a navigation data source which have empty URL will
1360 * TreeView.cs: revert r76488, it wasn't entirely correct. I need
1361 to investigate the special cases it solved a bit more.
1363 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
1365 * SqlDataSourceView.cs:
1366 make CancelSelectOnNullParameter property works.
1368 2007-05-01 Marek Habersack <mhabersack@novell.com>
1370 * BaseValidator.cs: do not use User-Agent directly, we must take
1371 ClientTarget into account.
1373 2007-04-30 Marek Habersack <mhabersack@novell.com>
1375 * TreeView.cs: bring rendering closer to the MS.NET rendering.
1377 * SqlDataSource.cs: do not catch the exception if ProviderName is
1378 not null or empty (as per docs and what MS.NET does).
1380 2007-04-19 Igor Zelmanovich <igorz@mainsoft.com>
1382 * ChangePassword.cs:
1383 does not accept invalid new password.
1385 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1389 added MonoLimitation attributes
1391 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1393 * BaseValidator.cs: for TARGET_J2EE:
1394 used Page.Request.Browser to determine RenderUplevel
1396 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1399 when databound with AutoGenerateColumns = true,
1400 data source enumerator created only once.
1402 2007-04-18 Marek Habersack <mhabersack@novell.com>
1404 * SiteMapDataSource.cs: query the site map for the current node
1405 when configured to use it as the start point. Fixes bug #81376,
1406 patch from Mike Morano <mmorano@mikeandwan.us>.
1408 * Calendar.cs: change year/month format to be culture aware. Fix
1409 for bug #81390. Patch submitted by Atsushi Enomoto
1410 <atsushi@ximian.com>
1412 2007-04-17 Daniel Nauck <dna@mono-project.de>
1414 * PasswordRecovery.cs: fixed typo (AnswerLabel.Text).
1416 2007-04-17 Marek Habersack <mhabersack@novell.com>
1418 * BaseValidator.cs: use the new uplevel browser detection code.
1420 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1422 * SqlDataSourceView.cs: fixed: InitializeParameters:
1423 restored flow, broken in r75137.
1425 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1427 * Menu.cs: popup menu is posed correctly if menu is placed within
1428 container with position=relative
1430 2007-04-12 Marek Habersack <mhabersack@novell.com>
1432 * LoginView.cs: do not call CreateChildControls directly from the
1433 IsAuthenticated setter since that would destroy the controls the
1434 user might've configured from their Page_PreRender method.
1435 Do not use IsAuthenticated in CreateChildControls since that
1436 prevents the _correct_ template from being instantiated before the
1437 control is transferred to the user's OnPreRender handler. Fixes
1440 2007-04-11 Marek Habersack <mhabersack@novell.com>
1442 * ImageButton.cs: implement the Enable property and do not
1443 register for post back if the control isn't enabled.
1445 2007-04-06 Marek Habersack <mhabersack@novell.com>
1447 * GridView.cs: don't render invisible fields. Fixes bug #80061.
1449 * DetailsView.cs: don't render invisible fields.
1451 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1453 * Menu.cs: resolve selected MenuItem if bounded with SiteMapeDataSource.
1455 2007-04-05 Marek Habersack <mhabersack@novell.com>
1457 * BaseDataBoundControl.cs: restore the LAMESPEC note and code it
1458 describes - tests show this is what's happening on MS.NET as
1461 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1464 * BaseDataBoundControl.cs:
1465 Break recursion when the property is set from within the OnSelect handler
1466 in user's code. fixes bug #81175.
1468 2007-04-05 Marek Habersack <mhabersack@novell.com>
1470 * SiteMapDataSource.cs: fix GetStartNode for situations when the
1471 current URL is not defined in the sitemap file. Fixes bug
1472 #81314. Patch from Mike Morano <mmorano@mikeandwan.us>.
1474 2007-04-03 Marek Habersack <mhabersack@novell.com>
1476 * BaseDataBoundControl.cs: adjust for lame specs on MSDN.
1478 2007-04-02 Gert Driesen <drieseng@users.sourceforge.net>
1480 * MenuItem.cs: Use INavigateUIData.Description as ToolTip. Fixed line
1483 2007-03-29 Adar Wesley <adarw@mainsoft.com>
1485 * ObjectDataSourceView.cs: fixed events so they are raized at the
1486 right times. Added many tests to verify the correct time.
1487 * SqlDataSourceView.cs: fixed events so they are raized at the right
1488 times. Added many tests to verify the correct time.
1490 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1494 avoid Exception if HierarchicalDataSourceView.Select() returns null.
1496 2007-03-22 Igor Zelmanovich <igorz@mainsoft.com>
1498 * ObjectDataSource.cs:
1499 * ObjectDataSourceView.cs:
1501 * SqlDataSourceView.cs:
1502 fixed flow: changes in Insert/Update/DeleteParameters does not
1503 cause DataSourceViewChanged event.
1505 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1507 * BaseDataBoundControl.cs: fix as per MSDN - the property is set
1508 only if data binding doesn't occur.
1510 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1512 * GridView.cs: fixed: PageIndex considers PageCount.
1514 2007-03-20 Marek Habersack <mhabersack@novell.com>
1516 * DataBoundControl.cs: avoid endless recursion here. Fixes bug #81175
1518 * LoginStatus.cs: render login/logout controls with the CssClass
1519 set from the parent control. Fixes bug #81196
1521 2007-03-19 Igor Zelmanovich <igorz@mainsoft.com>
1523 * DataGrid.cs: fixed Save/Load view state, applying styles.
1525 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
1527 * Style.cs: optimization: used CssStyleCollection .ctor w/o parameters.
1529 2007-03-09 Marek Habersack <mhabersack@novell.com>
1531 * Login.cs: Make command name comparison case-insensitive in
1532 OnBubbleEvent. Patch from Mike Morano <mmorano@mikeandwan.us>
1534 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1536 * DataGrid.cs: fixed:
1537 Auto-generated columns are restored properly on postback from view state.
1539 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1542 when AddAttributesToRender(System.Web.UI.HtmlTextWriter, WebControl)
1543 is called, WebControl parameter is passed as argument to
1544 FillStyleAttributes (CssStyleCollection, IUrlResolutionService) method.
1546 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1550 fixed applying styles if ExtractTemplateRows=true.
1552 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1554 * DropDownList.cs: in 2.0 first item is rendered with selected attribute
1555 is Enabled=false and no selected items.
1557 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1559 * CheckBoxList.cs: in 2.0 access key attribute is rendered in 'input' tags.
1561 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1567 * RadioButtonList.cs:
1568 fixed: list controls consider ListItem.Attributes property on render.
1570 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1572 * CheckBox.cs: fixed: 'span' tag is not rendered if all attributes
1573 are rendered in 'input' tag.
1575 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1579 used "ONLY_1_1" instead "!NET_2_0"
1581 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1583 * BaseDataBoundControl.cs:
1584 * DataBoundControl.cs:
1585 * HierarchicalDataBoundControl.cs:
1586 refactoring: DataBoundControl and HierarchicalDataBoundControl use internal
1587 method in BaseDataBoundControl to find a data source control.
1589 2007-03-05 Marek Habersack <mhabersack@novell.com>
1591 * Unit.cs: Support parsing of units in the form ".9em" etc.
1593 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1595 * TemplateColumn.cs: fixed: if ItemTemplate is null, " " is rendered.
1597 2007-03-05 Marek Habersack <mhabersack@novell.com>
1599 * BaseValidator.cs: make validators work correctly with
1600 ListItems. Patch from Daniel Nauck <dna@informatik.uni-kiel.de>
1602 2007-03-04 Marek Habersack <mhabersack@novell.com>
1604 * HierarchicalDataBoundControl.cs: Use the method described below
1605 to get the data source named in DataSourceID.
1607 * BaseDataBoundControl.cs: add an internal method to find a data
1608 source control within all the naming containers above a given
1609 control. The method makes it possible to find controls that reside
1612 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1614 * Repeater.cs: fixed: data-binding flow for 2.0 features.
1616 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1619 * ParameterCollection.cs:
1620 fixed GetValue/s and UpdateValue/s.
1622 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1624 * TreeNodeCollection.cs:
1625 fixed Save/Load viewstate.
1627 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1629 * MenuItemCollection.cs:
1630 fixed Save/Load viewstate.
1632 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1634 * CreateUserWizard.cs:
1636 fixed CausesValidaion and ValidationGroup for navigation buttons.
1638 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1642 fixed LoadPostData to restore checked state for node's checkboxes.
1644 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1646 * TreeNodeCollection.cs: 'dirty' flag is assigned if 'marked' only
1648 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1650 * BaseDataBoundControl.cs: setting DataSource to null does not
1651 call ValidateDataSource.
1652 * HierarchicalDataBoundControl.cs: ValidateDataSource does not
1653 throw exception if argument is null.
1655 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1657 * WebControl.cs: implemented IsEnabled and HasAttributes.
1659 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1661 * BaseDataList.cs: fixed: data-binding flow for 2.0 features.
1663 2007-02-27 Marek Habersack <grendello@gmail.com>
1665 * FileUpload.cs: HasFile is true only if PostedFile is not null
1666 and it actually has an associated file.
1668 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1670 * LoginView.cs: fixed:
1671 ViewChanging and ViewChanged are fired.
1672 optimized Save/Load control state.
1674 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1676 * CreateUserWizard.cs: fixed: does not attempt to send email if
1677 MailDefinition is not defined.
1679 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1682 considers FormsAuthentication.ReturnUrl only if is placed in
1683 the login page defined in web.config.
1685 2007-02-23 Marek Habersack <grendello@gmail.com>
1687 * ObjectDataSourceView.cs: Fix saving/restoring the view state.
1689 * CreateUserWizard.cs: support for sending mail when a new user is
1690 created. Patch from dban@dako.ro.
1692 2007-02-22 Marek Habersack <grendello@gmail.com>
1694 * LoginStatus.cs: Handle OnLoggedOut properly. Patch from
1697 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1699 * ObjectDataSourceView.cs: fixed ViewState behavior to match MS. Added relevant tests.
1701 2007-02-20 Gert Driesen <drieseng@users.sourceforge.net>
1703 * Calendar.cs: Fixed bug #80881 by using Thread's CurrentCulture
1704 instead of CurrentUICulture for DateFormatInfo.
1706 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1708 * SqlDataSource.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1709 * SqlDataSourceView.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1711 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
1713 * ChangePassword.cs: fixed:
1714 ChangePasswordContainer and SuccessContainer cannot be BindingContainer.
1716 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1718 * SqlDataSourceView.cs: Fixed parameter merging logic and some bug fixing.
1721 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
1726 implemented Form.SubmitDisabledControls feature.
1728 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1730 * GridView.cs: IsBindableType for decimal returns true.
1732 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1734 * Menu.js: client script: support IE6.
1736 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1738 * Menu.cs: fixed: considers item.ToolTip, render image inside 'a' tag.
1740 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
1742 * Button.cs, ImageButton.cs, LinkButton.cs: Hanlding of PostbackOptions for
1743 TARGET_J2EE is now centralized in ClientScriptManager.
1744 * TreeView.cs, DetailsView.cs, GridView.cs, TreeView.js, DetailsView.js,
1745 GridView.js: Added a field to the controls JavaScript 'data' object. The
1746 form is initialized to the page 'theForm'. This is used for J2EE portlets
1749 2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1752 first step is recognized as 'finish' if only two steps
1753 and last step is 'complete'
1755 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1757 * BaseValidator: ControlPropertiesValid is called on PreRender
1758 * CompareValidator.cs:
1759 * RangeValidator.cs: fixed ControlPropertiesValid, EvaluateIsValid.
1761 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1763 * BaseCompareValidator.cs: fixed: support for type=Currency on client side.
1765 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1767 * ParameterCollection.cs: fixed IndexOfString, this indexer should be
1770 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
1772 * TreeView.js: refactoring:
1773 removed TreeView_ErrorCallback, used TreeView_PopulateCallback instead.
1775 2007-02-13 Adar Wesley <adarw@mainsoft.com>
1777 * ObjectDataSourceView.cs: fixed parameter merging and added more tests
1779 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1781 * Literal.cs: implemented 2.0 feature - Mode.
1783 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1785 * ViewCollection.cs: fixed public API.
1787 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1789 * RepeaterItem.cs: implemented IDataItemContainer interface.
1791 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1793 * TreeNodeStyle.cs: fixed public API.
1795 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1797 * MenuItemStyle.cs: fixed public API.
1799 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1802 * DayRenderEventArgs.cs:
1803 implemented 2.0 feature - SelectUrl.
1805 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1807 * GridViewRowCollection.cs: implemented IsReadOnly property.
1809 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1811 * BaseValidator.cs: implemented SetFocusOnError feature.
1813 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1815 * Wizard.cs: refactoring:
1816 used ContainedTable for ID attribute is rendered properly.
1818 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1820 * CreateUserWizard.cs:
1824 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1826 * DataList.cs: fixed: OnBubbleEvent() will return true if event is handled
1828 2007-02-09 Gert Driesen <drieseng@users.sourceforge.net>
1830 * FontUnit.cs: Fixed ToString () to use current locale.
1832 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1834 * BaseValidator.cs: fixed render, works in static mode properly
1835 * CreateUserWizard.cs: fixed display mode for validators.
1837 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1841 implemented FormViewPagerRow class
1843 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1846 header and footer visibility is set at creation.
1848 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1850 * FormView.cs: fixed:
1851 header and footer are not created with empty row.
1853 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1855 * FormView.cs: fixed:
1856 works properly with not ICollection data source.
1858 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1860 * DetailsView.cs: fixed:
1861 PageIndex, CreateChildControls,
1862 works properly with not ICollection data source.
1864 2007-02-06 Eyal Alaluf <eyala@mainsoft.com>
1866 * Menu.cs ImageMap.cs Panel.cs TreeView.cs: Ensure that the NavigateUrl
1867 property is rendered as a RenderURL for J2EE portlets.
1869 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1871 * BaseValidator.cs: refactored RegisterValidatorCommonScript to use
1872 RegisterClientScriptInclude instead of RegisterClientScriptBlock
1874 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1876 * DataBoundControl.cs:
1879 PerformDataBinding is called with RequiresDataBinding was set false
1881 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1884 fixed validation flow.
1886 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1889 fixed validation flow.
1891 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1893 * CustomValidator.cs:
1894 ValidateEmptyText is considered on client side.
1896 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1901 * DataControlButton.cs:
1902 * DataControlField.cs:
1905 Internal classes are used in databound controls for buttons
1906 are derived from right types. It allows to have access to them by casting
1907 to public types. This trick is used in one of starter kits of MS.
1909 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1911 * Panel.cs: fixed: reverted r71441.
1912 * TreeView.cs: used internal RegisterWebFormClientScript API
1913 to cause the relevant script be included.
1915 2007-02-01 Adar Wesley <adarw@mainsoft.com>
1917 * FormView.cs: fixed events ModeChanging and ModeChanged
1918 to be raized in all relevant situations.
1920 2007-02-01 Igor Zelmanovich <igorz@mainsoft.com>
1922 * ValidationSammary.cs: fixed:
1923 control is rendered even if there is no validators on the page.
1924 important if the page contain a client side script that refer to the
1925 id of the validation summary div.
1927 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1932 * RadioButtonList.cs:
1933 EnsureDataBound is called when PostData is processed to restore
1934 'state' of control if EnableViewState is false
1936 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1938 * GridView.cs: fixed:
1939 RowDataBound is fired for PagerRow.
1940 Styles are applied using MergeWith instead CopyFrom
1941 to allow using custom styles for rows in code-behind.
1943 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1945 * GridView.cs: fixed: RowCommand event is fired properly.
1947 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1949 * GridView.cs: fixed: created rows are added in table after initialization.
1952 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1954 * Panel.cs: fixed 'background-image' attribute.
1956 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1958 * BaseDataBoundControl.cs:
1959 * DataBoundControl.cs:
1960 fixed DataBinding flow: RequiresDataBinding is set to false in
1962 * HierarchicalDataBoundControl.cs: implemented MarkAsDataBound().
1964 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1968 fixed DataBinding flow for Insert mode.
1970 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1973 does not RegisterRequiresPostBack if is not enabled.
1975 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1979 fixed PopulateOnDemand: used UniqueID to call WebForms_DoCallBack().
1981 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
1983 * MultyView.cs: OnActiveViewChanged is called.
1985 2007-01-29 Vladimir Krasnov <vladimirk@mainsoft.com>
1987 * Panel.cs: fixed AddAttributesToRender for 2.0, text align should be
1990 2007-01-29 Adar Wesley <adarw@mainsoft.com>
1992 * EditCommandColumn.cs: implemented CausesValidation and
1993 ValidationGroup and coresponding tests.
1994 * DataGrid.cs: fixed generated table to be compatible with MS 2.0
1996 2007-01-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1998 * WebControl.cs: added internal method AddDisplayStyleAttribute for
1999 display:inline-block style attribute
2002 * CheckBox.cs: added call to AddDisplayStyleAttribute on rendering
2004 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
2006 * TreeView.js: Used WebForm_GetFormFromCtrl to lookup the form.
2008 2007-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
2010 * TextBox.cs: implemented AutoCompleteType property, fixed
2011 AddAttributesToRender
2013 2007-01-24 Ilya Kharmatsky <ilya -at- decode-systems.com>
2015 * DetailsView.cs: fixed problems with rendering of control, when
2016 empty data source is provided. Respective tests are provided
2017 in DetailsViewTest.cs
2019 2007-01-21 Konstantin Triger <kostat@mainsoft.com>
2021 * TreeView.js, DetailsView.js, Menu.js, GridView.js:
2022 suppress exception if eval() fails.
2024 2007-01-20 Miguel de Icaza <miguel@novell.com>
2026 * DataControlFieldCollection.cs (RemoveAt): remove unused
2029 * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
2032 * RadioButton.cs (RaisePostDataChangedEvent): This method was not
2033 used in 1.0, so put the whole method in 2.0
2035 2007-01-18 Adar Wesley <adarw@mainsoft.com>
2037 * Xml.cs: added support for XPathNavigator, fixed DocumentContent
2038 to be compatible with MS 2.0, implemented EnableTheming, implemented
2039 SkinID, fixed Focus behavior.
2041 2007-01-18 Vladimir Krasnov <vladimirk@mainsoft.com>
2043 * Menu.js, Menu.js: added null reference checking for every getTree or
2046 2007-01-18 Adar Wesley <adarw@mainsoft.com>
2048 * SiteMapDataSource.cs: implemented logic of GetStartNode when
2049 StartingNodeOffset is positive.
2051 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
2053 * BaseValidator.cs: ToString the validating property value or
2054 if null return an empty string.
2056 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2058 * TreeView.cs: fixed RegisterStyle, style names should be without
2059 leading underscore. fixed RenderNode, node icons should be taken also
2062 2007-01-17 Adar Wesley <adarw@mainsoft.com>
2064 * Repeater.cs: refactored GetData to return data both from DataSource
2065 and DataSrouceID, Implemented EnableTheming, updated initialization of
2066 DataBinding according to the pattern of BaseDataBoundControl, fixed
2067 SelectArguments implementation to call the virtual
2068 CreateDataSourceSelectArguments method.
2070 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
2072 * GridView.cs: don't force creating rows collection when SelectedIndex
2073 changes; EnsureDatabound on select.
2075 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2077 * TreeNode.cs: fixed Bind, fixed Value updating
2079 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2081 * DataList.cs: fixed OnBubbleEvent, added SelectedIndex updating
2083 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2085 * DetailsView.cs: fixed CreateChildControls, PageIndex cannot be less
2088 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2090 * DetailsView.cs: fixed CreateChildControls, PageIndex should be less
2091 or equal to PageCount
2093 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2095 * Menu.cs: added z-index attribute to popup div's.
2097 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2099 * FileUpload.cs: fixed FileName property, should return filename
2100 without full path on client side
2102 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
2107 Implemented the protected net_2_0 method 'VerifyMultiSelect' with
2108 proper overloading in derived types.
2110 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2113 considers INavigateUIData.NavigateUrl when bound.
2115 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2117 * CompleteWizardStep.cs
2118 * CreateUserWizard.cs
2119 * CreateUserWizardStep.cs
2120 * TemplatedWizardStep.cs
2122 make the design complied to .NET
2123 build all possible controls at once and manage render by Visible property
2125 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
2126 * Button.cs, HyperLink.cs, DataGrid.cs, ImageButton.cs, LinkButton.cs,
2127 PagedDataSource.cs: Added J2EE Portal support for TARGET_J2EE.
2129 2007-01-14 Ilya Kharmatsky <ilyak-at-mainsoft.com>
2130 * BaseCompareValidator
2132 Added support for CultureInvariantValues property, which should be
2133 counted in new 2.0 methods such as - Compare, Convert etc. The code
2134 has been changed in such way, that the old - 1.1 method implementation
2135 could use the new methods defined for 2.0 version.
2137 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2139 * XmlDataSource.cs: refactored to use cached collection.
2140 * SqlDataSource.cs: refactored to use cached collection;
2141 don't throw exception on 'DefaultView'.
2142 * ObjectDataSource.cs: refactored to use cached collection.
2144 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2146 * ObjectDataSourceView.cs: consider parameter names and
2147 DataObjectMethodAttribute during method resolution.
2149 2007-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2151 * SqlDataSourceView.cs: fixed OnUpdating, OnInserting call with
2152 SqlDataSourceCommandEventArgs
2154 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2156 * ObjectDataSourceView.cs: use case unsensitive comparer for
2157 parameters collection.
2159 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2161 * LoginStatus.cs: fixed: not causes page validation.
2163 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2165 * CreateUserWizard.cs: fixed: resolves ErrorMessage control correct.
2166 * CreateUserWizardStep.cs:
2168 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2170 * TreeView.cs: fixed: SelectedNode, CheckedNodes.
2172 * TreeNodeCollection.cs:
2174 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2176 * GridView.cs: fixed: header and footer does not appear in no items.
2177 * CompositeDataBoundControl.cs:
2179 2007-01-09 Konstantin Triger <kostat@mainsoft.com>
2181 * AdRotator.cs: Backport the fix for AdRotator AbsoluteUri to 1.1.
2183 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2185 * GridView.cs: fixed: SelectedDataKey.
2187 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2191 implemented 2.0 features.
2193 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2195 * SqlDataSourceView.cs: fixed parameters init for ExecuteUpdate
2197 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2199 * DataSourceCacheManager.cs:
2200 * ObjectDataSource.cs:
2202 fixed: cache considers parameters values changes.
2204 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2206 * DetailsView.cs: fixed DeleteItem, excluded keys for new values
2207 * SqlDataSourceView.cs: fixed ExecuteDelete, check cancel in
2210 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2212 * GridView.cs: fixed: show all rows when AllowPaging=false
2214 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2216 * SqlDataSourceView.cs: fixed CreateDbParameter, used DBNull for value=null.
2218 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2220 * ButtonField.cs: fixed: consider its CausesValidation property.
2222 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2224 * GridView.cs: fixed:
2225 ReadOnly property is false for AutoGeneratedColumn if field is DataKey.
2226 causesValidation parameter is considered properly in UpdateRow.
2227 OldValues contains readonly fields values
2229 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2231 * SqlDataSourceView.cs: fixed InitializeParameters, added
2232 ParameterPrefix when check that param is already in collection
2234 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2236 * AdRotator.cs: fixed: considers absolute uri such html://......
2238 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2240 * SqlDataSourceView.cs: fixed insert, delete, update methods, added
2241 calls to OnDataSourceViewChanged
2243 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2245 * added ProfileParameter.cs
2247 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2249 * Label.cs: fixed: according MSDN OnPreRender is not overridden.
2251 2007-01-04 Adar Wesley <adarw@mainsoft.com>
2253 * ImageButton.cs: implemented GenerateEmptyAlternateText
2255 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2257 * FormView.cs: fixed data binding flow considers Insert mode.
2259 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2261 * DataBoundControl.cs: fixed Init flow.
2263 2007-01-4 Adar Wesley <adarw@mainsoft.com>
2265 * RadioButtonList.cs: Implemented properties of IRepeatInfoUser as public virtual
2267 2007-01-03 Marek Habersack <grendello@gmail.com>
2269 * ObjectDataSourceView.cs: Look for unqualified type also in the top-level assemblies.
2271 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2273 * FormView.cs: fixed PageIndex property.
2275 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2277 * ListControl.cs: fixed SelectedValue and SelectedIndex properties.
2278 set accessor works differently in 2.0.
2280 2007-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
2282 * SqlDataSourceView.cs,ObjectDataSourceView.cs: fixed parameter merge
2283 when values and old values are null
2285 2006-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2287 * ListControl.cs: reverted r70112, fixed in r70319.
2289 2007-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2291 * DetailsView.cs: fixed CreateAutoGeneratedRows.
2293 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2295 * AutoGeneratedField.cs: is editable in Insest mode.
2296 * BoundField.cs: is editable in Insest mode.
2297 * CheckBoxField.cs: is editable in Insest mode.
2298 * DetailsView.cs: fixed DataBinding flow.
2300 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2302 * BaseDataBoundControl.cs:
2303 * CompositeDataBoundControl.cs: fixed DataBinding flow.
2305 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2307 * LinkButton.cs: show the validation summary when client validation
2308 and linkbuttons are used. Patch by Juraj Skripsky.
2310 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2312 * TextBox.cs: consider ToolTip property
2314 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2316 * ContainedTable.cs:
2317 * DataControlButton.cs:
2318 * DetailsView.cs: fixed EnablePagingCallbacks
2321 * GridView.js: fixed EnableSortingAndPagingCallbacks
2323 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2326 ResolveClientUrl used with LineImagesFolder, ExpandImageUrl,
2327 CollapseImageUrl and NoExpandImageUrl properties.
2329 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2331 * SqlDataSource.cs: Added parameters update on OnInit
2333 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2335 * LoginView.cs: fixed rendering LoggedInTemplate even after user
2338 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2343 control's behavior depends on using DataSource or DataSourceID
2344 property for binding
2346 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2348 * CommandField.cs: fixed:
2349 when ShowEditButton=false Update/Cancel button doesn't appear.
2350 when ShowInsertButton=false Insert/Cancel button doesn't appear.
2352 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2354 * Login.cs: fixed AuthenticateUser, should redirect to ReturnUrl when
2356 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2358 * Parameter.cs: fixed ConvertValue to coorect handle TypeCode.Empty
2359 * ObjectDataSourceView.cs: fixed MergeParameterValues,
2360 call Parameter.ConvertValue
2361 fixed ConvertParameter to hanlde TypeCode.Empty
2362 * SqlDataSourceView.cs: fixed InitializeParameters,
2363 call Parameter.ConvertValue
2364 fixed ParameterPrefix property
2365 fixed CreateDbParameter, added usege of ParameterPrefix
2367 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2369 * ListControl.cs: fixed: when is used with DataSourceID data bind is not
2370 perfomed on PostBack because Items collection is restored from View state.
2372 2006-12-26 Igor Zelmanovich <igorz@mainsoft.com>
2374 * DataGridPagerStyle.cs:
2379 * TableItemStyle.cs:
2384 fixed: Load/Save viewstate of WebControl does not call Load/Save viewstate
2385 for it's ControlStyle, but the shared ViewState is used to manage style's
2388 2006-12-21 Igor Zelmanovich <igorz@mainsoft.com>
2390 * CompleteWizardStep.cs:
2391 * CreateUserWizard.cs:
2392 * CreateUserWizardStep.cs:
2393 * TemplatedWizardStep.cs:
2395 fixed: CreateUserWizard works properly in advanced scenarios
2396 such being used with additional steps or/and with custom templates.
2397 Styles are aplied properly.
2399 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
2401 * SqlDataSourceView.cs: fixed InitializeParameters, parameters order
2402 parameters case insensetive search
2403 * ObjectDataSourceView.cs: fixed MergeParameterValues, parameters
2404 case insensetive search
2406 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2408 * Menu.cs: fixed: ResolveClientUrl used with src and href attributes
2410 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2414 TreeNodeCollapsed is not raised for leaf node.
2416 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2418 * DataGrid.cs, RepeatInfo.cs: fixed accessibility features
2420 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2422 * Calendar.cs: support DayNameFormat.Shortest
2424 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2426 * HiddenField.cs: implemented
2428 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2430 * FormView.cs: fixed: FillRowDataKey
2431 * DetailsView.cs: fixed: FillRowDataKey
2433 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2435 * TreeView.cs: fixed: ResolveClientUrl used with ImageUrl and NavigateUrl
2437 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2439 * Login.cs: refactored rendering, fixed OnAuthenticate event
2441 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2443 * GridView.cs: fixed: Update works not only for EditRow
2445 * CompositeDataBoundControl.cs:
2447 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2449 * RadioButton.cs: fixed:
2450 When GroupName is not defined UniqueID is used instead for name attribute.
2451 CheckedChanged is raised only when control is checked.
2453 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2455 * Menu.cs: fixed: rendering.
2457 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2459 * Menu.cs: fixed: rendering.
2461 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2466 fixed rendering for 2.0
2468 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2470 * DetaisView.cs: fixed: rendering.
2471 * DataControlButton.cs:
2474 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2476 * FormView.cs: fixed: avoid empty row rendering.
2478 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2480 * AdRotator.cs: fixed:
2481 MSDN: The ImageUrl and NavigateUrl attributes can be a full URL, a
2482 root-relative path, or a relative path. If you use a root-relative path,
2483 the path is relative to the same Web site. If you use a relative path,
2484 the path is relative to the directory that contains the advertisement file.
2486 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2488 * BaseCompareValidator.cs: fixed: support for type=Date on client side.
2490 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2492 * TreeView.cs: fixed: support for event validation.
2494 2006-12-04 Igor Zelmanovich <igorz@mainsoft.com>
2496 * DataGridPagerStyle.cs: chenged values of DataGridPagerStyles flags.
2498 2006-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2500 * CreateUserWizard.cs: implement GeneratePassword based on Membership.
2502 2006-11-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2504 * Wizard.cs: fixed GetStepType method that returned wrong type if the
2505 last step type is Complete.
2506 fixed ProcessEvent method, corrected FinishButtonClick behavior
2508 2006-11-26 Marek Habersack <grendello@gmail.com>
2510 * Calendar.cs: Fixed event validation registration. Now it
2511 registers all the arguments that can be passed by this control to
2514 2006-11-25 Marek Habersack <grendello@gmail.com>
2516 * FileUpload.cs: Implementation of SaveAs
2518 * TreeView.cs: A few optimizations for empty style collections.
2520 * Menu.cs: A few optimizations for empty style collections.
2522 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2524 * BoundField.cs: fixed: GetDesignTimeValue()
2526 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2528 * SiteMapDataSource.cs: fixed: GetViewNames()
2530 2006-11-23 Vladimir Krasnov <vladimirk@mainsoft.com>
2532 * ChangePassword.cs: implemented functionality
2533 * MailDefinition.cs: implemented CreateMailMessage method
2534 * PasswordRecovery.cs: implemented functionality
2536 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2538 * CircleHotSpot.cs: fixed:
2539 setting Radius with value <0 throws ArgumentOutOfRangeException.
2541 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2543 * CookieParameter.cs: fixed Evaluate method.
2545 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2547 * Parameter.cs: fixed Evaluate, ToString methods.
2548 * QueryStringParameter.cs: fixed Evaluate method.
2549 * SessionParameter.cs: fixed Evaluate method.
2551 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2553 * ImageMap.cs: fixed rendering.
2555 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2557 * HotSpot.cs: fixed: AccessKey and HotSpotMode
2558 throw ArgumentOutOfRangeException.
2560 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2562 * ControlParameter.cs: fixed: Evaluate method
2563 throws exceptions correctly.
2565 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2567 * CheckBox.cs: fixed: new 2.0 features such
2568 LabelAttributes and InputAttributes.
2570 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2572 * GridView.cs: fixed: header, footer and empty rows are databound.
2574 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2576 * Style.cs: added internal helper method RemoveTextStyles.
2578 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2580 * Button.cs: fixed: support for event validation.
2581 * CheckBox.cs: fixed: support for event validation.
2582 * FormView.cs: fixed: support for event validation.
2583 * ImageButton.cs: fixed: support for event validation.
2584 * ListBox.cs: fixed: support for event validation.
2585 * TextBox.cs: fixed: support for event validation.
2587 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2589 * DropDownList.cs: fixed: support for event validation.
2591 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2593 * LinkButton.cs: optimized: support for event validation.
2594 * DataControlButton.cs: Added support for event validation.
2595 * DetailsView.cs: fixed: RowIndex for DetailsViewRow.
2597 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2599 * LinkButton.cs: Added support for event validation.
2601 2006-11-17 Marek Habersack <grendello@gmail.com>
2603 * ImageButton.cs: Added support for event validation.
2605 * ListBox.cs: Added support for event validation.
2607 * Calendar.cs: Added support for event validation.
2609 * DropDownList.cs: Added support for event validation.
2611 * FormView.cs: Added support for event validation.
2613 * RadioButtonList.cs: Added support for event validation.
2615 * TextBox.cs: Added support for event validation.
2617 * BulletedList.cs: Added support for event validation.
2619 * CheckBox.cs: Added support for event validation.
2621 * Button.cs: Added support for event validation.
2623 2006-11-16 Igor Zelmanovich <igorz@mainsoft.com>
2625 * CreateUserWizard.cs: fixed: ActiveStepIndex property.
2627 2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>
2629 * ListControl.cs: fixed: DataBinding for 2.0, for 1.x - refactoring only.
2631 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2633 * GridView.cs: fixed: Rows property, DataBinding flow.
2634 * DataBoundControl.cs:
2635 * BaseDataBoundControl.cs:
2637 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2639 * CompositeDataBoundControl.cs: fixed:
2640 DataBind call Controls.Clear().
2642 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
2644 * CompositeDataBoundControl.cs: fixed:
2645 DataBind sets ChildControlsCreated=true.
2647 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2649 * Login.cs: fixed CreateChildControls, throws exception if needed
2651 * LoginView.cs: fixed CreateChildControls, check templates for null
2653 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2655 * Wizard.cs: fixed ActiveStepIndex property, fixed SideBar button
2656 rendering, fixed history updating
2657 * WizardStepCollection.cs: fixed implemented interfaces
2659 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2661 * XmlDataSource.cs: CacheKeyDependency fixed
2663 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
2665 * DetailsView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2667 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2669 * DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.
2671 2006-11-09 Vladimir Krasnov <vladimirk@mainsoft.com>
2673 * ParameterCollection.cs: fixed SetDirtyObject method
2674 * ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState
2675 utilization for control's properties, implemented caching
2676 * SqlDataSource.cs, SqlDataSourceView.cs: implemented caching
2678 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2680 * GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2682 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2684 * DataBoundControl.cs: fixed:
2685 ConfirmInitState method s called by
2686 the DataBoundControl class in its OnLoad method.
2688 2006-11-06 Igor Zelmanovich <igorz@mainsoft.com>
2690 * FormView.cs: fixed: DataBinding flow.
2692 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2694 * CustomValidator.cs: implemented ValidateEmptyText fixture.
2696 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2698 * BaseCompareValidator.cs: fixed: CultureInvariantValues, Type properties.
2700 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2702 * Menu.cs: fixed: RenderEndTag.
2703 Dynamic menu is rendered when StaticDisplayLevels=1
2705 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2707 * GridView.cs: fixed: UpdateRow, DeleteRow, RowCreated.
2709 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2711 * FormView.cs: fixed: UpdateItem, DeleteItem.
2713 2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>
2715 * DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.
2717 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2719 * RadioButtonList.cs: fixed: has no html output when Items.Count=0.
2721 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2723 * ListControl.cs: fixed: setting SelectedVolue for 2.0.
2725 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2727 * DataBoundControl: fixed: ValidateDataSource allows null as dataSource.
2729 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2731 * ListControl.cs: fixed: assigning SelectedIndex with too hight value.
2733 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2735 * ListControl.cs: fixed: DataBinding for 2.0.
2736 for 1.x refactoring only.
2738 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2740 * ChangePassword.cs: new class was implemented.
2742 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2744 * EmbeddedMailObject.cs: new class was implemented.
2745 * EmbeddedMailObjectsCollection.cs: new class was implemented.
2746 * MailDefinition.cs: new class was implemented.
2748 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2750 * PagerSettings.cs: fixed: CreatePagerControl.
2752 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2754 * CommandField.cs: fixed:
2755 considers CaseValidation, ValidationGroup, ButtonType.
2756 * DataControlButton.cs: refactoring:
2758 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2760 * DetailsView.cs: implemented: GetCallbackScript method.
2762 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2764 * FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2766 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2768 * FormFiew.cs: fixed: UpdateItem, InsertItem.
2770 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2772 * FormFiew.cs: fixed: PageIndex, rendering.
2774 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2776 * DropDownList.cs: fixed: rendering "name" attribute".
2778 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2780 * GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2781 * DataControlButton.cs:
2782 * CommandField.cs: CausesValidation feature must be implemented other way
2784 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2786 * CompositeDataBoundControl.cs: fixed: CreateChildControls flow.
2788 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2790 * FormView.cs: fixed: OnBubbleEvent returns true when event is handled.
2792 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2794 * DetailsView.cs: fixed: OnBubbleEvent works properly.
2796 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2798 * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
2800 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2802 * DetailsView.cs: fixed: CurrentMode property.
2804 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2806 * DetailsView.cs: fixed: current state are not changed during paging.
2808 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2810 * DetailsView.cs: fixed:
2811 in Insert mode Select not invoked from DataSource
2813 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
2815 * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
2817 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2819 * FormView.cs: fixed: CreateDataSourceSelectArguments method.
2820 (corresponding test does not work because bug in ObjectDataSourceView)
2822 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2824 * DataBoundControl.cs: fixed: DataBind calls
2825 CreateDataSourceSelectArguments() and stores result in SelectArguments
2827 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2831 fixed: EnablePagingCallbacks feature.
2832 when postback is invoked after callback control state is restored
2835 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2837 * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
2839 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2841 * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
2842 (corresponding test does not work because bug in ObjectDataSourceView)
2844 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2846 * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
2847 when postback is invoked after callback control state is restored
2850 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2852 * GridView.cs: fixed: Sorting feature.
2853 When sorting EditIndex and PageIndex are reseted
2855 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2857 * GridView.cs: fixed: Sorting feature.
2858 CreateDataSourceSelectArguments considers SortExpression and SortDirection.
2859 (corresponding test does not work because bug in ObjectDataSourceView)
2861 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2863 * GridView.cs: fixed:
2864 CreateDataSourceSelectArguments works according to MSDN.
2865 (corresponding test does not work because bug in ObjectDataSourceView)
2867 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2869 * ObjectDataSourceView.cs: fixed:
2870 CanRetrieveTotalRowCount returns true if EnablePaging = false
2872 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
2874 * DataBoundControl.cs: fixed: DataBind flow
2875 CreateDataSourceSelectArguments() is called
2876 each time as DataBind() is called
2878 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2880 * BoundField.cs: implemented ValidateSupportsCallback().
2882 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2884 * CommandField.cs: ValidateSupportsCallback(): exception's message.
2886 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2888 * FormView.cs: fixed: CurrentMode property.
2890 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2896 reverted r66222, problem solved in r66283: command buttons inherit ForeColor
2898 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2900 * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
2903 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2905 * HyperLink.cs: don't render the img tag 'by hand' but use an Image
2906 instead, which takes care of the 0/0px case. Also set the ToolTip
2907 property. Fixes bug #79585.
2909 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2911 * DetailsView.cs: optimization for previous patch
2913 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2915 * FormView.cs: optimization for previous patch
2917 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2920 * DetailsViewRow.cs:
2921 implemented PrepareControlHierarchy()
2922 styles are applied correct
2924 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2927 implemented PrepareControlHierarchy()
2928 styles are applied correct
2930 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2933 * DataControlButton.cs:
2934 * DataControlField.cs:
2935 implemented PrepareControlHierarchy()
2936 styles are applied correct
2937 command buttons inherit ForeColor
2939 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2941 * WebControl.cs: fixed: CreateControlStyle()
2943 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2949 corrected pager rendering: Color style applied to A tag,
2950 Input type="image" used if ImageUrl is not empty.
2952 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2954 * GridView.cs: corrected rendering
2955 * ContainedTable.cs: added new helper class
2957 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2959 * FormView.cs: fixed:
2960 in Insert mode Select not invoked from DataSource
2962 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2964 * FormView.cs: fixed:
2965 Pager is not shown when page count < 1
2966 in Edit mode use EmptyDataTemplate if there is no DataItem
2967 when page changed FormView stays in current state.
2969 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
2971 * FormView.cs: fixed: OnBubbleEvent works properly
2973 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
2975 * DataBoundControl.cs: fixed: DataBind flow
2976 GetData return "empty" DataSourceView when no DataSource and DataSourceID
2977 was assigned to cause PerformDataBinding be called.
2979 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2981 * DataList.cs: use ExtractTemplateRows to determine if the style is
2982 applied to the Table in a template or to its rows. Fixes bug #78058.
2984 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2986 * ListBox.cs: if the list is not enabled, don't require a postback.
2989 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2991 * HyperLink.cs: don't output the nabvigate url if disabled.
2992 * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
2993 the link URL if disabled.
2996 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2998 * RadioButtonList.cs:
2999 make it to consider CausesValidation and ValidationGroup properties
3001 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3004 make it to consider CausesValidation and ValidationGroup properties
3006 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3009 Page.Validate() is called when CausesValidation=true
3011 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3014 make onclick attribute to consider ValidationGroup property.
3016 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3019 make rendering of the href attribute to consider ValidationGroup property.
3020 Page.Validate() is called when CausesValidation=true
3022 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3025 make rendering of the onchange attribute to consider ValidationGroup
3027 Page.Validate() is called when CausesValidation=true
3029 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3032 make rendering of the onclick attribute to consider ValidationGroup property
3033 Page.Validate() is called when CausesValidation=true
3035 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3038 VewState saving and restoring rolled back to 1.1 implementation
3039 (fixed corresponding test), corrected public interface (there are no
3040 overriden methods SaveControlState, LoadControlState and OnInit),
3041 implemented CausesValidation and ValidationGroup properties.
3043 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3046 make rendering of the onclick attribute to consider ValidationGroup property
3047 Page.Validate() is called when CausesValidation=true
3049 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3052 implemented: RaisePostBackEvent,
3053 refactoring: GetPostBackOptions used to build onclick client event
3055 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3057 * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
3059 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3061 * BaseValidator.cs: implemented ValidationGroup feature on client side
3062 * ValidationSummary.cs:
3064 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
3066 * TreeView.cs: corrected rendering
3069 2006-09-11 Konstantin Triger <kostat@mainsoft.com>
3071 * Login.cs: ensure the urls are correctly resolved.
3073 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3075 * TreeView.cs: corrected rendering: styles are applied correct
3079 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3081 * TreeView.cs: corrected rendering: HoverNodeStyle works
3085 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3087 * TreeNodeStyle.cs: fixed: ViewState restored properly
3089 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3093 * TableItemStyle.cs:
3094 * DataGridPagerStyle.cs:
3095 refactoring: makes Style class more flexible for inheriting and reuse
3097 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3099 * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked
3100 state restored correct on PostBack.
3103 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3105 * ObjectDataSourceView.cs: correctly find the type when it is not in the
3106 executing assembly. Fixes bug #78321. Patch by Marek Habersack.
3108 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3110 * ControlParameter.cs: fix search for controls so that they use their
3111 NamingContainer, not the Page. Patch by Marek Habersack that fixes
3114 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3116 * Login.cs: fix problem with the login control and master pages.
3117 Patch by Marek Habersack that fixes bug #78219.
3119 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3121 * TreeView.cs: fixed: populating nodes.
3124 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3126 * TreeNode.cs: fixed: ToggleExpandState.
3128 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
3130 * SqlDataSourceView.cs: return DataView from ExecuteSelect when
3131 DataSourceMode is DataSet.
3133 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3135 * TreeView.cs: fixed: populating nodes flow.
3136 * TreeNodeCollection.cs
3139 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3141 * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.
3143 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3145 * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.
3147 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3149 * TreeView.cs: fixed: when specified value is not one of
3150 the TreeNodeTypes values exception is threw.
3152 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3154 * TreeView.cs: fixed: when specified image set is not one of
3155 the TreeViewImageSet values exception is threw.
3157 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
3159 * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.
3161 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
3163 * Style.cs: implemented SetBit().
3165 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3167 * CompareValidator.cs: fixed controltocompare attribute.
3169 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3172 when login attempt was not successful FailureText is shown.
3174 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3176 * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage
3177 is formatted correct.
3179 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3181 * CreateUserWizard.cs:
3182 * CompleteWizardStep.cs:
3183 * CreateUserWizardStep.cs:
3185 fixed: ContinueButtonClick occurs when the user clicks
3186 the Continue button in the final user account creation step.
3187 ContinueDestinationPageUrl - redirected after clicking
3188 the Continue button on the success page.
3190 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3192 * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
3193 insted internal DataControlButton.
3195 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3197 * Button.cs: implemented GetPostBackOptions + refactoring
3199 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3201 * ImageButton.cs: implemented 2.0 features
3202 OnClientClick attached to onclick attribute.
3203 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3204 generate onclick attribute.
3206 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3208 * LinkButton.cs: typo fix
3210 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3212 * Button.cs: refactoring
3214 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3216 * LinkButton.cs: implemented 2.0 features
3217 OnClientClick attached to onclick attribute.
3218 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3221 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
3223 * Button.cs: implemented 2.0 features
3225 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
3227 * Menu.cs: refactoring
3230 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3232 * TreeView.cs: fixed data binding
3234 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3236 * TreeNodeBinding.cs: fixed ToString method
3238 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3240 * MenuItem.cs: typo fix
3242 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3244 * CreateUserWizardStep.cs: fixed validators message display
3246 2006-08-25 Kornél Pál <kornelpal@gmail.com>
3248 * FileUpload.cs: Use assembly name constants.
3250 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3252 * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
3253 always creates ExtractTemplateValuesMethod delegate
3255 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
3257 * TreeNodeBinding.cs: corrected public interface
3260 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3262 * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
3263 case, but there are many others.
3265 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3267 * Menu.cs: corrected rendering of static and dynamic items
3270 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3274 fixed: AddAttributesToRender method calls FillStyleAttributes,
3275 text styles applied correct.
3277 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3280 fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
3281 refactoring: Name and Names properties has same source in bag.
3283 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3285 * Style.cs: restored r63894: for 1.x is refactoring only
3287 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3290 fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
3291 added ClearDefaults method for 2.0.
3293 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3295 * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
3298 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3300 * SubMenuStyle.cs: fixed:
3301 Unit.ToString() already include unit (e.g. "3px")
3303 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3306 * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
3307 submitted for review and it only added tests for the 2.0 profile.
3309 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3311 * FormView.cs: added explicit implementation of
3312 IDataItemContainer.DataItemIndex, as documented
3314 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
3317 When style is registered with StyleSheet AddAttributesToRender method
3318 adds class attribute but not style to writer
3320 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
3323 OnBubleEvent works properly - controls like Button, LinkButton nested into template
3324 can raise MenuItemClick event,
3325 ViewState of Items saved and restored properly.
3327 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
3329 * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
3332 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
3334 * Menu.cs: fixed databinding feature:
3335 ensure that items initialization occurs only once
3337 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
3339 * Menu.cs, MenuItem.cs: fixed databinding feature
3341 2006-08-09 Robert Jordan <robertj@gmx.net>
3343 * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
3344 replace ResolveUrl with ResolveClientUrl to match MS.NET's
3345 behaviour. Fixes bug #77539.
3347 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
3349 * HierarchicalDataBoundControl.cs: fixed DataBind flow
3351 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3357 * WebControl.cs: fixed ParseChildren attribute to be compliant
3360 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3362 * MultiView.cs: fixed: EnableTheming property
3364 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3368 * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
3370 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3372 * Style.cs: fixed restoring FontInfo from ViewState
3374 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3376 * XmlDataSource.cs: implemented caching functionality
3378 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3380 * PagerSettings.cs: Fixed the pager range calculation formula. The old
3381 one didn't work with more than 20 pages. Patch by Marek Habersack that
3384 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3386 * FormView.cs: fixes to make Render more similar to dotnet.
3388 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
3390 * Wizard.cs: fixed return value of OnBubbleEvent
3392 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3394 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
3395 handle null result of GetData().
3397 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3399 * FormView.cs: use TableStyle for ControlStyle.
3401 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3403 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
3405 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3407 * FormView.cs: init DataKeys and fix null reference.
3409 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3411 * TreeView.cs: several changes to improve compatibility with MS.
3412 Patch by Marek Habersack that fixes bug #77551.
3414 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3416 * Style.cs: output the text-decoration value even when it is 'none'.
3417 Patch by Marek Habersack that fixes bug #78968.
3419 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3421 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
3424 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3426 * DetailsViewRowCollection.cs: returns this in SyncRoot.
3428 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3430 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
3433 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3435 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
3437 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3439 * AutoGeneratedField.cs: fix the internal constructor according to test
3440 DetailsView_CreateAutoGenerateRow.
3442 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
3444 * XmlDataSource.cs: implemented XSLT, removed properties from
3446 * XmlDataSourceView.cs: fixed default xpath
3448 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
3450 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
3452 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
3454 * Wizard.cs: fixed ActiveStep property
3455 fixed templated side bar
3457 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3459 * ImageField.cs: fix null reference bug.
3461 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3463 * DetailsView.cs: init DataKey property with empty collection.
3464 * DataKey.cs: fix unexpected exception bug.
3465 * DataControlField.cs: override ToString according to MSDN.
3467 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3469 * DetailsView.cs: create table style in CreateControlStyle.
3471 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3473 * DetailsView.cs: don't throw the exception which .Net does not throw.
3475 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3477 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
3478 to match .Net; fix PageCount to match record count.
3480 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3482 * Menu.cs: fixed properties default values, fixed rendering
3485 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3487 * Wizard.cs: implemented SkipLinkText, TagKey
3488 fixed rendering bugs, fixed templated button bar rendering
3489 fixed side bar rendering
3490 * WizardStepBase.cs: fixed Name property
3492 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3494 * DetailsView.cs: fix the regressions, caused by the previous commit.
3496 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3498 * DetailsView.cs: correct handling the different default values of
3499 DetailsView.CellSpacing and Table.CellSpacing.
3501 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3503 * DetailsView.cs: create a pager row when needed.
3505 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3509 * PagedDataSource.cs:
3512 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
3513 support it. The GridView control will no longer throw an exception when
3514 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
3516 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3518 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
3519 Rows with empty collection; call EnsureChildControls from get Row;
3520 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
3521 implemented IPostBackContainer.GetPostBackOptions.
3523 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3525 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
3526 and FooterText are empty, to match .NET. Otherwise we have NullReference
3529 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3531 * DetailsView.cs: Render fix.
3533 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3535 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
3538 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3540 * DetailsView.cs: NullReferenceException fix
3542 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3544 * PagerSettings.cs: implemented PropertyGhanged event
3546 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3548 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
3549 with .Net; don't throw NotImplemented when base class implementation
3552 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3554 * DetailsViewPagerRow.cs: add a stub for this class
3556 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3558 * GridView: fixed DataKeyNames property, moved to ControlState
3559 fixed PageCount property, initial PageCount ahould be zero
3560 fixed SelectedDataKey, should throw exception if not initialized
3561 fixed CreateColumns, wrong order of columns
3562 fixed CreateControlStyle,
3563 fixed InitializePager, no columnspan attrib on only one column
3564 fixed LoadControlState, SaveControlState added DataKeyNames
3565 fixed Render, RenderGrid should render within div tag
3566 implemented GetPostBackOptions
3567 * DataControlButton.cs: fixed Render, fixed style for img button
3569 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3571 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
3574 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3576 * CommandField.cs: fixed ValidateSupportsCallback
3578 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3580 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
3581 affect the flow yet.
3583 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3585 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
3587 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3589 * WebControl.cs: fix for AddAttributesToRender - add display
3590 style when appropriate
3592 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3594 * CommandField.cs: fixed InitializeCell, wrong order of command
3596 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
3597 should be rendered as label
3598 * BoundField.cs: empty null value should be rendered as nbsp
3599 * GridViewRowCollection.cs: fixed SyncRoot
3601 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3603 * SiteMapPath.cs: create Literal instead of Label according to the
3604 MSDN and test SiteMapPath_InitializeItem.
3606 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3608 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
3609 * Image.cs: in 2.0 there is no border attribute, but border-width
3612 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3614 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
3616 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3618 * DataList.cs: correctly initialize editable items when there's an
3619 EditItemTemplate. Patch by Jarosław Pawlak.
3621 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
3623 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
3626 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3628 * BulletedList.cs: fixed Render, RenderBulletText, various properties
3629 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
3632 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3634 * MultiView.cs: 'initied' state variable was changed to views count in
3635 the views collection.
3637 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3639 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
3640 checkbox should have tooltip
3641 * HyperLinkField.cs: fixed InitializeCell, should create link control
3642 only in data cell (not in header or footer), initialization of
3644 * ImageField.cs: fixed InitializeDataCell, initialization of
3647 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3649 * MultiView.cs: removed exception throwing from ActiveViewIndex
3651 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
3653 * DataControlFieldCollection.cs: added OnClearComplete override;
3654 refactor to eliminate null reference exception.
3656 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3658 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
3659 * View.cs: fixed Visible property
3661 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
3663 * ImageField.cs: fixing .net compliancy.
3665 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
3667 * SiteMapPath.cs: fix the default PathSeparator value.
3669 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3671 * GridView.cs: always create Header/Fotter rows, but render only when
3672 ShowHeader/Footer is true. Compute Header/Footer rows from rows
3674 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
3675 add ToolTip and Text to the created CheckBox,
3676 wrap exception thrown in OnDataBindField in httpException.
3678 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3680 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
3682 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3684 * DataControlField.cs: correct handling empty header/footer text.
3685 * TemplateField.cs: correct initialization according to
3686 DataControlRowState.
3688 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
3690 * Wizard.cs: added functionality for Templated WizardStep
3691 and CreateUserWizard
3692 * added CompleteWizardStep.cs, CreateUserWizard.cs,
3693 CreateUserWizardStep.cs, TemplatedWizardStep.cs
3695 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3697 * AutoGeneratedField.cs: correcting default dataType.
3699 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3701 * DataControlField.cs: fixed Initialize, should always return false
3703 2006-07-03 Lluis Sanchez <lluis@novell.com>
3705 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
3707 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3709 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
3710 setting RequiresDataBinding in OnLoad event.
3711 * GridView.cs: DataBind rows before other control can access the data.
3712 * BoundField.cs: add unique ID to control for postback parameters.
3714 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3716 * WebControl.cs: fix typo in EnableTheming.
3718 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
3720 * MenuItemCollection.cs: save items if the collection is dirty.
3721 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
3722 Add item to collection before binding to let the state be correctly tracked.
3723 * Menu.cs: Add item to collection before binding to let the state be correctly
3726 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
3728 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
3729 test against with "^...$" if necessary. MS.NET does this too.
3731 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
3733 * WizardStepCollection.cs: Fixed Add methods to initialize
3734 WizardStep.Wizard property
3735 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
3736 Fixed GetStepType, if only one step present, it should be FinishStep
3737 Fixed styles of tables for more accurate rendering, fixed Wizard
3740 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
3742 * FormView.cs: instantiate correct template when the bounding data source is
3745 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
3747 * FormView.cs: disabling setting out of range FormView.PageIndex.
3749 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
3751 * FileUpload.cs: added
3753 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
3755 * FormView.cs: handle CssClass attribute
3757 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3759 * Button.cs: do something in PostBackUrl.
3760 * Repeater.cs: when creating the RepeaterItemCollection, initialize
3761 'items' if it hasn't been done yet. Fixes bug #78417.
3763 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
3765 * BaseDataList.cs: added ConnectToDataSource method that called from
3766 OnLoad, fixed GetData method
3767 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
3770 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
3772 * Menu.cs: add CssStyle value to the rendered class attribute
3774 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
3776 * Calendar.cs: Make sure WebControls.Enabled is respected.
3777 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
3778 to 12:00am as MS.NET does the same.
3781 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3783 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
3784 DataSourceViewChanged, looks for a datasource in its parent control
3785 fixed GetData method, should not get data if datasource is null
3787 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
3789 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
3791 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3793 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
3795 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3797 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
3799 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3801 * DataList.cs: Fixed LoadViewState method
3803 2006-05-04 Lluis Sanchez <lluis@novell.com>
3805 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
3807 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3809 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
3811 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3813 * FormView.cs: fix FormView.PageCount after data binding.
3815 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3817 * CheckBox.cs: certain attributes have to be rendered in the input tag,
3818 not the <span>. Fixes bug #71251.
3820 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3822 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
3825 ensure rebinding when FormView.PageIndex is called.
3826 and bind to the correct PageIndex.
3828 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3830 * MenuItem.cs: when binding to IHierarchyData, check whether
3831 it implements INavigateUIData and retrieve NavigateUrl.
3832 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
3834 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
3835 Provide basic CreateChildControls implementation by ensuring the control is bound.
3836 Ensure the child controls are created when the postback event is raised.
3837 Provide default implementation for SkipLinkText to let the default functionality to work.
3839 2006-04-11 Lluis Sanchez <lluis@novell.com>
3841 * TreeNodeBinding.cs: Added HasPropertyValue property
3842 to check if some properties have a value in the
3844 * TreeNode.cs: Lazily get the dataPath. Instead of getting
3845 bound properties when they are requested, get all of
3846 them when the node is bound and store their values in
3847 the state bag. In this way it won't be necessary to
3848 query every time the datasource to get the values.
3849 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
3850 * TreeView.cs: Call base in OnInit(). Bind nodes after
3851 adding them to the list, to properly keep track of
3852 changes. Don't databind in postbacks.
3854 2006-04-11 Chris Toshok <toshok@ximian.com>
3856 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
3858 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3860 * BaseDataList.cs: Fix searching control by DataSourceID.
3861 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
3864 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3866 * Login.cs: Added LayoutTemplate property support.
3867 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
3868 DataBind: correctly bind child controls.
3869 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
3871 2006-03-29 Robert Jordan <robertj@gmx.net>
3873 * DataGrid.cs: if custom paging is enabled the persisted item count
3874 must be the count of the rendered items, otherwise paging from the
3875 last to a previous page won't work correctly. Fixes bug #77556.
3877 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
3879 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
3880 when rendering disabled list control
3882 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3884 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
3886 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
3888 * FontInfo.cs: Implemented ShouldSerializeNames
3890 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3892 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
3894 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3896 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
3898 in PrepareControlHierarchy fixed style applying to AlternatingItem
3900 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
3902 * DataList.cs: fixed RepeatColumns property, added value validation
3903 in PrepareControlHierarchy method fixed style applying for
3904 AlternatingItem, EditItem and Separator item
3905 fixed RenderContents method, if no items exist, no nned to
3906 render emty table strructure.
3908 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3910 * CompareValidator.cs: when searching for the control to compare, use
3911 NamingContainer instead of Page. Fixes bug #77793.
3913 2006-03-15 Chris Toshok <toshok@ximian.com>
3915 * SiteMapPath.cs (InitializeItem): in the Current and Root node
3916 cases, apply the NodeTemplate if it exists and there isn't a
3917 CurrentNodeTemplate or RootNodeTemplate, respectively.
3919 2006-03-15 Chris Toshok <toshok@ximian.com>
3921 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
3923 * SiteMapDataSource.cs (StartingNodeOffset): new property.
3924 (GetStartNode): add code to handle StartNodeOffset < 0.
3926 * CompositeControl.cs
3927 (ICompositeControlDesignerAccessor.RecreateChildControls): just
3928 call the non-iface method.
3930 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
3931 traverse up the naming container tree looking for our datasource
3932 if we're bound using a DataSourceID. This fixes things in the
3933 sitemap1 test, which uses a mixture of templates and
3934 ContentPlaceholders with the sitemapdatasource and sitemappath at
3935 different levels in the naming container tree (let along the
3938 * SiteMapPath.cs (DataBind): implement this by chaining up to
3939 base.DataBind, then by looping over our children, emitting
3940 OnItemDataBound for each SiteMapNodeItem.
3941 (AddAttributesToRender): remove.
3942 (CreateChildControls): call DataBind as the final step here.. I
3943 have, of course, no idea if this is right.
3944 (CreateControlHierarchy): don't databind our children here, as
3945 they need to be in the Controls collection before we do.
3946 (RenderContents): render our accessibility/screenreader stuff
3947 here, if SkipLinkText != "".
3949 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
3951 * DataGridPagerStyle.cs: fixed PrevPageText property
3953 2006-03-13 Chris Toshok <toshok@ximian.com>
3955 * BaseCompareValidator.cs (Convert): make the
3956 ValidationDataType.String case a bit more compact.
3958 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3961 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
3962 Patch by Hubert Fongarnand.
3964 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3966 * FontInfo.cs: fixed CopyFrom, this method should not reset the
3967 received fontinfo if it is the same instance
3968 fixed ToString, corrected output where only font size specified
3970 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3972 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
3973 if it not set but the border has width
3974 fixes in CopyFrom, MergeWith correct unit compare when it has zero
3977 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3979 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
3980 properties of custom class
3981 fixed InitializeNumericPager, pager numbers should be a Label control
3982 fixed CreateControlHierarchy, corrected dataset index of items if
3985 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
3987 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
3989 fixed CreateControlStyle to set correct cellspacing of table style
3990 fixed InitializeItem to correct applying template to selected and
3993 2006-03-08 Chris Toshok <toshok@ximian.com>
3995 * SiteMapNodeType.cs: nuke.
3997 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
3998 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
3999 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
4000 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
4001 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
4002 ValidationCompareOperator.cs, ValidationDataType.cs,
4003 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
4004 [Serializable] in 2.0.
4006 * DayNameFormat.cs: add "Shortest".
4008 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
4010 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
4013 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
4015 * TextBox.cs: fixed missing value validations, fixed rendering
4016 of empty value attribute
4018 2006-03-07 Chris Toshok <toshok@ximian.com>
4020 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
4021 by chaining up to base.EnableTheming.
4023 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
4025 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
4027 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
4029 * RadioButton.cs: added ValueAttribute property to store the button
4031 * RadioButtonList.cs: fixed tab index when rendering.
4033 2006-03-02 Chris Toshok <toshok@ximian.com>
4035 * WebControl.cs (SkinID): implement setter/getter, and have them
4036 just chain up to base.SkinID.
4038 2006-02-27 Chris Toshok <toshok@ximian.com>
4040 * SqlDataSource.cs: track change to DataSourceControl's protected
4043 * AccessDataSource.cs: same.
4045 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
4047 * ListControl.cs: fixed SelectedIndex property, fixed selection
4048 reset on incorrect value
4050 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
4052 * TableStyle.cs: fixed AddAttributesToRender function, style
4053 BorderCollapse:Collapse was added if table's CellSpacing is zero
4055 2006-02-23 Chris Toshok <toshok@ximian.com>
4057 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
4058 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
4059 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
4060 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
4061 ImageButton.cs, ImageField.cs, Literal.cs,
4062 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
4064 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
4065 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
4066 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
4067 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
4068 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
4069 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
4070 errors. most were caused by a property/method being virtual when
4071 it shouldn't be, or vice versa.
4073 2006-02-22 Chris Toshok <toshok@ximian.com>
4075 * ObjectDataSource.cs: corcompare work.
4077 2006-02-22 Chris Toshok <toshok@ximian.com>
4079 * ParameterCollection.cs: add an EditorAttribute to the class.
4081 * Parameter.cs: cleanup, fix the Value property, and implement the
4084 * SqlDataSourceView.cs: clean things up a bit, and add handling
4087 2006-02-22 Chris Toshok <toshok@ximian.com>
4089 * SqlDataSourceFilteringEventArgs.cs: formatting.
4091 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
4092 both the property and ctor arg.
4094 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
4095 not CommandEventArgs. Also, cast the return value of
4096 oleCommand.ExecuteReader.
4098 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
4100 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
4101 (GetPhysicalDataFilePath): implement, again naively. this is
4102 where the NRE is generated when we access ConnectionString in a
4104 (ConnectionString): dynamically generate this based on our
4106 (DataFile): clear the ConnectionString in the setter so we'll
4108 (ProviderName): use base.ProviderName in the getter, not
4109 this.ProviderName, so we don't recurse infinitely.
4111 * SqlDataSourceView.cs: start reworking this class.
4113 * SqlDataSource.cs (GetDbProviderFactory): implement this,
4114 following the MS docs on the matter (if ProviderName is null/"",
4115 return SqlClientFactory.Instance.)
4116 (GetDbProviderFactoryInternal): add an internal method for use by
4118 (TrackViewState): don't invoke View.TrackViewState unless we have
4120 (Selecting): change event handler type to match MS.
4121 (Filtering): add missing event.
4122 (View): call CreateDataSourceView, don't just create an
4125 2006-02-21 Chris Toshok <toshok@ximian.com>
4127 * BoundField.cs: ues the ViewState.Get* pattern with default
4128 instead of the explicit ViewState lookup + null check, and fix the
4129 scope of InitializeDataCell.
4131 * ButtonField.cs: ues the ViewState.Get* pattern with default
4132 instead of the explicit ViewState lookup + null check.
4134 * CommandField.cs: same.
4136 * CheckBox.cs: same.
4138 * AutoGeneratedFieldProperties.cs: same.
4140 * BaseDataList.cs: same.
4142 * CircleHotSpot.cs: same.
4144 * BulletedList.cs: same.
4146 * DataBoundControl.cs: same.
4148 * CookieParameter.cs: same.
4150 * ControlParameter.cs: same.
4152 * CustomValidator.cs: same.
4154 * ButtonFieldBase.cs: same.
4156 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
4158 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
4160 * BaseValidator.cs: same, and clean up the getter/setter formatting.
4162 * CompareValidator.cs: same.
4164 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4166 * ListControl.cs: fixed DataSource property, to throw
4167 ArgumentException on incorrect value
4169 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4171 * Image.cs: fixed missing border="0" attribute, when image has style,
4172 but border width is not specified.
4174 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4176 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
4177 correct the "disabled" attribute in CheckBoxList
4178 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
4179 attribute in CheckBoxList
4181 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4183 * CheckBox.cs: fixed Render function, removed rendering of empty
4184 <span> element if ControlStyleCreated but it's empty.
4185 fixed "disabled" attribute, it should be placed into span element
4187 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4189 * BoundColumn.cs: fixed InitializeCell function, if DataField is
4190 null or empty string, the cell should not be bound.
4192 2006-02-08 Chris Toshok <toshok@ximian.com>
4194 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
4195 AppendDataBoundItems != false. Also, split all the databinding
4196 logic out to DoDataBinding, which we call from here only if
4198 (DoDataBinding): new function. actually perform the binding.
4199 (PerformDataBinding): implement.
4200 (PerformSelect): chain up to base class.
4202 2006-02-07 Chris Toshok <toshok@ximian.com>
4204 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
4206 * Content.cs: use ContentControlBuilderInternal, and add a bunch
4207 of unused (for now) EventHandler's here.
4209 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
4212 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4214 * ListControl.cs: bound checking for Items when loading the control
4215 state, as the number might have been changed on the fly. Patch by
4218 2006-01-22 Chris Toshok <toshok@ximian.com>
4220 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
4222 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
4223 the intended comparison right and quiet mcs.
4225 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4227 * Button.cs: Add semicolon after client script if does not exist.
4229 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4231 * Button.cs: preserve user logic when adding client validation.
4233 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4235 * BaseValidator.cs: fixing visibility bahavior
4237 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4239 * RangeValidator.cs: allow empty data from the control. Patch from Marek
4240 Habersack that fixes bug #77239.
4242 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4244 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
4245 by Cyrille Colin. Closes bug #77184.
4247 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
4249 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
4250 compilation pass with csc 1.1.
4252 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4254 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
4256 2005-12-07 Chris Toshok <toshok@ximian.com>
4258 * BaseValidator.cs: in the uplevel rendering case, don't render
4259 the text if the validator's Display attribute is "None". Should
4262 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4264 * RadioButton.cs: if the 'value' attribute is set explicitly (as
4265 RadioButtonList does now), use that as the 'name' attribute.
4266 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
4271 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4273 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
4274 the 'name' attribute when not aligninng to the right.
4275 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
4276 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
4278 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4280 * DataGrid.cs: clear the control collection on every call to
4281 CreateControlHierarchy. Fixes bug #76732.
4283 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4285 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
4287 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4289 * CheckBox.cs: use the NameAttribute property for setting 'name'.
4290 * RadioButton.cs: get a UniqueID based identifier for 'name'.
4293 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4295 * LinkButton.cs: don't output any javascript when the linkbutton is
4296 disabled. Fixes bug #76713.
4298 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4300 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
4301 UseAccesibleHeader property is true. Patch by Robert Jordan.
4303 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4305 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
4306 control to validate. Fixes bug #76641.
4308 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4310 * BoundColumn.cs: when the column is readonly and we're in edit mode,
4311 keep it as a TextBox. Fixes bug #76714.
4313 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4315 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
4316 enabled. Fixes bug #76608.
4318 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4320 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
4321 the logic to Render and make it render the ID, which fixes bug #76596.
4323 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4325 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
4327 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4329 * Literal.cs: allow LiteralControl as child, but instead of adding it
4330 to the control collection, it just gets the Text out of it.
4332 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4334 * PagedDataSource.cs: fix range when we're at the last page.
4335 * DataGrid.cs: only need to keep the item count in the viewstate.
4338 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4340 * ListControl.cs: made GetSelectedIndices() internal.
4341 * ListBox.cs: html-encode the item text. Fixed single and multiple
4342 selection handling. All the tests pass now. Closes bug #76478.
4344 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4346 * ListControl.cs: throw when the selected value is not in the
4347 items collection. Fixes bug #76415.
4349 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4351 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
4352 throw a nullref, so we have to do it by ourselves here to make
4355 * BaseValidator.cs: render the text of the error message even if
4356 we set IsValid programatically. Don't use 'valid' directly, as
4361 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4363 * CustomValidator.cs: an empty ControlToValidate is valid.
4365 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
4367 * RequiredFieldValidator.cs: Added missing permissions.
4369 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4371 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
4372 Now the items get the attributes from the styles in datalist. Add the
4373 separators after each item, not before. GetItemStyle returns the actual
4374 item style, not the styles in the datalist. Fixes bug #76384 and all
4377 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4379 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
4382 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4384 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
4387 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
4389 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
4390 inheritance demands.
4391 * FontUnit.cs: Structs are sealed so there's no need for inheritance
4393 * Unit.cs: Structs are sealed so there's no need for inheritance
4396 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4398 * PagedDataSource.cs: fix the upper bound for collection and ilist
4401 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4403 * DataGrid.cs: change the ListItemType for the item selected, set
4404 SelectedIndex before calling OnSelectedIndexChanged and set the selected
4405 item type correctly when creating the columns. Fixes bug #76334.
4408 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
4409 selecting the row, the button keep the regular link color.
4411 * DataGridColumn.cs: made the class internal.
4413 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4415 * DataGrid.cs: fix breakaga of alternating item style in one of my
4418 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4420 * Calendar.cs: remove Console.
4421 * ListBox.cs: the name is the UniqueID, not the ClientID.
4422 * WebControl.cs: Attributes is case insensitive.
4424 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4426 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
4427 UniqueID without appending a ".x" or ".y". Fixes several issues in
4428 mojoPortal. Thanks to Joe Audetter for his patience.
4430 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4432 * ButtonColumn.cs: it was lacking databinding, so copied most of it
4435 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4437 * FontInfo.cs: removed useless ctor.
4438 * Style.cs: keep here some commented out debugging code.
4439 * DataGrid.cs: the Items property does not create a new arraylist if
4440 the items_list was already initialized. Add case for Separator.
4441 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
4442 in the header columns has a special ForeColor handling.
4444 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4446 * DataGrid.cs: PageCount must persist in ViewState too and returns the
4447 number of pages in the paged data source once we set that. Fix checks
4448 for visibility of the pager: no more 2 pagers when custom paging is
4451 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4453 * ImageButton.cs: fix a bug reported on the list. We were triggering the
4454 command event on every POST. And the 'name' attribute was not being
4455 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
4456 and we couldn't find the values.
4458 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4460 * DataGrid.cs: fix the links for the numeric pager.
4462 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4464 * DataGrid.cs: when paging is enable, the actual number of items is not
4465 the number of items rendered before the postback, but that number times
4466 the number of pages. Now we store the page count in the viewstate. Also,
4467 as the number might be big, don't allocate an array of objects to fake
4468 the collection for the PagedDataSource, but use the new NCollection
4469 class instead, which provides cheap (memory wise) enumerator for an
4470 arbitrary number of items. Thanks to "Adriano" for the test case.
4472 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4474 * Xml.cs: the show must go on. Removed a few NotImplemented.
4476 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4478 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
4479 existing code in 1.1 (or viceversa). RenderContents() does nothing.
4481 * DataGrid.cs: changed autoid api.
4483 * EditCommandColumn.cs: only 'Update' causes validation.
4485 * TableCell.cs: changed autoid api. RenderContents checks the number
4486 of controls to decide what to do, not the value of Text in the
4489 * TableRow.cs: changed autoid api.
4491 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
4492 event. When we get an EditItem, we need a TextBox to be created and
4493 this one will be the one that gets the event. Changed
4494 ItemDataBinding to deal with a TextBox too.
4496 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4498 * PagedDataSource.cs: fix IsLastPage. All tests pass.
4499 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
4500 need to keep the old one in a field. Now all tests pass here too.
4502 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4504 * PagedDataSource.cs: don't use the properties when they just return a
4505 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
4506 before ICollection (otherwise, an IList will always fall under the
4507 ICollection case). The enumerator for lists will be empty if 'start'
4508 is beyond the list size. All existing tests pass, but one in
4509 DataGridTest that fails because of some problem with the paging.
4511 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4513 * Style.cs: fix the 2.0 build.
4515 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4517 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
4518 instead write the style attributes directly to the HtmlTextWriter.
4520 * CheckBox.cs: adapted to new API.
4522 * DataGrid.cs: handle null data sources. Fixed the contions that make
4523 the table to be added to the Controls collection.
4525 * Calendar.cs: the table needed an ID and the attributes from the
4526 parent. Also don't create the ControlStyleCollection if it has not
4527 already been created.
4529 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4531 * DataGrid.cs: handle null data sources. Fixed the contions that make
4532 the table to be added to the Controls collection.
4534 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4536 * Calendar.cs: TrackViewState should be called upon creation, not on
4537 every get_XXX call. Cleanup.
4539 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4541 * DataGrid.cs: fix another test. The ID of the table generated by the
4542 datagrid is set to the one on the datagrid if no one set the ID for the
4545 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4547 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
4550 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4552 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
4553 converted to string as X{1,2}-.*. All FontUnitTests pass now.
4554 * Unit.cs: throw a format exception when there's not number or minus
4555 sign in the first non-whitespace character.
4557 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4559 * ListControl.cs: SelectedIndex/SelectedValue can be set before
4560 DataBinding () is called on the control, so we have to keep this values
4561 around and use them after the data is read. If both properties are
4562 used, they must refer to the same item.
4564 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4566 * DataList.cs: fill in the data keys from BaseDataList so that the
4567 events can see them. Only assign DataItem when using data binding and
4568 nullify it after all events are raised.
4570 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4572 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
4575 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4577 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
4579 * DataGrid.cs: Fix TagKey (table) for 2.0.
4580 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
4581 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
4583 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
4585 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
4586 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
4588 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
4590 * TreeView.cs: Added declarative security (Link and Inheritance
4591 demands) for Minimal.
4592 * XmlDataSource.cs: Added declarative security (Link and Inheritance
4593 demands) for Minimal.
4595 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4597 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
4598 Inheritance demands) for Minimal.
4599 * Label.cs: Added declarative security (Link and Inheritance demands)
4601 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
4602 * ListItemCollection.cs: Added declarative security (LinkDemands) for
4604 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
4605 2.0, Inheritance demands) for Minimal.
4606 * PagedDataSource.cs: Added declarative security (LinkDemands) for
4608 * Panel.cs: Added declarative security (Link and Inheritance demands)
4610 * Repeater.cs: Added declarative security (Link and Inheritance
4611 demands) for Minimal.
4612 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
4613 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
4615 * TargetConverter.cs: Added declarative security (Link and Inheritance
4616 demands) for Minimal.
4617 * Unit.cs: Added, but only for 1.x, declarative security (Link and
4618 Inheritance demands) for Minimal.
4619 * ValidatedControlConverter.cs: Added declarative security (Link and
4620 Inheritance demands) for Minimal.
4621 * WebColorConverter.cs: Added declarative security (Link and
4622 Inheritance demands) for Minimal.
4623 * Xml.cs: Added declarative security (Link and Inheritance demands)
4625 * ValidationSummary.cs: Added declarative security (Link and
4626 Inheritance demands) for Minimal.
4628 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4630 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
4632 2005-09-22 Ben Maurer <bmaurer@ximian.com>
4634 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
4635 it took O(height) time, not O(1).
4637 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4639 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
4641 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4643 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
4644 2.0, Inheritance demands) for Minimal.
4645 * BaseCompareValidator.cs: Added declarative security (Link and
4646 Inheritance demands) for Minimal.
4647 * BaseDataBoundControl.cs: Added declarative security (Link and
4648 Inheritance demands) for Minimal.
4649 * BaseValidator.cs: Added declarative security (Link and Inheritance
4650 demands) for Minimal.
4651 * BoundColumn.cs: Added declarative security (Link and Inheritance
4652 demands) for Minimal.
4653 * ButtonColumn.cs: Added declarative security (Link and Inheritance
4654 demands) for Minimal.
4655 * CalendarDay.cs: Added declarative security (Link and Inheritance
4656 demands) for Minimal.
4657 * CheckBoxList.cs: Added declarative security (Link and Inheritance
4658 demands) for Minimal.
4659 * CompareValidator.cs: Added declarative security (Link and
4660 Inheritance demands) for Minimal.
4661 * CustomValidator.cs: Added declarative security (Link and Inheritance
4662 demands) for Minimal.
4663 * DataBoundControl.cs: Added declarative security (Link and
4664 Inheritance demands) for Minimal.
4665 * DataGridItemCollection.cs: Added declarative security (Link and
4666 Inheritance demands) for Minimal.
4667 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
4669 * DataListItemCollection.cs: Added declarative security (LinkDemands)
4671 * DataListItem.cs: Added declarative security (Link and Inheritance
4672 demands) for Minimal.
4673 * FontNamesConverter.cs: Added declarative security (Link and
4674 Inheritance demands) for Minimal.
4675 * HyperLink.cs: Added declarative security (Link and Inheritance
4676 demands) for Minimal.
4677 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
4678 demands) for Minimal.
4679 * Image.cs: Added declarative security (Link and Inheritance demands)
4682 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4684 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
4686 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
4687 a data source, first try reflection, then componentmodel. If we get
4688 an enumerator, keep it around, as MS only calls GetEnumerator once.
4689 Throw an exception if no columns can be created from the given data
4690 source. Tested with DbDataRecord, DataTable, ArrayList and
4691 ICustomTypeDescriptor.
4693 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
4695 * AccessDataSource.cs: Added declarative security (Link and Inheritance
4696 demands) for Minimal. Added [ToolboxBitmap] on class.
4697 * AdRotator.cs: Added declarative security (Link and Inheritance
4698 demands) for Minimal. Removed extra Page and ViewState properties.
4699 * BulletedList.cs: Added declarative security (Link and Inheritance
4700 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4701 * Button.cs: Added declarative security (Link and Inheritance demands)
4702 for Minimal. Added [SupportsEventValidation] on class (2.0).
4703 * Calendar.cs: Added declarative security (Link and Inheritance
4704 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4705 * CheckBox.cs: Added declarative security (Link and Inheritance
4706 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4707 * CompositeControl.cs: Added declarative security (Link and Inheritance
4708 demands) for Minimal. Added new protected RecreateChildControls method.
4709 * DataControlCommands.cs: Added declarative security (LinkDemands) for
4710 Minimal. Added private ctor.
4711 * DataGrid.cs: Added declarative security (Link and Inheritance
4712 demands) for Minimal. Fixed properties for 2.0 (mostly removing
4713 [Bindable]). Added override for TagKey property.
4714 * DataGridColumn.cs: Added declarative security (Link and Inheritance
4715 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
4716 * DataGridItem.cs: Added declarative security (Link and Inheritance
4717 demands) for Minimal. Added IDataItemContainer interface for 2.0.
4718 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
4719 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
4720 * DataList.cs: Removed [Load|Save]ControlState methods.
4721 * DropDownList.cs: Added declarative security (Link and Inheritance
4722 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4723 * EditCommandColumn.cs: Added declarative security (Link and
4724 Inheritance demands) for Minimal. Added missing attributes,
4725 [DefaultValue] and [Localize] for 2.0.
4726 * FontInfo.cs: Added declarative security (Link and Inheritance
4727 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
4729 * Login.cs: Added declarative security (Link and Inheritance demands)
4730 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
4731 * ImageButton.cs: Added declarative security (Link and Inheritance
4732 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4733 * LinkButton.cs: Added declarative security (Link and Inheritance
4734 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4735 * ListBox.cs: Added declarative security (Link and Inheritance demands)
4736 for Minimal. Added [SupportsEventValidation] on class (2.0).
4737 * Literal.cs: Added declarative security (Link and Inheritance demands)
4738 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
4739 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
4740 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
4741 but will be shown as extra).
4742 * RadioButton.cs: Added declarative security (Link and Inheritance
4743 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4744 * RadioButtonList.cs: Added declarative security (Link and Inheritance
4745 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4746 * RangeValidator.cs: Added declarative security (Link and Inheritance
4747 demands) for Minimal. Added missing [Themeable] attributes.
4748 * RegularExpressionValidator.cs: Added declarative security (Link and
4749 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
4751 * RoleGroupCollection.cs: Added declarative security (Link and
4752 Inheritance demands) for Minimal. Fixed base class (changed in RC).
4753 Re-implemented CopyTo. Removed some methods.
4754 * Style.cs: Added declarative security (Link and Inheritance demands)
4755 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
4756 is now public in 2.0.
4757 * Table.cs: Added declarative security (Link and Inheritance demands)
4758 for Minimal. Added [SupportsEventValidation] on class (2.0).
4759 * TableCell.cs: Fixed PersistenceMode for 2.0.
4760 * TextBox.cs: Added declarative security (Link and Inheritance demands)
4761 for Minimal. Added [SupportsEventValidation] on class (2.0).
4762 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
4763 but will be shown as extra).
4764 * WebControl.cs: Added declarative security (Link and Inheritance
4765 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
4768 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4770 * TableStyle.cs: fixed typo that prevented restoring GridLines from
4773 * DataGrid.cs: the table does not get an auto ID. When restoring from
4774 viewstate, use all the saved columns, not just that data bound ones. Set
4775 the owner of the BoundColumns created. Save/restore columns.
4776 OnItemCreated happens after the item is initialized and the data item is
4777 set before the event and nullified after OnItemDataBound.
4778 Add the render_table to the Controls immediately, otherwise we might get
4779 errors from child controls such as "must be rendered inside a form".
4780 Keep the items created in the list waiting for them.
4781 The table uses the attributes from the DataGrid and ControlStyle.
4782 Raise OnItemCommand on all bubble events and don't propagate bubble
4783 event up in the hierarchy
4785 * TableCell.cs: it does not get an automatic ID.
4786 * BoundColumn.cs: FormatDataValue returns an empty string on null input
4787 (there was already a test for this).
4791 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4793 * DataGridColumnCollection.cs: track the view state in the newly added
4796 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4798 * DataGrid.cs: merge column styles too. Fixes bug #76106.
4799 * DataGridColumn.cs: new internal method to retrieve the styles without
4800 creating an instance for them.
4802 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
4804 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
4805 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
4806 StateBag.SetDirty (true).
4808 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
4810 * Menu.cs: Fixed parameter orders for CreateStyleRule.
4812 2005-09-13 Chris Toshok <toshok@ximian.com>
4814 * Style.cs: corcompare stuff.
4816 * RequiredFieldValidator.cs: more corcompare stuff.
4818 * CheckBoxList.cs: clean up some of the interface methods vs
4819 protected virtual 2.0 calls.
4821 * SubMenuStyle.cs: corcompare says this should implement
4822 ICustomTypeDescriptor... sooo, make it.
4824 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4826 * TableCell.cs: do the same as HyperLink and others in
4827 AddParsedSubobject so that adding a literal control does not remove the
4828 existing controls if any. Fixes bug #76078.
4830 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4832 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
4834 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4836 * ImageButton.cs: fix invalid cast exception.
4838 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4840 * ListItem.cs: throw in AddParsedSubObject if the object is not a
4842 * RadioButtonList.cs: implemented LoadPostData and
4843 RaisePostDataChangedEvent.
4845 2005-09-09 Chris Toshok <toshok@ximian.com>
4847 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
4848 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
4849 LoadPostData/RaisePostDataChangedEvent.
4851 2005-09-09 Chris Toshok <toshok@ximian.com>
4853 * FontInfo.cs (IsEmpty): new internal property, used by
4856 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
4859 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4861 * ListItemCollection.cs: remove obsoleted methods.
4862 * ListBox.cs: use IStateManager on the item collection.
4864 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
4866 * Use C# 1.0 style of delegate instantiating. Needed to compile
4867 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
4869 2005-09-07 Chris Toshok <toshok@ximian.com>
4871 * Calendar.cs (WriteDay): always add BackColor=Silver,
4872 ForeColor=White to selected day cells, before copying over the
4873 selectedDayStyle, if it exists.
4874 (WriteDays): fix nunit test - if the first day of the month falls
4875 on the first day of the week, go back one week (effectively adding
4876 a row of dates from the previous month.)
4877 (WriteTitle): don't copy the control style to the tableTitle,
4878 since it might have height specifications, which would make the
4879 title look rather off.
4881 2005-09-07 Chris Toshok <toshok@ximian.com>
4883 * ValidationSummary.cs (AddAttributesToRender): we only set
4884 display=none if there are no errors.
4886 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
4887 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
4889 2005-09-07 Chris Toshok <toshok@ximian.com>
4891 * ListControl.cs (SelectedIndex): add comment about how you'd
4892 think OnSelectedIndexChanged would be called.. and you'd be wrong.
4893 (Text): implement in terms of SelectedValue.
4894 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
4895 (LoadControlState): implement - this is where the selected index
4896 ArrayList gets stuffed in 2.0.
4897 (OnInit): call Page.RegisterRequiresControlState.
4898 (OnTextChanged): implement.
4899 (RenderContents): for now just chain up to base.RenderContents.
4900 (SaveControlState): save our control state properly.
4901 (GetSelectedIndices): split this out from SaveViewState to it can
4902 be used by both that and SaveControlState.
4903 (SaveViewState): mangle this function so it works in both 2.0 and
4905 (LoadViewState): same.
4907 2005-09-06 Chris Toshok <toshok@ximian.com>
4909 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
4910 we weren't assigned an ID.
4912 * ValidationSummary.cs (AddAttributesToRender): same.
4914 2005-09-06 Chris Toshok <toshok@ximian.com>
4916 * WebControl.cs: revert the last change.
4918 2005-09-06 Chris Toshok <toshok@ximian.com>
4920 * WebControl.cs (AddAttributesToRender): always render ClientID.
4922 * ValidationSummary.cs (Render): same.
4924 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
4927 2005-09-06 Chris Toshok <toshok@ximian.com>
4929 * ValidationSummary.cs (Render): only do the JS stuff when the
4930 validators on the page are uplevel.
4932 * BaseValidator.cs (Render): remove unnecessary comment.
4934 2005-09-05 Chris Toshok <toshok@ximian.com>
4936 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
4937 stored in the ViewState.
4939 2005-09-02 Chris Toshok <toshok@ximian.com>
4941 * Repeater.cs (GetData): change this slightly so the Repeater
4942 doesn't keep a ref to the return value of GetData.
4944 2005-09-01 Chris Toshok <toshok@ximian.com>
4946 * ListControl.cs (AppendDataBoundItems): implement (2.0)
4949 2005-09-01 Chris Toshok <toshok@ximian.com>
4951 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
4952 System.Web.UI.WebControls/ValidatedControlConverter.cs,
4953 System.Web.UI.WebControls/Xml.cs,
4954 System.Web.UI.WebControls/RegularExpressionValidator.cs,
4955 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
4956 System.Web.UI.WebControls/Menu.cs,
4957 System.Web.UI.WebControls/MailMessageEventArgs.cs,
4958 System.Web.UI.WebControls/MenuItemStyle.cs,
4959 System.Web.UI.WebControls/RangeValidator.cs,
4960 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
4961 System.Web.UI.WebControls/MenuItem.cs,
4962 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
4963 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
4964 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
4965 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
4966 System.Web.UI.WebControls/XmlBuilder.cs,
4967 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
4970 2005-09-01 Chris Toshok <toshok@ximian.com>
4972 * System.Web.UI.WebControls/Button.cs,
4973 System.Web.UI.WebControls/ButtonField.cs,
4974 System.Web.UI.WebControls/DataControlField.cs,
4975 System.Web.UI.WebControls/BaseCompareValidator.cs,
4976 System.Web.UI.WebControls/AutoGeneratedField.cs,
4977 System.Web.UI.WebControls/CustomValidator.cs,
4978 System.Web.UI.WebControls/Content.cs,
4979 System.Web.UI.WebControls/BoundField.cs,
4980 System.Web.UI.WebControls/AdRotator.cs,
4981 System.Web.UI.WebControls/ButtonColumn.cs,
4982 System.Web.UI.WebControls/CompareValidator.cs,
4983 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
4984 work. Stub things out, and add attributes.
4986 2005-09-01 Chris Toshok <toshok@ximian.com>
4988 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
4989 CommandField.cs, HyperLinkColumn.cs, Table.cs,
4990 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
4991 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
4992 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
4993 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
4994 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
4995 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
4996 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
4997 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
4998 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
4999 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
5000 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
5001 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
5002 TableItemStyle.cs: Add some WebCategory and WebSysDescription
5005 2005-09-01 Chris Toshok <toshok@ximian.com>
5007 * AccessDataSource.cs: corcompare work.
5009 * SqlDataSource.cs: same.
5011 2005-09-01 Miguel de Icaza <miguel@novell.com>
5013 * Various places: make sure that the DefaultValue matches the
5014 type. Thanks to Michael for pointing this out.
5016 In future audits, you might want to use the following awk command:
5018 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
5019 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
5020 print $0; looking = 0; } /public/ && looking { looking = 0; } '
5023 The above skips bools, strings and ints as those were fine as we
5024 set them. The bug was on the other ones.
5026 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5028 * Repeater.cs: fix the build.
5030 2005-08-31 Chris Toshok <toshok@ximian.com>
5032 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
5033 {Base}DataList, and also from debug spew garnered from some
5034 Repeater subclass tests on MS.
5035 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
5036 the IEnumerable by calling GetData().
5037 (DataBind): reset RequiresDataBinding to false (2.0).
5038 (DataMember): copy the set implementation from DataList, and add
5039 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
5040 (DataSource): more c&p.
5041 (DataSourceID); implement (2.0)
5042 (Initialized): implement (2.0)
5043 (IsBoundUsingDataSource): implement (2.0)
5044 (RequiresDataBinding): implement (2.0)
5045 (SelectArguments): implement (2.0)
5046 (CreateDataSourceSelectArguments): implement (2.0)
5047 (EnsureDataBound): implement (2.0)
5048 (GetData): implement.
5049 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
5051 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
5052 leave the MonoTODO. (2.0)
5053 (OnInit): call base.OnInit instead of throwing NIE, but leave the
5055 (OnLoad): implement.
5056 (OnPreRender): implement.
5057 (ConnectToDataSource): new method - look for the right control.
5059 2005-08-31 Chris Toshok <toshok@ximian.com>
5061 * XmlDataSourceView.cs: fix the scope of our select. Don't use
5062 call SelectNodes on the XmlDocument, not on
5063 XmlDocument.DocumentElement.
5065 2005-08-31 Chris Toshok <toshok@ximian.com>
5067 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
5068 (DoXPathSelect): put the xpath selection stuff here.
5069 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
5072 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
5073 select here, the view does it.
5075 2005-08-31 Jackson Harper <jackson@ximian.com>
5077 * DataList.cs: Remove some debugging code that was starting to bug
5080 2005-08-31 Chris Toshok <toshok@ximian.com>
5082 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
5083 create our Navigator by calling node.CreateNavigator().
5085 2005-08-31 Chris Toshok <toshok@ximian.com>
5087 * XmlDataSource.cs (GetXmlDataDocument): rename this to
5088 GetXmlDocument, and change the return value from XmlDataDocument
5090 (LoadXmlDataDocument): similar change.
5091 (Save): xmlDataDocument -> xmlDocument.
5092 (CanBeSaved): there's no ReadOnly attribute.
5093 (LoadViewState, SaveViewState, TrackViewState): nuke.
5094 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
5095 (CacheDuration): stub out with NIE.
5096 (CacheExpirationPolocy): same.
5097 (CacheKeyDependency): same.
5098 (EnableCaching): same.
5100 (Data, DataFile): xmlDataDocument -> xmlDocument.
5101 (Schema, SchemaFile): nuke.
5102 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
5104 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
5106 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
5107 Don't use the obsolete IsSet method.
5108 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
5109 * CheckBox.cs: Implement some 2.0 methods.
5110 * GridView.cs: Removed some "throw new NotImplementedException"
5112 2005-08-29 Chris Toshok <toshok@ximian.com>
5114 * TreeView.cs: Use the StateBag accessors Ben added, and implement
5115 SkipLinkText and Visible.
5117 2005-08-29 Chris Toshok <toshok@ximian.com>
5119 * TreeView.cs: fix typo in an attribute.
5121 2005-08-29 Jackson Harper <jackson@ximian.com>
5123 * PagedDataSource.cs: If it's not a list or collection we don't
5124 use a bounded enumerator.
5126 2005-08-29 Chris Toshok <toshok@ximian.com>
5128 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
5130 * CheckBox.cs: same.
5132 * BaseValidator.cs: same.
5134 * DropDownList.cs: same.
5136 * ValidationSummary.cs: same.
5138 2005-08-28 Chris Toshok <toshok@ximian.com>
5140 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
5142 2005-08-26 Chris Toshok <toshok@ximian.com>
5144 * TextBox.cs: implement ValidationGroup and CausesValidation
5147 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
5149 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
5152 2005-08-26 Chris Toshok <toshok@ximian.com>
5154 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
5156 * FontUnit.cs: add two 2.0 ctors, and the 2.0
5157 ToString(IFormatProvider) method.
5159 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
5161 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
5162 no items are present in the list.
5163 * RoleGroup.cs: Added missing attributes.
5164 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
5165 documented) methods.
5166 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
5167 must be done in the HtmlTextWriter (not in the TableStyle).
5169 2005-08-26 Chris Toshok <toshok@ximian.com>
5171 * Calendar.cs (UseAccessibleHeader): implement.
5172 (RaisePostBackEvent): some #ifdef ugliness to get this all working
5173 propertly between 1.x and 2.0
5174 (WriteDayHeader): if UseAccessibleHeader == true, render header
5175 cells as th's, not td's, and add abbr and scope attributes.
5177 2005-08-25 Chris Toshok <toshok@ximian.com>
5179 * Calendar.cs (Caption, CaptionAlign): implement these properties.
5180 (Render): if we have a non-empty caption, show it.
5181 (WriteCaption): new method, output the caption.
5183 2005-08-25 Chris Toshok <toshok@ximian.com>
5185 * Calendar.cs (Render): Copy the entire style from the Calendar to
5186 the Table, not just the font.
5187 (WriteDay): don't just write the link/text/etc. Create a
5188 LiteralControl as a child of the cell, before the call to
5189 OnDayRender, with its text set to the day number. After
5190 OnDayRender, set the literal's text to either the number again (if
5191 it's not selectable) or the full text of the js __doPostBack
5192 hyperlink (if it is.) Also, use cell.RenderControl here so we can
5193 render child controls with the id's listed properly (and arguably
5195 (ApplyTitleStyleCell): remove.
5196 (WriteTitle): apply the titleStyle to the enclosing table, not the
5197 table cell containing the month name. Also, copy from the
5198 Calendar's ControlStyle to populate tableTitle's style initially.
5199 We end up with more (superfluous) style attributes than MS, but
5200 it's better than having less.
5202 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5204 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
5207 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5209 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
5210 and RegisteredCssClass property
5212 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5214 * LoginView.cs: Fixed attributes.
5215 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
5216 an exception to allow pages to work on 2.x.
5218 2005-08-25 Chris Toshok <toshok@ximian.com>
5220 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
5222 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
5225 * HiddenField.cs: stub out this class and label everything
5228 2005-08-25 Jackson Harper <jackson@ximian.com>
5230 * DataGrid.cs: Disable the pager row if there no paging enabled
5233 2005-08-25 Chris Toshok <toshok@ximian.com>
5235 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
5238 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
5239 add a using statement.
5241 2005-08-25 Chris Toshok <toshok@ximian.com>
5243 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
5246 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
5249 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5251 * Login.cs: Added rendering and fixed parts of the authentication.
5252 Now using IStateManager to allow compilation in another assembly (e.g.
5253 to test the control under IIS). Needs more tests (error conditions)
5254 once we get a "real" Membership provider running.
5255 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
5258 2005-08-25 Chris Toshok <toshok@ximian.com>
5260 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
5262 2005-08-25 Chris Toshok <toshok@ximian.com>
5264 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
5265 calling base.Foo to get the standalone adrotator (1.0) tests to
5266 run without throwing exceptions.
5268 2005-08-25 Chris Toshok <toshok@ximian.com>
5270 * ValidationSummary.cs (ValidationGroup): implement.
5271 (Render): use Page.GetValidators in .net 2.0, so we can support
5272 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
5275 2005-08-25 Chris Toshok <toshok@ximian.com>
5277 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
5278 2.0 attribute modifiers, and revert back to "override".
5280 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
5281 2.0 attribute modifiers, and revert back to "override".
5282 (BorderStyle): same.
5283 (BorderWidth): same.
5285 * TextBox.cs (SaveViewState): implement naively, calling
5287 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
5288 modifiers, and revert back to "override".
5290 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5292 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
5293 Load ViewState for derived classes; no public LoadViewState override
5294 exists in those classes
5295 * Style.cs: Added 2.0 IsStyleEmpty method
5297 2005-08-25 Jackson Harper <jackson@ximian.com>
5299 * DataGrid.cs: The number of pages set in the pager is specified
5302 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5304 * LoginView.cs: New (2.0). Work in progress.
5306 2005-08-24 Chris Toshok <toshok@ximian.com>
5308 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
5309 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
5310 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
5311 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
5312 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
5313 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
5314 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
5315 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
5316 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
5317 Add MonoTODO's for all things that throw NotImplementException.
5319 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
5321 * RoleGroup.cs: New (2.0). Complete implementation.
5322 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
5324 2005-08-23 Chris Toshok <toshok@ximian.com>
5326 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
5327 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
5328 even though they were written for the 1.0 stuff.
5330 2005-08-23 Chris Toshok <toshok@ximian.com>
5332 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
5333 output. Our tests now pass on both mono and ms, with both 1.x and
5336 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
5338 * Login.cs: Throw exception if the specified provider doesn't exists.
5339 * LoginStatus.cs: Complete events.
5341 2005-08-22 Jackson Harper <jackson@ximian.com>
5343 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
5345 (InitializeNumericPager): Now that the pager actually renders
5346 properly I can see that I was computing it incorrectly.
5348 2005-08-22 Jackson Harper <jackson@ximian.com>
5350 * DataGrid.cs (RenderTable): Make sure the new table gets the
5352 (CreateColumnSet): Clear the data source columnbs before adding
5353 new ones regardless of whether or not a property descriptor was
5355 (InitializePager): pager_cell needs to be a member so it isn't
5356 created more then once per a render.
5357 (InitializeNumericPager): Compute start and end more
5359 - Link commands are 1 indexed.
5360 (CreateControlHierarchy): Clear the table before we begin
5362 - Revert patch that made adding the pagers conditional. This is
5363 incorrect, the pagers are always added. Only their visibility is
5364 affected by the pager style.
5365 - Save the entire count in the viewstate, not just the rendered
5366 count. So when paging is enabled the pager's count isn't broken by
5369 2005-08-22 Chris Toshok <toshok@ximian.com>
5371 * LinkButton.cs (ValidationGroup): implement.
5372 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
5373 pass ValidationGroup to Page.Validate.
5375 2005-08-22 Chris Toshok <toshok@ximian.com>
5377 * ImageButton.cs (ValidationGroup): implement.
5378 (IPostBackEventHandler.RaisePostBackEvent): if we cause
5379 validation, call Page.Validate properly (in both profiles).
5381 2005-08-22 Chris Toshok <toshok@ximian.com>
5383 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
5384 case, pass ValidationGroup to Page.Validate.
5385 (ValidationGroup): implement using ViewState.
5387 2005-08-22 Chris Toshok <toshok@ximian.com>
5389 * BaseValidator.cs (Text): 2.0 only. implement naively, just
5391 (OnInit): add 2.0 support for validation groups.
5394 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
5396 * LoginName.cs: New (2.0) web control.
5397 * LoginStatus.cs: New (2.0) web control.
5399 2005-08-19 Chris Toshok <toshok@ximian.com>
5401 * LinkButton.cs (ValidationGroup): implement getter/setter.
5402 (RaisePostBackEvent): implement naively, by c&p'ing the old
5403 implementation of IPostBackEventHandler.RaisePostBackEvent, but
5404 making use of the ValidationGroup in the call to Page.Validate.
5408 * Style.cs (LoadViewState): set our style flags for all the things
5409 we have flags for. Seems like the subclass flags should be
5410 handled in overridden LoadViewState methods, but none of the Style
5411 subclasses seem to override this method.
5413 2005-08-19 Chris Toshok <toshok@ximian.com>
5415 * TableStyle.cs (Merge, MergeWith): make these look a bit more
5416 like Copy/CopyFrom, with the styles checks instead of just
5419 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
5422 2005-08-19 Chris Toshok <toshok@ximian.com>
5424 * DataGrid.cs (InitializePager): don't unconditionally set
5425 pager_cell to the numeric pager (especially after setting it
5426 conditionally to the nextprev pager.)
5427 (InitializeNumericPager): the link buttons don't participate in
5429 (InitializeNextPrevPager): same.
5430 (CreateControlHierarchy): create the top/bottom pagers only if the
5431 PagerStyle says too.
5433 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
5435 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
5437 2005-08-18 Chris Toshok <toshok@ximian.com>
5439 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
5440 the start of this method so templates are created properly.
5442 2005-08-18 Dick Porter <dick@ximian.com>
5444 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
5445 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
5446 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
5447 BaseDataList.cs, DataList.cs, BulletedList.cs,
5448 DataBoundControl.cs, Login.cs, GridView.cs,
5449 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
5450 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
5451 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
5452 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
5453 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
5454 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
5455 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
5456 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
5459 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
5461 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
5463 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
5464 empty array of objects just to get the number of items.
5465 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
5466 but we're missing some bits from the class lib to complete all this...
5468 2005-08-17 Jackson Harper <jackson@ximian.com>
5470 * DataGrid.cs: Only create one pager and add it to both the top
5471 and bottom of the grid, this way all the id numbers stay the same
5472 and we save a bunch of cycles.
5474 2005-08-17 Jackson Harper <jackson@ximian.com>
5476 * DataGrid.cs: The top and bottom pagers are always created. Just
5477 the visibility is changed by the PagerStyle::Position.
5479 2005-08-17 Chris Toshok <toshok@ximian.com>
5481 * CompositeControl.cs (RecreateChildControls): implement naively -
5482 just call CreateChildControls. We might need to call
5483 Controls.Clear() as well, but for the time being, this is ok.
5485 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
5487 * BaseDataList.cs: Completed implementation for 2.0.
5489 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5491 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
5492 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
5494 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5496 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
5498 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
5499 Adjusted size and ordering of the ViewState (new element #0 is still
5500 unknown). Properly fixed the TagKey in 2.0.
5501 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
5502 all properties using enums.
5503 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
5504 * TableItemStyle.cs: Fixed attribute rendering to use style to render
5505 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
5507 2005-08-15 Jackson Harper <jackson@ximian.com>
5509 * EditCommandColumn.cs: Use a normal LinkButton.
5511 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5513 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
5514 viewstate (even if assigned to the default value).
5515 * TableRow.cs: Implement TableSection property (2.0). It has no effect
5516 on the rendering of the table row.
5518 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5520 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
5521 and removed [Bindable] attributes for 2.0.
5522 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
5523 attributes (for 2.0).
5524 * DataListCommandEventArgs.cs: Not sealed in 2.0.
5525 * DataListItemEventArgs.cs: Not sealed in 2.0.
5526 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
5527 attributes for URLs.
5528 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
5529 attributes for URLs.
5530 * Table.cs: Fixed [Editor] attribute for 2.0.
5531 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5532 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
5533 AssociatedHeaderCellID and it's [DefaultValue] attribute.
5534 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
5535 and Scope attributes.
5536 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
5537 on TableSection attribute.
5538 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5540 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
5542 * Image.cs: Fixed attributes for 2.0 profile.
5543 * Login.cs: Fixed some attributes and default values.
5544 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
5545 RaisePostBackEvent (TODO) in 2.0 profile.
5546 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
5547 and added AssociateHeaderCellID property (TODO).
5548 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5549 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
5550 page (if the device requires to breaks the table into multiple pages).
5551 This seems to be a "flag" class, the real work will be in Table.
5552 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
5553 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
5554 page (if the device requires to breaks the table into multiple pages).
5555 This seems to be a "flag" class, the real work will be in Table.
5556 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
5557 * TableRow.cs: Remove [Bindable (true)] from properties and add
5558 [Bindable (false)] and [Designer] on class. Added new TableSection
5560 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5561 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
5562 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
5563 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
5564 FillStyleAttributes method (2.0).
5566 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
5568 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
5569 attributes from existing controls.
5570 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
5571 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
5573 2005-08-12 Jackson Harper <jackson@ximian.com>
5575 * TableRow.cs: No AutoID for TableRows.
5577 2005-08-12 Jackson Harper <jackson@ximian.com>
5579 * DataGrid.cs (CreateRenderColumns): If we aren't using data
5580 binding grab the rendercols from the data source columns.
5581 (LoadViewState): Restore the bound columns when reloading the
5583 (InitializeNumericPager): Create elipsised pagers.
5584 (CreateItem): Don't set the item's ID.
5585 (CreateItem): Add the control to the table before it is databound
5586 so that it's value is saved in the viewstate.
5587 (CreateControlHierarchy): Create a fake data source when not using
5588 databinding. Don't add controls to the table as they are added in
5590 (PrepareControlHierarchy): Make footers and header non visible if
5591 they aren't enabled.
5593 2005-08-12 Chris Toshok <toshok@ximian.com>
5595 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
5596 docs says these methods/properties "ensure the child controls are
5597 created" -- so call EnsureChildControls() before invoking the base
5600 2005-08-12 Jackson Harper <jackson@ximian.com>
5602 * BoundColumn.cs: Set the controls text instead of adding a
5603 literal control. So it is saved in the controls viewstate.
5605 2005-08-11 Jackson Harper <jackson@ximian.com>
5607 * CheckBoxList.cs: Set the tabindex on the checkbox control and
5608 don't render it on the main table (Setting it to zero causes it to
5609 not be rendered). Also use the invariant culture on the id.
5611 2005-08-11 Dick Porter <dick@ximian.com>
5613 * CheckBox.cs: Let ViewState manage removals; apply styles and
5614 "style" attributes in a surrounding <span>. Fixes unit tests.
5616 2005-08-10 Chris Toshok <toshok@ximian.com>
5618 * Label.cs (LoadViewState): set the Text attribute from our
5619 ViewState (if it exists) to clear out any child controls. Fixes
5620 jsunit test label/label-child-control-postback.aspx.
5622 2005-08-10 Jackson Harper <jackson@ximian.com>
5624 * PagedDataSource.cs: Respect paging with all data source types.
5626 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
5628 * BaseDataList.cs: Changed Controls property from "virtual new"
5629 (2.0 doc) to "override" (monop) to fix the Visible bug (see
5630 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
5631 any controls (required due to change to Controls). Implemented
5632 DataBind(bool) for 2.0.
5633 * DataListItem.cs: Fix the multiple table when extractRows is used.
5634 Removed extra span tags by rendering contents (not control). Added
5635 support for IDataItemContainer (2.0).
5637 2005-08-08 Jackson Harper <jackson@ximian.com>
5639 * DataGrid.cs: Apply the styles to each item type.
5641 2005-08-08 Jackson Harper <jackson@ximian.com>
5643 * PagedDataSource.cs: If paging is not enabled keep enumerating to
5644 the end of the list.
5646 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
5648 * BaseDataList.cs: Remove old compatibility stuff.
5649 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
5650 * WebControl.cs: Always call CreateControlStyle to create the
5651 ControlStyle. Fix the exception for datalist-style-edit.aspx.
5653 2005-08-05 Jackson Harper <jackson@ximian.com>
5655 * DataGrid.cs: Don't make the current page index a link in the
5658 2005-08-05 Jackson Harper <jackson@ximian.com>
5660 * DataGrid.cs: Honour PagerPosition.
5662 2005-08-05 Jackson Harper <jackson@ximian.com>
5664 * PagedDataSource.cs: Round PageCount properly.
5666 2005-08-05 Dick Porter <dick@ximian.com>
5668 * CheckBox.cs: Shut corcompare up a bit more. Still need to
5669 figure out how to not use AddAttributesToRender to get it
5672 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
5674 * DataGridColumn.cs: Added the duplicate viewstate manipulation
5677 2005-08-05 Chris Toshok <toshok@ximian.com>
5679 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
5680 null when it comes to the format string.
5681 (FormatDataTextValue): same.
5683 2005-08-04 Chris Toshok <toshok@ximian.com>
5685 * BaseValidator.cs (Validate): only test a validator if it's both
5686 enabled and visible.
5688 2005-08-04 Chris Toshok <toshok@ximian.com>
5690 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
5693 2005-08-04 Jackson Harper <jackson@ximian.com>
5695 * DataGrid.cs: Add a new space control for each link. Also make
5696 the link's text 1 indexed. Don't add the space after the last
5699 2005-08-04 Ben Maurer <bmaurer@ximian.com>
5701 * LinkButton.cs: Fix up the test suite here.
5703 * Panel.cs: Fix up nowrap
5705 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5707 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
5708 * ListControl.cs: Clear item list before adding data (again)
5710 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
5712 * Calendar.cs: fixes issues with OnDayRender event and others
5714 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5716 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
5718 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
5719 if DataTextField is bound
5720 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
5721 two controls in edit mode, lets do the same
5723 2005-08-03 Jackson Harper <jackson@ximian.com>
5725 * BoundColumn.cs: Respek for the thisExpr when data binding.
5727 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5729 * EditCommandColumn.cs: No need to offer edit when in edit mode.
5732 2005-08-04 Dick Porter <dick@ximian.com>
5734 * DataGridColumn.cs: New implementation
5737 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
5739 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5741 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
5744 2005-08-03 Ben Maurer <bmaurer@ximian.com>
5746 * RepeatInfo.cs: Finally figured out how to use base control
5748 2005-08-03 Jackson Harper <jackson@ximian.com>
5750 * ButtonColumn.cs: Partial implementation.
5752 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5754 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
5757 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5759 * Calendar.cs: fixes Save/Load state
5761 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5763 * Calendar.cs: bug fixes
5765 2005-08-03 Jackson Harper <jackson@ximian.com>
5767 * DataGrid.cs: Merge the table style with the render table. Some
5768 initial work on the numeric pager. Remove some debugging code.
5770 2005-08-03 Jackson Harper <jackson@ximian.com>
5772 * BoundColumn.cs: Implement Initialize and InitializeCell. When
5773 Data is formated it uses the DataFormatString that was set at the
5774 time Initialize was called (or null if initialize was never
5777 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5779 * RadioButtonList.cs: bug fixes
5781 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5783 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
5784 AddAttributesToRender
5785 * RadioButtonList.cs: Implementation
5787 2005-08-01 Jackson Harper <jackson@ximian.com>
5789 * TableStyle.cs: Copy style bit when copying from another style.
5791 2005-08-01 Jackson Harper <jackson@ximian.com>
5793 * PagedDataSource.cs: Implement missing properties, use yield for
5794 the Enumerator methods. Only allow the enums to return one page at
5797 2005-08-01 Chris Toshok <toshok@ximian.com>
5799 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
5801 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5803 * WebControl.cs: Track enabled state across sessions
5805 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5807 * ListControl.cs(OnDatabinding): Value is equivalent to text if
5810 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
5812 * ImageButton.cs: fixes, complete missing parts
5814 2005-07-31 Ben Maurer <bmaurer@ximian.com>
5816 * TextBox.cs: Html encode for multiline text boxes
5818 * HyperLink.cs: Resolve images
5820 2005-07-30 Chris Toshok <toshok@ximian.com>
5822 * BaseValidator.cs: initial version of 2.0 properties
5823 ValidationGroup and SetFocusOnError.
5825 2005-07-30 Chris Toshok <toshok@ximian.com>
5827 * HyperLinkColumn.cs (InitializeCell): clean this up.
5829 2005-07-30 Chris Toshok <toshok@ximian.com>
5831 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
5832 DataBinder.FormatResult.
5833 (FormatDataTextValue): same.
5834 (Initialize): call base.Initialize.
5835 (ItemDataBinding): new function, get the text/navigateurl and set
5836 them on our HyperLink control.
5837 (InitializeCell): create a hyperlink control in the
5838 Item/EditItem/AlternatingItem case.
5840 2005-07-30 Ben Maurer <bmaurer@ximian.com>
5842 * RepeatInfo.cs: Handle 0 items situations correctly
5844 * HyperLink.cs: Resolve urls correctly
5846 * CheckBox.cs: use the correct ID for the label element.
5848 * Label.cs: Correct AddParsedSubObject impl. See FAQ
5850 2005-07-29 Chris Toshok <toshok@ximian.com>
5852 * BaseCompareValidator.cs (GetDateElementOrder): implement.
5854 2005-07-29 Chris Toshok <toshok@ximian.com>
5856 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
5857 #if'ed out version follows microsoft's docs on msdn, but doesn't
5858 match ms's behavior. The other matches their behavior but not
5859 their docs. we use the latter. go figure.
5860 (get_CutoffYear): implement using
5861 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
5863 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5866 - Name property now throws exception when set to null
5867 - Names now handles situation where our bit tells us we have
5868 a font, but it's not in the StateBag (null removal)
5869 * RangeValidator.cs: Removed unused vars
5871 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5873 * Label.cs: ClientID should be used rather than UniqueID to get
5876 2005-07-29 Chris Toshok <toshok@ximian.com>
5878 * BaseValidator.cs (Validatate): not sure if this is entirely
5879 correct (some fairly deep testing required), but setting Enabled =
5880 false has the effect of setting IsValid = true.
5882 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5884 * RadioButton.cs: The "remove from groupstate" isn't needed any
5885 more, now that statebag is correct.
5887 2005-07-29 Dick Porter <dick@ximian.com>
5889 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
5890 ViewState when it is null.
5892 * CheckBox.cs: Hide nonstandard API
5894 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
5896 * Calendar.cs: fixes exceptions, bug fixes, new features
5897 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
5898 * CalendarDay.cs: fixes default value
5900 2005-07-28 Ben Maurer <bmaurer@ximian.com>
5902 * CompositeControl.cs: Stub
5904 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5906 * EditCommandColumn.cs: Implemented
5908 2005-07-27 Chris Toshok <toshok@ximian.com>
5910 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
5912 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5914 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
5917 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5919 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
5920 for it's constructor, so remove it
5921 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
5923 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5925 * DataGridPagerStyle.cs: Implemented
5926 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
5927 * Style.cs: Added Styles enum values for DataGridPagerStyle
5929 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
5931 * Calendar.cs: get the styles right, honors more properties, fixes, fix
5934 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5936 * DataGridItem.cs: Implemented
5938 2005-07-26 Chris Toshok <toshok@ximian.com>
5940 * LinkButton.cs (AddParsedSubObject): reversed the order of
5941 Controls.Add() and Text = null
5942 (set_Text): call Controls.Clear()
5943 (RenderContents): use HasControls() for the if test instead of
5946 * HyperLink.cs (AddParsedSubObject): reversed the order of
5947 Controls.Add () and Text = null;
5949 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5951 * DataGridItemCollection.cs: Implemented
5953 2005-07-26 Chris Toshok <toshok@ximian.com>
5955 * LinkButton.cs (AddParsedSubObject): copy implementation from
5957 (RenderContents): only call writer.Write(Text) if Text != "".
5958 Otherwise default to base.RenderContents.
5960 2005-07-26 Chris Toshok <toshok@ximian.com>
5962 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5963 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
5964 (Page != null) around my last commit.
5966 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5968 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
5969 Fixed use of literal strings, instead using Consts
5970 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
5971 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
5972 Panel.cs, Literal.cs: Added attributes
5973 * BaseValidator.cs: Added missing override
5975 2005-07-26 Chris Toshok <toshok@ximian.com>
5977 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5978 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
5979 Page.VerifyRenderingInServerFormHere.
5981 2005-07-26 Chris Toshok <toshok@ximian.com>
5983 * BaseValidator.cs: remove some MonoTODO's about the client side
5986 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
5988 * Calendar.cs: selection of dates, state load, save, track, support
5989 for new properties, many fixes.
5991 2005-07-26 Miguel de Icaza <miguel@novell.com>
5993 * Style.cs: Temporary methods to help buliding .NET 2.x
5995 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5997 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
5999 * Xml.cs: Fixed base class, attributes
6000 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
6001 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
6002 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
6003 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
6004 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
6006 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6008 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
6011 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6013 * RepeatInfo.cs: If the repeater has one column, the separators
6014 are rendered on a different line
6016 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6018 * DataGridSortCommandEventArgs: Sealed class
6019 * ButtonColumn.cs, Calendar.cs: Added Attributes
6021 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6023 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
6024 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
6026 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6028 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
6029 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
6031 2005-07-25 Chris Toshok <toshok@ximian.com>
6033 * ValidationSummary.cs (AddAttributesToRender): add client side
6035 (OnPreRender): set the "been here" flag.
6036 (Render): add client side support.
6038 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6040 * RepeatInfo.cs: Split the horiz and vertical cases, because this
6041 class has rules that are beyond strange. Continue working to make
6044 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6046 * RepeatInfo.cs: Misc fixes for my test suite.
6048 2005-07-25 Jackson Harper <jackson@ximian.com>
6050 * DataGrid.cs: Set the command name and args on the link buttons.
6052 2005-07-25 Jackson Harper <jackson@ximian.com>
6054 * DataGrid.cs: Lots o implementation.
6056 2005-07-25 Jackson Harper <jackson@ximian.com>
6058 * BoundColumn.cs: Partial implementation to get the DataGrid tests
6061 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
6063 * Button.cs: fixes events, adds attributes
6065 2005-07-23 Chris Toshok <toshok@ximian.com>
6067 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
6068 prop.GetValue results.
6069 (Render): fix the static non-uplevel case, so that we display text
6070 when there's an error.
6072 2005-07-22 Chris Toshok <toshok@ximian.com>
6074 * RegularExpressionValidator.cs (AddAttributesToRender): only
6075 output ValidationExpression if it's != null.
6077 2005-07-22 Chris Toshok <toshok@ximian.com>
6079 * BaseValidator.cs (AddAttributesToRender): fix up the Display
6080 rendering such it matches MS's output.
6081 (Render): stop using the huge complicated if's for each output
6082 stage and move to boolean flags, and fix the static-nonuplevel
6083 case, where a validator outputs as nothing but
6085 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
6086 * Calendar.cs: Initial implementation
6087 * CalendarSelectionMode.cs: fix enum order
6089 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
6091 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
6092 (or more?) specific cases - including correct support for separators.
6093 Added some (commented) debugging code.
6094 * HyperLink.cs: Only render href and target attributes if they're not
6095 empty. Add "border=0" when rendering <img> tag. Fix Target default
6098 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
6100 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
6102 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
6104 * Style.cs (CopyFrom): Reset our styles and don't set bits from
6105 target explicitly, properties will set them
6107 2005-07-22 Dick Porter <dick@ximian.com>
6110 * ButtonColumn.cs: Initial stubs
6112 2005-07-22 Dick Porter <dick@ximian.com>
6115 * CheckBox.cs: Add assembly attributes
6117 2005-07-22 Ben Maurer <bmaurer@ximian.com>
6119 * HyperLink.cs: Handle non-literal children.
6121 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6123 * Label.cs: SP1 stuff
6125 2005-07-21 Chris Toshok <toshok@ximian.com>
6127 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
6128 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
6129 stuff WebUIValidation.js uses, so we don't support it for uplevel
6132 2005-07-21 Chris Toshok <toshok@ximian.com>
6134 * BaseValidator.cs (DetermineRenderUplevel): include checks for
6135 the EcmaScriptVersion and W3CDomVersion.
6137 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6139 * BaseDataList.cs: Support IEnumerable.
6140 * DataList.cs: Fix alternate items.
6141 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
6142 controls and the Text property.
6144 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6146 * TextBoxMode.cs: Wrong ordering of enum...
6148 2005-07-21 Chris Toshok <toshok@ximian.com>
6150 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
6153 2005-07-21 Chris Toshok <toshok@ximian.com>
6155 * BaseValidator.cs (get_PropertiesValid): use our containing
6156 NamingContainer, not ourselves, to look up controls.
6157 (CheckControlValidationProperty): same.
6158 (GetControlRenderID): same.
6159 (GetControlValidationValue): same.
6160 (AddAttributesToRender): add the display style attribute if
6161 Display != Static, and add the value of IsValid if it's false.
6162 (DetermineRenderUplevel): use a try block around (Page.Request)
6163 since that can raise an exception.
6164 (OnPreRender): set pre_render_called, so we can consult it in
6166 (Render): complicate this method more to handle more of the
6167 Display/pre_render_called permutations.
6169 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
6171 * CustomValidator.cs: Initial implementation, still work in progress
6173 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6175 * DataList.cs: Fix rendering for special items (-1).
6177 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6179 * RepeatInfo.cs: Fix most of the tests.
6181 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6183 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
6184 Add a border=0 attribute if no style is defined.
6185 * TableCell.cs: Use HtmlTextWriterTag (not a string).
6186 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
6187 * TableRow.cs: Use HtmlTextWriterTag (not a string).
6189 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6191 * BaseDataList.cs: Fix attributes.
6192 * HorizontalAlign.cs: Fix attributes.
6193 * Image.cs: Fix attributes and enums checks.
6194 * Table.cs: Fix attributes an enums checks.
6195 * TableCell.cs: Fix attributes.
6196 * TableCellCollection.cs: Fix attributes.
6197 * TableItemStyle.cs: Fix attributes and enums checks.
6198 * TableRowCollection.cs: Fix attributes.
6199 * TableRow.cs: Fix attributes.
6200 * TableStyle.cs: Fix attributes and enums checks.
6201 * VerticalAlign.cs: Fix attributes.
6203 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6205 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
6206 * DataList.cs: Added rendering support when ExtractTemplatesRows
6207 property is true (but RepeatInfo needs to be fixed to see it works).
6208 * DataListItem.cs: Added rendering support when extractRows parameter
6209 is true (but RepeatInfo still needs to be fixed ;-)
6211 2005-07-21 Duncan Mak <duncan@novell.com>
6213 * HyperLinkColumn.cs: Initial implementation.
6214 Todo: Figure out Initialize and InitializeCell.
6216 2005-07-20 Chris Toshok <toshok@ximian.com>
6218 * BaseValidator.cs: don't use Page.FindControl, use this Control's
6219 FindControl, so it'll use the same naming container.
6221 2005-07-21 Duncan Mak <duncan@novell.com>
6223 * DataGridCommandEventArgs.cs:
6224 * DataGridPageChangedEventArgs.cs:
6225 * RepeaterCommandEventArgs.cs: Fixed visibility.
6227 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
6228 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
6230 2005-07-20 Chris Toshok <toshok@ximian.com>
6232 * Button.cs: hook up the client side validation stuff.
6234 * ImageButton.cs: same.
6236 * LinkButton.cs: same, although it's a little more complicated
6239 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6242 - Implemented RaisePostDataChangedEvent()
6243 - Spewing postback command if AutoPostBack is true
6245 2005-07-20 Chris Toshok <toshok@ximian.com>
6247 * BaseValidator.cs: another Page != null check when uplevel
6250 2005-07-20 Chris Toshok <toshok@ximian.com>
6252 * BaseValidator.cs: check Page != null when determining if we're
6253 rendering uplevel or not.
6255 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6257 * ListItemCollection.cs: Removed obsolete method that's no longer
6260 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6262 * DropDownList.cs: Oops. Forgot to implement LoadPostData
6263 * ListItemCollection.cs: Added convenience method to have faster
6266 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6269 - Automatically select the first item if none are selected
6270 - Throw exception if more than one item is selected
6272 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6274 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
6275 handled by RepeatInfo).
6277 2005-07-20 Jackson Harper <jackson@ximian.com>
6279 * DataGrid.cs: Store the data source created columns in a
6280 DataGridColumnCollection. This way they can be put in the
6281 view state more easily, and accessed without casting.
6283 2005-07-20 Chris Toshok <toshok@ximian.com>
6285 * BaseValidator.cs (AddAttributesToRender): render the client side
6286 attributes if we're in uplevel mode.
6287 (DetermineRenderUplevel): flesh out a bit - for now basically
6288 return true unless the control has it disabled.
6289 (OnInit): only add the validator to Page's list if there is, in
6291 (OnUnload): same for removal.
6292 (OnPreRender): hook up client scripting stuff here. Only the call
6293 to RegisterValidatorCommonScript is a for sure thing here, the
6294 registering of the submit statement and startup script should
6295 probably go elsewhere, but I don't know where.
6296 (RegisterValidatorCommonScript): register the <script
6297 src=".../WebUIValidation.js"> tag, if it's not already there.
6298 (RegisterValidatorDeclaration): add our span object to the
6299 Page_Validators JS array.
6300 (Render): always render the tags (although this is probably not
6301 right), and call RegisterValidatorDeclaration here.
6303 * BaseCompareValidator.cs (AddAttributesToRender): render the
6304 client side attributes if we're in uplevel mode.
6305 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
6306 call base.DetermineRenderUplevel for now.
6308 * RegularExpressionValidator.cs (AddAttributesToRender): render
6309 the client side attributes if we're in uplevel mode.
6311 * RequiredFieldValidator.cs (AddAttributesToRender): same.
6313 * CompareValidator.cs (AddAttributesToRender): same.
6315 2005-07-20 Jackson Harper <jackson@ximian.com>
6317 * DataGrid.cs: Save the data source created column set in the
6320 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6322 * DataList.cs: Fix events and properties exceptions. Give the right
6323 informations to RenderItem.
6325 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6327 * ValidationSummary.cs: Implemented rendering
6329 2005-07-20 Jackson Harper <jackson@ximian.com>
6331 * DataGrid.cs: column names are cached and only regenerated if useDataSource
6332 is set to true. Otherwise they are just fetched from the last set that
6333 was generated from the source.
6335 2005-07-20 Jackson Harper <jackson@ximian.com>
6337 * DataGrid.cs: Assign some properties of newly created BoundColumns.
6339 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6341 * DataList.cs: Fix viewstate ordering.
6343 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6345 * SelectedDatesCollection.cs: Apprarently, I don't write code well
6348 * Repeater.cs: Uh, actually add stuff to the items collection
6351 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6353 * BaseDataList.cs: EnsureChildControls on Controls property.
6354 * DataList.cs: Fix rendering and Controls/Items differences.
6355 * DataListItem.cs: Added rendering of controls.
6357 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6359 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
6361 2005-07-20 Jackson Harper <jackson@ximian.com>
6363 * DataGrid.cs: Add some of the collections. Implement
6366 2005-07-20 Jackson Harper <jackson@ximian.com>
6368 * PagedDataSource.cs: Implement GetItemProperties, this is
6369 needed for the datagrid.
6371 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6373 * DataGridColumnCollection.cs: New impl
6375 * TemplateColumn.cs: New impl
6377 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6379 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
6380 * DataList.cs: Work in progress... Added attributes, proper
6381 IRepeatInfoUser support and cool things stolen from other classes.
6382 * DataListCommandEventArgs.cs: Class is sealed.
6383 * DataListItem.cs: RenderItem is public.
6385 2005-07-19 Jackson Harper <jackson@ximian.com>
6387 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
6388 a viewstate object if all the viewstate stuff is null.
6390 2005-07-19 Jackson Harper <jackson@ximian.com>
6392 * DataGrid.cs: Implement style properties and viewstate
6393 saving/loading/tracking.
6395 2005-07-19 Chris Toshok <toshok@ximian.com>
6397 * BaseValidator.cs: more fixes from pdb.
6399 2005-07-19 Chris Toshok <toshok@ximian.com>
6401 * BaseValidator.cs: some test-driven fixes.
6403 2005-07-19 Chris Toshok <toshok@ximian.com>
6405 * BaseValidator.cs: Initial implementation.
6407 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6409 * Repeater.cs: Fix small typo.
6411 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
6413 * ValidationSummaryTest.cs: Started implementation
6414 * RangeValidator.cs: Implemented
6415 * ValidatedControlConverter.cs: Implemented
6416 * DropDownList.cs: Implemented
6418 2005-07-19 Jackson Harper <jackson@ximian.com>
6420 * DataGrid.cs: Implement bubble event.
6422 2005-07-19 Jackson Harper <jackson@ximian.com>
6424 * DataGrid.cs: New implementation. Just properties and events for
6427 2005-07-18 Chris Toshok <toshok@ximian.com>
6429 * BaseCompareValidator.cs: Initial implementation, with some NYI.
6431 2005-07-19 Ben Maurer <bmaurer@ximian.com>
6433 * FontUnit.cs: Corcompare fixes
6435 * UnitConverter.cs: Fix api diffs
6437 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6439 * ListControl.cs: Fix api differences
6441 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6443 * Table.cs: Fix indentation for caption. Simplify check when adding
6445 * TableRow.cs: Simplify check when adding controls.
6447 2005-07-18 Chris Toshok <toshok@ximian.com>
6449 * CompareValidator.cs: wtf, just use the base class's methods.
6451 2005-07-18 Chris Toshok <toshok@ximian.com>
6453 * CompareValidator.cs: do comparisons based on
6454 BaseCompareValidator.Type.
6456 2005-07-18 Chris Toshok <toshok@ximian.com>
6458 * CompareValidator.cs: initial implementation.
6460 2005-07-18 Chris Toshok <toshok@ximian.com>
6462 * RegularExpressionValidator.cs: initial implementation.
6464 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6466 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
6468 2005-07-18 Jackson Harper <jackson@ximian.com>
6470 * CheckBoxList.cs: Implement LoadPostBackData. Also register
6471 checkboxes for postback if they are checked so we can find
6472 out when they are unchecked. Copy the AutoPostBack variable
6473 to the to be rendered checkbox when rendering.
6475 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6477 * TextBox.cs: Finish this up.
6479 * AdRotator.cs: Fix issues in the test suite. Minor style
6482 * Repeater.cs: Fix a bug where the datasource is null and we do
6485 * WebColorConverter.cs: Optimize by not doing a concat on a
6488 2005-07-17 Ben Maurer <bmaurer@ximian.com>
6490 * ListItemCollection.cs: Multiple uses of equals rather than
6491 string.compare as below. Remove unreachable code warning.
6493 * WebColorConverter.cs (ConvertTo): Use the == operator on string
6494 rather than an invariant non-case ignoring compare. They are
6495 exactly the same thing. Use proper coding style in this method.
6497 * WebControl.cs: Return null when saving the view state if there
6498 is no state in any of the things we save. This creates a fairly
6499 large savings, because we can avoid saving anything about many
6500 levels of deaply nested controls.
6502 2005-07-15 Jackson Harper <jackson@ximian.com>
6504 * CheckBoxList.cs: Use the index as the ID, the rest of the
6505 id is built by being in the NamingContainer.
6507 2005-07-15 Jackson Harper <jackson@ximian.com>
6509 * ListControl.cs: Use enum instead of string. Saves a lookup.
6511 2005-07-15 Jackson Harper <jackson@ximian.com>
6513 * CheckBoxList.cs: FindControl always returns 'this' according
6516 2005-07-15 Jackson Harper <jackson@ximian.com>
6518 * CheckBoxList.cs: New impl.
6520 2005-07-15 Jackson Harper <jackson@ximian.com>
6522 * WebControl.cs: Use the ClientID when rendering a controls ID
6523 attribute so that naming containers are honoured.
6525 2005-07-15 Jackson Harper <jackson@ximian.com>
6527 * ListControl.cs: use the state manager interface for tracking
6530 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6532 * Repeater.cs (DoItem): Add the DataItem before we call user
6533 methods, as it seems to be there with msft.
6535 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
6537 * BaseDataList.cs: New. (mostly complete) implementation.
6538 * DataKeyCollection.cs: New. Implementation (complete).
6539 * DataList.cs: New. (mostly incomplete) implementation.
6540 * DataListItem.cs: New. (mostly complete) implementation.
6541 * DataListItemCollection.cs: New. Implementation (complete).
6543 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6545 * Repeater.cs (DoItem): We need to .Add the control *before* we
6546 data bind it so that the state gets tracked correctly. Fixes the
6549 2005-07-15 Jackson Harper <jackson@ximian.com>
6551 * ListControl.cs: Simplify comparison.
6553 2005-07-15 Jackson Harper <jackson@ximian.com>
6556 * Repeater.cs: Use new utility class for resolving data sources.
6558 2005-07-15 Jackson Harper <jackson@ximian.com>
6560 * ListControl.cs: Add attributes so the sub items get parsed
6561 properly. Remove old unneeded code for resolving lists.
6563 2005-07-15 Jackson Harper <jackson@ximian.com>
6565 * ListControl.cs: Use the DataSourceHelper so DataMembers are
6568 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6571 - Some optimizations
6572 * Don't use enum formatting stuff, it is 1) expensive 2) does
6573 allocations. Use a new method in HtmlControl to do the right
6575 * Don't use Enum.IsDefined but an explicit check.
6576 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
6577 - Use the correct coding style.
6579 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6581 * WebColorConverter.cs:
6582 - Alpha of 255 is only set if the hex number is exactly 6 digits
6583 - Ben didn't like the catch { throw; } (even though MS documents to
6585 - Use Invariant Culture for parsing (thanks, Ben)
6587 2005-07-14 Jackson Harper <jackson@ximian.com>
6589 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
6590 code-reuse-arific. Also use the IStateManager interface for loading
6591 data instead of the old internal method.
6593 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6595 * WebColorConverter.cs: Implemented
6597 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6599 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
6601 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6603 * Repeater.cs: Get it working
6605 2005-07-14 Jackson Harper <jackson@ximian.com>
6607 * ListControl.cs: Initial implementation of Databinding. Make sure
6608 that the ListItemCollection is created when we load its ViewState.
6610 2005-07-14 Jackson Harper <jackson@ximian.com>
6612 * ListControl.cs: Fix typo.
6614 2005-07-14 Jackson Harper <jackson@ximian.com>
6616 * ListControl.cs: New Implementation. Lacks databinding support.
6618 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6620 * Repeater.cs: The beginnings of this control
6622 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6624 * TargetConverter.cs: Implemented
6626 2005-07-14 Duncan Mak <duncan@novell.com>
6628 * PagedDataSource.cs: Initial implementation.
6630 Methods that need to be figured out:
6631 CopyTo, GetItemProperties, PageCount, IsLastPage.
6633 To complete: CollectionEnumerator, ListEnumerator.
6635 2005-07-13 Duncan Mak <duncan@novell.com>
6637 * RepeatDirection.cs:
6639 * ValidationCompareOperator.cs:
6640 * ValidationDataType.cs:
6641 * ValidationSummaryDisplayMode.cs:
6642 * ValidatorDisplay.cs: Added remaining enumerations.
6644 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6646 * FontNamesConverter.cs: Implemented
6648 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6650 * RepeaterItem.cs: Compile fix
6652 * RepeaterItemCollection.cs: New file
6654 * RepeaterItem.cs: get OnBubbleEvent right.
6656 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6658 * ListItemCollection.cs: Count can be derived from the array, which
6659 allows us to use a Pair instead of a Triplet and save some space
6661 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6663 * RepeaterItem.cs: Stub
6665 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6667 * ListItemCollection.cs: Implemented
6668 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
6670 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6672 * RepeatInfo.cs: Impl.
6674 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6676 * FirstDayOfWeek.cs: Added
6678 2005-07-13 Jackson Harper <jackson@ximian.com>
6680 * ListBox.cs: Some parameter checking.
6682 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6684 * Image.cs: Added support for DescriptionUrl as this property was
6685 added in Fx 1.1 SP1.
6687 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6689 * Style.cs (AddAttributesToRender): Don't render attributes if they
6690 contain only their default value
6692 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6694 * Table.cs: New. Initial re-implementation.
6695 * TableCell.cs: New. Initial re-implementation.
6696 * TableCellCollection.cs: New. Initial re-implementation.
6697 * TableHeaderCell.cs: New. Initial re-implementation.
6698 * TableItemStyle.cs: New. Initial re-implementation.
6699 * TableRow.cs: New. Initial re-implementation.
6700 * TableRowCollection.cs: New. Initial re-implementation.
6701 * TableStyle.cs: New. Initial re-implementation.
6703 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6705 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
6706 unit tests (for Style) and more tests in Table* classes.
6708 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6710 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
6711 however IsEmpty returns false if any of their properties are set.
6712 Looks ugly but it's compatible with MS implementation (feature and
6715 2005-07-13 Dick Porter <dick@ximian.com>
6717 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
6718 null Text properties from the ViewState, test for TextAlign being
6719 out of range. All to make tests pass on both mono and ms
6722 2005-07-13 Jackson Harper <jackson@ximian.com>
6724 * ListBox.cs: Use invariant culture when doing a ToString,
6725 set value to the item's value, not to its Text.
6727 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6729 * WebControl.cs (AddAttributesToRender): Added ID to rendered
6732 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6734 * Style.cs(MergeWith): Handle null styles
6736 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
6738 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
6739 the #if NET_2_0 on it.
6741 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6743 * Style.cs: Only render font elements if fontinfo object exists
6745 - Implemented SaveViewState()
6746 - Added loading of Style to LoadViewState
6747 - Implemented IAttributeAccessor methods
6749 2005-07-12 Jackson Harper <jackson@ximian.com>
6751 * ListBox.cs: Even track default values in the viewstate. Call
6752 base's RenderContents.
6754 2005-07-12 Jackson Harper <jackson@ximian.com>
6756 * ListBox.cs: New impl.
6758 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6761 - Implemented methods
6764 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6766 * ListItem.cs: New impl.
6768 2005-07-12 Duncan Mak <duncan@novell.com>
6770 * DayNameFormat.cs: Added.
6772 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6774 * WebControl.cs: Implemented properties
6776 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6778 * TextBox.cs: Passwords seem 1) not to be rendered to the client
6779 if set, 2) not kept in view state (for security reasons...)
6782 * Button.cs: Page.Validate () if needed. Gets the validator tests
6785 * TextBox.cs: Properties to get the validator stuff to work.
6787 2005-07-12 Miguel de Icaza <miguel@novell.com>
6789 * Unit.cs: If the units are pixels, then truncate the value.
6791 2005-07-12 Dick Porter <dick@ximian.com>
6793 * RadioButton.cs: New implementation
6795 * CheckBox.cs: Rearrange the attributes rendering to allow
6796 RadioButton to derive from this
6798 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6800 * TitleFormat.cs: Add attribute
6801 * TextBoxMode.cs: Add attribute
6802 * CalendarDay.cs: Initial implementation
6803 * ImageButton.cs: Initial implementation
6804 * CalendarSelectionMode.cs:Initial implementation
6806 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6808 * TextBoxMode.cs: simple enum
6809 * TitleFormat.cs: simple enum
6811 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6813 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
6815 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6817 * FontUnit.cs: Added TypeConverter attribute to class
6818 * FontUnitConverter.cs: Implemented
6820 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6823 * Button.cs: Bubble the Command event.
6825 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6828 - Clean up style (with my wonderful state bag hack!)
6829 - Fix a view state typo.
6830 - Use AddAttributesToRender
6831 - Don't add an extra <span>
6833 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6835 * Style.cs: Handle null constructor argument for bag
6837 2005-07-11 Dick Porter <dick@ximian.com>
6839 * CheckBox.cs: New implementation
6841 * RadioButton.cs: Initial stubbed version that just compiles
6843 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
6845 * Button.cs: Initial Button implementation
6847 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
6849 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
6851 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6853 * HorizontalAlign.cs: Typo in header.
6854 * VerticalAlign.cs: New. Required enum for TableRow control.
6856 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6858 * TextBox.cs: More work on this
6860 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6862 * GridLines.cs: New. Required enum for Table control.
6863 * HorizontalAlign.cs: New. Required enum for Table control.
6865 2005-07-09 Duncan Mak <duncan@novell.com>
6867 * CommandEventHandler.cs:
6868 * DataGridCommandEventHandler.cs:
6869 * DataGridItemEventHandler.cs:
6870 * DataGridPageChangedEventHandler.cs:
6871 * DataGridSortCommandEventHandler.cs:
6872 * DataListCommandEventHandler.cs:
6873 * DayRenderEventHandler.cs:
6874 * RepeaterCommandEventHandler.cs:
6875 * ServerValidateEventHandler.cs: Add delegates.
6878 * ListSelectionMode.cs:
6879 * NextPrevFormat.cs:
6881 * PagerPosition.cs: Add enums.
6883 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6885 * TextBox.cs: Add the work I did on this today. It's not complete
6886 yet, but its a start!
6888 2005-07-09 Duncan Mak <duncan@novell.com>
6890 * CommandEventArgs.cs:
6891 * DataGridCommandEventArgs.cs:
6892 * DataGridItemEventArgs.cs:
6893 * DataGridPageChangedEventArgs.cs:
6894 * DataGridSortCommandEventArgs.cs:
6895 * DataListCommandEventArgs.cs:
6896 * DataListItemEventArgs.cs:
6897 * DayRenderEventArgs.cs:
6898 * RepeaterCommandEventArgs.cs:
6899 * RepeaterItemEventArgs.cs:
6900 * ServerValidateEventArgs.cs: Implemented.
6902 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
6904 * Image.cs: New. Image class implementation.
6905 * ImageAlign.cs: New. ImageAlign enum definitions.
6907 2005-07-08 Jackson Harper <jackson@ximian.com>
6909 * Literal.cs: New implentation.
6910 * MonthChangedEventArgs.cs: new
6911 * MonthChangedEventHandler.cs: new
6913 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6915 * LinkButton.cs: Command impl
6917 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6919 * LinkButton.cs: Initial impl
6921 2005-07-08 Jackson Harper <jackson@ximian.com>
6923 * AdCreatedeventArgs.cs: New implementation.
6925 2005-07-08 Dick Porter <dick@ximian.com>
6928 * BorderStyle.cs: Added
6930 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6932 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
6934 2005-07-07 Miguel de Icaza <miguel@novell.com>
6936 * Xml.cs: New implementation. R00lz.
6938 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6940 * FontInfo.cs: Added and implemented.
6941 * Style.cs: Fixed behaviour discrepancies showed by tests
6943 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6945 * PlaceHolderControlBuilder.cs: new file
6947 * LabelControlBuilder.cs: New file
6949 * HyperLink.cs: use control builder; fix parsing stuff
6951 * HyperLinkControlBuilder.cs: new file
6953 * Panel.cs: misc fixes
6955 2005-07-07 Miguel de Icaza <miguel@novell.com>
6957 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
6959 * UnitConverter.cs: Add new file, learned from the
6960 System.Drawing.ColorConverter.
6962 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6964 * PlaceHolder.cs: New file. Seems to do nothing
6966 * Label.cs: Use my new statebag trick to reduce typing
6968 * HyperLink.cs: New file
6970 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6972 * Style.cs: Added and implemented.
6974 2005-07-06 Miguel de Icaza <miguel@novell.com>
6976 * FontUnit.cs: New file.
6978 * Unit.cs: New file.
6980 Added support for null and empty string constructors.
6982 2005-07-06 Ben Maurer <bmaurer@ximian.com>
6984 * Unit.cs: cctor not needed; static fields are 0 init'd by default
6986 * WebControl.cs: Kothari & Datye's book explains how these work.
6988 * IRepeatInfoUser.cs: Reimpl.
6990 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6992 * WebControl.cs: Added stub
6994 2005-07-05 Miguel de Icaza <miguel@novell.com>
6996 * Label.cs: First control.
6998 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
7000 * DataControlField.cs: Ignore the ShowHeader property when
7001 building the control's content. It is the resposability of
7002 the field container to decide if the header should be shown
7005 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
7008 * ImageFieldMode.cs:
7009 * DynamicImageParameterMode.cs:
7010 * TableViewMode.cs: Removed.
7014 * TableRowSection.cs:
7015 * AutoCompleteType.cs:
7016 * DayNameFormat.cs: Track changes in 2.0 api.
7018 * StringArrayConverter.cs: This class is 2.0 only.
7020 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
7024 * DetailsView.cs: Bind the control after creating all child
7026 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
7027 the correct methods.
7028 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
7029 in this class. This is done in DataBoundControl. All this fixes
7032 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7034 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
7035 FindByText. Closes bug #74205.
7037 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7039 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
7040 1 when there's a datasource and 0 pages. Closes bug #73864.
7042 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
7049 * MenuItemTemplateContainer.cs:
7050 * DetailsView.cs: Track changes in the IDataItemContainer interface.
7052 * CommandField.cs: Added CausesValidation property. Set that
7053 property value to all buttons of the field.
7055 * SqlDataSourceView.cs:
7056 * CollectionDataSource.cs:
7057 * XmlDataSourceView.cs: Properly initialize the base class.
7059 * SiteMapDataSource.cs:
7060 * SiteMapHierarchicalDataSourceView.cs:
7061 * SiteMapNodeItem.cs:
7062 * SiteMapDataSourceView.cs:
7063 * SiteMapPath.cs: Mostly implemented.
7065 * HierarchicalDataBoundControl.cs: Always bind the control when the
7066 page is loaded for the first time.
7068 * TreeView.cs: Properly bind the control when loaded from a callback.
7070 2005-05-21 Ben Maurer <bmaurer@ximian.com>
7072 * BaseDataList.cs: Caption is in 1.1 too, though not
7073 documented. Gonz owes me [more] ice cream. Yummmmm.
7075 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7077 * BaseDataList.cs: implemented 2.0 Caption property.
7079 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
7081 * TreeView.cs: Always render the startup script. This fixes
7084 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
7086 * WizardStepBase.cs:
7087 * WizardStep.cs: Added missing attributes.
7088 * Wizard.cs: Implemented missing methods and properties. It can now
7089 be considered feature complete.
7091 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7093 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
7094 the method if the data source was en empty IEnumerator. Fixes
7097 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
7101 * Menu.cs: Implemented some new properties from beta 2.
7103 * DataControlButton.cs: Render the ControlStyle if it
7107 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
7108 It will now generate an object creation, instead of a Parse call.
7110 * GridViewCommandEventArgs.cs: Added missing property.
7111 * SubMenuStyleCollection.cs: This class is not sealed.
7112 * MultiView.cs: Set Visible=false to all views that are not
7113 shown. This ensures that it's view state is saved.
7115 * BaseDataBoundControl.cs:
7116 * GridViewDeletedEventArgs.cs: Minor api fixes.
7118 * FormViewDeleteEventArgs.cs:
7119 * DetailsViewDeletedEventArgs.cs:
7120 * ListControl.cs: Fix warnings.
7124 * HotSpotCollection.cs
7127 * RectangleHotSpot.cs
7128 * WizardStepCollection.cs : Implemented.
7132 * Wizard.cs: Initial implementation.
7134 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
7136 * DataControlField.cs:
7140 * DataControlCommands.cs:
7141 * DetailsView.cs: Use constants to identify commands.
7143 * SubMenuStyle.cs: Use Unit instead of int for padding.
7144 * SubMenuStyleCollection.cs: Implemented.
7147 * Menu.cs: Added some missing methods and properties.
7150 * DataGridPagerStyle.cs: Fixed default value attributes.
7151 * ListControl.cs: Implemented IEditableTextControl interface.
7153 * MenuItemBinding.cs: Added Selectable property.
7154 * CustomValidator.cs: removed interface.
7156 * MenuItem.cs: Added support for custom binding.
7157 * DropDownList.cs: Moved text properties to base class.
7159 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7161 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
7163 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7165 * Calendar.cs: when the day is active, modify the text of the literal
7166 control that holds the number, not the text of the TableCell. Also call
7167 OnDayRender before updating that text. Fixes bug #74718.
7169 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
7171 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
7173 * DataControlFieldHeaderCell.cs: Save Scope in view state.
7174 Added AbbreviatedText property.
7175 * AutoGeneratedField.cs: The constructor should actually be internal.
7176 * DataGridItem.cs: Added implemented interface in 2.0.
7177 * DataControlFieldCollection.cs: Implemented CloneFields and
7181 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7183 * StringArrayConverter.cs:
7184 * Calendar.cs: warnings.
7186 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
7188 * FormViewDeleteEventArgs.cs:
7189 * FormViewInsertEventArgs.cs:
7190 * FormViewUpdateEventArgs.cs:
7191 * FormViewDeletedEventArgs.cs:
7192 * FormViewUpdatedEventArgs.cs:
7193 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
7196 * IButtonControl.cs:
7197 * Button.cs: Removed SoftKey property.
7199 * CheckBox.cs: Don't try to load post back data if the control
7203 * AutoGeneratedField.cs:
7204 * DataControlField.cs:
7206 * ButtonFieldBase.cs:
7210 * ButtonField.cs: Don't bind fields in Insert state.
7211 Implemented CreateField and CopyProperties.
7214 * DetailsView.cs: Removed some unneeded interfaces. Don't
7215 generate the field rows if there are no items in the data source.
7216 Don't get the current keys until the whole control has been
7219 * DetailsViewInsertedEventArgs.cs:
7220 * DataBoundControl.cs:
7221 * ObjectDataSourceView.cs: Made some methods private.
7224 * Menu.cs: Changed some properties from int to Unit.
7226 * DataControlButton.cs: javascript prefix is needed when raising
7227 the postback event from a link.
7229 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
7230 The result was wrong when the total data source count was 0.
7232 * FormView.cs: Implemented.
7233 * FormViewRow.cs: Implemented.
7236 * Localize.cs: Fixed base interface.
7238 * BaseDataBoundControl.cs: In DataBind() call the base class
7239 DataBind method, so the binding context is properly set.
7241 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
7243 * DetailsView.cs: Added some null checks.
7244 * TemplateField.cs: Implemented support for two-way bindings.
7246 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
7248 * DetailsView.cs: Implemented support for Insert operation.
7249 Added header and footer templates. Added missing style
7251 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
7252 to get filter values. Other minor fixes.
7253 * CommandField.cs: Properly render the Insert and New buttons.
7254 * ObjectDataSource.cs: Update the parameter collections after
7255 the page is loaded. This will fire the ParameterChanged event
7257 * DataBoundControl.cs: The OnDataSourceViewChanged method
7258 is called when the view changes, not when the datasource
7261 * DetailsViewInsertedEventArgs.cs:
7262 * DetailsViewInsertEventArgs.cs: Implement Values property.
7265 * AutoGeneratedField.cs
7268 Take into account the Insert mode.
7270 * ParameterCollection.cs: Implemented UpdateValues and fixed
7271 GetValues (values can't be cached because can change).
7272 * Parameter.cs: Detect value changes in GetValue, and fire
7273 the change event if needed. Removed unused ParameterValue
7274 property. Other fixes.
7276 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
7278 * DetailsView.cs: Initial implementation.
7279 * ObjectDataSourceView.cs: Notify changes in the parameters.
7280 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
7281 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
7282 Implemented some properties.
7283 * GridView.cs: Added null check in SelectedValue. Don't return null
7284 for empty DataKeyNames list.
7285 * DetailsViewRowCollection.cs: Implemented.
7286 * DetailsViewRow.cs: Implemented.
7287 * ButtonFieldBase.cs: By default button field don't have headers.
7288 * BoundField.cs: Don't bind header fields.
7290 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
7292 * ButtonField.cs: Get data item properties using TypeDescriptor.
7293 Made OnDataBindField private.
7294 * ObjectDataSourceView.cs: Implemented support for Delete and
7295 Insert operations, support for filtering and sorting,
7296 conflict detection, etc. It's now complete.
7297 * ObjectDataSource.cs: Completed most of functionality. Only
7298 caching support is missing.
7299 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
7300 * TreeNode.cs: Get data item properties using TypeDescriptor.
7301 * PagerSettings.cs: Flush.
7302 * ObjectDataSourceFilteringEventArgs.cs: New event args.
7303 * GridView.cs: Get data item properties using TypeDescriptor
7304 and cache them. Properly set descending order in the sort
7305 expression. In UpdateRow, make sure we get the old values
7306 before the control is bound again.
7307 * ImageField.cs: Implemented.
7308 * AutoGeneratedField.cs: Initialize the field's sort
7309 expression in the constructor.
7310 * MenuItem.cs: Get data item properties using TypeDescriptor.
7311 * BoundField.cs: Get data item properties using TypeDescriptor.
7312 * CheckBoxField.cs: Added missing attributes.
7313 * TemplateField.cs: Implemented.
7315 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7318 * FontUnitConverter.cs: fixed ConvertTo to work with target
7319 InstanceDescriptor and value as a string.
7321 * Unit.cs: culture might be null.
7325 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
7327 * ButtonField.cs: Mostly implemented.
7328 * DataControlFieldHeaderCell.cs: Implemented.
7329 * ObjectDataSourceView.cs: Initial implementation.
7330 * DataControlButton.cs: Added support for real buttons.
7331 * Label.cs, DataControlField.cs: Flush.
7332 * ObjectDataSource.cs: Initial implementation.
7333 * HiddenField.cs: Added class stub.
7334 * GridView.cs: Load autogenerated field properties before
7335 creating the children, to make sure that column info is ready.
7336 * ControlParameter.cs: Implemented Evaluate method.
7337 * ImageField.cs: Added class stub.
7338 * BoundField.cs: Added HtmlEncode property.
7339 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
7341 * CheckBoxField.cs: Mostly implemented.
7342 * TemplateField.cs: Added class stub.
7343 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
7344 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
7345 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
7347 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
7349 * DataControlField.cs: Added missing InsertVisible property.
7350 * AutoGeneratedFieldProperties.cs: Implemented.
7351 * PagerSettings.cs: Minor fix.
7352 * GridView.cs: Implemented support for autogenerated fields, templates,
7353 accessible headers. Implemented paging using PagedDataSource.
7354 Implemented missing overridable methods.
7355 * AutoGeneratedField.cs: Initial implementation.
7356 * BoundField.cs: Added ReadOnly property.
7357 * PagedDataSource.cs: Implemented 2.0 api.
7358 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
7359 cell class to be used by accessible headers.
7360 * TableCell.cs: Removed unneded constructor. If the cell is bound to
7361 a template, call the default RenderContents method.
7363 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7365 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
7366 event when loading the view state. Fixes #73746.
7368 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7370 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
7372 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
7374 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
7376 * CommandField.cs: Mostly implemented.
7377 * Menu.cs: Use callback methods moved to ClientScriptManager.
7378 * DataControlButton.cs: Internal control used to implement buttons
7379 for navigating in data bound controls.
7380 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
7381 to render the column headers.
7382 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
7383 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
7384 Don't use Page.GetPostBackClientEvent
7385 since it is deprecated in 2.0.
7386 * GridView.cs: Implemented some several interfaces.
7387 Implemented support client sorting and page navigation (using callbacks).
7388 Implemented the autogenerated command column using the new CommandField
7390 * ButtonFieldBase.cs: Implemented.
7391 * GridView.js: New helper script to support client side sorting and
7392 paging in the grid view.
7394 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
7396 * DataKey.cs: Implemented.
7397 * XmlDataSourceView.cs: Implemented support for row pagging.
7398 * Table.cs: Fixed attribute value.
7399 * DataControlField.cs: Added support for sorting headers.
7400 * ChildTable.cs: Created.
7401 * ListControl.cs: Delay selection assignment, since control state
7402 is now loaded before view state.
7403 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
7404 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
7405 several missing properties.
7406 * PagerSettings.cs: Fully implemented.
7407 * BaseDataList.cs: Added null check.
7408 * GridView.cs: Implemented more functionality.
7409 * BoundField.cs: Added support for cell editing.
7410 * StringArrayConverter.cs: Implemented.
7411 * DataKeyArray.cs: Implemented.
7412 * BaseDataBoundControl.cs: Reset the requires binding flag before
7413 executing the query. This avoids recursive query calls.
7414 * GridViewRow.cs: Handler commands raised from row childs.
7416 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
7418 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
7419 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
7420 it is possible to query for properties fore each data item.
7421 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
7422 when loading its view state.
7423 * DataControlField.cs: Implement properties using a StateBag.
7424 * XmlDataSourcePropertyDescriptor.cs: Implemented.
7425 * PagerSettings.cs: Mostly implemented.
7426 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
7427 * DataBoundControl.cs: Added null check.
7428 * GridView.cs: Initial implementation.
7429 * CompositeDataBoundControl.cs: Implemented.
7430 * BoundField.cs: Initial implementation.
7431 * GridViewRowCollection.cs: Initial implementation.
7432 * DataControlFieldCollection.cs: Initial implementation.
7433 * DataControlFieldCell.cs: Fixed control tag.
7434 * GridViewRow: Initial implementation.
7435 * XmlDataSourceNodeDescriptor.cs: Implemented.
7437 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7439 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
7440 is zero, use the TagName no matter its value. Fixes bug #72415.
7442 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
7444 * Style.cs: Method name fix.
7445 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
7446 * BaseCompareValidator.cs: Method signature fix.
7447 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
7448 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
7449 * BulletedList.cs: Added missing method.
7450 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
7452 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
7454 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
7455 * RadioButton.cs: Added missing 2.0 methods.
7456 * ListItem.cs: Added Enabled property.
7457 * MailMessageEventArgs.cs: Use the correct message class.
7458 * ListControl.cs: Implemented missing properties and support for
7459 control state. Implemented base RenderContents method.
7460 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
7462 * BaseCompareValidator.cs: Implemented methods that support conditional
7463 use of the invariant culture.
7464 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
7465 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
7466 It takes a DbCommand instead of a IDbCommand.
7467 * GridViewSortEventArgs.cs: Added SortDirection property.
7468 * TextBox.cs, CheckBoxList.cs: Added protected version of
7469 IPostBackDataHandler methods.
7470 * RadioButtonList.cs: Added protected version of
7471 IPostBackDataHandler and IRepeatInfoUser methods.
7472 * Repeater.cs: Updated some method names.
7473 * DropDownList.cs: Added protected version of
7474 IPostBackDataHandler methods. Reuse RenderContents from base class.
7475 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
7476 * GridViewUpdatedEventArgs.cs: Fix typo.
7477 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
7478 Reuse RenderContents from base class.
7479 * BaseDataBoundControl.cs: Several fixes.
7480 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
7482 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7484 * CheckBoxList.cs: Fix build.
7486 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7488 * Button.cs: Use validation group when validating page.
7489 * XmlDataSourceView.cs: Implemented ExecuteSelect.
7490 * Menu.cs: Minor fix.
7491 * CheckBox.cs: Added 2.0 properties and methods.
7492 * BaseDataList.cs: Always databind the control if view state
7494 * DataList.cs: In 2.0, use control state to save the selected index.
7495 * DetailsViewUpdatedEventArgs.cs: Fix typo.
7496 * CustomValidator.cs: Implement IStaticTextControl interface.
7497 * CheckBoxList.cs: Added missing 2.0 methods.
7498 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
7500 * XmlDataSource.cs: Return childs of DocumentElement, not the root
7502 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
7503 Implemented 2.0 API.
7506 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
7508 * Button.cs: Implemented all missing 2.0 features.
7509 * Table.cs: Render the table caption, when specified.
7510 * Calendar.cs: Implemented most of missing 2.0 features.
7511 * TableCell.cs: Fixed attributes.
7513 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7515 * ControlPropertyNameConverter.cs: Added file.
7517 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7519 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
7520 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
7521 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
7522 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
7523 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
7524 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
7525 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
7526 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
7527 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
7528 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
7529 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
7530 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
7531 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
7532 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
7533 DataGridSortCommandEventArgs.cs, Repeater.cs,
7534 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
7535 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
7536 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
7537 CompareValidator.cs, HierarchicalDataBoundControl.cs,
7538 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
7539 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
7540 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
7541 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
7542 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
7543 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
7544 AdCreatedEventArgs.cs:
7546 General 2.0 API fixes: missing attributes, incorrect inheritance,
7547 missing sealed keywords, wrong signatures, etc.
7549 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
7551 * Table.cs: Added some 2.0 properties.
7552 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
7554 * BaseValidator.cs: Fix warning.
7555 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
7557 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
7559 * Menu.cs: Rendering fixes.
7561 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
7563 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
7564 ContentPlaceHolderBuilder.cs: Implemented.
7566 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7568 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
7569 attributes that are meant to be in the input tag in their place.
7571 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
7573 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
7574 generates invalid html).
7576 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
7578 * Menu.cs: Implemented most of missing properties. Added support for
7579 item templates. Implemented menu scrolling.
7580 * MenuItemBinding.cs: Implemented most of missing properties.
7581 * MenuItem.cs: Implemented most of missing properties.
7582 * Menu.js: Implemented scrolling and menu reposition into screen.
7583 * MenuItemTemplateContainer.cs: Implemented.
7584 * SubMenuStyle.cs: Implemented.
7586 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
7588 * Style.cs: Implemented RegisteredCssClass property. Added
7589 CopyTextStylesFrom method, which copies styles that only apply to text.
7590 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
7591 in the page stylesheet. Added support for ItemSpacing property.
7592 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
7594 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
7596 * Style.cs: Generate styles using a CssStyleCollection, so the code can
7597 be reused for the 2.0 FillStyleAttributes method.
7598 * Menu.cs: Implemented more properties and events. Rendering is very
7600 * MenuItem.cs: Added PopOutImageUrl property.
7601 * Menu.js: More work on submenu management.
7603 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
7605 * Menu.cs: Implemented basic rendering. Added some missing properties.
7606 * MenuItem.cs: Improved implementation of Depth.
7607 * Unit.cs: Added serializable attribute.
7608 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
7609 so it can be reused.
7610 * Menu.js: New script to support he Menu control.
7612 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
7614 * MenuEventArgs.cs: Changed to sealed.
7615 * TreeView.cs: Minor fix.
7616 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
7617 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
7618 MenuItemStyleCollection.cs: Initial Menu code.
7620 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
7622 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
7623 Implemented SetDirtyObject.
7624 * Style.cs: Implemented SetDirty().
7625 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
7626 * TreeNode.cs: Added missing attributes added support for
7627 PopulateOnDemand. Added some missing property bindings.
7628 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
7629 to newly added elements to make sure al new data is saved.
7630 * TreeView.js: Implemented support for client population of nodes.
7631 * TreeNodeStyle.cs: Added missing attributes.
7632 * TreeView.cs: Implemented support for PopulateNodesFromClient and
7633 PopulateOnDemand. Improved rendering.
7635 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
7637 * DataControlField.cs:
7638 * DataControlFieldCell.cs: Initial implementation.
7640 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
7642 * TreeNodeBindingCollection.cs: Implemented.
7643 * TreeNodeBinding.cs: Implemented.
7644 * TreeNode.cs: Added support for data binding.
7645 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
7646 TreeView_Default_NoExpand.gif: Moved to resources directory.
7647 * ListControl.cs: Fixed api.
7648 * XmlHierarchicalEnumerable.cs: Made internal.
7649 * DataBoundControl.cs: Modified api to match latest ms.net.
7650 * TreeView.js: New javascript file to support TreeView in the client.
7651 * XmlDataSource.cs: Added missing attributes.
7652 * HierarchicalDataBoundControl.cs: Mostly implemented.
7653 * BaseDataBoundControl.cs: Mostly implemented.
7654 * XmlHierarchyData.cs: Made internal.
7655 * TreeView.cs: Mostly implemented. The major missing feature is
7656 client side tree population.
7658 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
7661 * DataBountControl.cs:
7662 * Repeater.cs: Added SelectArguments property and updated.
7663 * SiteMapDataSourceView.cs:
7664 * SqlDataSourceView.cs:
7665 * XmlDataSourceView.cs: Removed extra method, which was there to
7666 keep things compiling.
7668 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
7670 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
7671 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
7672 TreeView.cs: Initial implementation.
7673 * DataBoundControl.cs: Set the correct base class.
7674 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
7675 * TreeNodeSelectAction.cs: Formatting.
7676 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
7677 TreeView_Default_NoExpand.gif: TreeView images.
7679 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
7681 * SqlDataSourceView.cs: Updated methods and added one property.
7683 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7685 * AccessDataSource.cs:
7686 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
7687 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7689 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
7690 * SqlDataSourceView.cs: Updated constructor.
7692 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7694 * AccessDataSourceView.cs: Added new class.
7696 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7698 * SqlDataSourceView.cs: Corrected exception handling in
7699 ExecuteSelect method.
7701 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
7703 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
7704 * SiteMapDataSourceView.cs: Minor fix.
7706 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7708 * SqlDataSourceView.cs: Updated ExecuteSelect method.
7710 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7712 * SqlDataSource.cs: Corrected Select method.
7714 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7716 * SqlDataSource.cs: Updated Select method definition.
7717 * SqlDataSourceStatusEventArgs.cs: Updated class.
7719 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
7721 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
7722 from DataSourceView.cs).
7724 2004-11-10 Raja R Harinath <rharinath@novell.com>
7726 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
7728 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
7730 * SqlDataSource.cs: Corrected method calls.
7731 * SqlDataSourceView.cs: Partial implementation of few methods.
7733 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7735 * ListItemCollection.cs: fixed bug when indexing changed elements in
7736 LoadViewState. Patch from Alois Bělaška.
7738 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
7740 * SiteMapDataSourceView.cs:
7741 * SqlDataSourceView.cs:
7742 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
7743 base class, DataSourceView. Changes are to keep things compiling.
7745 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
7747 * SiteMapDataSourceView.cs: Corrected class definition and updated.
7748 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
7751 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
7753 * AdRotator.cs: Updated.
7755 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
7757 * AccessDataSource.cs: Updated.
7759 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7761 * ValidatedControlConverter.cs: Updated.
7763 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7765 * AssociatedControlConverter.cs: Implemented.
7767 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7769 * ControlIDConverter.cs: Initial implementation.
7771 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7773 * IButtonControl.cs: Corrected property name.
7775 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7777 * ParameterCollection.cs: Updated.
7779 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7781 * Parameter.cs: Updated and completed implementation.
7783 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7785 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
7788 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7790 * AccessDataSource.cs: Initial implementation.
7792 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
7794 * DataControlRowState.cs:
7796 * TreeNodeTypes.cs: Added attribute.
7797 * DataControlRowType.cs:
7799 * SortDirection.cs: Corrected enumeration values.
7800 * TableRowSection.cs: Added new enumeration.
7801 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
7803 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7805 * TableStyle.cs: don't render empty 'rules' attribute (again).
7807 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
7809 * FormViewUpdatedEventArgs.cs: Spelling mistake.
7811 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
7813 * Literal.cs: Added new method Focus().
7815 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7817 * RadioButton.cs: fix GroupName when the control is inside a
7818 NamingContainer different from Page. Closes bug #65586.
7820 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
7822 * Localize.cs: Added new class.
7824 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
7826 * CompositeControl.cs : Completed
7827 * Login.cs : Initial implementation.
7829 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7831 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
7832 don't call MapPathSecure on the content itself.
7834 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
7835 document is checked at parse time and will be checked again at run time.
7839 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
7841 * AuthenticateEventHandler.cs:
7842 * CreateUserErrorEventArgs.cs:
7843 * CreateUserErrorEventHandler.cs:
7844 * DetailsViewCommandEventHandler.cs:
7845 * DetailsViewDeleteEventArgs.cs:
7846 * DetailsViewDeleteEventHandler.cs:
7847 * DetailsViewDeletedEventArgs.cs:
7848 * DetailsViewDeletedEventHandler.cs:
7849 * DetailsViewInsertEventArgs.cs:
7850 * DetailsViewInsertEventHandler.cs:
7851 * DetailsViewInsertedEventArgs.cs:
7852 * DetailsViewInsertedEventHandler.cs:
7853 * DetailsViewModeEventArgs.cs:
7854 * DetailsViewModeEventHandler.cs:
7855 * DetailsViewPageEventHandler.cs:
7856 * DetailsViewUpdateEventArgs.cs:
7857 * DetailsViewUpdateEventHandler.cs:
7858 * DetailsViewUpdatedEventArgs.cs:
7859 * DetailsViewUpdatedEventHandler.cs:
7860 * FormViewCommandEventHandler.cs:
7861 * FormViewDeleteEventArgs.cs:
7862 * FormViewDeleteEventHandler.cs:
7863 * FormViewDeletedEventArgs.cs:
7864 * FormViewDeletedEventHandler.cs:
7865 * FormViewInsertEventArgs.cs:
7866 * FormViewInsertEventHandler.cs:
7867 * FormViewInsertedEventArgs.cs:
7868 * FormViewInsertedEventHandler.cs:
7869 * FormViewModeEventHandler.cs:
7870 * FormViewPageEventHandler.cs:
7871 * FormViewUpdateEventArgs.cs:
7872 * FormViewUpdateEventHandler.cs:
7873 * FormViewUpdatedEventArgs.cs:
7874 * FormViewUpdatedEventHandler.cs:
7875 * GridViewCancelEditEventArgs.cs:
7876 * GridViewCancelEditEventHandler.cs:
7877 * GridViewCommandEventHandler.cs:
7878 * GridViewDeleteEventArgs.cs:
7879 * GridViewDeleteEventHandler.cs:
7880 * GridViewDeletedEventArgs.cs:
7881 * GridViewDeletedEventHandler.cs:
7882 * GridViewEditEventHandler.cs:
7883 * GridViewPageEventHandler.cs:
7884 * GridViewRowEventHandler.cs:
7885 * GridViewSelectEventHandler.cs:
7886 * GridViewSortEventArgs.cs:
7887 * GridViewSortEventHandler.cs:
7888 * GridViewUpdateEventArgs.cs:
7889 * GridViewUpdateEventHandler.cs:
7890 * GridViewUpdatedEventArgs.cs:
7891 * GridViewUpdatedEventHandler.cs:
7892 * ImageMapEventHandler.cs:
7893 * MailMessageEventHandler.cs:
7894 * MenuEventHandler.cs:
7895 * ObjectDataSourceDisposingEventHandler.cs:
7896 * ObjectDataSourceEventHandler.cs:
7897 * ObjectDataSourceMethodEventArgs.cs:
7898 * ObjectDataSourceMethodEventHandler.cs:
7899 * ObjectDataSourceSelectingEventArgs.cs:
7900 * ObjectDataSourceSelectingEventHandler.cs:
7901 * ObjectDataSourceStatusEventArgs.cs:
7902 * ObjectDataSourceStatusEventHandler.cs:
7903 * SendMailErrorEventHandler.cs:
7904 * SiteMapNodeItemEventHandler.cs:
7905 * SqlDataSourceSelectingEventArgs.cs:
7906 * SqlDataSourceSelectingEventHandler.cs:
7907 * TreeNodeEventHandler.cs:
7908 * WizardNavigationEventArgs.cs:
7909 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
7910 corrections and removing "sealed" access specifier from *EventHandler.cs
7912 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
7914 * Literal.cs: Added new attributes and property for .Net 2.0
7916 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
7918 * GridViewDeleteEventArgs.cs: Removed extra code.
7920 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
7922 * SendMailErrorEventArgs.cs:
7923 * SendMailErrorEventHandler.cs:
7924 * SiteMapNodeItemEventArgs.cs:
7925 * SiteMapNodeItemEventHandler.cs:
7926 * SqlDataSourceSelectingEventArgs.cs:
7927 * SqlDataSourceSelectingEventHandler.cs:
7928 * TreeNodeEventArgs.cs:
7929 * TreeNodeEventHandler.cs:
7930 * WizardNavigationEventArgs.cs:
7931 * WizardNavigationEventHandler.cs: Added new delegates.
7933 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7935 * ImageMapEventArgs.cs:
7936 * ImageMapEventHandler.cs:
7937 * MailMessageEventArgs.cs:
7938 * MailMessageEventHandler.cs:
7940 * MenuEventHandler.cs:
7941 * ObjectDataSourceDisposingEventArgs.cs:
7942 * ObjectDataSourceDisposingEventHandler.cs:
7943 * ObjectDataSourceEventArgs.cs:
7944 * ObjectDataSourceEventHandler.cs:
7945 * ObjectDataSourceMethodEventArgs.cs:
7946 * ObjectDataSourceMethodEventHandler.cs:
7947 * ObjectDataSourceSelectingEventArgs.cs:
7948 * ObjectDataSourceSelectingEventHandler.cs:
7949 * ObjectDataSourceStatusEventArgs.cs:
7950 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
7952 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7954 * DetailsViewCommandEventArgs.cs:
7955 * FormViewCommandEventArgs.cs:
7956 * GridViewCommandEventArgs.cs: Corrected constructor.
7958 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7960 * GridViewCancelEditEventArgs.cs:
7961 * GridViewCancelEditEventHandler.cs:
7962 * GridViewCommandEventArgs.cs:
7963 * GridViewCommandEventHandler.cs:
7964 * GridViewDeletedEventArgs.cs:
7965 * GridViewDeletedEventHandler.cs:
7966 * GridViewDeleteEventArgs.cs:
7967 * GridViewDeleteEventHandler.cs:
7968 * GridViewEditEventArgs.cs:
7969 * GridViewEditEventHandler.cs:
7970 * GridViewPageEventArgs.cs:
7971 * GridViewPageEventHandler.cs:
7972 * GridViewRowEventArgs.cs:
7973 * GridViewRowEventHandler.cs:
7974 * GridViewSelectEventArgs.cs:
7975 * GridViewSelectEventHandler.cs:
7976 * GridViewSortEventArgs.cs:
7977 * GridViewSortEventHandler.cs:
7978 * GridViewUpdatedEventArgs.cs:
7979 * GridViewUpdatedEventHandler.cs:
7980 * GridViewUpdateEventArgs.cs:
7981 * GridViewUpdateEventHandler.cs: Added new delegates.
7983 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7985 * FormViewUpdatedEventArgs.cs: Corrected constructor.
7987 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7989 * FormViewCommandEventArgs.cs: Corrected name of class.
7991 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7993 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
7996 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7998 * FormViewCommandEventArgs.cs:
7999 * FormViewCommandEventHandler.cs:
8000 * FormViewDeletedEventArgs.cs:
8001 * FormViewDeletedEventHandler.cs:
8002 * FormViewDeleteEventArgs.cs:
8003 * FormViewDeleteEventHandler.cs:
8004 * FormViewInsertedEventArgs.cs:
8005 * FormViewInsertedEventHandler.cs:
8006 * FormViewInsertEventArgs.cs:
8007 * FormViewInsertEventHandler.cs:
8008 * FormViewModeEventArgs.cs:
8009 * FormViewModeEventHandler.cs:
8010 * FormViewPageEventArgs.cs:
8011 * FormViewPageEventHandler.cs:
8012 * FormViewUpdatedEventArgs.cs:
8013 * FormViewUpdatedEventHandler.cs:
8014 * FormViewUpdateEventArgs.cs:
8015 * FormViewUpdateEventHandler.cs: Added new delegates.
8017 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
8019 * DetailsViewCommandEventArgs.cs:
8020 * DetailsViewCommandEventHandler.cs:
8021 * DetailsViewDeletedEventArgs.cs:
8022 * DetailsViewDeletedEventHandler.cs:
8023 * DetailsViewDeleteEventArgs.cs:
8024 * DetailsViewDeleteEventHandler.cs:
8025 * DetailsViewInsertedEventArgs.cs:
8026 * DetailsViewInsertedEventHandler.cs:
8027 * DetailsViewInsertEventArgs.cs:
8028 * DetailsViewInsertEventHandler.cs:
8029 * DetailsViewModeEventArgs.cs:
8030 * DetailsViewModeEventHandler.cs:
8031 * DetailsViewPageEventArgs.cs:
8032 * DetailsViewPageEventHandler.cs:
8033 * DetailsViewUpdatedEventArgs.cs:
8034 * DetailsViewUpdatedEventHandler.cs:
8035 * DetailsViewUpdateEventArgs.cs:
8036 * DetailsViewUpdateEventHandler.cs: Added new delegates.
8038 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
8040 * AuthenticateEventArgs.cs:
8041 * AuthenticateEventHandler.cs:
8042 * CreateUserErrorEventArgs.cs:
8043 * CreateUserErrorEventHandler.cs: Added new delegates.
8045 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
8047 * IButtonControl.cs:
8048 * ICallbackContainer.cs:
8049 * ICompositeControlDesignerAccessor.cs:
8050 * IPostBackContainer.cs: Added new interfaces.
8052 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
8055 * AutoCompleteType.cs:
8056 * ContentDirection.cs:
8057 * DataControlCellType.cs:
8058 * DataControlRowState.cs:
8059 * DataControlRowType.cs:
8060 * DetailsViewMode.cs:
8061 * DynamicImageParameterMode.cs:
8064 * ImageFieldMode.cs:
8071 * SiteMapNodeItemType.cs:
8072 * SiteMapNodeType.cs:
8073 * SiteMapViewType.cs:
8075 * TableCaptionAlign.cs:
8076 * TableHeaderScope.cs:
8078 * TreeNodeSelectAction.cs:
8080 * TreeViewImageSet.cs:
8081 * WizardStepType.cs: Added enumerations
8083 2004-08-02 Duncan Mak <duncan@ximian.com>
8086 * LoginFailureAction.cs:
8087 * LoginTextLayout.cs: Added enumerations.
8089 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8091 * BaseValidator.cs: in Validate(), when the control is not visible or
8092 enabled, return inmediately after setting IsValid to true. Fixes bug
8095 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8097 * DataList.cs: s/HasChildren/HasControls()/.
8099 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8101 * DataList.cs: style.
8103 2004-07-27 Alon Gazit <along@mainsoft.com>
8104 * DataList.cs: Replaced foreach statement with for statement,
8105 in order to improve performence.
8107 2004-07-27 Alon Gazit <along@mainsoft.com>
8108 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
8110 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
8111 switch statements in order to improve performance.
8113 2004-06-10 Alon Gazit <along@mainsoft.com>
8114 * WebControl.cs: fixed LoadViewState().
8115 Creates new attributes state bag only when the current is null.
8117 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8119 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
8121 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8123 * Calendar.cs: set the title class attribute if we have it. Fixes bug
8126 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8128 * Style.cs: added SetBit.
8130 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8133 * CompareValidator.cs:
8136 * WebControl.cs: Added protected missing members and attributes.
8138 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8140 * TextBox.cs: don't save the Text if in ViewState if it's a password.
8141 Save it if the control is not visible or not enabled. Fixes bug #58497.
8143 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8145 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
8148 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
8150 * SqlDataSourceCommandEventArgs:
8151 * XmlDataSource.cs : removed temporary workarounds for CLS
8152 compliance as System.Data is now CLS compliant
8154 2004-05-06 Alon Gazit <along@mainsoft.com>
8155 * WebControl.cs: fixed LoadViewState() and SaveViewState().
8156 Before the change the Enabled property wasn't updated when a postback
8158 * ListControl.cs: fixed SelectedIndex property implementation.
8159 Prevents throwing ArgumentOutOfRangeException (that should not be
8160 thrown), when the list is empty.
8162 2004-04-28 Alon Gazit <along@mainsoft.com>
8163 * WebControl.cs: fixed LoadViewState().
8164 Always loading the saved attributes collection.
8166 2004-04-18 Alon Gazit <along@mainsoft.com>
8167 * Repeater.cs: fixed InstantiateItem() and DataSource property.
8168 The change in DataSource prevents throwing ArgumentException while
8169 setting property value to null.
8170 The change in InstantiateItem() prevents NullReferenceException.
8172 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
8174 * BaseValidator.cs: Store Display property in the correct ViewState
8175 property. Don't render anything if Display is ValidatorDisplay.None.
8177 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
8179 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
8180 since it is already a physical path. Fixes bug #55334.
8182 2004-02-13 Jackson Harper <jackson@ximian.com>
8184 * Calendar.cs: Match MS postback data. This allows sites that
8185 parse the postback data manually to work.
8187 2004-02-04 Alon Gazit <along@mainsoft.com>
8188 * EditCommandColumn.cs: fixed InitializeCell().
8189 The rendered LiteralControl should contain " " and not " ".
8191 2004-02-01 Alon Gazit <along@mainsoft.com>
8193 * DataGrid.cs: fixed a problem in the paging mechanism in the method
8195 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
8196 while clicking the "..." link in the second page.
8198 2004-01-28 Alon Gazit <along@mainsoft.com>
8200 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
8202 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8204 * Calendar.cs: when rendering days, add a LiteralControl containing the
8205 day before OnDayRender is called. Only generate the default links for
8206 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
8208 2004-01-21 Martin Baulig <martin@ximian.com>
8210 * XmlHierarchyData.cs: Make this compile with csc.
8212 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
8213 accessor since the base class doesn't have one.
8215 2004-01-18 Alon Gazit <along@mainsoft.com>
8217 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
8219 2004-01-18 Alon Gazit <along@mainsoft.com>
8221 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
8222 Property default value.
8223 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
8224 Property default value.
8226 2004-01-15 Alon Gazit <along@mainsoft.com>
8228 * RadioButtonList.cs: RepeatLayout property should affect the rendered
8231 2004-01-15 Alon Gazit <along@mainsoft.com>
8232 * FontInfo.cs: Add validation check to Size property.
8234 2004-01-07 Alon Gazit <along@mainsoft.com>
8235 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8236 merge the column's style to the cell's style and not to
8237 the item's(row) style.
8239 2004-01-04 Alon Gazit <along@mainsoft.com>
8240 * RangeValidator.cs: Fixed ControlPropertiesValid().
8242 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8244 * Xml.cs: mono-stylized and removed warnings.
8246 2004-1-1 Alon Gazit <along@mainsoft.com>
8247 * RadioButtonList.cs: update RenderItem() so that each RadioButton
8248 is enabled or disabled like the RadioButtonList.
8249 * CheckBoxList.cs: update RenderItem() so that each CheckBox
8250 is enabled or disabled like the CheckBoxList.
8252 2004-1-1 Alon Gazit <along@mainsoft.com>
8253 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8254 The Header or Footer Style shouldn't merge with the cells Style.
8256 2004-1-1 Alon Gazit <along@mainsoft.com>
8257 * DataGridColumn.cs: Headers and Footers are initialized
8258 with the relevant Style object.
8260 2003-12-30 Alon Gazit <along@mainsoft.com>
8261 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8262 DoHorizontalRendering().
8263 Current implementation produces few extra html tags.
8265 2003-12-29 Alon Gazit <along@mainsoft.com>
8267 * CheckBox.cs: change the implementation of LoadPostData.
8268 Currently, while the AutoPostBack property equals true ,
8269 it isn't possible to perform uncheck.
8271 2003-12-19 Jackson Harper <jackson@ximian.com>
8273 * TableCell.cs: Setting a cells text should clear its control
8274 collection as per la specification. This fixes bug #51825.
8276 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8278 * DataGridColumn.cs: stylized LoadViewState.
8279 * DataGridColumnCollection.cs: when TrackViewState is called, also
8280 call it on all the existing columns. Fixes bug #52334.
8282 2003-12-18 Alon Gazit <along@mainsoft.com>
8284 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
8287 2003-12-18 Alon Gazit <along@mainsoft.com>
8289 * TableStyle.cs: merge TableStyle properties when Style is empty.
8291 2003-12-16 Alon Gazit <along@mainsoft.com>
8293 * HyperLink.cs: Change Text property implementation. in MS when the Text
8294 property is set, all the controls in the HyperLink are being deleted.
8295 This fixes bug #52239.
8297 2003-12-15 Alon Gazit <along@mainsoft.com>
8298 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8299 DoHorizontalRendering().
8300 Both methods add additional empty table row in the head of each item
8301 table when the variable named isTable equals true (happenes with the
8302 default instantiation of RepeatInfo). These additional rows should be
8303 added when isTable equals false.
8304 This fixes bug #52225.
8306 2003-12-15 Alon Gazit <along@mainsoft.com>
8308 * RepeatInfo.cs: Fixed DoVerticalRendering() and
8309 DoHorizontalRendering().
8310 Both methods add to rendered Header a colspan attribute according to the
8311 rows count. after the change the colspan is added according to the
8314 2003-12-15 Alon Gazit <along@mainsoft.com>
8315 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
8316 In .NET if the checkbox is disabled ,its text appears disabled too.
8317 In Mono the text appears enabled. the fix is in Render().
8318 This fixes bug #52180.
8320 2003-12-15 Alon Gazit <along@mainsoft.com>
8321 * Repeater.cs: Change the implementation of CreateControlHierarchy().
8322 The current implementation renders extra Header and footer
8323 without Repeater.DataSource assign.
8324 This fixes bug #52179.
8326 2003-12-15 Alon Gazit <along@mainsoft.com>
8327 * DataGrid.cs: Change the implementation of the property
8328 BackImageUrl. The current implementation has no influence
8329 on the rendered Html.
8331 2003-12-15 Alon Gazit <along@mainsoft.com>
8332 * WebControl.cs: Change the implementation of the property
8333 Enabled. Before the change the WebControl also looked at
8334 parent.Enabled . fixed bug #52171.
8336 2003-12-11 Jackson Harper <jackson@ximian.com>
8338 * RepeatInfo.cs: When rendering vertically figure out how many
8339 colmns are not going to be filled in in the last row, and adjust
8340 things accordingly. This fixes bug #51863.
8342 2003-12-10 Alon Gazit <along@mainsoft.com>
8343 * TableRow.cs: Change the implementation of the properties
8344 HorizontalAlign and VerticalAlign. The current implementation
8345 has no influence on the rendered Html.
8347 2003-12-10 Alon Gazit <along@mainsoft.com>
8348 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
8349 property's set method.
8351 2003-12-09 Jackson Harper <jackson@ximian.com>
8353 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
8354 Increment counter when moving to start. Fixes bug #51926.
8356 2003-12-08 Jackson Harper <jackson@ximian.com>
8358 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
8359 Benjamin Jemlich. Fixes bug #51823.
8361 2003-12-07 Alon Gazit <along@mainsoft.com>
8362 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
8363 property is set to false. Fixes bug #58120.
8365 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8367 * TableItemStyle.cs: merge TableItemStyle properties when Style is
8368 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
8370 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8372 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
8375 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8377 * WebControl.cs: don't create the attributes when GetAttribute is
8380 2003-12-01 Jackson Harper <jackson@ximian.com>
8382 * WebControl.cs: Only allow access keys to be null or a single
8383 char. Patch by Alon Gazit <along@mainsoft.com>.
8385 2003-11-30 Jackson Harper <jackson@ximian.com>
8387 * CheckBoxList.cs: A checkbox will have null post data if it is
8388 unselected. This fixes bug #51516.
8390 2003-11-29 Jackson Harper <jackson@ximian.com>
8392 * DataGrid.cs: Display paging controls even when there is no
8393 data. Path by Mohammad DAMT. Fixes bug #51487.
8395 2003-11-29 Jackson Harper <jackson@ximian.com>
8397 * DataGrid.cs: Call TrackViewState when loading bound columns view
8398 state. So that their state is saved. This fixes bug #51424. Also
8401 2003-11-26 Jackson Harper <jackson@ximian.com>
8403 * BaseDataList.cs: Change && to || We will call that a typo so no
8404 one gets embarrased.
8406 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8408 * BaseDataList.cs: allow setting null as Datasource.
8410 * DataGrid.cs: keep autogenerated columns in the ViewState.
8412 Patches by Alon Gazit <along@mainsoft.com>.
8414 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8416 * SqlDataSource*: Implement almost everything. Data access is
8419 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8421 * Calendar.cs (SaveViewState):
8422 - We were allocating a 11 item array, we only used 10 items,
8423 so only allocate 10.
8424 - We only need to save the selected dates if there are any.
8425 * DataGrid.cs (SaveViewState):
8426 * DataGridColumn.cs (SaveViewState):
8427 * DataGridColumnCollection.cs (SaveViewState):
8428 - Only return the array if there is anything in it
8429 * Style.cs (SaveViewState):
8430 - Only save the bits if there were changes.
8431 * WebControl.cs (SaveViewState), (LoadViewState):
8432 - Don't save Enabled into the viewstate here, we already
8433 do it in the property. This just caused *EVERY* control
8434 to have a non-null state, taking up lots of extra room
8436 - The style will always be created with this control's
8437 viewstate, so the style will always return null for the
8438 viewstate. As such, we do not need to store it. We can
8439 also reduce the triplet to a pair because of this.
8441 2003-11-22 Jackson Harper <jackson@ximian.com>
8443 * ValidationSummary.cs: Fix number of messages and message array computation.
8445 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8447 * Xml.cs: Corrected attribute
8448 * XmlBuilder.cs: Added
8450 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8452 * Xml.cs: class status based fixes.
8454 2003-11-19 Jackson Harper <jackson@ximian.com>
8456 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
8458 2003-11-19 Jackson Harper <jackson@ximian.com>
8460 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
8461 teh applications base directory. This fixes bug #51092.
8463 2003-11-18 Todd Berman <tberman@gentoo.org>
8465 * ControlParameter.cs:
8466 * CookieParameter.cs:
8468 * QueryStringParameter.cs:
8469 * SessionParameter.cs: added public .ctor ()
8470 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
8471 and handling, as well as internal ParameterValue for easy access.
8472 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
8473 * ParameterCollection.cs: implementation redux.
8475 2003-11-18 Todd Berman <tberman@gentoo.org>
8477 * ParameterCollection.cs: Implemented
8478 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
8479 ToString () now matches asp.net
8481 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
8483 * ControlParameter.cs:
8484 * CookieParameter.cs:
8487 * QueryStringParameter.cs: New v2 files. Mostly
8488 implemented, still need a few methods.
8490 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8492 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
8493 Gazit <along@mainsoft.com>.
8495 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8497 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
8498 Patch by Alon Gazit <along@mainsoft.com>.
8500 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8502 * DataBoundControl.cs: Implement
8503 * ListControl.cs: inherit from the above.
8504 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
8506 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8511 * Repeater.cs: add v2 databinding stuff
8512 * XmlDataSource.cs: make it load the xml.
8514 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8517 * XmlDataSourceView.cs:
8518 * XmlHierarchicalDataSourceView.cs:
8519 * XmlHierarchicalEnumerable.cs:
8520 * XmlHierarchyData.cs: Implement
8522 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
8524 * SiteMapDataSourceView.cs: Implement.
8526 2003-11-07 Jackson Harper <jackson@ximian.com>
8528 * ImageButton.cs: This is a workaround for bug #49819. It appears
8529 that the .x and .y values are not being posted, and only the x
8530 value is being posted with the ctrl's id as the key.
8532 2003-11-07 Jackson Harper <jackson@ximian.com>
8534 * DataGrid.cs (CreateControlHierarchy): Current page index is
8535 alolowed to equal page count. This prevents an exception being
8536 thrown when both are zero.
8538 2003-11-06 Jackson Harper <jackson@ximian.com>
8540 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
8541 * BaseValidator.cs: Disable base control so the isValid flag is
8544 2003-11-03 Jackson Harper <jackson@ximian.com>
8546 * TemplateColumn.cs: Use the same renderer for selected items as
8547 normal items. This fixes bug #49744.
8549 2003-11-03 Jackson Harper <jackson@ximian.com>
8552 * WebControl.cs: Fix argument out of range exceptions on
8553 properties. Patch by Yaron Shkop.
8555 2003-11-03 Jackson Harper <jackson@ximian.com>
8557 * TemplateColumn.cs: If the item is selected but there is no
8558 editItemTemplate use the itemTemplate. This matches MS behvoir.
8560 2003-11-03 Jackson Harper <jackson@ximian.com>
8562 * Repeater.cs: Always set alternating items to the AlternatingItem
8563 type, when instantiating alternating items use the itemTemplate if
8564 the alternatingItem template is null. This matches MS behavoir and
8567 2003-11-03 Jackson Harper <jackson@ximian.com>
8569 * DataGridPagerStyle.cs: Name of view state attribute is
8570 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
8571 visibility is changed. Patch by Yaron Shkop.
8573 2003-11-03 Jackson Harper <jackson@ximian.com>
8575 * RepeatInfo.cs: When doing horizontal rendering use the repeat
8576 columns as the number of columns in a row. This fixes bug #49016.
8578 2003-11-03 Jackson Harper <jackson@ximian.com>
8580 * PagedDataSource.cs (PageCount): Return page count of 1 if there
8581 paging is disabled. Patch by Yaron Shkop.
8582 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
8583 * TableStyle.cs (AddAttributesToRender): Render border style
8584 collapse. Patch by Yaron Shkop.
8586 * TableItemStyle.cs:
8587 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
8588 the wrong type. Patch by Yaron Shkop.
8590 2003-11-03 Jackson Harper <jackson@ximian.com>
8592 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
8594 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
8597 * BulletedListDisplayMode.cs:
8598 * BulletedListEventHandler.cs:
8600 * BulletedListEventArgs.cs: V2 controls (yay!)
8602 2003-10-30 Jackson Harper <jackson@ximian.com>
8604 * Repeater.cs: Throw an exception if the datasource is set to
8605 something that does not implement either IListSource or
8606 IEnumerable. This fixes bug #50155.
8608 2003-10-30 Jackson Harper <jackson@ximian.com>
8610 * DataGridPagerStyle.cs: Do not allow page button counts to be set
8611 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
8613 2003-10-29 Jackson Harper <jackson@ximian.com>
8615 * ButtonColumn.cs: Format string and text to format were
8616 inversed. This fixes bug #50171.
8618 2003-10-29 Jackson Harper <jackson@ximian.com>
8620 * DataGridColumn.cs: If an item style is set apply it to the
8621 cell. This fixes bug #50173.
8623 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
8625 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
8626 old debugging value.
8628 2003-10-29 Jackson Harper <jackson@ximian.com>
8630 * PagedDataSource.cs:
8631 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
8632 end of the last page. Fixes bug #5085.
8634 2003-10-29 Jackson Harper <jackson@ximian.com>
8636 * CheckBox.cs: Do not change the status of a checkbox when there
8637 is no post data. This fixes bug #49091.
8638 * CheckBoxList.cs: Do not change the status of the checkboxes when
8639 there is no post data. This fixes bug #49093.
8641 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
8643 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
8644 RadioButton. Fixes #50132
8646 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8648 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
8649 paging from working. Fixes #48814.
8651 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8653 * DataGrid.cs: A few typos kept us from viewing datagrids
8654 that were based on customized collections.
8656 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
8658 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
8660 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
8662 * Calendar.cs: render the next month button so that aligns to the
8665 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8667 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
8668 was just changing && by || after the first Match.
8670 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8672 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
8673 Patch by Yaron Shkop.
8675 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8677 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
8678 that fixes bug #49744. Now the selection doesn't lose its data.
8680 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8682 * EditCommandColumn.cs: Implement; fix #49736
8684 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8686 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
8687 the forground color. bug #49738
8689 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8691 * Calendar.cs: fixed bug #49727.
8693 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
8695 * TableStyle.cs: fix #49740.
8697 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8699 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
8700 * ValidationSummary.cs: fixes bug #49669.
8702 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8704 * Calendar.cs: apply the calendar style to the new Table, not to itself.
8707 * CheckBox.cs: render the hidden fields if AutoPostBack.
8709 * Style.cs: don't render empty width/height. Small improvement in
8712 * Table.cs: fixed condition for border width.
8715 (CopyFrom): always call the base class to copy other attributes. Fixes
8716 bug #49408. Don't render empty 'rules' attribute.
8718 * WebControl.cs: track viewstate when enabled. Don't overwrite source
8719 control attributes in CopyBaseAttributes.
8721 * ChangeLog: fixed dates.
8724 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8726 * WebControl.cs : Attributes { get; } - Is Complete.
8727 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
8730 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8732 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
8733 : RegisterValidatorCommonScript()
8734 - More code, I need HELP!
8735 : RegisterValidatorDeclaration()
8736 - More code, I need HELP!
8738 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8740 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
8743 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8745 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
8746 ClearViewState only called when no items.
8748 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8750 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
8752 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8754 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
8756 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8758 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
8761 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8763 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
8766 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8768 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
8769 * WebControl.cs: fixed Enabled property and save it in ViewState.
8773 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8775 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
8777 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8779 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
8782 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8784 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
8785 <rich@velvetsea.net>.
8787 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8789 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
8790 Skripsky <juraj@hotfeet.ch>
8792 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8794 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
8795 fixes rendering of the end tag.
8797 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8799 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
8800 (Yaron Shkop). Closes bug #48060.
8802 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8804 * CheckBox.cs: in LoadPostData, only return
8805 true when the new data is different from the one we had. Fixed
8806 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
8809 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8811 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
8813 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8815 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
8816 of Enable in ViewState. Fixes bug #47865.
8818 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8820 * Style.cs: the MARKED bit is not send set in ViewState unless something
8821 is changed. Fixed TrackViewState condition.
8823 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
8824 because it uses the same ViewState as the control. Fixes bug #47725.
8826 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8828 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
8829 that fixes databinding when only DataTextField or DataNavigateUrlField
8832 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8834 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
8835 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
8836 values before assigning a data source and other issues.
8838 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8840 * CheckBox.cs: save viewstate when needed and correctly handle post
8841 data. Fixes bug #47462.
8843 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8845 * ButtonColumn.cs: Removed additional attributes
8846 * CheckBox.cs: Added attribute
8847 * DataGrid.cs: Added attributes
8848 * HyperLinkColumn.cs: Changed attributes, added lamespec
8849 * Style.cs: Removed attributes
8850 * TextBox.cs: Added/ removed attributes
8852 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8854 * AdRotator.cs: Added all attributes
8855 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
8856 * BaseValidator.cs: Added all attributes
8857 * BoundColumn.cs: Added all attributes
8858 * Button.cs: Added all attributes
8859 * ButtonColumn.cs: Added all attributes, added lamespec
8860 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
8861 * CheckBox.cs: Added all attributes
8862 * CheckBoxList.cs: Added all attributes
8863 * CompareValidator.cs: Added all attributes
8864 * CustomValidator.cs: Added all attributes
8865 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
8866 * DataGridColumn.cs: Added all attributes
8867 * DataGridColumnCollection.cs: Added all attributes
8868 * DataGridPagerStyle.cs: Added all attributes
8869 * DataGridTableInternal.cs: Made DataGridTableInternal internal
8870 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
8871 * DropDownList.cs: Added all attributes
8872 * FontInfo.cs: Added all attributes
8873 * HyperLink.cs: Added all attributes
8874 * HyperLinkColumn.cs: Added all attributes
8875 * Image.cs: Added all attributes
8876 * ImageButton.cs: Added all attributes
8877 * Label.cs: Added all attributes
8878 * LinkButton.cs: Added all attributes
8879 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
8880 * ListControl.cs: Added all attributes
8881 * ListItem.cs: Added all attributes
8882 * ListItemCollection.cs: Added attribute
8883 * Literal.cs: Added all attributes
8884 * Panel.cs: Added all attributes
8885 * RadioButton.cs: Added all attributes
8886 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
8887 * RangeValidator.cs: Added all attributes
8888 * RegularExpressionValidator.cs: Added all attributes
8889 * Repeater.cs: Added all attributes
8891 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8893 * RequiredFieldValidator.cs: Added all attributes
8894 * Style.cs: Added all attributes
8895 * Table.cs: Added all attributes
8896 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
8897 * TableCellCollection.cs: Added attribute
8898 * TableRow.cs: Added all attributes
8899 * TableRowCollection: Added attribute
8900 * TableStyle.cs: Added all attributes, improved error messages
8901 * TemplateColumn.cs: Added all attributes
8902 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
8903 * ValidationSummary.cs: Added all attributes
8904 * WebControl.cs: Added all attributes
8905 * Xml.cs: Added all attributes
8907 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8909 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
8910 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
8912 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8914 * CheckBoxList.cs: fixes bug reported on the list about the state of
8915 the CheckButtons not being preserved across posts.
8917 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8919 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
8921 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8923 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
8925 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8927 * ListControl.cs: save viewstate data when any of the 3 values is not
8928 null. Fixed condition to save selection indices. Closes bug #45493.
8930 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8932 * DataGrid.cs: fixed bug #43823.
8934 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8936 * DataGrid.cs: fixed delegate type for SortCommand.
8938 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8940 * DataGridColumnCollection.cs: added missing return in RemoveAt.
8942 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8944 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
8945 Don't save ViewState is the number of columns is 0.
8947 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8949 * DataGrid.cs: get the right item Type for the property we're reading
8950 fromt the data source.
8952 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8955 * TextBox.cs: added control builder attribute.
8957 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8959 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
8961 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
8963 * Unit.cs: Called the correct method to get the Numeric locale for the
8966 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8968 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
8969 correctly the header of the column.
8971 * DataGridTableInternal.cs: don't assign a default ID to this control.
8973 * LinkButton.cs: raise bubble event in OnCommand.
8975 * TableCellCollection.cs: fixed the index returned by Add.
8977 * TableRowCollection.cs: ditto.
8979 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8981 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
8983 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8985 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
8986 for reporting the bug and providing the fix.
8988 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8990 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
8991 CreateColumnSet. Set the owner of the column when auto generated.
8992 In PrepareControlHierarchyForItem, fixed for loop bound.
8994 * LinkButtonInternal.cs: fixed infinite recursion bug.
8998 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
9000 * Xml.cs: a few fixes.
9002 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9004 * DataList.cs: handle the exception when adding new keys to
9007 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9009 * BaseDataList.cs: what can I say for this one? I spent so many time
9010 until I finally found this that I'm gonna miss this f....g bug... ;-).
9011 Farewell. Now we can get events from image buttons inside Data*.
9013 * DataList.cs: now the value stored in ViewState for item count is
9016 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9018 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
9020 * DataGridColumn.cs: added SetOwner method.
9021 * DataGridColumnCollection.cs: set the owner of the column when added.
9023 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9025 * BoundColumn.cs: typo.
9026 * DataGrid.cs: use 'as' instead of casting. Typo.
9027 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
9030 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9032 * HyperLink.cs: fixes bug #36336.
9034 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9036 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
9038 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9040 * BaseValidator.cs: return an empty string in GetControlValidationValue
9041 when GetValue returned null.
9043 * CompareValidator.cs: fixed EvaluateIsValid.
9045 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
9047 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9049 * Xml.cs: use MapPathSecure to get the path of the document.
9051 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9053 * DataList.cs: fixed header & footer.
9055 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9057 * DataList.cs: for header and footer don't use data source.
9058 Instantiate in the DataListItem, not in the DataList.
9059 databind-template.aspx works now.
9061 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9064 (Render): call RenderContents (), not base.RenderContents ().
9066 * DataList.cs: style.
9068 But I still haven't found what i'm looking for....
9070 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9072 * Calendar.cs: fixed loading/saving selected dates.
9073 * SelectedDatesCollection.cs: added internal function to get the
9074 underlying ArrayList.
9076 Calendar navigation works again. Selecting dates too.
9078 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9080 * DataList.cs: added a few attributes and fixed infinite recursion.
9082 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9084 * ListItemCollection.cs: fixed LoadViewState.
9086 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9088 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
9089 Commented out some code until it works.
9091 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
9093 * BaseCompareValidator.cs - Fixed operator bug in
9094 Compare(string, string, ...)
9095 * CompareValidator.cs - EvaluateIsValid() : Implemented.
9097 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9099 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
9101 - All Properties : Now make use of ViewState.
9103 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9105 * BaseValidator.cs - Uncomment NotImplementedException.
9107 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9109 * BaseValidator.cs - Minor changes in TODO comments.
9111 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9113 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
9114 the NotImplementedException being thrown.
9115 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
9116 * DataGridLinkButton.cs - Added new class (private) : Implemented.
9117 * DataGrid.cs - InitializePager(DataGridItem, int,
9118 PagedDataSource) : Implemented.
9120 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9122 * DataList.cs - PrepareControlHierarchy() : Implemented.
9124 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9126 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
9127 - GetItem(ListItemType, int) : Removed TODO.
9128 - CreateControlHierarchy(bool) : Implemented.
9129 - CreateItem(int, ListItemType) : Implemented.
9130 - CreateItem(int, ListItemType,
9131 bool, object) : Implemented.
9132 - InitializeItem(DataItem) : Implemented.
9133 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
9134 The ViewState["_!ItemCount"],
9135 ViewState["_!DataSource_ItemCount"]
9136 are shared by DataList and DataGrid, and hence
9137 should share the same name.
9138 - ResolveDataSource(object, string)
9139 : Removed. Use System.Web.UI.Utils.DataSourceHelper
9140 ::GetResolvedDataSource(object, string).
9143 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9145 * DataGrid.cs: fixed compilation
9147 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
9149 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
9150 * DataGrid.cs - CreateControlHierarchy(bool)
9151 : working towards completion.
9152 - ResolveDataSource(object, string)
9153 : stubbed new method
9155 : stubbed new method
9156 Well. It's almost done.
9157 * DataGridTableInternal.cs
9158 - Added new internal class.
9160 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
9162 * DataSourceInternal.cs - Added new class (internal).
9164 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9167 * HorizontalAlign.cs:
9169 * VerticalAlign.cs: fixes based on class status page.
9171 * HorizontalAlignConverter.cs: implemented.
9172 * VerticalAlignConverter.cs: implemented.
9174 * FontUnitConverter.cs: implemented GetStandardValues ().
9176 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
9178 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9180 * DataGrid.cs - AutoCreateColumns: Bug fixes.
9182 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9184 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
9186 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9188 * DataGrid.cs - Working on the undocumented protected
9189 method CreateColumnSet. AutoCreateColumns method
9190 stubbed. Left CreateControlHierarchy for the time
9191 being, looks like I'm going insane. ;-)
9193 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9195 * Button.cs - Steffen's OnCommand bug fix.
9197 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
9199 * DataGrid.cs - Added protected method (skeleton)
9200 CreateColumnSet(PagedDataSource, bool)
9201 Still trying to know how will it be used
9204 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9206 * PagedDataSource.cs: fixed compilation.
9208 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
9210 * DataGrid.cs - Added private method
9211 CreatePagedDataSource
9213 CreateControlHierarchy(bool)
9214 * PagedDataSource.cs - Bug fixed.
9215 CurrentPageIndex is writable.
9217 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9219 * DataGrid.cs: fixed typo.
9220 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
9222 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9224 * DataGridColumn.cs - Added internal methods to get the
9225 various styles (needed in DataGrid.cs)
9226 * DataGrid.cs - Completed the method
9227 PrepareControlHierarchy()
9229 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9231 * DataGrid.cs - Wokring on PrepareControlHierarchy()
9232 - Added private method
9233 PrepareControlHierarchyForItem()
9235 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
9237 * DataGrid.cs - Completed method
9238 OnBubbleEvent(object, EventArgs)
9240 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9242 * Xml.cs: implemented document/transform load.
9244 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9246 * Calendar.cs: added myself to the list of authors.
9247 * DropDownList.cs: fixed a few properties.
9248 * ListControl.cs: fixed SelectedIndex.
9250 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9252 * Calendar.cs: lots of fixes. Render days. Still left to persist
9253 selected days when changing month.
9255 * Unit.cs: fixed Percentage and Pixel.
9257 * WebControl.cs: a few properties are now using ControlStyle instead
9258 of ViewState to persist.
9260 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9262 * BaseValidator.cs: it works now.
9263 * DataGridColumn.cs: added attribute and made it abstract.
9264 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
9266 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9268 * TextBox.cs: default for Wrap is true.
9269 (OnPreRender): don't save Text if there are no listeners on TextChanged.
9271 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9277 (LoadViewState): fixed.
9279 * ListItemCollection.cs:
9280 (TrackViewState): use items instead of 'this' in foreach.
9283 (LoadViewState): more checking of parameters.
9285 * WebControl.cs: implemented LoadViewState and SaveViewState.
9288 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9290 * ListItem.cs: there was no code to unset the flags!!!
9292 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9294 * FontUnit.cs: use a hashtable for mapping size name to value.
9295 * HyperLink.cs: fixed a bug and a typo.
9296 * Unit.cs: some fixes to internal constructor.
9298 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9300 * ListControl.cs: fixed a couple of range checks.
9301 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
9302 an HtmlForm (p.e., Label).
9304 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9314 * HyperLinkColumn.cs:
9323 * RadioButtonList.cs:
9327 * WebControl.cs: removed attributes added by mistake (i used
9328 GetCustomAttributes (true), d'oh!).
9330 * DataListItem.cs: implemented RenderItem.
9332 * Repeater.cs: implemented CreateItem and InitializeItem.
9334 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9336 * BaseDataList.cs: a couple of fiex and added attributes.
9337 * DataGrid.cs: little fixes.
9339 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9348 * RadioButtonList.cs:
9351 * Xml.cs: forgot to add using System.ComponentModel.
9353 * BaseValidator.cs: use explicitly
9354 System.ComponentModel.AttributeCollection as there is another class
9355 with the same name under System.Web.UI.
9357 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9376 * RadioButtonList.cs:
9381 * Xml.cs: added/fixed all attributes used by xsp.
9383 * BaseValidator.cs: some fixes.
9385 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9388 (AddAttributesToRender): correctly default to border=1.
9390 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9393 (LoadAdFile): make the dictionary null after every iteration.
9397 * ListItem.cs: fixed warnings.
9399 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
9401 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
9403 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9405 * DataGridColumn.cs:
9406 * DataGridPagerStyle.cs:
9413 * ListItemCollection.cs:
9415 * ServerValidateEventArgs.cs:
9419 * Xml.cs: more class status page based changes.
9421 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9424 (.ctor): fixed to render the correct tag.
9425 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
9427 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9430 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
9431 WebControl derived classes should be rendered inside a HtmlForm.
9433 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9435 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
9438 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9440 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9441 * RepeatInfo.cs: implemented DoHorizontalRendering.
9443 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9445 * System.Web.UI.WebControls/Repeater.cs:
9447 (OnDataBinding): fixed stack overflow.
9449 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9451 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9452 * RepeatInfo.cs: implemented DoHorizontalRendering.
9454 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9457 (CopyBaseAttributes): copy Attributes and don't throw exception.
9459 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9461 * ListBox.cs: mono-stylized.
9462 (AddAttributesToRender): call parent class method.
9464 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9466 * Style.cs: fixed IsEmpty and Width.
9468 * Table.cs: mono-stylized.
9469 (TableRowControlCollection.AddAt): fixed.
9470 (AddAttributesToRender): fixed.
9472 * TableCell.cs: mono-stylized.
9473 (.ctor): use PreventAutoID.
9474 (AddAttributesToRender): fixed.
9475 (AddParsedSubObject): fixed.
9477 * TableRow.cs: mono-stylized. Added
9478 ParseChildren attribute.
9481 (get_GridLine): fixed.
9483 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9485 * Panel.cs: fixed stack overflow.
9486 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
9487 and SingleConverter.
9489 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9491 * RadioButton.cs: mono-stylized and some little fixes.
9493 * TextBox.cs: mono-stylized.
9494 (MaxLength): fixed typo.
9496 (AddAttributesToRender): don't render the text between the tags for
9497 SingleLine, use value attribute for it. Don't render the text for
9500 (OnPreRender): don't throw exception and call base.OnPreRender.
9502 (Render): for MultiLine, render the text between the opening and
9503 closing tags encoded as HTML.
9505 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9508 (AddAttributesToRender): fixer another stack overflow.
9511 (TagName): modified to use TagKey instead of tagKey as the property
9514 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9516 * LinkButton.cs: mono-stylized.
9517 (AddParsedSubObject):
9518 (RenderControls): little fixes.
9521 (AddAttributesToRender): fixed usage of IEnumerator.
9523 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9525 * Literal.cs: beautified.
9527 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9529 * Label.cs: beautified and fixed a couple of 'classic' bugs.
9531 * WebControl.cs: use Span as default tag when no other provided in
9532 constructor. That is what MS renders.
9534 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9537 (AddAttributesToRender): fixed (classic) stack overflow.
9539 * CheckBox.cs: mono-stylized.
9540 (AutoPostBack): fixed stack overflow.
9541 (Render): fixed alignment issues. Also set the For attribute always
9544 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9546 * AdRotator.cs: GetData does not work as it should, but now it returns
9547 useful data (only the first ad in the file). Set the NavigateUrl
9548 property in the hyperlink if available.
9550 * HyperLink.cs: fixed constructor and a couple of stack overflows.
9552 * Image.cs: added an attribute and fixed stack overflow.
9555 (RenderBeginTag): fixed.
9556 (TagName): don't call Enum.IsDefined twice.
9558 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9560 * WebControl.cs: added attributes PersistChildrenAttribute and
9561 ParseChildrenAttribute.
9563 2002-05-24 Duncan Mak <duncan@ximian.com>
9565 * DataGridItem.cs (SetItemType): Changed function signature to
9568 * ListItemCollection.cs (this): Changes the visibility level of
9571 * Repeater.cs (OnItemCommand):
9573 (OnItemDataBound): Added necessary casts.
9575 2002-05-07 Duncan Mak <duncan@ximian.com>
9577 * Button.cs (AddAttributesToRender):
9578 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
9579 GetClientValidatedEvent method.
9581 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
9583 * Removed extra methods, corrected access modifiers to several
9586 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
9588 * <SeveralFiles>.cs - Added some attributes
9589 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
9590 methods. Will complete them later. Right now, busy with
9591 the attributes part.
9592 * RepeaterItem.cs - Completed.
9594 Oh God! Mercy! I will die applying attributes. I look at the missing
9595 part in the class-status - daemon! Kyrie eleison!
9597 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
9601 * AdRotator.cs - Added definition for Font.
9602 * BaseCompareValidator.cs - Added definition for Controls.
9603 * Calendar.cs - SelectMonthText definition corrected.
9604 * DataList.cs - Added definition for SeparatorTemplate.
9605 * BorderStyle.cs - Namespace correction. It belongs not to UI,
9606 but to UI.WebControls.
9608 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
9610 Finally, I have made it. Today I did a second build for the
9611 System.Web assembly. It compiled 195 classes today.
9612 I am waiting eagerly for the runtime to come up so that the objects
9613 may be tested to their last levels. Several of the methods are still
9614 under the tag of "TODO" throwing NotImplementedException. Well, I
9615 hope to remove them soon, but how far is this soon - even I don't
9616 know, though I am happy to make the build a success even before
9617 the vacations to come.
9619 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
9621 Yesterday and today I tried to do some building of the aseembly,
9622 but was dumped with uncoutably infinite errors. ;-)
9623 I have put the copies of the recent errors on my home page, want
9624 to have a look at them? See:
9625 http://mastergaurav.virtualave.net/mono/
9626 I don't know what to do with these errors. Oh! The buggy me! How
9627 will I overcome myself. Hopefully, by when my vacations over, I
9628 should have made a repository where the build will not fail.
9630 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
9632 I am now going to do a build that will include the
9633 System.Web.UI.WebControls namespace. Hoping that I will make it
9634 soon. My exams are coming near and I have to pack up soon.
9637 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
9640 And with this, ie, today's work, all the objects mentioned in the
9641 namespace appear in the implementation. But it may not be worth
9642 trying to go for a build because of dependence of several of the
9643 internal methods that may clash with already available assembly
9646 Also, the classes lack possible attributes, like those informing
9647 about child-controls etc. But I have to first create the attribute
9648 classes before I attach the attributes to the classes.
9650 * CustomValidator.cs - Completed. In process realized that
9651 I have to complete / rejuvinate BaseValidator class.
9652 * BaseValidator.cs - Complete rejuvination. Completed 80%
9653 of the job. All that is left is Render(HtmlTextWriter),
9654 DetermineRenderUplevel(), RegisterValidatorCommonScript()
9655 RegisterValidatorDeclaration()
9656 * DataGridPagerStyle.cs - Completed. That adds one more missle
9658 * DataKeyCollection.cs - Completed. Petty small.
9659 * Repeater.cs - Work started off. This is a quite
9661 * DataGridItemEventArgs.cs,
9662 * DataGridShortCommandEventArgs.cs,
9663 * DataListItemEventArgs.cs,
9664 * MonthChangedEventArgs.cs,
9665 * RepeaterItemEventArgs.cs,
9666 * ServerValidateEventArgs.cs,
9667 * DataGridPageChangedEventArgs.cs
9668 - Damn, I marked them "*", while they
9670 * Repeater.cs - Done all except for an undocumented
9671 method CreateControlHierarchy(bool). Though the method
9672 is quite clear by its name, but it will take some time
9673 for me to come with some material to flush in.
9675 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
9677 * SelectedDatesCollection.cs - Completed.
9678 * PagedDataSource.cs - Completed. Pathetically nice class.
9679 * RegularExpressionValidator.cs
9680 - Completed. Ridiculously small and
9681 annoyinglyc crazy-driving class, basically the method
9683 * RangeValidator.cs - Completed.
9684 * DataGridColumn.cs - Completed.
9685 * EditCommandColumn.cs - All is complete except for the
9686 InitializeCell(TableCell, int, ListItemType) method.
9687 * DataListItem.cs - All done except for a longish method
9688 RenderItem(HtmlTextWriter, bool, bool)
9690 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
9692 * RepeaterItemCollection.cs - Completed.
9693 I love *Collection classes. I am planning to make a
9694 program that will generate a *Collection class. It's so
9695 simple and the same. ;-)
9696 * DataGridColumnCollection.cs - Completed.
9697 ... except probably for *ColumnCollection classes, where
9698 you have to put in some more effort. Still, these class
9699 generation can be automated.
9700 * DataListItemCollection.cs - Completed.
9701 See, how easily, in less than a quarter of a minute, I
9702 completed this class - manually. Copy-Paste/Cut-Replace.
9704 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
9706 * DataGrid.cs - Following methods implemented:
9707 TrackViewState(), LoadViewState(object), SaveViewState(),
9708 On* -- The event raisers.
9709 OnBubbleEvent(object, EventArgs) is still incomplete.
9710 * DataGridItem.cs - Initial Implementation
9711 * DataGridItemCollection.cs - Completed.
9713 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
9715 * DataGrid.cs - Initial Implementation. Worked
9716 primarily with some properties.
9718 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
9720 * ListBox.cs - Completed. Implemented
9721 LoadPostData(string, NameValueCollection)
9722 * RequiredFieldValidator.cs - Completed. Pretty simple class.
9724 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
9726 * ListBox.cs - Implemented the following:
9727 RaisePostDataChangedEvent()
9729 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
9731 * ListBox.cs - Supports the following properties:
9732 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
9735 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
9736 RenderContents(HtmlTextWriter)
9739 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
9741 * TargetConverter.cs - Completed
9742 * TemplateColumn.cs - Completed
9743 * DataList.cs - Corrected the get-er methods for the
9744 *Style objects. Corrected the get/set-er methods for ViewState
9746 Addded support for properties:
9747 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
9748 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
9749 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
9750 SeparatorStyle, SeparatorItemTemplate.
9752 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
9753 ItemCreated, ItemDataBound, UpdateCommand.
9755 CreateControlStyle(), LoadViewState(object),
9756 SaveViewState(), TrackViewState
9758 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
9759 OnEditCommand, OnItemCommand, OnItemCreated,
9760 OnItemDataBound, OnUpdateCommand
9761 Added dummy methods for some undocumented methods:
9762 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
9763 CreateItem(int, ListItemType, bool, object),
9764 PrepareControlHierarchy(), InitializeItem(DataListItem)
9765 * ListBox.cs - Started working.
9769 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
9771 * RepeaterInfo.cs - Initial Implementation. Done all
9772 except for RepeatDirection.Vertical
9773 * TableStyle.cs - Completed
9775 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
9777 * DropDownList.cs - Completed
9778 * ListItemCollection.cs - Added method FindByValueInternal to
9779 assist in the derived classes.
9780 Discovered bug in FindByValue. Removed
9781 * UnitConverter.cs - Completed
9782 * PlaceHolder.cs - What can be simpler than this?
9783 * PlaceHolderControlBuilder.cs
9784 - Uh! Damn cool one.
9785 * RadioButtonList.cs - Initial Implementation. All is done
9786 except for the implementation of
9787 method IRepeatInfoUser.RenderItem(...)
9788 * ValidatedControlConverter.cs
9789 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
9790 * ValidationSummary.cs - Initial Implementation.
9791 * WebColorConverter.cs - Initial Implementation
9793 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9795 * FontNamesConverter.cs - Completed
9796 * FontUnitConverter.cs - Partial Implementation
9797 * ListItemControlBuilder.cs - Completed
9799 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9801 * TextBox.cs - All done except *Render* methods
9802 * TextBoxControlBuilder.cs - Completed
9803 * Xml.cs - Partial Implementation
9805 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
9807 * RadioButton.cs - Completed
9808 * TextBox.cs - Partial Implementation
9810 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
9812 * Panel.cs - Completed
9813 * TableItemStyle.cs - Completed
9815 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
9817 * TableCellCollection.cs - Completed
9818 * TableRowCollection.cs - Completed
9819 * TableHeaderCell.cs - Completed
9820 * TableRow.cs - Completed
9822 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
9824 * TableCellControlBuilder.cs - Completed
9825 * Table.cs - Completed
9826 * TableCell.cs - Completed
9828 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
9830 * CheckBoxList.cs - Completed
9831 * ButtonColumn.cs - Completed
9832 * Button.cs - Completed
9834 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
9836 * HyperLink.cs - Completed
9837 * Image.cs - Completed
9838 * ImageButton.cs - Completed
9839 * Label.cs - Completed
9840 * LabelControlBuilder.cs - Completed
9841 * LinkButton.cs - Completed
9842 * LinkButtonControlBuilder.cs - Completed
9843 * Literal.cs - Completed
9844 * LieteralControlBuilder.cs - Completed
9845 * FontUnit.cs - Completed
9848 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
9850 * Calendar.cs - Completed the functions of Render*,
9851 ViewStates (Track/View/Save),
9853 Left: RenderAllDays (partially)
9855 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
9857 * Calendar.cs - Added some more functions
9858 * Style.cs - Completed
9859 * ListItem.cs - Completed
9860 * ListItemCollection.cs - Completed
9862 Made the first successful build of System.Web.dll that included
9863 System.Web.UI.WebControls!
9865 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
9867 FontInfo.cs - Complete revamp. Completed
9869 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
9871 ListItemCollection.cs - Completed
9872 ListItem.cs - Initial Implementation
9873 Style.cs - Initial Implementation
9875 Right now I am in a total mood to do a successful build. Creating so many
9876 classes, completing classes in System.Web System.Web.UI namespaces.
9878 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
9880 TODO - Properly added
9881 CheckBox.cs - Completed
9882 BaseDataList.cs - Completed
9883 DayRenderEventArgs.cs - Completed
9884 RepeaterItem.cs - Initial implementation
9886 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
9888 BaseCompareValidator.cs - Completed
9889 AdRotator.cs - Completed
9891 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
9893 CommandEventArgs.cs - Completed
9894 DataGridCommandEventArgs.cs - Completed
9895 RepeaterCommandEventArgs.cs - Completed
9896 DataListCommandEventArgs.cs - Completed
9897 CompareValidator.cs - Partial Implementation
9899 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
9901 CheckBoxList.cs - Partial Implementation.
9904 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
9906 ListControl.cs - Completed
9908 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
9910 CheckBox.cs - Completed
9911 ListControl.cs - Initial Implementation
9912 CheckBoxList.cs - Started with it, but first needed
9913 ListControl. Left it.
9915 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
9917 CalendarDay.cs - Making a note that this
9918 has been implemented
9919 Calendar.cs - Making a note that have made some changes.
9920 Unimplmented functions throw
9921 NotImplementedException
9922 CheckBox.cs - Can now "Render" and "LoadPostData"
9925 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
9926 WebControl.cs - Total Revamp, Partial Implementation
9927 AdRotator.cs - Able to load files
9928 AdCreatedEventArgs.cs - Implemented
9930 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
9931 Calendar.cs - Initial Implementation
9932 ButtonColumn.cs - Initial Implementation
9933 Button.cs - Initial Implementation
9934 BoundColumn.cs - Initial Implementation
9935 BaseCompareValidator.cs - Minor Changes
9936 DataList.cs, BaseValidator.cs, BaseDataList.cs
9937 - Added more functions, other changes
9939 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
9940 WebControl.cs - Initial Implementation
9941 DataList.cs - Initial Implementation
9942 BaseValidator.cs - Initial Implementation
9943 BaseDataList.cs - Initial Implementation
9945 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
9947 AdCreatedEventArgs.cs - Initial Implementation
9948 AdCratedEventHandler.cs - Implemented
9949 AdRotator.cs - Initial Implementation
9950 BorderStyle.cs - Implemented
9951 ButtonColumnStyle.cs - Implemented
9952 CalendarSelectionMode.cs - Implemented
9953 DayNameFormat.cs - Implemented
9954 FirstDayOfWeek - Implemented
9955 FontInfo.cs - Partial Implementation
9956 FontSize.cs - Implemented
9957 GridLines.cs - Implemented
9958 HorizontalAlign.cs - Implemented
9959 HyperLink.cs - Initial Implementation
9960 ImageAlign.cs - Implemented
9961 IRepeatInfoUser.cs - Implemented
9962 ListItemType.cs - Implemented
9963 ListSelectionMode.cs - Implemented
9964 NextPrevFormat.cs - Implemented
9965 PagerMode.cs - Implemented
9966 PagerPosition.cs - Implemented
9967 RepeatDirection.cs - Implemented
9968 RepeatLayout.cs - Implemented
9969 TextAlign.cs - Implemented
9970 TextBoxMode.cs - Implemented
9971 TitleFormat.cs - Implemented
9972 UnitType.cs - Implemented
9973 ValidationCompareOperator.cs
9975 ValidationDataType.cs - Implemented
9976 ValidationSummaryDisplayMode.cs
9978 ValidatorDisplay.cs - Implemented
9979 VerticalAlign.cs - Implemented
9983 i/ File Created 2001-11-13