1 2010-07-22 Marek Habersack <mhabersack@novell.com>
3 * MenuRenderingMode.cs: added (4.0)
5 * Menu.cs: added the IncludeStyleBlock and RenderingMode 4.0
6 properties (not used in the code yet).
8 2010-07-21 Marek Habersack <mhabersack@novell.com>
10 * Wizard.cs: made rendering 100% compliant with .NET (button IDs,
12 Implemented LayoutTemplate (4.0+)
14 * LinkButton.cs: render id first
16 * CreateUserWizard.cs: CreateUserNavigationContainer.UpdateState
17 doesn't add a previous button if we're on the first step.
19 2010-07-20 Marek Habersack <mhabersack@novell.com>
21 * StyleCollection.cs: added
23 2010-07-19 Marek Habersack <mhabersack@novell.com>
25 * SqlDataSourceView.cs: added the RaiseUnsupportedCapabilityError
28 * RoleGroupCollection.cs: added OnValidate (undocumented) overload
30 * ParameterCollection.cs: added missing Add method overload (2.0+)
32 * LiteralControlBuilder.cs: added the AppendLiteralString method
35 * DataKey.cs: implemented IEquatable interface methods (4.0)
37 * XmlDataSource.cs: implemented CacheKeyContext property (4.0)
39 2010-07-16 Marek Habersack <mhabersack@novell.com>
41 * Login.cs, PasswordRecovery.cs: implemented RenderOuterTable
44 * FormViewRow.cs: added internal property RenderJustCellContents
45 which makes the control render only its children (4.0)
47 * FormView.cs: implemented RenderOuterTable property and the
48 ModifiedOuterTableStylePropertyName method (4.0)
50 2010-07-15 Marek Habersack <mhabersack@novell.com>
52 * WebControl.cs: implemented verifying that no inline style
53 property is set for controls which support the RenderOuterTable
56 * IRenderOuterTable.cs: internal helper interface for controls
57 which support the RenderOuterTable property (for now only
58 ChangePassword, 3 more to come)
60 * ChangePassword.cs: implemented RenderOuterTable property and the
61 corresponding behavior of not rendering surrounding table when the
62 property is set to false (4.0).
63 Modified BaseChangePasswordContainer to not inherit from Table
64 anymore. Table is an instance variable (always used as the
65 template container in 2.0) which is optionally (and by default)
66 used to contain the templates.
68 * PlaceHolder.cs, View.cs, WizardStepBase: added EnableTheming
71 * MultiViewControlBuilder.cs: added
73 2010-07-14 Marek Habersack <mhabersack@novell.com>
75 * Menu.cs: fixed skip link rendering (no child controls are added
76 in the process, writing directly to HtmlTextWriter). Fixes tests
78 If StaticSubMenuIndent equals Unit.Empty on 4.0, default to using
79 16px as the value of the margin-left CSS attribute.
81 2010-07-13 Marek Habersack <mhabersack@novell.com>
83 * BoundField.cs: implemented HtmlEncodeFormatString property
84 (3.5+) and modified the way FormatDataValue works accordingly.
86 * ListBox.cs, CheckBoxList.cs, ListControl.cs: VerifyMultiSelect
87 is not part of the official API. MultiSelect capability validation
88 is performed using an internal virtual method MultiSelectOk ().
90 * BaseDataList.cs: OnPagePreLoad is not part of the official API
92 * BaseDataBoundControl.cs, BaseDataList.cs, DataListItem.cs,
93 ValidationSummary.cs: implemented 4.0 SupportsDisabledAttribute
96 * Wizard.cs: wizard table doesn't contain any instances of
97 HtmlAnchor or Image controls. Moved rendering of the skip link
98 anchor to the TableCellNamingContainer class, which does that in
99 RenderChildren by directly writing to the passed writer. Fixes 4.0
100 rendering and all the failing Wizard tests.
102 2010-07-08 Marek Habersack <mhabersack@novell.com>
104 * CheckBoxList.cs: RepeatLayout property update for new values of
105 the RepeatLayout enum in 4.0
107 * TreeView.cs: in 4.0, checkbox renders the value of the current
108 node's ToolTip, if anything, and not Text.
110 * RepeatLayout.cs: added two new members, UnorderedList and
113 * ImageMap.cs: implemented missing Enabled property (2.0+)
114 RaisePostBackEvent must be protected and virtual (2.0+)
115 NavigateUrl is ignored if the control is disabled (4.0)
117 2010-07-07 Marek Habersack <mhabersack@novell.com>
119 * TreeView.cs: 4.0 rendering changes.
120 When using registered CSS classes, the node style must use them in
123 2010-07-06 Marek Habersack <mhabersack@novell.com>
125 * HyperLink.cs: the associated image is not rendered using the
128 2010-07-02 Marek Habersack <mhabersack@novell.com>
130 * Menu.cs: 4.0 API updates.
132 * GridView.cs: implemented 4.0 properties -
133 SortedAscendingCellStyle, SortedAscendingHeaderStyle,
134 SortedDescendingCellStyle, SortedDescendingHeaderStyle,
135 ClientIDRowSuffix, ClientIDRowSuffixDataKeys, ShowHeaderWhenEmpty
136 along with associated rendering changes.
138 * DetailsView.cs, FormView.cs, GridView.cs: 4.0 API changes -
139 renamed ShowPage to SetPageIndex and made it public.
140 Added 4.0 interfaces to inheritance list and implemented them.
142 * DataKeyArray.cs: added internal constructor which accepts IList
143 instead of ArrayList. Changed the 'keys' field type to IList.
145 * ContainedTable.cs: the 'id' attribute must be rendered last.
147 * CheckBox.cs, CheckBoxList.cs, SiteMapPath.cs, Table.cs,
148 TableStyle.cs, TextBox.cs, WebControl.cs: 4.0 rendering changes.
150 * Calendar.cs, CompositeControl.cs, DropDownList.cs, HyperLink.cs,
151 Image.cs, ImageButton.cs, Label.cs, LinkButton.cs, LoginName.cs,
152 Panel.cs, Table.cs, TableCell.cs, TableRow.cs:
153 added new 4.0 property, SupportsDisabledAttribute.
155 2010-06-21 Marek Habersack <mhabersack@novell.com>
157 * BaseValidator.cs, BulletedList.cs, Calendar.cs, CheckBox.cs,
158 CheckBoxList.cs, DataGrid.cs, DropDownList.cs, GridView.cs,
159 HyperLink.cs, ImageButton.cs, LinkButton.cs, ListBox.cs,
160 ListControl.cs, Menu.cs, RadioButton.cs, RadioButtonList.cs,
161 RepeatInfo.cs, Repeater.cs, TextBox.cs, TreeView.cs,
162 ValidationSummary.cs, WebControl.cs: use WebControl.IsEnabled
163 instead of Enabled wherever necessary.
165 2010-06-16 Marek Habersack <mhabersack@novell.com>
167 * FormView.cs: row values must be retrieved with inclusion of
168 keys. Fixes bug #607722
170 2010-06-03 Marek Habersack <mhabersack@novell.com>
172 * Parameter.cs, ControlParameter.cs, SessionParameter.cs,
173 CookieParameter.cs, FormParameter.cs, ProfileParameter.cs,
174 QueryStringParameter.cs: Evaluate is 'protected internal virtual'
177 * RouteParameter.cs: implemented.
179 2010-04-28 Marek Habersack <mhabersack@novell.com>
181 * CheckBoxList.cs: do not modify list item status in LoadPostData
182 when the list control is disabled.
183 If an item is selected and it was unchecked by the user, deselect
184 it. Fixes bug #600415
186 2010-04-13 Marek Habersack <mhabersack@novell.com>
188 * GridView.cs: make sure Header and Footer visibility are set when
189 binding the data. Fixes bug #595567
191 * ImageField.cs, CheckBoxField.cs: OnDataBindField must expect
192 sender to be something else than DataControlFieldCell. Fixes bug
195 2010-04-07 Marek Habersack <mhabersack@novell.com>
197 * FormParameter.cs, CookieParameter.cs, ProfileParameter.cs,
198 QueryStringParameter.cs, SessionParameter.cs: implemented
199 constructor overloads which take DbType as one of the arguments.
201 2010-04-01 Marek Habersack <mhabersack@novell.com>
203 * FormView.cs: do not show the pager if PagerSettings.Visible is
204 false. Fixes bug #578863
206 2010-03-29 Marek Habersack <mhabersack@novell.com>
208 * GridView.cs: main table must be created and added to the
209 controls collection before any OnRowCreated event is fired.
211 2010-03-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
213 * TreeView.cs: use enums instead of strings for attributes.
215 2010-03-06 Marek Habersack <mhabersack@novell.com>
217 * XmlDataSource.cs: reload document when one of Data, DataFile,
218 Transform or TransformFile properties is set. Fixes bug
219 #585968. Fix based on patch from Jeffrey Alvarez
220 <kuritsu@gmail.com>, thanks.
222 2010-02-19 Marek Habersack <mhabersack@novell.com>
224 * SqlDataSource.cs: call base.OnInit in OnInit. Fixes bug #572781
226 2010-02-18 Marek Habersack <mhabersack@novell.com>
228 * ListItemCollection.cs: ItemsEnabled and associated code removed
229 - there's no need to alter ListItem's Enabled property when
232 * ListControl.cs: SaveViewState doesn't set the items collection's
233 ItemsEnabled property as it was removed from ListItemCollection
235 * CheckBoxList.cs: LoadPostData never unselects any item. A better
237 RenderItem renders items as disabled when Enabled is false, but if
238 Enabled is true, item is rendered according to the value of its
239 own Enabled property. Fixes bug #578770
241 * TreeView.cs: RegisterStyle must copy CssClass in addition to
242 other style properties. Fixes bug #580692
244 2010-01-18 Marek Habersack <mhabersack@novell.com>
246 * Parameter.cs: added missing 3.5 APIs - constructors taking
247 DbType as one of the parameters, ConvertDbTypeToTypeCode,
248 ConvertTypeCodeToDbType and GetDatabaseType. Fixes bug #567850
250 2010-01-15 Marek Habersack <mhabersack@novell.com>
252 * ChangePassword.cs: BaseChangePasswordContainer forwards
253 EnsureChildControls call to its owner, so that finding controls in
254 the container works correctly.
256 2009-11-30 Marek Habersack <mhabersack@novell.com>
258 * WebControl.cs: HasAttributes made available as internal for 1.1
259 Avoid calling the Attributes getter many times in
261 If TrackViewState is called and attributes state bag already
262 exists, mark all items in the latter as dirty.
264 * CheckBox.cs, Button.cs, ImageButton.cs, LinkButton.cs: do not
265 create the Attributes collection if not necessary.
267 2009-11-16 Marek Habersack <mhabersack@novell.com>
269 * TreeNodeCollection.cs: whenever a node is added, let the owner
272 * TreeNode.cs: added internal property HadChildrenBeforePopulating
273 which is used to let TreeView know about an error condition where
274 a populate-on-demand node contains children added outside the
275 OnTreeNodePopulate event
277 * TreeView.cs: if a node has any child nodes and PopulatOnDemand
278 is set, throw an exception from RenderNode. This is the behavior
281 2009-11-13 Marek Habersack <mhabersack@novell.com>
283 * TableRowCollection.cs: added .NET compatibility NREX throws to
285 Whenever a row is added/removed, its Container property is
286 set. Fixes bug #551666
288 * TableRow.cs: introduced an internal property, Container, which
289 is set by TableRowCollection whenever this row is added/removed
290 to/from the collection. This allows the row to notify the
291 collectio and, in consequence, collection owner that TableSection
292 has been set and thead/tbody/tfoot elements need to be
293 generated. Fixes bug #551666
295 2009-11-10 Marek Habersack <mhabersack@novell.com>
297 * PasswordRecovery.cs:
298 {Question,Success,UserName}TemplateContainer must all be populated
299 the first time the property is accessed, so that calling
300 FindControl on the container returns valid and expected
301 results. If the associated template is not defined, though,
302 populating is postponed till CreateChildControls is called -
303 that's where default, empty, template will be created. This is
304 required to fix YetAnotherForum's password recovery control.
305 Mail template used in SendPasswordByMail must match the one used
306 in .NET (it has to end with a newline) as YAF parses the message
307 to retrieve user name and password and breaks if the last line
308 doesn't end with a newline character.
310 2009-10-30 Marek Habersack <mhabersack@novell.com>
312 * PasswordRecovery.cs: mail message replacements should include <%
313 Password %> and <% UserName %> and matching should be
314 case-insensitive. Fixes bug #545370
316 2009-10-28 Marek Habersack <mhabersack@novell.com>
318 * ListControl.cs: OnDataBinding must call base implementation
319 before performing the binding, so that DataSource can be assigned
320 from within the handler.
322 2009-10-13 Marek Safar <marek.safar@novell.com>
324 * WebColorConverter.cs: Delegate ConvertFrom to
325 ColorTranslator.FromHtml, it is correctly implemented and knows
328 2009-10-13 Marek Habersack <mhabersack@novell.com>
330 * WebColorConverter.cs: don't use a dictionary to check for valid
331 color names, use Color.IsKnownColor instead. Update for bug
333 Added more CSS2 color name mappings.
335 2009-10-12 Marek Habersack <mhabersack@novell.com>
337 * WebColorConverter.cs: when converting from color name, check if
338 the returned color's name is a member of the
339 System.Drawing.KnownColor enumeration to test for error condition,
340 as some colors might be #000000. Preserve the old error check as a
342 Map "captiontext" and "background" color names to
343 "ActiveCaptionText" and "Desktop", respectively, before passing
344 them to Color.FromName (). Fixes bug #546173
346 2009-10-02 Marek Habersack <mhabersack@novell.com>
348 * GridView.cs: added two 3.5 properties - SelectedPersistedDataKey
349 and IPersistedSelector.DataKey.
351 * BaseDataBoundControl.cs: slight optimizations to FindDataSource
353 2009-09-28 Marek Habersack <mhabersack@novell.com>
355 * DataBoundControl.cs: Initialize sets RequiresDataBinding
356 properly, only when we're not data-bound already, when we aren't
357 in postback or when we are in postback, but with viewstate
358 enabled. Fixes bug #542076
360 2009-09-01 Marek Habersack <mhabersack@novell.com>
362 * ObjectDataSourceView.cs: ExecuteSelect must call
363 QueryTotalRowCount after executing the select method (that's what
366 2009-08-25 Marek Habersack <mhabersack@novell.com>
368 * WebColorConverter.cs: inform the user that the might need to
369 check if libgdiplus is installed when parsing a color name
370 fails. Fixes bug #533749
372 2009-08-21 Marek Habersack <mhabersack@novell.com>
374 * Menu.cs: separator image is rendered next to the item in
375 horizontal layout and is preceeded by 3px spacer (unless
376 itemSpacing is set) to make output match .NET. Fixes bug #474716
378 * TreeNodeCollection.cs: {Save,Load}ViewState now store/load the
379 type of the node, if node is a of a custom type. Fixes bug #475997
381 2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
383 * Parameter.cs: add new DbType property.
385 2009-06-16 Marek Habersack <mhabersack@novell.com>
387 * IPersistedSelector.cs: removed AspNetHostingPermission
388 attributes from the 4.0 profile.
390 * IDataBoundControl.cs, IDataBoundItemControl.cs,
391 IDataBoundListControl.cs, IFieldControl.cs: added
393 * DetailsView.cs: control implements 4.0 IDataBoundItemControl
396 * DataBoundControl.cs: implemented 4.0 property DataSourceObject
397 (internal for 2.0) and made the InternalPerformDataBinding method
398 internal for the 4.0 profile.
400 2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
402 * ContentControlBuilderInternal.cs: detect missing
403 ContentPlaceHolderID attribute when parsing instead of throwing a
406 2009-05-29 Marek Habersack <mhabersack@novell.com>
408 * ListItem.cs: when tracking view state is turned on after
409 attributes have been set, make sure that the associated state bag
410 begins tracking state and that all of its existing items are
411 marked as dirty. Do the same after loading view state. Fixes bug
414 2009-04-29 Marek Habersack <mhabersack@novell.com>
416 * DataBoundControl.cs: added InternalGetDataSource method, used by
419 2009-04-28 Marek Habersack <mhabersack@novell.com>
421 * GridView.cs: implemented ColumnsGenerator and enabled its use in
424 * DetailsView.cs: implemented the RowsGenerator property and
425 enabled its use in CreateFieldSet.
427 2009-04-07 Marek Habersack <mhabersack@novell.com>
429 * TreeView.js: removed nodeText parameter from the JS calls.
431 * TreeView.cs: encode | characters into U+007C, so that
432 RaiseCallbackEvent doesn't get confused.
433 Removed nodeText parameter from the JS calls.
435 2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
437 * TreeNode.cs: reset the path data for all child nodes too.
438 * TreeView.cs: HtmlAttribute encode the node text. When rebuilding the
439 node tree, set the correct index for the nodes so that the Path is
442 2009-04-06 Marek Habersack <mhabersack@novell.com>
444 * TreeView.js: TreeView_ToggleExpand now takes more parameters - a
445 full definition of treeview's node contents.
446 Added new function, TreeView_PopulateNode, which partially takes
447 over role of the PopulateNode function generated in
448 TreeView.OnPreRender (see below). Fixes bug #492307
450 * TreeView.cs: RaiseCallbackEvent needs to recreate the event
451 target's parental tree all the way from the root to the node and
452 populate only the leaf (requested) node. This avoids calling the
453 TreeNodePopulate handler more times than needed. Fixes bug #492307
454 OnPreRender: moved the script code to constants and the script
455 body is now generated using StringBuilder instead of a series of
457 GetClientExpandEvent: adjusted code for new TreeView JavaScript
460 2009-03-17 Marek Habersack <mhabersack@novell.com>
462 * Unit.cs: introduced a field to tell the difference between empty
463 (as in Unit.Empty) and 0px units.
465 2009-03-06 Marek Habersack <mhabersack@novell.com>
467 * WebControl.cs: if savedState is not an instance of Pair in
468 LoadViewState, do not attempt to load from it.
470 2009-02-10 Marek Habersack <mhabersack@novell.com>
472 * ImageButton.cs: AddAttributesToRender renders the onclick
473 attribute only if any of the following is true:
474 - OnClientClick is not empty
475 - Validation is enabled for the control
476 - PostBackUrl is used
477 PostBackOptions now indicate that control requires the javascript
478 protocol for the handler.
479 RaisePostBackEvent passes String.Empty as the argument.
482 2009-02-09 Marek Habersack <mhabersack@novell.com>
484 * ObjectDataSourceView.cs: ExecuteSelect returns a single-item
485 array of objects containing the result, if the result isn't one of
486 DataSet, DataTable or IEnumerable. Fixes bug #471767
488 2009-02-06 Marek Habersack <mhabersack@novell.com>
490 * Style.cs: if CssClass is null, return String.Empty. Fixes bug
492 Added a range check to the BorderStyle property.
494 2009-02-05 Marek Habersack <mhabersack@novell.com>
496 * Login.cs: check the value of DisplayRememberMe when creating
497 the child controls. Fixes #468359
499 2009-01-20 Marek Habersack <mhabersack@novell.com>
501 * Substitution.cs: added. Fixes bug #467460
503 2009-01-13 Marek Habersack <mhabersack@novell.com>
505 * XmlBuilder.cs: updates related to ControlBuilder cleanup.
507 2008-12-01 Marek Habersack <mhabersack@novell.com>
509 * Style.cs: WriteStyleAttributes must not use the fontinfo field
510 directly, it has to be done via the Font property. Fixes bug
513 2008-11-15 Marek Habersack <mhabersack@novell.com>
515 * ContentPlaceHolder.cs, Content.cs, FormViewPagerRow.cs,
516 ChangePassword.cs, DetailsViewPagerRow.cs: implements
517 INonBindingContainer interface.
519 * Wizard.cs: implement INonBindingContainer interface for several
520 private/internal classes.
522 2008-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
524 * ImageButton.cs: clicking an image causes a postback.
527 2008-10-24 Marek Habersack <mhabersack@novell.com>
529 * CheckBox.cs: register for event validation in Render ().
531 2008-10-21 Marek Habersack <mhabersack@novell.com>
533 * XmlDataSource.cs: DataFile may be an URL.
535 2008-10-17 Marek Habersack <mhabersack@novell.com>
537 * ImageMap.cs: added the SupportsEventValidation attribute to the
539 Validate the event in RaisePostBackEvent ().
540 Register for event validation in Render ().
542 * DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().
544 * TextBox.cs: validate the event in LoadPostData ().
545 Register for event validation in AddAttributesToRender ().
547 * HiddenField.cs: validate the event in RaisePostDataChangedEvent.
548 Register for event validation in Render ().
550 * RadioButton.cs: validate the event in LoadPostData ().
551 Register for event validation in InternalAddAttributesToRender.
553 * CheckBox.cs, RadioButtonList.cs: validate the event in
554 RaisePostDataChangedEvent.
556 * Menu.cs: added the SupportsEventValidation attribute to the
558 Validate the event in RaisePostBackEvent ().
559 Register for event validation in GetClientEvent ().
561 * DetailsView.cs, GridView.cs: validate the event in
562 RaisePostBackEvent ().
563 Register for validation in GetCallbackScript () and in OnPreRender
565 * Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
566 ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().
568 2008-10-14 Marek Habersack <mhabersack@novell.com>
570 * CompositeDataBoundControl.cs: renamed the itemcount ViewState
571 item from "_ItemCount" to "_!ItemCount" for .NET
572 compatibility. This item is accessed and used by some commercial
575 * DataBoundControl.cs: OnPagePreLoad must force databinding also
576 when the request is not a postback.
578 2008-10-13 Marek Habersack <mhabersack@novell.com>
580 * Table.cs, TableRowCollection.cs, TableRow.cs: render table
581 sections when necessary. Fixes bug #434555
583 2008-10-08 Marek Habersack <mhabersack@novell.com>
585 * ControlParameter.cs: Evaluate calls DataBinder.Eval to do the
586 evaluation now. This makes it support complex expressions.
588 2008-09-30 Sebastien Pouliot <sebastien@ximian.com>
590 * RoleGroupCollection.cs: Fix recursive calls (wrong target)
591 [Found using Gendarme's BadRecursiveInvocationRule]
593 2008-09-28 Sebastien Pouliot <sebastien@ximian.com>
595 * XmlDataSource.cs: Make sure the result of the multiplication is a
596 long (not an integer casted into a long since it could overflow).
597 [Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
599 2008-09-17 Juraj Skripsky <js@hotfeet.ch>
601 * RadioButton.cs (ValueAttribute, LoadPostData): Fixes bug #426959.
603 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
605 * IPersistedSelector.cs : new in 3.5 SP1.
607 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
609 * DataBoundControlMode.cs : new 3.5 SP1 type.
611 2008-08-25 Marek Habersack <mhabersack@novell.com>
613 * DataBoundControl.cs: set RequiresDataBinding to true in
614 Initialize only if not in a postback, if not data bound and if the
615 view state is enabled. Fixes bug #398318
616 UpdateViewData removes the OnDataSourceViewChanged handler before
617 connecting to the datasource and restores it before returning to
619 OnLoad gets the data source before initialization, to avoid
620 premature OnDataSourceViewChanged triggers. Fixes bug #398318
621 Do not reconnect to the data source if we already have a valid one.
623 2008-08-18 Marek Habersack <mhabersack@novell.com>
625 * Unit.cs: rewrote the unit parser in a slightly slower, but more
626 correct, way. Fixes bug #417502
628 2008-07-28 Marek Habersack <mhabersack@novell.com>
630 * TreeView.cs: when TreeView is displaying a site map and there is
631 no node selected by the user, select the node corresponding to the
632 current page, if any.
634 2008-07-24 Marek Habersack <mhabersack@novell.com>
636 * DataGrid.cs: removed the private class TableID and moved its
637 code to ChildTable.cs (see below). 2.0 instantiates teh ChildTable
638 with the owner parameter now. Fixes bug #400377
640 * ChildTable.cs: refactoring - moved code from TableID previously
641 defined in DataGrid.cs to here and made the class available under
642 different names for both 1.x and 2.x profiles. Fixes bug #400377
644 * MailDefinition.cs: look for the mail body file in the correct
645 path. Patch from Jackson Harper <jaharper@novell.com>,
646 thanks! Fixes bug #408699
648 * PasswordRecovery.cs: do not ask password recovery question if
649 it's disabled. Patch from Jackson Harper <jaharper@novell.com>,
650 thanks! Fixes bug #408696
652 2008-07-16 Marek Habersack <mhabersack@novell.com>
654 * XmlDataSource.cs: check if Page isn't null before stringifying
655 it in GetDataKey (), fixes bug #409492
657 2008-07-13 Roei Erez <roeie@mainsoft.com>
659 * GridView.cs: When the RowDataBound event is invoked, the value
660 of GridView1.DataKeys should contains all the keys up untill the
661 current row, and not be empty.
662 I only changed the order of the user event invocation and the addition
665 2008-07-13 Roei Erez <roeie@mainsoft.com>
667 * TreeView.cs: In case of multiple tree node bingings, select
668 The first one and not the last one.
670 2008-07-10 Roei Erez <roeie@mainsoft.com>
672 * HyperlinkField.cs: Changed behavior of HyperLinkField bound field key
673 to be case insensitive.
675 2008-07-03 Marek Habersack <mhabersack@novell.com>
677 * CheckBox.cs: do not render the language="javascript" attribute
680 2008-07-02 Marek Habersack <mhabersack@novell.com>
682 * GridView.cs: minor optimizations (removed a foreach loop,
683 replaced calls to Array.Length with a variable containing the
686 2008-06-30 Marek Habersack <mhabersack@novell.com>
688 * ObjectDataSourceView.cs, Menu.cs, DataList.cs,
689 CustomValidator.cs: hush the warnings
691 2008-06-10 Noam Lampert <noaml@mainsoft.com>
693 * ListItemCollection.cs: Provide viewstate for dirty collection even if it is empty.
695 2008-05-30 Marek Habersack <mhabersack@novell.com>
697 * BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
698 DataControlFieldCollection.cs, DataControlField.cs,
699 PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
700 event accessors (to avoid locks).
702 2008-05-18 Marek Habersack <mhabersack@novell.com>
704 * HierarchicalDataBoundControl.cs: Modified GetData method to check if
705 DataSource implements IHierarchicalEnumerable and if so constructs and
706 returns a new instance of ReadOnlyDataSourceView. This provides functional
707 compatibility with the Microsoft.NET framework. Fixes bug
708 #395209. Patch contributed by James Fitzsimons
709 <james.fitzsimons@gmail.com>, thanks!
711 2008-05-06 Marek Habersack <mhabersack@novell.com>
713 * Calendar.cs: do not create dateInfo in the constructor - culture
714 might be not set yet at this point. Fixes bug #323566
715 Added a private property, DateInfo, which creates the dateInfo
718 2008-05-05 Sebastien Pouliot <sebastien@ximian.com>
720 * BulletedList.cs: Avoid calling ToString on a string.
721 * ButtonField.cs: Throw, not just create, the exceptions.
722 * HyperLinkField.cs: Throw, not just create, the exceptions.
723 * ImageField.cs: Throw, not just create, the exception. Avoid calling
724 ToString on a string.
725 * ListControl.cs: Avoid calling ToString on a string.
726 [All issues were found using Gendarme]
728 2008-04-30 Marek Habersack <mhabersack@novell.com>
730 * SiteMapDataSource.cs: when no starting node is found, return
731 null instead of Provider.RootNode. Fixes bug #323994
733 2008-04-24 Marek Habersack <mhabersack@novell.com>
735 * SqlDataSource.cs: raise the DataSourceChangedEvent when setting
736 ConnectionString, ProviderName or DataSourceMode properties only
737 when the new value differs from the old one. Fixes bug #359392
739 2008-04-16 Marek Habersack <mhabersack@novell.com>
741 * ObjectDataSourceView.cs: ExecuteSelect should return an empty
742 aray when no data has been retrieved from the specified source
743 type. Fixes bug #380106
745 2008-04-15 Marek Habersack <mhabersack@novell.com>
747 * MailDefinition.cs: dispose of streams the way it should
750 2008-04-10 Marek Habersack <mhabersack@novell.com>
752 * RadioButton.cs: adjust 'name' and 'value' attribute values to
753 match MS.NET. Fixes bug #378024
755 * CheckBoxList.cs: set the Selected property to the value in POST
756 data only if the item in question was enabled before postback
757 occurred. Fixes bug #377703
759 * ListControl.cs: make sure the owned items' Enabled property is
760 set to the same value what ListControl's. Fixes bug #377703
762 * ListItemCollection.cs: fixed SetDirty to store the index of the
763 last dirtied item properly. Fixes bug #377703
764 For the 2.0 profile, set the ListItem instances Enabled property
765 to the value of the owning ListControl (internal ItemsEnabled
766 property was added to make it possible). Fixes bug #377703
768 2008-04-08 Dean Brettle <dean@brettle.com>
770 * DataBoundControl.cs (InternalPerformDataBinding),
771 HierarchicalDataBoundControl.cs (InternalPerformDataBinding),
772 WebControl.cs (Render): fixed cast errors when a ControlAdapter
773 that wasn't of the type corresponding to the control was used.
775 2008-04-03 Marek Habersack <mhabersack@novell.com>
777 * DataList.cs: use the value of SelectedIndex, not selectedIndex,
778 to return the key value in the SelectedValue property. Fixes bug
779 #376519. Patch from Sergey Kuleshov <svyatogor@gmail.com>, thanks!
781 2008-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
783 * AutoGeneratedField.cs, CheckBoxField.cs: fixed OnDataBindField,
784 should hide checkbox only if DataItem is not defined
786 2008-03-09 Dean Brettle <dean@brettle.com>
788 * DetailsView.cs, ListControl.cs, DataBoundControl.cs,
789 FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs:
790 added support for using ControlAdapters when present.
792 * WebControl.cs: fixed implementation of IsEnabled to match
795 * Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of
796 RenderMenuItem() if an adapter is present. MenuAdapter.RenderItem()
797 calls back to new Menu.RenderItem() internal method which calls
798 RenderMenuItem() with the appropriate parameters.
800 2008-02-25 Igor Zelmanovich <igorz@mainsoft.com>
803 at Update and Delete use not read only coppies of dictionaries
804 in event argumens, that allows user to change them before corresponding
805 DataSource's method is called.
807 2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>
809 * Login.cs: render id attribute of root element correctly.
811 2008-02-18 Marek Habersack <mhabersack@novell.com>
813 * FormView.cs: the ItemCreated must be fired before data is bound
814 to the FormView. Fixes bug #360434
816 2008-02-07 Igor Zelmanovich <igorz@mainsoft.com>
818 * Login.cs: render id attribute of root element correctly.
820 2008-02-05 Marek Habersack <mhabersack@novell.com>
822 * FileUpload.cs: make sure FileContent always returns the input
823 stream positioned at the beginning. Fixes bug #356846
825 2008-01-31 Igor Zelmanovich <igorz@mainsoft.com>
827 * Calendar.cs: resolve Next/Prev. month link date correctly.
829 2008-01-29 Igor Zelmanovich <igorz@mainsoft.com>
831 * TreeView.cs: add XPFileExplorer icon set.
833 2008-01-28 Igor Zelmanovich <igorz@mainsoft.com>
835 * Menu.js: dynamic nodes are positioned after hover style of
836 parent node is applied.
838 2008-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
840 * DataSourceCacheManager.cs: fixed GetKeyFromParameters, incase more
841 than one datasource using the same object with the same select method
843 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
845 * ValidationSummary.cs:
846 refactoring: If page contents instance of IScriptManager, it calls
847 it's API instead Page.ClientScript.
849 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
851 * Menu.cs: fixed rendering.
853 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
856 manage history state on "MovePrevious" action.
858 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
861 resolve BulletImageUrl,
862 register for event validation.
864 2008-01-13 Igor Zelmanovich <igorz@mainsoft.com>
868 upgrade client side script due to changes in webform.js.
870 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
872 * BaseCompareValidator.cs:
874 * CompareValidator.cs:
875 * CustomValidator.cs:
877 * RegularExpressionValidator.cs:
878 * RequiredFieldValidator.cs:
879 refactoring: If page contents instance of IScriptManager, validators call
880 it's API instead Page.ClientScript.
882 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
887 for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
888 in GetPostBackOptions.
890 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
892 * DetailsView.cs: render invisible rows correct.
894 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
896 * DataControlField.cs: prevent infinite recursion
898 2008-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
900 * DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding
903 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
905 * DataSourceCacheManager.cs: fixed SetCachedObject, fixed
908 2007-12-24 Igor Zelmanovich <igorz@mainsoft.com>
910 * TreeView.cs: revert changes from r91230
912 2007-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
914 * ListControl.cs: fixed Load/SaveViewState, removed selected indices
916 * ListItem.cs: fixed Load/SaveViewState, added selected state storing
917 * ListItemCollection.cs: fixed Load/SaveViewState, added flag to not
918 rebuild the collection if was'nt changed
920 2007-12-13 Marek Habersack <mhabersack@novell.com>
922 * Menu.cs, TreeView.cs: optimize use of String.Format in
924 Speed optimization - use String.Concat instead of String.Format in
927 * GridView.cs, DetailsView.cs: optimize use of String.Format in
930 * CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
931 WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
932 ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
933 optimization - use String.Concat instead of String.Format in some cases.
935 2007-12-13 Vladimir Krasnov <vladimirk@mainsoft.com>
937 * Menu.cs: fixed rendering without head tag on page
939 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
941 * Calendar.cs: performance optimizations:
942 BuildLink fixed, StringBuilder used.
943 TodaysDate DateTime.Today call cahced.
945 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
947 * Unit.cs: performance optimization: ToString fixed, string.Concat used
948 instead of string.Format
950 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
952 * Style.cs: performance optimization: suppress finalizer added
954 2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>
958 evaluate bound value using ThisExpession ("!") properly
960 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
962 * WebControl.cs: enabled state restored properly.
964 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
967 refactoring for NET_2_0:
968 Text is removed from view state in case of need at SaveViewState phase.
970 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
973 SelectedValue/SelectedIndex is set during DataBinding always.
975 2007-11-06 Marek Habersack <mhabersack@novell.com>
977 * DataGrid.cs: add RenderTable before the DataGridItems, so that
978 numbering of children is the same what on MS.NET.
979 If there are any data items, require a postback script.
982 * ChildTable.cs: removed DOS EOLs.
984 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
987 does not perform authentication if Page.IsValid returns false;
988 the fix makes control works with disabled client side validation.
990 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
993 state of DataList.Items are restored correct on PostBack
994 such Items.Count and ItemType.
996 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
999 validator is rendered correct if EnabledClientClient is false.
1001 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
1003 * Image.cs: fixed management state of Enabled property.
1004 * WebControl.cs: refactoring in management state of Enabled property.
1006 2007-10-23 Marek Habersack <mhabersack@novell.com>
1008 * ListBox.cs, Table.cs: use Render{Begin,End}Tag
1009 instead of the Write* counterparts when rendering contents.
1011 2007-10-18 Marek Habersack <mhabersack@novell.com>
1013 * Menu.js: a workaround for an IE bug. IE recalculates element's
1014 offsetWidth when the element's _height_ is set - which in case of
1015 elements with overflowing content results in a value that's just
1016 slightly smaller than the client window width. In effect, a long
1017 submenu will also be very wide, which isn't desirable. Fixes bug
1020 2007-10-15 Marek Habersack <mhabersack@novell.com>
1022 * ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
1025 * BulletedList.cs: html encode the item text. Fixes bug #333550.
1027 2007-10-01 Marek Habersack <mhabersack@novell.com>
1029 * ListItem.cs: make HasAttributes available for the 1.1 profile as
1032 * DropDownList.cs: render custom ListItem attributes in the 1.1
1033 profile. Fixes bug #326288
1035 2007-09-27 Marek Habersack <mhabersack@novell.com>
1037 * Button.cs: added missing OnPreRender method.
1039 2007-09-25 Marek Habersack <mhabersack@novell.com>
1041 * WebControl.cs: added an internal method, BuildScriptAttribute,
1042 which merges the specified JavaScript code in an attribute, with
1043 the value of that attribute specified by the user.
1045 * CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
1046 preserve user-specified attribute value, if present.
1048 * ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
1049 after doing its job. AutoPostBack handling makes sure to preserve
1050 user-specified attribute value, if present. Fixes bug #327816.
1052 2007-09-21 Marek Habersack <mhabersack@novell.com>
1054 * ListItem.cs: don't save StateBag in the control state - the
1055 class is not serializable and therefore ObjectStateFormatter
1056 cannot convert it. Instead have the sb object save its own state
1057 and store the returned value. Fixes bug #326288.
1059 2007-09-20 Marek Habersack <mhabersack@novell.com>
1061 * LoginView.cs: implemented RoleGroups support. Fixes bug
1064 2007-09-19 Marek Habersack <mhabersack@novell.com>
1066 * GridView.cs: copy attributes from GridView to the child table,
1067 as this is where the rendering takes place. Fixes bug #326309.
1069 2007-09-18 Marek Habersack <mhabersack@novell.com>
1071 * Calendar.cs: correctly apply day cell style. Fixes bug #315903
1073 2007-09-17 Marek Habersack <mhabersack@novell.com>
1075 * Calendar.cs: style attribute value must be enclosed in quotes.
1077 * TableStyle.cs: do not capitalize the align styles. Fixes bug
1080 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
1082 * ListControl.cs: partially restored r85314
1083 whenever a property that can affect data binding
1084 is set, make sure to set RequiresDataBinding.
1086 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
1088 * DataBoundControl.cs: fixed DataBind flow:
1089 prevent double binding when not necessary.
1092 2007-08-31 Marek Habersack <mhabersack@novell.com>
1094 * GridView.cs: instead of not adding hidden fields to the rows,
1095 mark the cells they would contain as invisible. Fixes bug #82615.
1097 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1101 make Menu work in multi form environment.
1103 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1105 * ListControl.cs: fixed selected items state management.
1107 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1109 * BaseCompareValidator.cs:
1111 * CompareValidator.cs:
1112 * CustomValidator.cs:
1113 * RangeValidator.cs:
1114 * RegularExpressionValidator.cs:
1115 * RequiredFieldValidator.cs:
1116 all Validators use RegisterExpandoAttribute for
1117 not XHTML compliant attributes.
1119 2007-08-23 Igor Zelmanovich <igorz@mainsoft.com>
1121 * Panel.cs: client script consider MultiForm environment.
1123 2007-08-21 Marek Habersack <mhabersack@novell.com>
1125 * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
1128 2007-08-20 Marek Habersack <mhabersack@novell.com>
1130 * ContentPlaceHolderBuilder.cs: store place holder id in the
1131 parser's internal place holder id list for later reference. Fixes
1134 2007-08-19 Vladimir Krasnov <vladimirk@mainsoft.com>
1136 * BoundField.cs: FormatDataValue, refactored multiple use of ToString
1138 2007-08-14 Marek Habersack <mhabersack@novell.com>
1140 * ObjectDataSourceView.cs: remove unused variable.
1142 * ChangePassword.cs: remove unused variable.
1143 The change password button id changed to
1144 "ChangePasswordPushButton", the cancel button id changed to
1145 "CancelPushButton". The change makes the generated ids the same
1146 what on MS.NET. Fixes bug #82418.
1148 * RoleGroupCollection.cs: OnValidate shouldn't be overridden.
1150 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1152 * ParameterCollection.cs: fixed IndexOfString, should use ordinal
1155 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1157 * Menu.cs: performance refactoring, used AddAttribute overload without
1158 encoding on known attribute values, optimized DynamicMenu rendering
1160 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1162 * TreeView.cs: refactoring, used AddAttribute overload without encoding
1163 on known attribute values,
1164 used Page.ClientScript.GetWebResourceUrl call instead of
1165 AssemblyResourceLoader.GetResourceUrl
1167 2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
1169 * AccessDataSource.cs: does not subscribed on view changed event.
1170 * ObjectDataSource.cs: fixed state management.
1171 * SqlDataSource.cs: fixed state management.
1173 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1176 DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs,
1177 RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs,
1178 TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs,
1179 BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs,
1180 RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs,
1181 ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs,
1182 TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs:
1183 refactoring, used AddAttribute overload without encoding on known attribute
1186 2007-08-01 Igor Zelmanovich <igorz@mainsoft.com>
1188 * DropDownList.cs: fixed onchange attibute.
1190 2007-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
1192 * ListItemCollection.cs: fixed LoadViewState, items restored from
1193 viewstate were not saved, fixes bug #82192
1195 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1197 * BaseValidator.cs: All client scripts are rendered
1198 according IsMultiForm property.
1200 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1202 * TreeView.cs: refactoring:
1204 used ClientScriptManager.GetCallbackEventReference API instead calling
1205 WebForm_DoCallback explicit.
1207 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1209 * BaseValidator.cs: for NET_2_0: fixed client side validation.
1210 validation is performed in WebForm_DoPostback,
1211 and there is no need to do it twice in ValidatorOnSubmit.
1213 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1215 * Calendar.cs: fixed: correct 'id' attribute is rendered.
1217 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
1219 * ListItemCollection.cs: optimized SetDirty method
1221 2007-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1225 * ListItemCollection.cs: controls based on ListControl should not save
1226 view state before than TrackViewState called
1228 2007-07-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1230 * WebControl.cs: fixed AddDisplayStyleAttribute, returns if
1231 ControlStyle is not created
1233 2007-07-02 Marek Habersack <mhabersack@novell.com>
1235 * WebControl.cs: Revert r80368, as it wasn't the correct
1236 fix. Fixes bug #81945.
1238 * ListControl.cs: if there are no items in the collection, do not
1239 return an empty ArrayList from GetSelectedIndicesInternal. Fixes
1240 bug #81945 and properly fixes bug #78533.
1242 * ListItemCollection.cs: if there are no items in collection,
1245 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1248 the Pager is created but unvisible for only one page.
1249 the Patch submitted by Dumitru Ban [dban@dako.ro]
1251 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1256 does not requires data binding if any ITemplate property is set.
1258 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1260 * CheckBox.cs: fixed Render, HasAttributes called instead
1263 2007-06-24 Igor Zelmanovich <igorz@mainsoft.com>
1265 * GridView.cs: fixed AllowPaging feature:
1266 When the AllowPaging is true the GridView control should automatically
1267 hide the pager row when the data source contains fewer than 2 records.
1268 patch Patch submitted by Dumitru Ban [dban@dako.ro]
1270 2007-06-20 Marek Habersack <mhabersack@novell.com>
1272 * WebControl.cs: if savedState is a Triplet, take the actual state
1273 data from savedState.First. Also make sure that the data is a
1274 Pair. Fixes bug #78533.
1276 * DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
1277 to keep private entries.
1278 * XmlDataSource.cs: as above
1280 2007-05-31 Vladimir Krasnov <vladimirk@mainsoft.com>
1282 * BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed
1283 to ClientScriptManager
1285 2007-05-29 Igor Zelmanovich <igorz@mainsoft.com>
1287 * ObjectDataSourceView.cs:
1288 * SiteMapDataSource.cs:
1290 * SqlDataSourceView.cs:
1291 DataSourceChanged and DataSourceViewChanged are raised in right case, when
1292 different properties changed their value.
1294 2007-05-27 Igor Zelmanovich <igorz@mainsoft.com>
1296 * ObjectDataSourceView.cs: fixed SelectMethod and SelectCountMethod properties:
1297 when changed, DataSourceViewChanged event is raised.
1299 * SqlDataSourceView: fixed SelectCommand property:
1300 when changed, DataSourceViewChanged event is raised.
1302 2007-05-25 Marek Habersack <mhabersack@novell.com>
1304 * ObjectDataSourceView.cs: CreateDataObject must pay attention to
1305 TypeConverter attributes on the property being converted.
1307 2007-05-24 Igor Zelmanovich <igorz@mainsoft.com>
1309 * Menu.cs: fixed: alt attribute is rendered as well.
1311 2007-05-16 Marek Habersack <mhabersack@novell.com>
1313 * CompareValidator.cs: formatting changes
1315 2007-05-15 Marek Habersack <mhabersack@novell.com>
1317 * ObjectDataSourceView.cs: refactoring - use
1318 HttpApplication.LoadType to look up types.
1320 2007-05-10 Marek Habersack <mhabersack@novell.com>
1322 * Table.cs: render rows, not controls
1324 * HyperLink.cs: RenderContents must check if the render method
1325 delegate is present and, if yes, call the base RenderContents.
1327 * LinkButton.cs: as above.
1329 * Label.cs: as above.
1331 * TableCell.cs: as above.
1332 This change makes the HeaderTemplate in the Wizard control work.
1334 * Wizard.cs: if a next/previous step handler modifies
1335 ActiveStepIndex do not, respectively, increase/decrease the
1336 current step, but use whatever was set in the handler.
1338 2007-05-09 Marek Habersack <mhabersack@novell.com>
1340 * TreeNodeStyleCollection.cs: do not set font's underline flag to
1341 false, set it to its own value instead.
1343 * TreeView.cs: if level style exists and has ChildNodesPadding
1344 set, it takes precedence over the node style setting (if any).
1346 2007-05-08 Marek Habersack <mhabersack@novell.com>
1348 * TreeView.cs: children padding is rendered only before and after
1349 the children are rendered, not between them. Also, render padding
1350 only if there are any nodes to follow the current one.
1352 2007-05-07 Marek Habersack <mhabersack@novell.com>
1354 * Wizard.cs: additional checks to see whether the wizard needs to
1355 move to a next step or not. Fixes bug #81532. Patch sent by Mike
1356 Morano <mmorano@mikeandwan.us>, thanks!
1358 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1360 * FormView.cs: fixed:
1361 avoid NullReferenceException when used EditTemplate w/o binding
1362 directive such Eval or Bind.
1364 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1366 * MenuItem.cs: fixed:
1367 when 'Value' property is not set, value of 'Text' property is used
1368 instead and vice versa.
1370 2007-05-06 Igor Zelmanovich <igorz@mainsoft.com>
1372 * TreeNode.cs: fixed:
1373 when 'Value' property is not set, value of 'Text' property is used
1374 instead and vice versa.
1376 2007-05-04 Marek Habersack <mhabersack@novell.com>
1378 * AdRotator.cs: use the new GetPhysicalFilePath method to look up
1379 the physical path of the ad file.
1381 2007-05-03 Marek Habersack <mhabersack@novell.com>
1383 * TreeView.cs: honor ChildNodesPadding of the NodeStyle.
1385 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1387 * ControlPropertyNameConverter.css:
1388 * FontUnitConverter.cs:
1390 * ValidatedControlConverter.cs:
1393 2007-05-03 Marek Habersack <mhabersack@novell.com>
1395 * TreeNode.cs: correct version of the fix in r76488. Nodes
1396 retrieved from a navigation data source which have empty URL will
1399 * TreeView.cs: revert r76488, it wasn't entirely correct. I need
1400 to investigate the special cases it solved a bit more.
1402 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
1404 * SqlDataSourceView.cs:
1405 make CancelSelectOnNullParameter property works.
1407 2007-05-01 Marek Habersack <mhabersack@novell.com>
1409 * BaseValidator.cs: do not use User-Agent directly, we must take
1410 ClientTarget into account.
1412 2007-04-30 Marek Habersack <mhabersack@novell.com>
1414 * TreeView.cs: bring rendering closer to the MS.NET rendering.
1416 * SqlDataSource.cs: do not catch the exception if ProviderName is
1417 not null or empty (as per docs and what MS.NET does).
1419 2007-04-19 Igor Zelmanovich <igorz@mainsoft.com>
1421 * ChangePassword.cs:
1422 does not accept invalid new password.
1424 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1428 added MonoLimitation attributes
1430 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1432 * BaseValidator.cs: for TARGET_J2EE:
1433 used Page.Request.Browser to determine RenderUplevel
1435 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1438 when databound with AutoGenerateColumns = true,
1439 data source enumerator created only once.
1441 2007-04-18 Marek Habersack <mhabersack@novell.com>
1443 * SiteMapDataSource.cs: query the site map for the current node
1444 when configured to use it as the start point. Fixes bug #81376,
1445 patch from Mike Morano <mmorano@mikeandwan.us>.
1447 * Calendar.cs: change year/month format to be culture aware. Fix
1448 for bug #81390. Patch submitted by Atsushi Enomoto
1449 <atsushi@ximian.com>
1451 2007-04-17 Daniel Nauck <dna@mono-project.de>
1453 * PasswordRecovery.cs: fixed typo (AnswerLabel.Text).
1455 2007-04-17 Marek Habersack <mhabersack@novell.com>
1457 * BaseValidator.cs: use the new uplevel browser detection code.
1459 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1461 * SqlDataSourceView.cs: fixed: InitializeParameters:
1462 restored flow, broken in r75137.
1464 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1466 * Menu.cs: popup menu is posed correctly if menu is placed within
1467 container with position=relative
1469 2007-04-12 Marek Habersack <mhabersack@novell.com>
1471 * LoginView.cs: do not call CreateChildControls directly from the
1472 IsAuthenticated setter since that would destroy the controls the
1473 user might've configured from their Page_PreRender method.
1474 Do not use IsAuthenticated in CreateChildControls since that
1475 prevents the _correct_ template from being instantiated before the
1476 control is transferred to the user's OnPreRender handler. Fixes
1479 2007-04-11 Marek Habersack <mhabersack@novell.com>
1481 * ImageButton.cs: implement the Enable property and do not
1482 register for post back if the control isn't enabled.
1484 2007-04-06 Marek Habersack <mhabersack@novell.com>
1486 * GridView.cs: don't render invisible fields. Fixes bug #80061.
1488 * DetailsView.cs: don't render invisible fields.
1490 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1492 * Menu.cs: resolve selected MenuItem if bounded with SiteMapeDataSource.
1494 2007-04-05 Marek Habersack <mhabersack@novell.com>
1496 * BaseDataBoundControl.cs: restore the LAMESPEC note and code it
1497 describes - tests show this is what's happening on MS.NET as
1500 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1503 * BaseDataBoundControl.cs:
1504 Break recursion when the property is set from within the OnSelect handler
1505 in user's code. fixes bug #81175.
1507 2007-04-05 Marek Habersack <mhabersack@novell.com>
1509 * SiteMapDataSource.cs: fix GetStartNode for situations when the
1510 current URL is not defined in the sitemap file. Fixes bug
1511 #81314. Patch from Mike Morano <mmorano@mikeandwan.us>.
1513 2007-04-03 Marek Habersack <mhabersack@novell.com>
1515 * BaseDataBoundControl.cs: adjust for lame specs on MSDN.
1517 2007-04-02 Gert Driesen <drieseng@users.sourceforge.net>
1519 * MenuItem.cs: Use INavigateUIData.Description as ToolTip. Fixed line
1522 2007-03-29 Adar Wesley <adarw@mainsoft.com>
1524 * ObjectDataSourceView.cs: fixed events so they are raized at the
1525 right times. Added many tests to verify the correct time.
1526 * SqlDataSourceView.cs: fixed events so they are raized at the right
1527 times. Added many tests to verify the correct time.
1529 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1533 avoid Exception if HierarchicalDataSourceView.Select() returns null.
1535 2007-03-22 Igor Zelmanovich <igorz@mainsoft.com>
1537 * ObjectDataSource.cs:
1538 * ObjectDataSourceView.cs:
1540 * SqlDataSourceView.cs:
1541 fixed flow: changes in Insert/Update/DeleteParameters does not
1542 cause DataSourceViewChanged event.
1544 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1546 * BaseDataBoundControl.cs: fix as per MSDN - the property is set
1547 only if data binding doesn't occur.
1549 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1551 * GridView.cs: fixed: PageIndex considers PageCount.
1553 2007-03-20 Marek Habersack <mhabersack@novell.com>
1555 * DataBoundControl.cs: avoid endless recursion here. Fixes bug #81175
1557 * LoginStatus.cs: render login/logout controls with the CssClass
1558 set from the parent control. Fixes bug #81196
1560 2007-03-19 Igor Zelmanovich <igorz@mainsoft.com>
1562 * DataGrid.cs: fixed Save/Load view state, applying styles.
1564 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
1566 * Style.cs: optimization: used CssStyleCollection .ctor w/o parameters.
1568 2007-03-09 Marek Habersack <mhabersack@novell.com>
1570 * Login.cs: Make command name comparison case-insensitive in
1571 OnBubbleEvent. Patch from Mike Morano <mmorano@mikeandwan.us>
1573 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1575 * DataGrid.cs: fixed:
1576 Auto-generated columns are restored properly on postback from view state.
1578 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1581 when AddAttributesToRender(System.Web.UI.HtmlTextWriter, WebControl)
1582 is called, WebControl parameter is passed as argument to
1583 FillStyleAttributes (CssStyleCollection, IUrlResolutionService) method.
1585 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1589 fixed applying styles if ExtractTemplateRows=true.
1591 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1593 * DropDownList.cs: in 2.0 first item is rendered with selected attribute
1594 is Enabled=false and no selected items.
1596 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1598 * CheckBoxList.cs: in 2.0 access key attribute is rendered in 'input' tags.
1600 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1606 * RadioButtonList.cs:
1607 fixed: list controls consider ListItem.Attributes property on render.
1609 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1611 * CheckBox.cs: fixed: 'span' tag is not rendered if all attributes
1612 are rendered in 'input' tag.
1614 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1618 used "ONLY_1_1" instead "!NET_2_0"
1620 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1622 * BaseDataBoundControl.cs:
1623 * DataBoundControl.cs:
1624 * HierarchicalDataBoundControl.cs:
1625 refactoring: DataBoundControl and HierarchicalDataBoundControl use internal
1626 method in BaseDataBoundControl to find a data source control.
1628 2007-03-05 Marek Habersack <mhabersack@novell.com>
1630 * Unit.cs: Support parsing of units in the form ".9em" etc.
1632 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1634 * TemplateColumn.cs: fixed: if ItemTemplate is null, " " is rendered.
1636 2007-03-05 Marek Habersack <mhabersack@novell.com>
1638 * BaseValidator.cs: make validators work correctly with
1639 ListItems. Patch from Daniel Nauck <dna@informatik.uni-kiel.de>
1641 2007-03-04 Marek Habersack <mhabersack@novell.com>
1643 * HierarchicalDataBoundControl.cs: Use the method described below
1644 to get the data source named in DataSourceID.
1646 * BaseDataBoundControl.cs: add an internal method to find a data
1647 source control within all the naming containers above a given
1648 control. The method makes it possible to find controls that reside
1651 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1653 * Repeater.cs: fixed: data-binding flow for 2.0 features.
1655 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1658 * ParameterCollection.cs:
1659 fixed GetValue/s and UpdateValue/s.
1661 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1663 * TreeNodeCollection.cs:
1664 fixed Save/Load viewstate.
1666 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1668 * MenuItemCollection.cs:
1669 fixed Save/Load viewstate.
1671 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1673 * CreateUserWizard.cs:
1675 fixed CausesValidaion and ValidationGroup for navigation buttons.
1677 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1681 fixed LoadPostData to restore checked state for node's checkboxes.
1683 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1685 * TreeNodeCollection.cs: 'dirty' flag is assigned if 'marked' only
1687 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1689 * BaseDataBoundControl.cs: setting DataSource to null does not
1690 call ValidateDataSource.
1691 * HierarchicalDataBoundControl.cs: ValidateDataSource does not
1692 throw exception if argument is null.
1694 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1696 * WebControl.cs: implemented IsEnabled and HasAttributes.
1698 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1700 * BaseDataList.cs: fixed: data-binding flow for 2.0 features.
1702 2007-02-27 Marek Habersack <grendello@gmail.com>
1704 * FileUpload.cs: HasFile is true only if PostedFile is not null
1705 and it actually has an associated file.
1707 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1709 * LoginView.cs: fixed:
1710 ViewChanging and ViewChanged are fired.
1711 optimized Save/Load control state.
1713 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1715 * CreateUserWizard.cs: fixed: does not attempt to send email if
1716 MailDefinition is not defined.
1718 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1721 considers FormsAuthentication.ReturnUrl only if is placed in
1722 the login page defined in web.config.
1724 2007-02-23 Marek Habersack <grendello@gmail.com>
1726 * ObjectDataSourceView.cs: Fix saving/restoring the view state.
1728 * CreateUserWizard.cs: support for sending mail when a new user is
1729 created. Patch from dban@dako.ro.
1731 2007-02-22 Marek Habersack <grendello@gmail.com>
1733 * LoginStatus.cs: Handle OnLoggedOut properly. Patch from
1736 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1738 * ObjectDataSourceView.cs: fixed ViewState behavior to match MS. Added relevant tests.
1740 2007-02-20 Gert Driesen <drieseng@users.sourceforge.net>
1742 * Calendar.cs: Fixed bug #80881 by using Thread's CurrentCulture
1743 instead of CurrentUICulture for DateFormatInfo.
1745 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1747 * SqlDataSource.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1748 * SqlDataSourceView.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1750 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
1752 * ChangePassword.cs: fixed:
1753 ChangePasswordContainer and SuccessContainer cannot be BindingContainer.
1755 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1757 * SqlDataSourceView.cs: Fixed parameter merging logic and some bug fixing.
1760 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
1765 implemented Form.SubmitDisabledControls feature.
1767 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1769 * GridView.cs: IsBindableType for decimal returns true.
1771 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1773 * Menu.js: client script: support IE6.
1775 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1777 * Menu.cs: fixed: considers item.ToolTip, render image inside 'a' tag.
1779 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
1781 * Button.cs, ImageButton.cs, LinkButton.cs: Hanlding of PostbackOptions for
1782 TARGET_J2EE is now centralized in ClientScriptManager.
1783 * TreeView.cs, DetailsView.cs, GridView.cs, TreeView.js, DetailsView.js,
1784 GridView.js: Added a field to the controls JavaScript 'data' object. The
1785 form is initialized to the page 'theForm'. This is used for J2EE portlets
1788 2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1791 first step is recognized as 'finish' if only two steps
1792 and last step is 'complete'
1794 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1796 * BaseValidator: ControlPropertiesValid is called on PreRender
1797 * CompareValidator.cs:
1798 * RangeValidator.cs: fixed ControlPropertiesValid, EvaluateIsValid.
1800 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1802 * BaseCompareValidator.cs: fixed: support for type=Currency on client side.
1804 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1806 * ParameterCollection.cs: fixed IndexOfString, this indexer should be
1809 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
1811 * TreeView.js: refactoring:
1812 removed TreeView_ErrorCallback, used TreeView_PopulateCallback instead.
1814 2007-02-13 Adar Wesley <adarw@mainsoft.com>
1816 * ObjectDataSourceView.cs: fixed parameter merging and added more tests
1818 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1820 * Literal.cs: implemented 2.0 feature - Mode.
1822 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1824 * ViewCollection.cs: fixed public API.
1826 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1828 * RepeaterItem.cs: implemented IDataItemContainer interface.
1830 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1832 * TreeNodeStyle.cs: fixed public API.
1834 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1836 * MenuItemStyle.cs: fixed public API.
1838 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1841 * DayRenderEventArgs.cs:
1842 implemented 2.0 feature - SelectUrl.
1844 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1846 * GridViewRowCollection.cs: implemented IsReadOnly property.
1848 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1850 * BaseValidator.cs: implemented SetFocusOnError feature.
1852 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1854 * Wizard.cs: refactoring:
1855 used ContainedTable for ID attribute is rendered properly.
1857 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1859 * CreateUserWizard.cs:
1863 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1865 * DataList.cs: fixed: OnBubbleEvent() will return true if event is handled
1867 2007-02-09 Gert Driesen <drieseng@users.sourceforge.net>
1869 * FontUnit.cs: Fixed ToString () to use current locale.
1871 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1873 * BaseValidator.cs: fixed render, works in static mode properly
1874 * CreateUserWizard.cs: fixed display mode for validators.
1876 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1880 implemented FormViewPagerRow class
1882 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1885 header and footer visibility is set at creation.
1887 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1889 * FormView.cs: fixed:
1890 header and footer are not created with empty row.
1892 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1894 * FormView.cs: fixed:
1895 works properly with not ICollection data source.
1897 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1899 * DetailsView.cs: fixed:
1900 PageIndex, CreateChildControls,
1901 works properly with not ICollection data source.
1903 2007-02-06 Eyal Alaluf <eyala@mainsoft.com>
1905 * Menu.cs ImageMap.cs Panel.cs TreeView.cs: Ensure that the NavigateUrl
1906 property is rendered as a RenderURL for J2EE portlets.
1908 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1910 * BaseValidator.cs: refactored RegisterValidatorCommonScript to use
1911 RegisterClientScriptInclude instead of RegisterClientScriptBlock
1913 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1915 * DataBoundControl.cs:
1918 PerformDataBinding is called with RequiresDataBinding was set false
1920 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1923 fixed validation flow.
1925 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1928 fixed validation flow.
1930 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1932 * CustomValidator.cs:
1933 ValidateEmptyText is considered on client side.
1935 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1940 * DataControlButton.cs:
1941 * DataControlField.cs:
1944 Internal classes are used in databound controls for buttons
1945 are derived from right types. It allows to have access to them by casting
1946 to public types. This trick is used in one of starter kits of MS.
1948 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1950 * Panel.cs: fixed: reverted r71441.
1951 * TreeView.cs: used internal RegisterWebFormClientScript API
1952 to cause the relevant script be included.
1954 2007-02-01 Adar Wesley <adarw@mainsoft.com>
1956 * FormView.cs: fixed events ModeChanging and ModeChanged
1957 to be raized in all relevant situations.
1959 2007-02-01 Igor Zelmanovich <igorz@mainsoft.com>
1961 * ValidationSammary.cs: fixed:
1962 control is rendered even if there is no validators on the page.
1963 important if the page contain a client side script that refer to the
1964 id of the validation summary div.
1966 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1971 * RadioButtonList.cs:
1972 EnsureDataBound is called when PostData is processed to restore
1973 'state' of control if EnableViewState is false
1975 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1977 * GridView.cs: fixed:
1978 RowDataBound is fired for PagerRow.
1979 Styles are applied using MergeWith instead CopyFrom
1980 to allow using custom styles for rows in code-behind.
1982 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1984 * GridView.cs: fixed: RowCommand event is fired properly.
1986 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1988 * GridView.cs: fixed: created rows are added in table after initialization.
1991 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1993 * Panel.cs: fixed 'background-image' attribute.
1995 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1997 * BaseDataBoundControl.cs:
1998 * DataBoundControl.cs:
1999 fixed DataBinding flow: RequiresDataBinding is set to false in
2001 * HierarchicalDataBoundControl.cs: implemented MarkAsDataBound().
2003 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
2007 fixed DataBinding flow for Insert mode.
2009 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
2012 does not RegisterRequiresPostBack if is not enabled.
2014 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
2018 fixed PopulateOnDemand: used UniqueID to call WebForms_DoCallBack().
2020 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
2022 * MultyView.cs: OnActiveViewChanged is called.
2024 2007-01-29 Vladimir Krasnov <vladimirk@mainsoft.com>
2026 * Panel.cs: fixed AddAttributesToRender for 2.0, text align should be
2029 2007-01-29 Adar Wesley <adarw@mainsoft.com>
2031 * EditCommandColumn.cs: implemented CausesValidation and
2032 ValidationGroup and coresponding tests.
2033 * DataGrid.cs: fixed generated table to be compatible with MS 2.0
2035 2007-01-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2037 * WebControl.cs: added internal method AddDisplayStyleAttribute for
2038 display:inline-block style attribute
2041 * CheckBox.cs: added call to AddDisplayStyleAttribute on rendering
2043 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
2045 * TreeView.js: Used WebForm_GetFormFromCtrl to lookup the form.
2047 2007-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
2049 * TextBox.cs: implemented AutoCompleteType property, fixed
2050 AddAttributesToRender
2052 2007-01-24 Ilya Kharmatsky <ilya -at- decode-systems.com>
2054 * DetailsView.cs: fixed problems with rendering of control, when
2055 empty data source is provided. Respective tests are provided
2056 in DetailsViewTest.cs
2058 2007-01-21 Konstantin Triger <kostat@mainsoft.com>
2060 * TreeView.js, DetailsView.js, Menu.js, GridView.js:
2061 suppress exception if eval() fails.
2063 2007-01-20 Miguel de Icaza <miguel@novell.com>
2065 * DataControlFieldCollection.cs (RemoveAt): remove unused
2068 * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
2071 * RadioButton.cs (RaisePostDataChangedEvent): This method was not
2072 used in 1.0, so put the whole method in 2.0
2074 2007-01-18 Adar Wesley <adarw@mainsoft.com>
2076 * Xml.cs: added support for XPathNavigator, fixed DocumentContent
2077 to be compatible with MS 2.0, implemented EnableTheming, implemented
2078 SkinID, fixed Focus behavior.
2080 2007-01-18 Vladimir Krasnov <vladimirk@mainsoft.com>
2082 * Menu.js, Menu.js: added null reference checking for every getTree or
2085 2007-01-18 Adar Wesley <adarw@mainsoft.com>
2087 * SiteMapDataSource.cs: implemented logic of GetStartNode when
2088 StartingNodeOffset is positive.
2090 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
2092 * BaseValidator.cs: ToString the validating property value or
2093 if null return an empty string.
2095 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2097 * TreeView.cs: fixed RegisterStyle, style names should be without
2098 leading underscore. fixed RenderNode, node icons should be taken also
2101 2007-01-17 Adar Wesley <adarw@mainsoft.com>
2103 * Repeater.cs: refactored GetData to return data both from DataSource
2104 and DataSrouceID, Implemented EnableTheming, updated initialization of
2105 DataBinding according to the pattern of BaseDataBoundControl, fixed
2106 SelectArguments implementation to call the virtual
2107 CreateDataSourceSelectArguments method.
2109 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
2111 * GridView.cs: don't force creating rows collection when SelectedIndex
2112 changes; EnsureDatabound on select.
2114 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2116 * TreeNode.cs: fixed Bind, fixed Value updating
2118 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2120 * DataList.cs: fixed OnBubbleEvent, added SelectedIndex updating
2122 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2124 * DetailsView.cs: fixed CreateChildControls, PageIndex cannot be less
2127 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2129 * DetailsView.cs: fixed CreateChildControls, PageIndex should be less
2130 or equal to PageCount
2132 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2134 * Menu.cs: added z-index attribute to popup div's.
2136 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2138 * FileUpload.cs: fixed FileName property, should return filename
2139 without full path on client side
2141 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
2146 Implemented the protected net_2_0 method 'VerifyMultiSelect' with
2147 proper overloading in derived types.
2149 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2152 considers INavigateUIData.NavigateUrl when bound.
2154 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2156 * CompleteWizardStep.cs
2157 * CreateUserWizard.cs
2158 * CreateUserWizardStep.cs
2159 * TemplatedWizardStep.cs
2161 make the design complied to .NET
2162 build all possible controls at once and manage render by Visible property
2164 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
2165 * Button.cs, HyperLink.cs, DataGrid.cs, ImageButton.cs, LinkButton.cs,
2166 PagedDataSource.cs: Added J2EE Portal support for TARGET_J2EE.
2168 2007-01-14 Ilya Kharmatsky <ilyak-at-mainsoft.com>
2169 * BaseCompareValidator
2171 Added support for CultureInvariantValues property, which should be
2172 counted in new 2.0 methods such as - Compare, Convert etc. The code
2173 has been changed in such way, that the old - 1.1 method implementation
2174 could use the new methods defined for 2.0 version.
2176 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2178 * XmlDataSource.cs: refactored to use cached collection.
2179 * SqlDataSource.cs: refactored to use cached collection;
2180 don't throw exception on 'DefaultView'.
2181 * ObjectDataSource.cs: refactored to use cached collection.
2183 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2185 * ObjectDataSourceView.cs: consider parameter names and
2186 DataObjectMethodAttribute during method resolution.
2188 2007-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2190 * SqlDataSourceView.cs: fixed OnUpdating, OnInserting call with
2191 SqlDataSourceCommandEventArgs
2193 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2195 * ObjectDataSourceView.cs: use case unsensitive comparer for
2196 parameters collection.
2198 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2200 * LoginStatus.cs: fixed: not causes page validation.
2202 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2204 * CreateUserWizard.cs: fixed: resolves ErrorMessage control correct.
2205 * CreateUserWizardStep.cs:
2207 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2209 * TreeView.cs: fixed: SelectedNode, CheckedNodes.
2211 * TreeNodeCollection.cs:
2213 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2215 * GridView.cs: fixed: header and footer does not appear in no items.
2216 * CompositeDataBoundControl.cs:
2218 2007-01-09 Konstantin Triger <kostat@mainsoft.com>
2220 * AdRotator.cs: Backport the fix for AdRotator AbsoluteUri to 1.1.
2222 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2224 * GridView.cs: fixed: SelectedDataKey.
2226 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2230 implemented 2.0 features.
2232 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2234 * SqlDataSourceView.cs: fixed parameters init for ExecuteUpdate
2236 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2238 * DataSourceCacheManager.cs:
2239 * ObjectDataSource.cs:
2241 fixed: cache considers parameters values changes.
2243 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2245 * DetailsView.cs: fixed DeleteItem, excluded keys for new values
2246 * SqlDataSourceView.cs: fixed ExecuteDelete, check cancel in
2249 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2251 * GridView.cs: fixed: show all rows when AllowPaging=false
2253 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2255 * SqlDataSourceView.cs: fixed CreateDbParameter, used DBNull for value=null.
2257 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2259 * ButtonField.cs: fixed: consider its CausesValidation property.
2261 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2263 * GridView.cs: fixed:
2264 ReadOnly property is false for AutoGeneratedColumn if field is DataKey.
2265 causesValidation parameter is considered properly in UpdateRow.
2266 OldValues contains readonly fields values
2268 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2270 * SqlDataSourceView.cs: fixed InitializeParameters, added
2271 ParameterPrefix when check that param is already in collection
2273 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2275 * AdRotator.cs: fixed: considers absolute uri such html://......
2277 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2279 * SqlDataSourceView.cs: fixed insert, delete, update methods, added
2280 calls to OnDataSourceViewChanged
2282 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2284 * added ProfileParameter.cs
2286 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2288 * Label.cs: fixed: according MSDN OnPreRender is not overridden.
2290 2007-01-04 Adar Wesley <adarw@mainsoft.com>
2292 * ImageButton.cs: implemented GenerateEmptyAlternateText
2294 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2296 * FormView.cs: fixed data binding flow considers Insert mode.
2298 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2300 * DataBoundControl.cs: fixed Init flow.
2302 2007-01-4 Adar Wesley <adarw@mainsoft.com>
2304 * RadioButtonList.cs: Implemented properties of IRepeatInfoUser as public virtual
2306 2007-01-03 Marek Habersack <grendello@gmail.com>
2308 * ObjectDataSourceView.cs: Look for unqualified type also in the top-level assemblies.
2310 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2312 * FormView.cs: fixed PageIndex property.
2314 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2316 * ListControl.cs: fixed SelectedValue and SelectedIndex properties.
2317 set accessor works differently in 2.0.
2319 2007-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
2321 * SqlDataSourceView.cs,ObjectDataSourceView.cs: fixed parameter merge
2322 when values and old values are null
2324 2006-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2326 * ListControl.cs: reverted r70112, fixed in r70319.
2328 2007-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2330 * DetailsView.cs: fixed CreateAutoGeneratedRows.
2332 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2334 * AutoGeneratedField.cs: is editable in Insest mode.
2335 * BoundField.cs: is editable in Insest mode.
2336 * CheckBoxField.cs: is editable in Insest mode.
2337 * DetailsView.cs: fixed DataBinding flow.
2339 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2341 * BaseDataBoundControl.cs:
2342 * CompositeDataBoundControl.cs: fixed DataBinding flow.
2344 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2346 * LinkButton.cs: show the validation summary when client validation
2347 and linkbuttons are used. Patch by Juraj Skripsky.
2349 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2351 * TextBox.cs: consider ToolTip property
2353 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2355 * ContainedTable.cs:
2356 * DataControlButton.cs:
2357 * DetailsView.cs: fixed EnablePagingCallbacks
2360 * GridView.js: fixed EnableSortingAndPagingCallbacks
2362 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2365 ResolveClientUrl used with LineImagesFolder, ExpandImageUrl,
2366 CollapseImageUrl and NoExpandImageUrl properties.
2368 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2370 * SqlDataSource.cs: Added parameters update on OnInit
2372 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2374 * LoginView.cs: fixed rendering LoggedInTemplate even after user
2377 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2382 control's behavior depends on using DataSource or DataSourceID
2383 property for binding
2385 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2387 * CommandField.cs: fixed:
2388 when ShowEditButton=false Update/Cancel button doesn't appear.
2389 when ShowInsertButton=false Insert/Cancel button doesn't appear.
2391 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2393 * Login.cs: fixed AuthenticateUser, should redirect to ReturnUrl when
2395 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2397 * Parameter.cs: fixed ConvertValue to coorect handle TypeCode.Empty
2398 * ObjectDataSourceView.cs: fixed MergeParameterValues,
2399 call Parameter.ConvertValue
2400 fixed ConvertParameter to hanlde TypeCode.Empty
2401 * SqlDataSourceView.cs: fixed InitializeParameters,
2402 call Parameter.ConvertValue
2403 fixed ParameterPrefix property
2404 fixed CreateDbParameter, added usege of ParameterPrefix
2406 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2408 * ListControl.cs: fixed: when is used with DataSourceID data bind is not
2409 perfomed on PostBack because Items collection is restored from View state.
2411 2006-12-26 Igor Zelmanovich <igorz@mainsoft.com>
2413 * DataGridPagerStyle.cs:
2418 * TableItemStyle.cs:
2423 fixed: Load/Save viewstate of WebControl does not call Load/Save viewstate
2424 for it's ControlStyle, but the shared ViewState is used to manage style's
2427 2006-12-21 Igor Zelmanovich <igorz@mainsoft.com>
2429 * CompleteWizardStep.cs:
2430 * CreateUserWizard.cs:
2431 * CreateUserWizardStep.cs:
2432 * TemplatedWizardStep.cs:
2434 fixed: CreateUserWizard works properly in advanced scenarios
2435 such being used with additional steps or/and with custom templates.
2436 Styles are aplied properly.
2438 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
2440 * SqlDataSourceView.cs: fixed InitializeParameters, parameters order
2441 parameters case insensetive search
2442 * ObjectDataSourceView.cs: fixed MergeParameterValues, parameters
2443 case insensetive search
2445 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2447 * Menu.cs: fixed: ResolveClientUrl used with src and href attributes
2449 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2453 TreeNodeCollapsed is not raised for leaf node.
2455 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2457 * DataGrid.cs, RepeatInfo.cs: fixed accessibility features
2459 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2461 * Calendar.cs: support DayNameFormat.Shortest
2463 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2465 * HiddenField.cs: implemented
2467 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2469 * FormView.cs: fixed: FillRowDataKey
2470 * DetailsView.cs: fixed: FillRowDataKey
2472 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2474 * TreeView.cs: fixed: ResolveClientUrl used with ImageUrl and NavigateUrl
2476 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2478 * Login.cs: refactored rendering, fixed OnAuthenticate event
2480 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2482 * GridView.cs: fixed: Update works not only for EditRow
2484 * CompositeDataBoundControl.cs:
2486 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2488 * RadioButton.cs: fixed:
2489 When GroupName is not defined UniqueID is used instead for name attribute.
2490 CheckedChanged is raised only when control is checked.
2492 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2494 * Menu.cs: fixed: rendering.
2496 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2498 * Menu.cs: fixed: rendering.
2500 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2505 fixed rendering for 2.0
2507 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2509 * DetaisView.cs: fixed: rendering.
2510 * DataControlButton.cs:
2513 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2515 * FormView.cs: fixed: avoid empty row rendering.
2517 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2519 * AdRotator.cs: fixed:
2520 MSDN: The ImageUrl and NavigateUrl attributes can be a full URL, a
2521 root-relative path, or a relative path. If you use a root-relative path,
2522 the path is relative to the same Web site. If you use a relative path,
2523 the path is relative to the directory that contains the advertisement file.
2525 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2527 * BaseCompareValidator.cs: fixed: support for type=Date on client side.
2529 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2531 * TreeView.cs: fixed: support for event validation.
2533 2006-12-04 Igor Zelmanovich <igorz@mainsoft.com>
2535 * DataGridPagerStyle.cs: chenged values of DataGridPagerStyles flags.
2537 2006-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2539 * CreateUserWizard.cs: implement GeneratePassword based on Membership.
2541 2006-11-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2543 * Wizard.cs: fixed GetStepType method that returned wrong type if the
2544 last step type is Complete.
2545 fixed ProcessEvent method, corrected FinishButtonClick behavior
2547 2006-11-26 Marek Habersack <grendello@gmail.com>
2549 * Calendar.cs: Fixed event validation registration. Now it
2550 registers all the arguments that can be passed by this control to
2553 2006-11-25 Marek Habersack <grendello@gmail.com>
2555 * FileUpload.cs: Implementation of SaveAs
2557 * TreeView.cs: A few optimizations for empty style collections.
2559 * Menu.cs: A few optimizations for empty style collections.
2561 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2563 * BoundField.cs: fixed: GetDesignTimeValue()
2565 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2567 * SiteMapDataSource.cs: fixed: GetViewNames()
2569 2006-11-23 Vladimir Krasnov <vladimirk@mainsoft.com>
2571 * ChangePassword.cs: implemented functionality
2572 * MailDefinition.cs: implemented CreateMailMessage method
2573 * PasswordRecovery.cs: implemented functionality
2575 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2577 * CircleHotSpot.cs: fixed:
2578 setting Radius with value <0 throws ArgumentOutOfRangeException.
2580 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2582 * CookieParameter.cs: fixed Evaluate method.
2584 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2586 * Parameter.cs: fixed Evaluate, ToString methods.
2587 * QueryStringParameter.cs: fixed Evaluate method.
2588 * SessionParameter.cs: fixed Evaluate method.
2590 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2592 * ImageMap.cs: fixed rendering.
2594 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2596 * HotSpot.cs: fixed: AccessKey and HotSpotMode
2597 throw ArgumentOutOfRangeException.
2599 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2601 * ControlParameter.cs: fixed: Evaluate method
2602 throws exceptions correctly.
2604 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2606 * CheckBox.cs: fixed: new 2.0 features such
2607 LabelAttributes and InputAttributes.
2609 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2611 * GridView.cs: fixed: header, footer and empty rows are databound.
2613 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2615 * Style.cs: added internal helper method RemoveTextStyles.
2617 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2619 * Button.cs: fixed: support for event validation.
2620 * CheckBox.cs: fixed: support for event validation.
2621 * FormView.cs: fixed: support for event validation.
2622 * ImageButton.cs: fixed: support for event validation.
2623 * ListBox.cs: fixed: support for event validation.
2624 * TextBox.cs: fixed: support for event validation.
2626 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2628 * DropDownList.cs: fixed: support for event validation.
2630 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2632 * LinkButton.cs: optimized: support for event validation.
2633 * DataControlButton.cs: Added support for event validation.
2634 * DetailsView.cs: fixed: RowIndex for DetailsViewRow.
2636 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2638 * LinkButton.cs: Added support for event validation.
2640 2006-11-17 Marek Habersack <grendello@gmail.com>
2642 * ImageButton.cs: Added support for event validation.
2644 * ListBox.cs: Added support for event validation.
2646 * Calendar.cs: Added support for event validation.
2648 * DropDownList.cs: Added support for event validation.
2650 * FormView.cs: Added support for event validation.
2652 * RadioButtonList.cs: Added support for event validation.
2654 * TextBox.cs: Added support for event validation.
2656 * BulletedList.cs: Added support for event validation.
2658 * CheckBox.cs: Added support for event validation.
2660 * Button.cs: Added support for event validation.
2662 2006-11-16 Igor Zelmanovich <igorz@mainsoft.com>
2664 * CreateUserWizard.cs: fixed: ActiveStepIndex property.
2666 2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>
2668 * ListControl.cs: fixed: DataBinding for 2.0, for 1.x - refactoring only.
2670 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2672 * GridView.cs: fixed: Rows property, DataBinding flow.
2673 * DataBoundControl.cs:
2674 * BaseDataBoundControl.cs:
2676 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2678 * CompositeDataBoundControl.cs: fixed:
2679 DataBind call Controls.Clear().
2681 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
2683 * CompositeDataBoundControl.cs: fixed:
2684 DataBind sets ChildControlsCreated=true.
2686 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2688 * Login.cs: fixed CreateChildControls, throws exception if needed
2690 * LoginView.cs: fixed CreateChildControls, check templates for null
2692 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2694 * Wizard.cs: fixed ActiveStepIndex property, fixed SideBar button
2695 rendering, fixed history updating
2696 * WizardStepCollection.cs: fixed implemented interfaces
2698 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2700 * XmlDataSource.cs: CacheKeyDependency fixed
2702 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
2704 * DetailsView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2706 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2708 * DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.
2710 2006-11-09 Vladimir Krasnov <vladimirk@mainsoft.com>
2712 * ParameterCollection.cs: fixed SetDirtyObject method
2713 * ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState
2714 utilization for control's properties, implemented caching
2715 * SqlDataSource.cs, SqlDataSourceView.cs: implemented caching
2717 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2719 * GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2721 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2723 * DataBoundControl.cs: fixed:
2724 ConfirmInitState method s called by
2725 the DataBoundControl class in its OnLoad method.
2727 2006-11-06 Igor Zelmanovich <igorz@mainsoft.com>
2729 * FormView.cs: fixed: DataBinding flow.
2731 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2733 * CustomValidator.cs: implemented ValidateEmptyText fixture.
2735 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2737 * BaseCompareValidator.cs: fixed: CultureInvariantValues, Type properties.
2739 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2741 * Menu.cs: fixed: RenderEndTag.
2742 Dynamic menu is rendered when StaticDisplayLevels=1
2744 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2746 * GridView.cs: fixed: UpdateRow, DeleteRow, RowCreated.
2748 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2750 * FormView.cs: fixed: UpdateItem, DeleteItem.
2752 2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>
2754 * DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.
2756 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2758 * RadioButtonList.cs: fixed: has no html output when Items.Count=0.
2760 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2762 * ListControl.cs: fixed: setting SelectedVolue for 2.0.
2764 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2766 * DataBoundControl: fixed: ValidateDataSource allows null as dataSource.
2768 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2770 * ListControl.cs: fixed: assigning SelectedIndex with too hight value.
2772 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2774 * ListControl.cs: fixed: DataBinding for 2.0.
2775 for 1.x refactoring only.
2777 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2779 * ChangePassword.cs: new class was implemented.
2781 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2783 * EmbeddedMailObject.cs: new class was implemented.
2784 * EmbeddedMailObjectsCollection.cs: new class was implemented.
2785 * MailDefinition.cs: new class was implemented.
2787 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2789 * PagerSettings.cs: fixed: CreatePagerControl.
2791 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2793 * CommandField.cs: fixed:
2794 considers CaseValidation, ValidationGroup, ButtonType.
2795 * DataControlButton.cs: refactoring:
2797 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2799 * DetailsView.cs: implemented: GetCallbackScript method.
2801 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2803 * FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2805 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2807 * FormFiew.cs: fixed: UpdateItem, InsertItem.
2809 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2811 * FormFiew.cs: fixed: PageIndex, rendering.
2813 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2815 * DropDownList.cs: fixed: rendering "name" attribute".
2817 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2819 * GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2820 * DataControlButton.cs:
2821 * CommandField.cs: CausesValidation feature must be implemented other way
2823 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2825 * CompositeDataBoundControl.cs: fixed: CreateChildControls flow.
2827 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2829 * FormView.cs: fixed: OnBubbleEvent returns true when event is handled.
2831 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2833 * DetailsView.cs: fixed: OnBubbleEvent works properly.
2835 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2837 * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
2839 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2841 * DetailsView.cs: fixed: CurrentMode property.
2843 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2845 * DetailsView.cs: fixed: current state are not changed during paging.
2847 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2849 * DetailsView.cs: fixed:
2850 in Insert mode Select not invoked from DataSource
2852 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
2854 * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
2856 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2858 * FormView.cs: fixed: CreateDataSourceSelectArguments method.
2859 (corresponding test does not work because bug in ObjectDataSourceView)
2861 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2863 * DataBoundControl.cs: fixed: DataBind calls
2864 CreateDataSourceSelectArguments() and stores result in SelectArguments
2866 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2870 fixed: EnablePagingCallbacks feature.
2871 when postback is invoked after callback control state is restored
2874 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2876 * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
2878 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2880 * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
2881 (corresponding test does not work because bug in ObjectDataSourceView)
2883 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2885 * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
2886 when postback is invoked after callback control state is restored
2889 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2891 * GridView.cs: fixed: Sorting feature.
2892 When sorting EditIndex and PageIndex are reseted
2894 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2896 * GridView.cs: fixed: Sorting feature.
2897 CreateDataSourceSelectArguments considers SortExpression and SortDirection.
2898 (corresponding test does not work because bug in ObjectDataSourceView)
2900 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2902 * GridView.cs: fixed:
2903 CreateDataSourceSelectArguments works according to MSDN.
2904 (corresponding test does not work because bug in ObjectDataSourceView)
2906 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2908 * ObjectDataSourceView.cs: fixed:
2909 CanRetrieveTotalRowCount returns true if EnablePaging = false
2911 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
2913 * DataBoundControl.cs: fixed: DataBind flow
2914 CreateDataSourceSelectArguments() is called
2915 each time as DataBind() is called
2917 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2919 * BoundField.cs: implemented ValidateSupportsCallback().
2921 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2923 * CommandField.cs: ValidateSupportsCallback(): exception's message.
2925 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2927 * FormView.cs: fixed: CurrentMode property.
2929 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2935 reverted r66222, problem solved in r66283: command buttons inherit ForeColor
2937 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2939 * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
2942 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2944 * HyperLink.cs: don't render the img tag 'by hand' but use an Image
2945 instead, which takes care of the 0/0px case. Also set the ToolTip
2946 property. Fixes bug #79585.
2948 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2950 * DetailsView.cs: optimization for previous patch
2952 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2954 * FormView.cs: optimization for previous patch
2956 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2959 * DetailsViewRow.cs:
2960 implemented PrepareControlHierarchy()
2961 styles are applied correct
2963 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2966 implemented PrepareControlHierarchy()
2967 styles are applied correct
2969 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2972 * DataControlButton.cs:
2973 * DataControlField.cs:
2974 implemented PrepareControlHierarchy()
2975 styles are applied correct
2976 command buttons inherit ForeColor
2978 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2980 * WebControl.cs: fixed: CreateControlStyle()
2982 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2988 corrected pager rendering: Color style applied to A tag,
2989 Input type="image" used if ImageUrl is not empty.
2991 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2993 * GridView.cs: corrected rendering
2994 * ContainedTable.cs: added new helper class
2996 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2998 * FormView.cs: fixed:
2999 in Insert mode Select not invoked from DataSource
3001 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
3003 * FormView.cs: fixed:
3004 Pager is not shown when page count < 1
3005 in Edit mode use EmptyDataTemplate if there is no DataItem
3006 when page changed FormView stays in current state.
3008 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
3010 * FormView.cs: fixed: OnBubbleEvent works properly
3012 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
3014 * DataBoundControl.cs: fixed: DataBind flow
3015 GetData return "empty" DataSourceView when no DataSource and DataSourceID
3016 was assigned to cause PerformDataBinding be called.
3018 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3020 * DataList.cs: use ExtractTemplateRows to determine if the style is
3021 applied to the Table in a template or to its rows. Fixes bug #78058.
3023 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3025 * ListBox.cs: if the list is not enabled, don't require a postback.
3028 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3030 * HyperLink.cs: don't output the nabvigate url if disabled.
3031 * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
3032 the link URL if disabled.
3035 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3037 * RadioButtonList.cs:
3038 make it to consider CausesValidation and ValidationGroup properties
3040 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3043 make it to consider CausesValidation and ValidationGroup properties
3045 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3048 Page.Validate() is called when CausesValidation=true
3050 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3053 make onclick attribute to consider ValidationGroup property.
3055 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3058 make rendering of the href attribute to consider ValidationGroup property.
3059 Page.Validate() is called when CausesValidation=true
3061 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3064 make rendering of the onchange attribute to consider ValidationGroup
3066 Page.Validate() is called when CausesValidation=true
3068 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3071 make rendering of the onclick attribute to consider ValidationGroup property
3072 Page.Validate() is called when CausesValidation=true
3074 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3077 VewState saving and restoring rolled back to 1.1 implementation
3078 (fixed corresponding test), corrected public interface (there are no
3079 overriden methods SaveControlState, LoadControlState and OnInit),
3080 implemented CausesValidation and ValidationGroup properties.
3082 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3085 make rendering of the onclick attribute to consider ValidationGroup property
3086 Page.Validate() is called when CausesValidation=true
3088 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3091 implemented: RaisePostBackEvent,
3092 refactoring: GetPostBackOptions used to build onclick client event
3094 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3096 * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
3098 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3100 * BaseValidator.cs: implemented ValidationGroup feature on client side
3101 * ValidationSummary.cs:
3103 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
3105 * TreeView.cs: corrected rendering
3108 2006-09-11 Konstantin Triger <kostat@mainsoft.com>
3110 * Login.cs: ensure the urls are correctly resolved.
3112 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3114 * TreeView.cs: corrected rendering: styles are applied correct
3118 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3120 * TreeView.cs: corrected rendering: HoverNodeStyle works
3124 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3126 * TreeNodeStyle.cs: fixed: ViewState restored properly
3128 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3132 * TableItemStyle.cs:
3133 * DataGridPagerStyle.cs:
3134 refactoring: makes Style class more flexible for inheriting and reuse
3136 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3138 * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked
3139 state restored correct on PostBack.
3142 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3144 * ObjectDataSourceView.cs: correctly find the type when it is not in the
3145 executing assembly. Fixes bug #78321. Patch by Marek Habersack.
3147 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3149 * ControlParameter.cs: fix search for controls so that they use their
3150 NamingContainer, not the Page. Patch by Marek Habersack that fixes
3153 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3155 * Login.cs: fix problem with the login control and master pages.
3156 Patch by Marek Habersack that fixes bug #78219.
3158 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3160 * TreeView.cs: fixed: populating nodes.
3163 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3165 * TreeNode.cs: fixed: ToggleExpandState.
3167 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
3169 * SqlDataSourceView.cs: return DataView from ExecuteSelect when
3170 DataSourceMode is DataSet.
3172 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3174 * TreeView.cs: fixed: populating nodes flow.
3175 * TreeNodeCollection.cs
3178 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3180 * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.
3182 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3184 * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.
3186 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3188 * TreeView.cs: fixed: when specified value is not one of
3189 the TreeNodeTypes values exception is threw.
3191 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3193 * TreeView.cs: fixed: when specified image set is not one of
3194 the TreeViewImageSet values exception is threw.
3196 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
3198 * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.
3200 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
3202 * Style.cs: implemented SetBit().
3204 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3206 * CompareValidator.cs: fixed controltocompare attribute.
3208 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3211 when login attempt was not successful FailureText is shown.
3213 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3215 * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage
3216 is formatted correct.
3218 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3220 * CreateUserWizard.cs:
3221 * CompleteWizardStep.cs:
3222 * CreateUserWizardStep.cs:
3224 fixed: ContinueButtonClick occurs when the user clicks
3225 the Continue button in the final user account creation step.
3226 ContinueDestinationPageUrl - redirected after clicking
3227 the Continue button on the success page.
3229 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3231 * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
3232 insted internal DataControlButton.
3234 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3236 * Button.cs: implemented GetPostBackOptions + refactoring
3238 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3240 * ImageButton.cs: implemented 2.0 features
3241 OnClientClick attached to onclick attribute.
3242 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3243 generate onclick attribute.
3245 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3247 * LinkButton.cs: typo fix
3249 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3251 * Button.cs: refactoring
3253 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3255 * LinkButton.cs: implemented 2.0 features
3256 OnClientClick attached to onclick attribute.
3257 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3260 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
3262 * Button.cs: implemented 2.0 features
3264 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
3266 * Menu.cs: refactoring
3269 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3271 * TreeView.cs: fixed data binding
3273 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3275 * TreeNodeBinding.cs: fixed ToString method
3277 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3279 * MenuItem.cs: typo fix
3281 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3283 * CreateUserWizardStep.cs: fixed validators message display
3285 2006-08-25 Kornél Pál <kornelpal@gmail.com>
3287 * FileUpload.cs: Use assembly name constants.
3289 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3291 * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
3292 always creates ExtractTemplateValuesMethod delegate
3294 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
3296 * TreeNodeBinding.cs: corrected public interface
3299 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3301 * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
3302 case, but there are many others.
3304 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3306 * Menu.cs: corrected rendering of static and dynamic items
3309 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3313 fixed: AddAttributesToRender method calls FillStyleAttributes,
3314 text styles applied correct.
3316 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3319 fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
3320 refactoring: Name and Names properties has same source in bag.
3322 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3324 * Style.cs: restored r63894: for 1.x is refactoring only
3326 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3329 fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
3330 added ClearDefaults method for 2.0.
3332 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3334 * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
3337 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3339 * SubMenuStyle.cs: fixed:
3340 Unit.ToString() already include unit (e.g. "3px")
3342 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3345 * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
3346 submitted for review and it only added tests for the 2.0 profile.
3348 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3350 * FormView.cs: added explicit implementation of
3351 IDataItemContainer.DataItemIndex, as documented
3353 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
3356 When style is registered with StyleSheet AddAttributesToRender method
3357 adds class attribute but not style to writer
3359 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
3362 OnBubleEvent works properly - controls like Button, LinkButton nested into template
3363 can raise MenuItemClick event,
3364 ViewState of Items saved and restored properly.
3366 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
3368 * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
3371 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
3373 * Menu.cs: fixed databinding feature:
3374 ensure that items initialization occurs only once
3376 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
3378 * Menu.cs, MenuItem.cs: fixed databinding feature
3380 2006-08-09 Robert Jordan <robertj@gmx.net>
3382 * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
3383 replace ResolveUrl with ResolveClientUrl to match MS.NET's
3384 behaviour. Fixes bug #77539.
3386 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
3388 * HierarchicalDataBoundControl.cs: fixed DataBind flow
3390 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3396 * WebControl.cs: fixed ParseChildren attribute to be compliant
3399 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3401 * MultiView.cs: fixed: EnableTheming property
3403 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3407 * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
3409 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3411 * Style.cs: fixed restoring FontInfo from ViewState
3413 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3415 * XmlDataSource.cs: implemented caching functionality
3417 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3419 * PagerSettings.cs: Fixed the pager range calculation formula. The old
3420 one didn't work with more than 20 pages. Patch by Marek Habersack that
3423 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3425 * FormView.cs: fixes to make Render more similar to dotnet.
3427 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
3429 * Wizard.cs: fixed return value of OnBubbleEvent
3431 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3433 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
3434 handle null result of GetData().
3436 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3438 * FormView.cs: use TableStyle for ControlStyle.
3440 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3442 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
3444 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3446 * FormView.cs: init DataKeys and fix null reference.
3448 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3450 * TreeView.cs: several changes to improve compatibility with MS.
3451 Patch by Marek Habersack that fixes bug #77551.
3453 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3455 * Style.cs: output the text-decoration value even when it is 'none'.
3456 Patch by Marek Habersack that fixes bug #78968.
3458 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3460 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
3463 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3465 * DetailsViewRowCollection.cs: returns this in SyncRoot.
3467 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3469 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
3472 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3474 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
3476 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3478 * AutoGeneratedField.cs: fix the internal constructor according to test
3479 DetailsView_CreateAutoGenerateRow.
3481 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
3483 * XmlDataSource.cs: implemented XSLT, removed properties from
3485 * XmlDataSourceView.cs: fixed default xpath
3487 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
3489 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
3491 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
3493 * Wizard.cs: fixed ActiveStep property
3494 fixed templated side bar
3496 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3498 * ImageField.cs: fix null reference bug.
3500 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3502 * DetailsView.cs: init DataKey property with empty collection.
3503 * DataKey.cs: fix unexpected exception bug.
3504 * DataControlField.cs: override ToString according to MSDN.
3506 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3508 * DetailsView.cs: create table style in CreateControlStyle.
3510 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3512 * DetailsView.cs: don't throw the exception which .Net does not throw.
3514 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3516 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
3517 to match .Net; fix PageCount to match record count.
3519 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3521 * Menu.cs: fixed properties default values, fixed rendering
3524 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3526 * Wizard.cs: implemented SkipLinkText, TagKey
3527 fixed rendering bugs, fixed templated button bar rendering
3528 fixed side bar rendering
3529 * WizardStepBase.cs: fixed Name property
3531 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3533 * DetailsView.cs: fix the regressions, caused by the previous commit.
3535 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3537 * DetailsView.cs: correct handling the different default values of
3538 DetailsView.CellSpacing and Table.CellSpacing.
3540 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3542 * DetailsView.cs: create a pager row when needed.
3544 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3548 * PagedDataSource.cs:
3551 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
3552 support it. The GridView control will no longer throw an exception when
3553 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
3555 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3557 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
3558 Rows with empty collection; call EnsureChildControls from get Row;
3559 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
3560 implemented IPostBackContainer.GetPostBackOptions.
3562 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3564 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
3565 and FooterText are empty, to match .NET. Otherwise we have NullReference
3568 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3570 * DetailsView.cs: Render fix.
3572 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3574 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
3577 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3579 * DetailsView.cs: NullReferenceException fix
3581 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3583 * PagerSettings.cs: implemented PropertyGhanged event
3585 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3587 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
3588 with .Net; don't throw NotImplemented when base class implementation
3591 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3593 * DetailsViewPagerRow.cs: add a stub for this class
3595 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3597 * GridView: fixed DataKeyNames property, moved to ControlState
3598 fixed PageCount property, initial PageCount ahould be zero
3599 fixed SelectedDataKey, should throw exception if not initialized
3600 fixed CreateColumns, wrong order of columns
3601 fixed CreateControlStyle,
3602 fixed InitializePager, no columnspan attrib on only one column
3603 fixed LoadControlState, SaveControlState added DataKeyNames
3604 fixed Render, RenderGrid should render within div tag
3605 implemented GetPostBackOptions
3606 * DataControlButton.cs: fixed Render, fixed style for img button
3608 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3610 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
3613 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3615 * CommandField.cs: fixed ValidateSupportsCallback
3617 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3619 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
3620 affect the flow yet.
3622 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3624 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
3626 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3628 * WebControl.cs: fix for AddAttributesToRender - add display
3629 style when appropriate
3631 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3633 * CommandField.cs: fixed InitializeCell, wrong order of command
3635 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
3636 should be rendered as label
3637 * BoundField.cs: empty null value should be rendered as nbsp
3638 * GridViewRowCollection.cs: fixed SyncRoot
3640 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3642 * SiteMapPath.cs: create Literal instead of Label according to the
3643 MSDN and test SiteMapPath_InitializeItem.
3645 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3647 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
3648 * Image.cs: in 2.0 there is no border attribute, but border-width
3651 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3653 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
3655 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3657 * DataList.cs: correctly initialize editable items when there's an
3658 EditItemTemplate. Patch by Jarosław Pawlak.
3660 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
3662 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
3665 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3667 * BulletedList.cs: fixed Render, RenderBulletText, various properties
3668 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
3671 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3673 * MultiView.cs: 'initied' state variable was changed to views count in
3674 the views collection.
3676 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3678 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
3679 checkbox should have tooltip
3680 * HyperLinkField.cs: fixed InitializeCell, should create link control
3681 only in data cell (not in header or footer), initialization of
3683 * ImageField.cs: fixed InitializeDataCell, initialization of
3686 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3688 * MultiView.cs: removed exception throwing from ActiveViewIndex
3690 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
3692 * DataControlFieldCollection.cs: added OnClearComplete override;
3693 refactor to eliminate null reference exception.
3695 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3697 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
3698 * View.cs: fixed Visible property
3700 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
3702 * ImageField.cs: fixing .net compliancy.
3704 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
3706 * SiteMapPath.cs: fix the default PathSeparator value.
3708 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3710 * GridView.cs: always create Header/Fotter rows, but render only when
3711 ShowHeader/Footer is true. Compute Header/Footer rows from rows
3713 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
3714 add ToolTip and Text to the created CheckBox,
3715 wrap exception thrown in OnDataBindField in httpException.
3717 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3719 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
3721 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3723 * DataControlField.cs: correct handling empty header/footer text.
3724 * TemplateField.cs: correct initialization according to
3725 DataControlRowState.
3727 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
3729 * Wizard.cs: added functionality for Templated WizardStep
3730 and CreateUserWizard
3731 * added CompleteWizardStep.cs, CreateUserWizard.cs,
3732 CreateUserWizardStep.cs, TemplatedWizardStep.cs
3734 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3736 * AutoGeneratedField.cs: correcting default dataType.
3738 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3740 * DataControlField.cs: fixed Initialize, should always return false
3742 2006-07-03 Lluis Sanchez <lluis@novell.com>
3744 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
3746 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3748 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
3749 setting RequiresDataBinding in OnLoad event.
3750 * GridView.cs: DataBind rows before other control can access the data.
3751 * BoundField.cs: add unique ID to control for postback parameters.
3753 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3755 * WebControl.cs: fix typo in EnableTheming.
3757 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
3759 * MenuItemCollection.cs: save items if the collection is dirty.
3760 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
3761 Add item to collection before binding to let the state be correctly tracked.
3762 * Menu.cs: Add item to collection before binding to let the state be correctly
3765 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
3767 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
3768 test against with "^...$" if necessary. MS.NET does this too.
3770 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
3772 * WizardStepCollection.cs: Fixed Add methods to initialize
3773 WizardStep.Wizard property
3774 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
3775 Fixed GetStepType, if only one step present, it should be FinishStep
3776 Fixed styles of tables for more accurate rendering, fixed Wizard
3779 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
3781 * FormView.cs: instantiate correct template when the bounding data source is
3784 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
3786 * FormView.cs: disabling setting out of range FormView.PageIndex.
3788 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
3790 * FileUpload.cs: added
3792 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
3794 * FormView.cs: handle CssClass attribute
3796 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3798 * Button.cs: do something in PostBackUrl.
3799 * Repeater.cs: when creating the RepeaterItemCollection, initialize
3800 'items' if it hasn't been done yet. Fixes bug #78417.
3802 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
3804 * BaseDataList.cs: added ConnectToDataSource method that called from
3805 OnLoad, fixed GetData method
3806 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
3809 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
3811 * Menu.cs: add CssStyle value to the rendered class attribute
3813 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
3815 * Calendar.cs: Make sure WebControls.Enabled is respected.
3816 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
3817 to 12:00am as MS.NET does the same.
3820 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3822 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
3823 DataSourceViewChanged, looks for a datasource in its parent control
3824 fixed GetData method, should not get data if datasource is null
3826 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
3828 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
3830 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3832 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
3834 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3836 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
3838 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3840 * DataList.cs: Fixed LoadViewState method
3842 2006-05-04 Lluis Sanchez <lluis@novell.com>
3844 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
3846 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3848 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
3850 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3852 * FormView.cs: fix FormView.PageCount after data binding.
3854 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3856 * CheckBox.cs: certain attributes have to be rendered in the input tag,
3857 not the <span>. Fixes bug #71251.
3859 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3861 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
3864 ensure rebinding when FormView.PageIndex is called.
3865 and bind to the correct PageIndex.
3867 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3869 * MenuItem.cs: when binding to IHierarchyData, check whether
3870 it implements INavigateUIData and retrieve NavigateUrl.
3871 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
3873 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
3874 Provide basic CreateChildControls implementation by ensuring the control is bound.
3875 Ensure the child controls are created when the postback event is raised.
3876 Provide default implementation for SkipLinkText to let the default functionality to work.
3878 2006-04-11 Lluis Sanchez <lluis@novell.com>
3880 * TreeNodeBinding.cs: Added HasPropertyValue property
3881 to check if some properties have a value in the
3883 * TreeNode.cs: Lazily get the dataPath. Instead of getting
3884 bound properties when they are requested, get all of
3885 them when the node is bound and store their values in
3886 the state bag. In this way it won't be necessary to
3887 query every time the datasource to get the values.
3888 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
3889 * TreeView.cs: Call base in OnInit(). Bind nodes after
3890 adding them to the list, to properly keep track of
3891 changes. Don't databind in postbacks.
3893 2006-04-11 Chris Toshok <toshok@ximian.com>
3895 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
3897 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3899 * BaseDataList.cs: Fix searching control by DataSourceID.
3900 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
3903 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3905 * Login.cs: Added LayoutTemplate property support.
3906 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
3907 DataBind: correctly bind child controls.
3908 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
3910 2006-03-29 Robert Jordan <robertj@gmx.net>
3912 * DataGrid.cs: if custom paging is enabled the persisted item count
3913 must be the count of the rendered items, otherwise paging from the
3914 last to a previous page won't work correctly. Fixes bug #77556.
3916 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
3918 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
3919 when rendering disabled list control
3921 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3923 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
3925 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
3927 * FontInfo.cs: Implemented ShouldSerializeNames
3929 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3931 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
3933 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3935 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
3937 in PrepareControlHierarchy fixed style applying to AlternatingItem
3939 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
3941 * DataList.cs: fixed RepeatColumns property, added value validation
3942 in PrepareControlHierarchy method fixed style applying for
3943 AlternatingItem, EditItem and Separator item
3944 fixed RenderContents method, if no items exist, no nned to
3945 render emty table strructure.
3947 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3949 * CompareValidator.cs: when searching for the control to compare, use
3950 NamingContainer instead of Page. Fixes bug #77793.
3952 2006-03-15 Chris Toshok <toshok@ximian.com>
3954 * SiteMapPath.cs (InitializeItem): in the Current and Root node
3955 cases, apply the NodeTemplate if it exists and there isn't a
3956 CurrentNodeTemplate or RootNodeTemplate, respectively.
3958 2006-03-15 Chris Toshok <toshok@ximian.com>
3960 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
3962 * SiteMapDataSource.cs (StartingNodeOffset): new property.
3963 (GetStartNode): add code to handle StartNodeOffset < 0.
3965 * CompositeControl.cs
3966 (ICompositeControlDesignerAccessor.RecreateChildControls): just
3967 call the non-iface method.
3969 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
3970 traverse up the naming container tree looking for our datasource
3971 if we're bound using a DataSourceID. This fixes things in the
3972 sitemap1 test, which uses a mixture of templates and
3973 ContentPlaceholders with the sitemapdatasource and sitemappath at
3974 different levels in the naming container tree (let along the
3977 * SiteMapPath.cs (DataBind): implement this by chaining up to
3978 base.DataBind, then by looping over our children, emitting
3979 OnItemDataBound for each SiteMapNodeItem.
3980 (AddAttributesToRender): remove.
3981 (CreateChildControls): call DataBind as the final step here.. I
3982 have, of course, no idea if this is right.
3983 (CreateControlHierarchy): don't databind our children here, as
3984 they need to be in the Controls collection before we do.
3985 (RenderContents): render our accessibility/screenreader stuff
3986 here, if SkipLinkText != "".
3988 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
3990 * DataGridPagerStyle.cs: fixed PrevPageText property
3992 2006-03-13 Chris Toshok <toshok@ximian.com>
3994 * BaseCompareValidator.cs (Convert): make the
3995 ValidationDataType.String case a bit more compact.
3997 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4000 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
4001 Patch by Hubert Fongarnand.
4003 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
4005 * FontInfo.cs: fixed CopyFrom, this method should not reset the
4006 received fontinfo if it is the same instance
4007 fixed ToString, corrected output where only font size specified
4009 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
4011 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
4012 if it not set but the border has width
4013 fixes in CopyFrom, MergeWith correct unit compare when it has zero
4016 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
4018 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
4019 properties of custom class
4020 fixed InitializeNumericPager, pager numbers should be a Label control
4021 fixed CreateControlHierarchy, corrected dataset index of items if
4024 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
4026 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
4028 fixed CreateControlStyle to set correct cellspacing of table style
4029 fixed InitializeItem to correct applying template to selected and
4032 2006-03-08 Chris Toshok <toshok@ximian.com>
4034 * SiteMapNodeType.cs: nuke.
4036 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
4037 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
4038 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
4039 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
4040 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
4041 ValidationCompareOperator.cs, ValidationDataType.cs,
4042 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
4043 [Serializable] in 2.0.
4045 * DayNameFormat.cs: add "Shortest".
4047 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
4049 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
4052 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
4054 * TextBox.cs: fixed missing value validations, fixed rendering
4055 of empty value attribute
4057 2006-03-07 Chris Toshok <toshok@ximian.com>
4059 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
4060 by chaining up to base.EnableTheming.
4062 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
4064 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
4066 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
4068 * RadioButton.cs: added ValueAttribute property to store the button
4070 * RadioButtonList.cs: fixed tab index when rendering.
4072 2006-03-02 Chris Toshok <toshok@ximian.com>
4074 * WebControl.cs (SkinID): implement setter/getter, and have them
4075 just chain up to base.SkinID.
4077 2006-02-27 Chris Toshok <toshok@ximian.com>
4079 * SqlDataSource.cs: track change to DataSourceControl's protected
4082 * AccessDataSource.cs: same.
4084 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
4086 * ListControl.cs: fixed SelectedIndex property, fixed selection
4087 reset on incorrect value
4089 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
4091 * TableStyle.cs: fixed AddAttributesToRender function, style
4092 BorderCollapse:Collapse was added if table's CellSpacing is zero
4094 2006-02-23 Chris Toshok <toshok@ximian.com>
4096 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
4097 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
4098 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
4099 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
4100 ImageButton.cs, ImageField.cs, Literal.cs,
4101 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
4103 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
4104 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
4105 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
4106 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
4107 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
4108 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
4109 errors. most were caused by a property/method being virtual when
4110 it shouldn't be, or vice versa.
4112 2006-02-22 Chris Toshok <toshok@ximian.com>
4114 * ObjectDataSource.cs: corcompare work.
4116 2006-02-22 Chris Toshok <toshok@ximian.com>
4118 * ParameterCollection.cs: add an EditorAttribute to the class.
4120 * Parameter.cs: cleanup, fix the Value property, and implement the
4123 * SqlDataSourceView.cs: clean things up a bit, and add handling
4126 2006-02-22 Chris Toshok <toshok@ximian.com>
4128 * SqlDataSourceFilteringEventArgs.cs: formatting.
4130 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
4131 both the property and ctor arg.
4133 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
4134 not CommandEventArgs. Also, cast the return value of
4135 oleCommand.ExecuteReader.
4137 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
4139 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
4140 (GetPhysicalDataFilePath): implement, again naively. this is
4141 where the NRE is generated when we access ConnectionString in a
4143 (ConnectionString): dynamically generate this based on our
4145 (DataFile): clear the ConnectionString in the setter so we'll
4147 (ProviderName): use base.ProviderName in the getter, not
4148 this.ProviderName, so we don't recurse infinitely.
4150 * SqlDataSourceView.cs: start reworking this class.
4152 * SqlDataSource.cs (GetDbProviderFactory): implement this,
4153 following the MS docs on the matter (if ProviderName is null/"",
4154 return SqlClientFactory.Instance.)
4155 (GetDbProviderFactoryInternal): add an internal method for use by
4157 (TrackViewState): don't invoke View.TrackViewState unless we have
4159 (Selecting): change event handler type to match MS.
4160 (Filtering): add missing event.
4161 (View): call CreateDataSourceView, don't just create an
4164 2006-02-21 Chris Toshok <toshok@ximian.com>
4166 * BoundField.cs: ues the ViewState.Get* pattern with default
4167 instead of the explicit ViewState lookup + null check, and fix the
4168 scope of InitializeDataCell.
4170 * ButtonField.cs: ues the ViewState.Get* pattern with default
4171 instead of the explicit ViewState lookup + null check.
4173 * CommandField.cs: same.
4175 * CheckBox.cs: same.
4177 * AutoGeneratedFieldProperties.cs: same.
4179 * BaseDataList.cs: same.
4181 * CircleHotSpot.cs: same.
4183 * BulletedList.cs: same.
4185 * DataBoundControl.cs: same.
4187 * CookieParameter.cs: same.
4189 * ControlParameter.cs: same.
4191 * CustomValidator.cs: same.
4193 * ButtonFieldBase.cs: same.
4195 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
4197 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
4199 * BaseValidator.cs: same, and clean up the getter/setter formatting.
4201 * CompareValidator.cs: same.
4203 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4205 * ListControl.cs: fixed DataSource property, to throw
4206 ArgumentException on incorrect value
4208 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4210 * Image.cs: fixed missing border="0" attribute, when image has style,
4211 but border width is not specified.
4213 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4215 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
4216 correct the "disabled" attribute in CheckBoxList
4217 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
4218 attribute in CheckBoxList
4220 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4222 * CheckBox.cs: fixed Render function, removed rendering of empty
4223 <span> element if ControlStyleCreated but it's empty.
4224 fixed "disabled" attribute, it should be placed into span element
4226 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4228 * BoundColumn.cs: fixed InitializeCell function, if DataField is
4229 null or empty string, the cell should not be bound.
4231 2006-02-08 Chris Toshok <toshok@ximian.com>
4233 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
4234 AppendDataBoundItems != false. Also, split all the databinding
4235 logic out to DoDataBinding, which we call from here only if
4237 (DoDataBinding): new function. actually perform the binding.
4238 (PerformDataBinding): implement.
4239 (PerformSelect): chain up to base class.
4241 2006-02-07 Chris Toshok <toshok@ximian.com>
4243 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
4245 * Content.cs: use ContentControlBuilderInternal, and add a bunch
4246 of unused (for now) EventHandler's here.
4248 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
4251 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4253 * ListControl.cs: bound checking for Items when loading the control
4254 state, as the number might have been changed on the fly. Patch by
4257 2006-01-22 Chris Toshok <toshok@ximian.com>
4259 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
4261 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
4262 the intended comparison right and quiet mcs.
4264 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4266 * Button.cs: Add semicolon after client script if does not exist.
4268 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4270 * Button.cs: preserve user logic when adding client validation.
4272 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4274 * BaseValidator.cs: fixing visibility bahavior
4276 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4278 * RangeValidator.cs: allow empty data from the control. Patch from Marek
4279 Habersack that fixes bug #77239.
4281 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4283 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
4284 by Cyrille Colin. Closes bug #77184.
4286 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
4288 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
4289 compilation pass with csc 1.1.
4291 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4293 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
4295 2005-12-07 Chris Toshok <toshok@ximian.com>
4297 * BaseValidator.cs: in the uplevel rendering case, don't render
4298 the text if the validator's Display attribute is "None". Should
4301 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4303 * RadioButton.cs: if the 'value' attribute is set explicitly (as
4304 RadioButtonList does now), use that as the 'name' attribute.
4305 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
4310 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4312 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
4313 the 'name' attribute when not aligninng to the right.
4314 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
4315 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
4317 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4319 * DataGrid.cs: clear the control collection on every call to
4320 CreateControlHierarchy. Fixes bug #76732.
4322 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4324 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
4326 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4328 * CheckBox.cs: use the NameAttribute property for setting 'name'.
4329 * RadioButton.cs: get a UniqueID based identifier for 'name'.
4332 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4334 * LinkButton.cs: don't output any javascript when the linkbutton is
4335 disabled. Fixes bug #76713.
4337 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4339 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
4340 UseAccesibleHeader property is true. Patch by Robert Jordan.
4342 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4344 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
4345 control to validate. Fixes bug #76641.
4347 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4349 * BoundColumn.cs: when the column is readonly and we're in edit mode,
4350 keep it as a TextBox. Fixes bug #76714.
4352 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4354 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
4355 enabled. Fixes bug #76608.
4357 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4359 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
4360 the logic to Render and make it render the ID, which fixes bug #76596.
4362 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4364 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
4366 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4368 * Literal.cs: allow LiteralControl as child, but instead of adding it
4369 to the control collection, it just gets the Text out of it.
4371 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4373 * PagedDataSource.cs: fix range when we're at the last page.
4374 * DataGrid.cs: only need to keep the item count in the viewstate.
4377 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4379 * ListControl.cs: made GetSelectedIndices() internal.
4380 * ListBox.cs: html-encode the item text. Fixed single and multiple
4381 selection handling. All the tests pass now. Closes bug #76478.
4383 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4385 * ListControl.cs: throw when the selected value is not in the
4386 items collection. Fixes bug #76415.
4388 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4390 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
4391 throw a nullref, so we have to do it by ourselves here to make
4394 * BaseValidator.cs: render the text of the error message even if
4395 we set IsValid programatically. Don't use 'valid' directly, as
4400 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4402 * CustomValidator.cs: an empty ControlToValidate is valid.
4404 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
4406 * RequiredFieldValidator.cs: Added missing permissions.
4408 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4410 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
4411 Now the items get the attributes from the styles in datalist. Add the
4412 separators after each item, not before. GetItemStyle returns the actual
4413 item style, not the styles in the datalist. Fixes bug #76384 and all
4416 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4418 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
4421 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4423 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
4426 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
4428 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
4429 inheritance demands.
4430 * FontUnit.cs: Structs are sealed so there's no need for inheritance
4432 * Unit.cs: Structs are sealed so there's no need for inheritance
4435 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4437 * PagedDataSource.cs: fix the upper bound for collection and ilist
4440 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4442 * DataGrid.cs: change the ListItemType for the item selected, set
4443 SelectedIndex before calling OnSelectedIndexChanged and set the selected
4444 item type correctly when creating the columns. Fixes bug #76334.
4447 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
4448 selecting the row, the button keep the regular link color.
4450 * DataGridColumn.cs: made the class internal.
4452 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4454 * DataGrid.cs: fix breakaga of alternating item style in one of my
4457 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4459 * Calendar.cs: remove Console.
4460 * ListBox.cs: the name is the UniqueID, not the ClientID.
4461 * WebControl.cs: Attributes is case insensitive.
4463 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4465 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
4466 UniqueID without appending a ".x" or ".y". Fixes several issues in
4467 mojoPortal. Thanks to Joe Audetter for his patience.
4469 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4471 * ButtonColumn.cs: it was lacking databinding, so copied most of it
4474 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4476 * FontInfo.cs: removed useless ctor.
4477 * Style.cs: keep here some commented out debugging code.
4478 * DataGrid.cs: the Items property does not create a new arraylist if
4479 the items_list was already initialized. Add case for Separator.
4480 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
4481 in the header columns has a special ForeColor handling.
4483 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4485 * DataGrid.cs: PageCount must persist in ViewState too and returns the
4486 number of pages in the paged data source once we set that. Fix checks
4487 for visibility of the pager: no more 2 pagers when custom paging is
4490 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4492 * ImageButton.cs: fix a bug reported on the list. We were triggering the
4493 command event on every POST. And the 'name' attribute was not being
4494 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
4495 and we couldn't find the values.
4497 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4499 * DataGrid.cs: fix the links for the numeric pager.
4501 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4503 * DataGrid.cs: when paging is enable, the actual number of items is not
4504 the number of items rendered before the postback, but that number times
4505 the number of pages. Now we store the page count in the viewstate. Also,
4506 as the number might be big, don't allocate an array of objects to fake
4507 the collection for the PagedDataSource, but use the new NCollection
4508 class instead, which provides cheap (memory wise) enumerator for an
4509 arbitrary number of items. Thanks to "Adriano" for the test case.
4511 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4513 * Xml.cs: the show must go on. Removed a few NotImplemented.
4515 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4517 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
4518 existing code in 1.1 (or viceversa). RenderContents() does nothing.
4520 * DataGrid.cs: changed autoid api.
4522 * EditCommandColumn.cs: only 'Update' causes validation.
4524 * TableCell.cs: changed autoid api. RenderContents checks the number
4525 of controls to decide what to do, not the value of Text in the
4528 * TableRow.cs: changed autoid api.
4530 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
4531 event. When we get an EditItem, we need a TextBox to be created and
4532 this one will be the one that gets the event. Changed
4533 ItemDataBinding to deal with a TextBox too.
4535 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4537 * PagedDataSource.cs: fix IsLastPage. All tests pass.
4538 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
4539 need to keep the old one in a field. Now all tests pass here too.
4541 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4543 * PagedDataSource.cs: don't use the properties when they just return a
4544 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
4545 before ICollection (otherwise, an IList will always fall under the
4546 ICollection case). The enumerator for lists will be empty if 'start'
4547 is beyond the list size. All existing tests pass, but one in
4548 DataGridTest that fails because of some problem with the paging.
4550 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4552 * Style.cs: fix the 2.0 build.
4554 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4556 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
4557 instead write the style attributes directly to the HtmlTextWriter.
4559 * CheckBox.cs: adapted to new API.
4561 * DataGrid.cs: handle null data sources. Fixed the contions that make
4562 the table to be added to the Controls collection.
4564 * Calendar.cs: the table needed an ID and the attributes from the
4565 parent. Also don't create the ControlStyleCollection if it has not
4566 already been created.
4568 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4570 * DataGrid.cs: handle null data sources. Fixed the contions that make
4571 the table to be added to the Controls collection.
4573 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4575 * Calendar.cs: TrackViewState should be called upon creation, not on
4576 every get_XXX call. Cleanup.
4578 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4580 * DataGrid.cs: fix another test. The ID of the table generated by the
4581 datagrid is set to the one on the datagrid if no one set the ID for the
4584 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4586 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
4589 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4591 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
4592 converted to string as X{1,2}-.*. All FontUnitTests pass now.
4593 * Unit.cs: throw a format exception when there's not number or minus
4594 sign in the first non-whitespace character.
4596 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4598 * ListControl.cs: SelectedIndex/SelectedValue can be set before
4599 DataBinding () is called on the control, so we have to keep this values
4600 around and use them after the data is read. If both properties are
4601 used, they must refer to the same item.
4603 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4605 * DataList.cs: fill in the data keys from BaseDataList so that the
4606 events can see them. Only assign DataItem when using data binding and
4607 nullify it after all events are raised.
4609 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4611 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
4614 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4616 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
4618 * DataGrid.cs: Fix TagKey (table) for 2.0.
4619 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
4620 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
4622 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
4624 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
4625 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
4627 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
4629 * TreeView.cs: Added declarative security (Link and Inheritance
4630 demands) for Minimal.
4631 * XmlDataSource.cs: Added declarative security (Link and Inheritance
4632 demands) for Minimal.
4634 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4636 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
4637 Inheritance demands) for Minimal.
4638 * Label.cs: Added declarative security (Link and Inheritance demands)
4640 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
4641 * ListItemCollection.cs: Added declarative security (LinkDemands) for
4643 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
4644 2.0, Inheritance demands) for Minimal.
4645 * PagedDataSource.cs: Added declarative security (LinkDemands) for
4647 * Panel.cs: Added declarative security (Link and Inheritance demands)
4649 * Repeater.cs: Added declarative security (Link and Inheritance
4650 demands) for Minimal.
4651 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
4652 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
4654 * TargetConverter.cs: Added declarative security (Link and Inheritance
4655 demands) for Minimal.
4656 * Unit.cs: Added, but only for 1.x, declarative security (Link and
4657 Inheritance demands) for Minimal.
4658 * ValidatedControlConverter.cs: Added declarative security (Link and
4659 Inheritance demands) for Minimal.
4660 * WebColorConverter.cs: Added declarative security (Link and
4661 Inheritance demands) for Minimal.
4662 * Xml.cs: Added declarative security (Link and Inheritance demands)
4664 * ValidationSummary.cs: Added declarative security (Link and
4665 Inheritance demands) for Minimal.
4667 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4669 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
4671 2005-09-22 Ben Maurer <bmaurer@ximian.com>
4673 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
4674 it took O(height) time, not O(1).
4676 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4678 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
4680 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4682 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
4683 2.0, Inheritance demands) for Minimal.
4684 * BaseCompareValidator.cs: Added declarative security (Link and
4685 Inheritance demands) for Minimal.
4686 * BaseDataBoundControl.cs: Added declarative security (Link and
4687 Inheritance demands) for Minimal.
4688 * BaseValidator.cs: Added declarative security (Link and Inheritance
4689 demands) for Minimal.
4690 * BoundColumn.cs: Added declarative security (Link and Inheritance
4691 demands) for Minimal.
4692 * ButtonColumn.cs: Added declarative security (Link and Inheritance
4693 demands) for Minimal.
4694 * CalendarDay.cs: Added declarative security (Link and Inheritance
4695 demands) for Minimal.
4696 * CheckBoxList.cs: Added declarative security (Link and Inheritance
4697 demands) for Minimal.
4698 * CompareValidator.cs: Added declarative security (Link and
4699 Inheritance demands) for Minimal.
4700 * CustomValidator.cs: Added declarative security (Link and Inheritance
4701 demands) for Minimal.
4702 * DataBoundControl.cs: Added declarative security (Link and
4703 Inheritance demands) for Minimal.
4704 * DataGridItemCollection.cs: Added declarative security (Link and
4705 Inheritance demands) for Minimal.
4706 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
4708 * DataListItemCollection.cs: Added declarative security (LinkDemands)
4710 * DataListItem.cs: Added declarative security (Link and Inheritance
4711 demands) for Minimal.
4712 * FontNamesConverter.cs: Added declarative security (Link and
4713 Inheritance demands) for Minimal.
4714 * HyperLink.cs: Added declarative security (Link and Inheritance
4715 demands) for Minimal.
4716 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
4717 demands) for Minimal.
4718 * Image.cs: Added declarative security (Link and Inheritance demands)
4721 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4723 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
4725 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
4726 a data source, first try reflection, then componentmodel. If we get
4727 an enumerator, keep it around, as MS only calls GetEnumerator once.
4728 Throw an exception if no columns can be created from the given data
4729 source. Tested with DbDataRecord, DataTable, ArrayList and
4730 ICustomTypeDescriptor.
4732 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
4734 * AccessDataSource.cs: Added declarative security (Link and Inheritance
4735 demands) for Minimal. Added [ToolboxBitmap] on class.
4736 * AdRotator.cs: Added declarative security (Link and Inheritance
4737 demands) for Minimal. Removed extra Page and ViewState properties.
4738 * BulletedList.cs: Added declarative security (Link and Inheritance
4739 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4740 * Button.cs: Added declarative security (Link and Inheritance demands)
4741 for Minimal. Added [SupportsEventValidation] on class (2.0).
4742 * Calendar.cs: Added declarative security (Link and Inheritance
4743 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4744 * CheckBox.cs: Added declarative security (Link and Inheritance
4745 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4746 * CompositeControl.cs: Added declarative security (Link and Inheritance
4747 demands) for Minimal. Added new protected RecreateChildControls method.
4748 * DataControlCommands.cs: Added declarative security (LinkDemands) for
4749 Minimal. Added private ctor.
4750 * DataGrid.cs: Added declarative security (Link and Inheritance
4751 demands) for Minimal. Fixed properties for 2.0 (mostly removing
4752 [Bindable]). Added override for TagKey property.
4753 * DataGridColumn.cs: Added declarative security (Link and Inheritance
4754 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
4755 * DataGridItem.cs: Added declarative security (Link and Inheritance
4756 demands) for Minimal. Added IDataItemContainer interface for 2.0.
4757 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
4758 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
4759 * DataList.cs: Removed [Load|Save]ControlState methods.
4760 * DropDownList.cs: Added declarative security (Link and Inheritance
4761 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4762 * EditCommandColumn.cs: Added declarative security (Link and
4763 Inheritance demands) for Minimal. Added missing attributes,
4764 [DefaultValue] and [Localize] for 2.0.
4765 * FontInfo.cs: Added declarative security (Link and Inheritance
4766 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
4768 * Login.cs: Added declarative security (Link and Inheritance demands)
4769 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
4770 * ImageButton.cs: Added declarative security (Link and Inheritance
4771 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4772 * LinkButton.cs: Added declarative security (Link and Inheritance
4773 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4774 * ListBox.cs: Added declarative security (Link and Inheritance demands)
4775 for Minimal. Added [SupportsEventValidation] on class (2.0).
4776 * Literal.cs: Added declarative security (Link and Inheritance demands)
4777 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
4778 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
4779 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
4780 but will be shown as extra).
4781 * RadioButton.cs: Added declarative security (Link and Inheritance
4782 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4783 * RadioButtonList.cs: Added declarative security (Link and Inheritance
4784 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4785 * RangeValidator.cs: Added declarative security (Link and Inheritance
4786 demands) for Minimal. Added missing [Themeable] attributes.
4787 * RegularExpressionValidator.cs: Added declarative security (Link and
4788 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
4790 * RoleGroupCollection.cs: Added declarative security (Link and
4791 Inheritance demands) for Minimal. Fixed base class (changed in RC).
4792 Re-implemented CopyTo. Removed some methods.
4793 * Style.cs: Added declarative security (Link and Inheritance demands)
4794 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
4795 is now public in 2.0.
4796 * Table.cs: Added declarative security (Link and Inheritance demands)
4797 for Minimal. Added [SupportsEventValidation] on class (2.0).
4798 * TableCell.cs: Fixed PersistenceMode for 2.0.
4799 * TextBox.cs: Added declarative security (Link and Inheritance demands)
4800 for Minimal. Added [SupportsEventValidation] on class (2.0).
4801 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
4802 but will be shown as extra).
4803 * WebControl.cs: Added declarative security (Link and Inheritance
4804 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
4807 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4809 * TableStyle.cs: fixed typo that prevented restoring GridLines from
4812 * DataGrid.cs: the table does not get an auto ID. When restoring from
4813 viewstate, use all the saved columns, not just that data bound ones. Set
4814 the owner of the BoundColumns created. Save/restore columns.
4815 OnItemCreated happens after the item is initialized and the data item is
4816 set before the event and nullified after OnItemDataBound.
4817 Add the render_table to the Controls immediately, otherwise we might get
4818 errors from child controls such as "must be rendered inside a form".
4819 Keep the items created in the list waiting for them.
4820 The table uses the attributes from the DataGrid and ControlStyle.
4821 Raise OnItemCommand on all bubble events and don't propagate bubble
4822 event up in the hierarchy
4824 * TableCell.cs: it does not get an automatic ID.
4825 * BoundColumn.cs: FormatDataValue returns an empty string on null input
4826 (there was already a test for this).
4830 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4832 * DataGridColumnCollection.cs: track the view state in the newly added
4835 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4837 * DataGrid.cs: merge column styles too. Fixes bug #76106.
4838 * DataGridColumn.cs: new internal method to retrieve the styles without
4839 creating an instance for them.
4841 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
4843 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
4844 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
4845 StateBag.SetDirty (true).
4847 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
4849 * Menu.cs: Fixed parameter orders for CreateStyleRule.
4851 2005-09-13 Chris Toshok <toshok@ximian.com>
4853 * Style.cs: corcompare stuff.
4855 * RequiredFieldValidator.cs: more corcompare stuff.
4857 * CheckBoxList.cs: clean up some of the interface methods vs
4858 protected virtual 2.0 calls.
4860 * SubMenuStyle.cs: corcompare says this should implement
4861 ICustomTypeDescriptor... sooo, make it.
4863 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4865 * TableCell.cs: do the same as HyperLink and others in
4866 AddParsedSubobject so that adding a literal control does not remove the
4867 existing controls if any. Fixes bug #76078.
4869 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4871 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
4873 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4875 * ImageButton.cs: fix invalid cast exception.
4877 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4879 * ListItem.cs: throw in AddParsedSubObject if the object is not a
4881 * RadioButtonList.cs: implemented LoadPostData and
4882 RaisePostDataChangedEvent.
4884 2005-09-09 Chris Toshok <toshok@ximian.com>
4886 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
4887 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
4888 LoadPostData/RaisePostDataChangedEvent.
4890 2005-09-09 Chris Toshok <toshok@ximian.com>
4892 * FontInfo.cs (IsEmpty): new internal property, used by
4895 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
4898 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4900 * ListItemCollection.cs: remove obsoleted methods.
4901 * ListBox.cs: use IStateManager on the item collection.
4903 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
4905 * Use C# 1.0 style of delegate instantiating. Needed to compile
4906 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
4908 2005-09-07 Chris Toshok <toshok@ximian.com>
4910 * Calendar.cs (WriteDay): always add BackColor=Silver,
4911 ForeColor=White to selected day cells, before copying over the
4912 selectedDayStyle, if it exists.
4913 (WriteDays): fix nunit test - if the first day of the month falls
4914 on the first day of the week, go back one week (effectively adding
4915 a row of dates from the previous month.)
4916 (WriteTitle): don't copy the control style to the tableTitle,
4917 since it might have height specifications, which would make the
4918 title look rather off.
4920 2005-09-07 Chris Toshok <toshok@ximian.com>
4922 * ValidationSummary.cs (AddAttributesToRender): we only set
4923 display=none if there are no errors.
4925 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
4926 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
4928 2005-09-07 Chris Toshok <toshok@ximian.com>
4930 * ListControl.cs (SelectedIndex): add comment about how you'd
4931 think OnSelectedIndexChanged would be called.. and you'd be wrong.
4932 (Text): implement in terms of SelectedValue.
4933 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
4934 (LoadControlState): implement - this is where the selected index
4935 ArrayList gets stuffed in 2.0.
4936 (OnInit): call Page.RegisterRequiresControlState.
4937 (OnTextChanged): implement.
4938 (RenderContents): for now just chain up to base.RenderContents.
4939 (SaveControlState): save our control state properly.
4940 (GetSelectedIndices): split this out from SaveViewState to it can
4941 be used by both that and SaveControlState.
4942 (SaveViewState): mangle this function so it works in both 2.0 and
4944 (LoadViewState): same.
4946 2005-09-06 Chris Toshok <toshok@ximian.com>
4948 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
4949 we weren't assigned an ID.
4951 * ValidationSummary.cs (AddAttributesToRender): same.
4953 2005-09-06 Chris Toshok <toshok@ximian.com>
4955 * WebControl.cs: revert the last change.
4957 2005-09-06 Chris Toshok <toshok@ximian.com>
4959 * WebControl.cs (AddAttributesToRender): always render ClientID.
4961 * ValidationSummary.cs (Render): same.
4963 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
4966 2005-09-06 Chris Toshok <toshok@ximian.com>
4968 * ValidationSummary.cs (Render): only do the JS stuff when the
4969 validators on the page are uplevel.
4971 * BaseValidator.cs (Render): remove unnecessary comment.
4973 2005-09-05 Chris Toshok <toshok@ximian.com>
4975 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
4976 stored in the ViewState.
4978 2005-09-02 Chris Toshok <toshok@ximian.com>
4980 * Repeater.cs (GetData): change this slightly so the Repeater
4981 doesn't keep a ref to the return value of GetData.
4983 2005-09-01 Chris Toshok <toshok@ximian.com>
4985 * ListControl.cs (AppendDataBoundItems): implement (2.0)
4988 2005-09-01 Chris Toshok <toshok@ximian.com>
4990 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
4991 System.Web.UI.WebControls/ValidatedControlConverter.cs,
4992 System.Web.UI.WebControls/Xml.cs,
4993 System.Web.UI.WebControls/RegularExpressionValidator.cs,
4994 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
4995 System.Web.UI.WebControls/Menu.cs,
4996 System.Web.UI.WebControls/MailMessageEventArgs.cs,
4997 System.Web.UI.WebControls/MenuItemStyle.cs,
4998 System.Web.UI.WebControls/RangeValidator.cs,
4999 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
5000 System.Web.UI.WebControls/MenuItem.cs,
5001 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
5002 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
5003 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
5004 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
5005 System.Web.UI.WebControls/XmlBuilder.cs,
5006 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
5009 2005-09-01 Chris Toshok <toshok@ximian.com>
5011 * System.Web.UI.WebControls/Button.cs,
5012 System.Web.UI.WebControls/ButtonField.cs,
5013 System.Web.UI.WebControls/DataControlField.cs,
5014 System.Web.UI.WebControls/BaseCompareValidator.cs,
5015 System.Web.UI.WebControls/AutoGeneratedField.cs,
5016 System.Web.UI.WebControls/CustomValidator.cs,
5017 System.Web.UI.WebControls/Content.cs,
5018 System.Web.UI.WebControls/BoundField.cs,
5019 System.Web.UI.WebControls/AdRotator.cs,
5020 System.Web.UI.WebControls/ButtonColumn.cs,
5021 System.Web.UI.WebControls/CompareValidator.cs,
5022 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
5023 work. Stub things out, and add attributes.
5025 2005-09-01 Chris Toshok <toshok@ximian.com>
5027 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
5028 CommandField.cs, HyperLinkColumn.cs, Table.cs,
5029 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
5030 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
5031 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
5032 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
5033 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
5034 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
5035 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
5036 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
5037 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
5038 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
5039 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
5040 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
5041 TableItemStyle.cs: Add some WebCategory and WebSysDescription
5044 2005-09-01 Chris Toshok <toshok@ximian.com>
5046 * AccessDataSource.cs: corcompare work.
5048 * SqlDataSource.cs: same.
5050 2005-09-01 Miguel de Icaza <miguel@novell.com>
5052 * Various places: make sure that the DefaultValue matches the
5053 type. Thanks to Michael for pointing this out.
5055 In future audits, you might want to use the following awk command:
5057 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
5058 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
5059 print $0; looking = 0; } /public/ && looking { looking = 0; } '
5062 The above skips bools, strings and ints as those were fine as we
5063 set them. The bug was on the other ones.
5065 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5067 * Repeater.cs: fix the build.
5069 2005-08-31 Chris Toshok <toshok@ximian.com>
5071 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
5072 {Base}DataList, and also from debug spew garnered from some
5073 Repeater subclass tests on MS.
5074 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
5075 the IEnumerable by calling GetData().
5076 (DataBind): reset RequiresDataBinding to false (2.0).
5077 (DataMember): copy the set implementation from DataList, and add
5078 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
5079 (DataSource): more c&p.
5080 (DataSourceID); implement (2.0)
5081 (Initialized): implement (2.0)
5082 (IsBoundUsingDataSource): implement (2.0)
5083 (RequiresDataBinding): implement (2.0)
5084 (SelectArguments): implement (2.0)
5085 (CreateDataSourceSelectArguments): implement (2.0)
5086 (EnsureDataBound): implement (2.0)
5087 (GetData): implement.
5088 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
5090 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
5091 leave the MonoTODO. (2.0)
5092 (OnInit): call base.OnInit instead of throwing NIE, but leave the
5094 (OnLoad): implement.
5095 (OnPreRender): implement.
5096 (ConnectToDataSource): new method - look for the right control.
5098 2005-08-31 Chris Toshok <toshok@ximian.com>
5100 * XmlDataSourceView.cs: fix the scope of our select. Don't use
5101 call SelectNodes on the XmlDocument, not on
5102 XmlDocument.DocumentElement.
5104 2005-08-31 Chris Toshok <toshok@ximian.com>
5106 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
5107 (DoXPathSelect): put the xpath selection stuff here.
5108 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
5111 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
5112 select here, the view does it.
5114 2005-08-31 Jackson Harper <jackson@ximian.com>
5116 * DataList.cs: Remove some debugging code that was starting to bug
5119 2005-08-31 Chris Toshok <toshok@ximian.com>
5121 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
5122 create our Navigator by calling node.CreateNavigator().
5124 2005-08-31 Chris Toshok <toshok@ximian.com>
5126 * XmlDataSource.cs (GetXmlDataDocument): rename this to
5127 GetXmlDocument, and change the return value from XmlDataDocument
5129 (LoadXmlDataDocument): similar change.
5130 (Save): xmlDataDocument -> xmlDocument.
5131 (CanBeSaved): there's no ReadOnly attribute.
5132 (LoadViewState, SaveViewState, TrackViewState): nuke.
5133 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
5134 (CacheDuration): stub out with NIE.
5135 (CacheExpirationPolocy): same.
5136 (CacheKeyDependency): same.
5137 (EnableCaching): same.
5139 (Data, DataFile): xmlDataDocument -> xmlDocument.
5140 (Schema, SchemaFile): nuke.
5141 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
5143 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
5145 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
5146 Don't use the obsolete IsSet method.
5147 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
5148 * CheckBox.cs: Implement some 2.0 methods.
5149 * GridView.cs: Removed some "throw new NotImplementedException"
5151 2005-08-29 Chris Toshok <toshok@ximian.com>
5153 * TreeView.cs: Use the StateBag accessors Ben added, and implement
5154 SkipLinkText and Visible.
5156 2005-08-29 Chris Toshok <toshok@ximian.com>
5158 * TreeView.cs: fix typo in an attribute.
5160 2005-08-29 Jackson Harper <jackson@ximian.com>
5162 * PagedDataSource.cs: If it's not a list or collection we don't
5163 use a bounded enumerator.
5165 2005-08-29 Chris Toshok <toshok@ximian.com>
5167 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
5169 * CheckBox.cs: same.
5171 * BaseValidator.cs: same.
5173 * DropDownList.cs: same.
5175 * ValidationSummary.cs: same.
5177 2005-08-28 Chris Toshok <toshok@ximian.com>
5179 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
5181 2005-08-26 Chris Toshok <toshok@ximian.com>
5183 * TextBox.cs: implement ValidationGroup and CausesValidation
5186 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
5188 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
5191 2005-08-26 Chris Toshok <toshok@ximian.com>
5193 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
5195 * FontUnit.cs: add two 2.0 ctors, and the 2.0
5196 ToString(IFormatProvider) method.
5198 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
5200 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
5201 no items are present in the list.
5202 * RoleGroup.cs: Added missing attributes.
5203 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
5204 documented) methods.
5205 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
5206 must be done in the HtmlTextWriter (not in the TableStyle).
5208 2005-08-26 Chris Toshok <toshok@ximian.com>
5210 * Calendar.cs (UseAccessibleHeader): implement.
5211 (RaisePostBackEvent): some #ifdef ugliness to get this all working
5212 propertly between 1.x and 2.0
5213 (WriteDayHeader): if UseAccessibleHeader == true, render header
5214 cells as th's, not td's, and add abbr and scope attributes.
5216 2005-08-25 Chris Toshok <toshok@ximian.com>
5218 * Calendar.cs (Caption, CaptionAlign): implement these properties.
5219 (Render): if we have a non-empty caption, show it.
5220 (WriteCaption): new method, output the caption.
5222 2005-08-25 Chris Toshok <toshok@ximian.com>
5224 * Calendar.cs (Render): Copy the entire style from the Calendar to
5225 the Table, not just the font.
5226 (WriteDay): don't just write the link/text/etc. Create a
5227 LiteralControl as a child of the cell, before the call to
5228 OnDayRender, with its text set to the day number. After
5229 OnDayRender, set the literal's text to either the number again (if
5230 it's not selectable) or the full text of the js __doPostBack
5231 hyperlink (if it is.) Also, use cell.RenderControl here so we can
5232 render child controls with the id's listed properly (and arguably
5234 (ApplyTitleStyleCell): remove.
5235 (WriteTitle): apply the titleStyle to the enclosing table, not the
5236 table cell containing the month name. Also, copy from the
5237 Calendar's ControlStyle to populate tableTitle's style initially.
5238 We end up with more (superfluous) style attributes than MS, but
5239 it's better than having less.
5241 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5243 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
5246 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5248 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
5249 and RegisteredCssClass property
5251 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5253 * LoginView.cs: Fixed attributes.
5254 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
5255 an exception to allow pages to work on 2.x.
5257 2005-08-25 Chris Toshok <toshok@ximian.com>
5259 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
5261 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
5264 * HiddenField.cs: stub out this class and label everything
5267 2005-08-25 Jackson Harper <jackson@ximian.com>
5269 * DataGrid.cs: Disable the pager row if there no paging enabled
5272 2005-08-25 Chris Toshok <toshok@ximian.com>
5274 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
5277 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
5278 add a using statement.
5280 2005-08-25 Chris Toshok <toshok@ximian.com>
5282 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
5285 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
5288 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5290 * Login.cs: Added rendering and fixed parts of the authentication.
5291 Now using IStateManager to allow compilation in another assembly (e.g.
5292 to test the control under IIS). Needs more tests (error conditions)
5293 once we get a "real" Membership provider running.
5294 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
5297 2005-08-25 Chris Toshok <toshok@ximian.com>
5299 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
5301 2005-08-25 Chris Toshok <toshok@ximian.com>
5303 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
5304 calling base.Foo to get the standalone adrotator (1.0) tests to
5305 run without throwing exceptions.
5307 2005-08-25 Chris Toshok <toshok@ximian.com>
5309 * ValidationSummary.cs (ValidationGroup): implement.
5310 (Render): use Page.GetValidators in .net 2.0, so we can support
5311 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
5314 2005-08-25 Chris Toshok <toshok@ximian.com>
5316 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
5317 2.0 attribute modifiers, and revert back to "override".
5319 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
5320 2.0 attribute modifiers, and revert back to "override".
5321 (BorderStyle): same.
5322 (BorderWidth): same.
5324 * TextBox.cs (SaveViewState): implement naively, calling
5326 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
5327 modifiers, and revert back to "override".
5329 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5331 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
5332 Load ViewState for derived classes; no public LoadViewState override
5333 exists in those classes
5334 * Style.cs: Added 2.0 IsStyleEmpty method
5336 2005-08-25 Jackson Harper <jackson@ximian.com>
5338 * DataGrid.cs: The number of pages set in the pager is specified
5341 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5343 * LoginView.cs: New (2.0). Work in progress.
5345 2005-08-24 Chris Toshok <toshok@ximian.com>
5347 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
5348 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
5349 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
5350 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
5351 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
5352 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
5353 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
5354 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
5355 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
5356 Add MonoTODO's for all things that throw NotImplementException.
5358 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
5360 * RoleGroup.cs: New (2.0). Complete implementation.
5361 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
5363 2005-08-23 Chris Toshok <toshok@ximian.com>
5365 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
5366 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
5367 even though they were written for the 1.0 stuff.
5369 2005-08-23 Chris Toshok <toshok@ximian.com>
5371 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
5372 output. Our tests now pass on both mono and ms, with both 1.x and
5375 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
5377 * Login.cs: Throw exception if the specified provider doesn't exists.
5378 * LoginStatus.cs: Complete events.
5380 2005-08-22 Jackson Harper <jackson@ximian.com>
5382 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
5384 (InitializeNumericPager): Now that the pager actually renders
5385 properly I can see that I was computing it incorrectly.
5387 2005-08-22 Jackson Harper <jackson@ximian.com>
5389 * DataGrid.cs (RenderTable): Make sure the new table gets the
5391 (CreateColumnSet): Clear the data source columnbs before adding
5392 new ones regardless of whether or not a property descriptor was
5394 (InitializePager): pager_cell needs to be a member so it isn't
5395 created more then once per a render.
5396 (InitializeNumericPager): Compute start and end more
5398 - Link commands are 1 indexed.
5399 (CreateControlHierarchy): Clear the table before we begin
5401 - Revert patch that made adding the pagers conditional. This is
5402 incorrect, the pagers are always added. Only their visibility is
5403 affected by the pager style.
5404 - Save the entire count in the viewstate, not just the rendered
5405 count. So when paging is enabled the pager's count isn't broken by
5408 2005-08-22 Chris Toshok <toshok@ximian.com>
5410 * LinkButton.cs (ValidationGroup): implement.
5411 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
5412 pass ValidationGroup to Page.Validate.
5414 2005-08-22 Chris Toshok <toshok@ximian.com>
5416 * ImageButton.cs (ValidationGroup): implement.
5417 (IPostBackEventHandler.RaisePostBackEvent): if we cause
5418 validation, call Page.Validate properly (in both profiles).
5420 2005-08-22 Chris Toshok <toshok@ximian.com>
5422 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
5423 case, pass ValidationGroup to Page.Validate.
5424 (ValidationGroup): implement using ViewState.
5426 2005-08-22 Chris Toshok <toshok@ximian.com>
5428 * BaseValidator.cs (Text): 2.0 only. implement naively, just
5430 (OnInit): add 2.0 support for validation groups.
5433 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
5435 * LoginName.cs: New (2.0) web control.
5436 * LoginStatus.cs: New (2.0) web control.
5438 2005-08-19 Chris Toshok <toshok@ximian.com>
5440 * LinkButton.cs (ValidationGroup): implement getter/setter.
5441 (RaisePostBackEvent): implement naively, by c&p'ing the old
5442 implementation of IPostBackEventHandler.RaisePostBackEvent, but
5443 making use of the ValidationGroup in the call to Page.Validate.
5447 * Style.cs (LoadViewState): set our style flags for all the things
5448 we have flags for. Seems like the subclass flags should be
5449 handled in overridden LoadViewState methods, but none of the Style
5450 subclasses seem to override this method.
5452 2005-08-19 Chris Toshok <toshok@ximian.com>
5454 * TableStyle.cs (Merge, MergeWith): make these look a bit more
5455 like Copy/CopyFrom, with the styles checks instead of just
5458 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
5461 2005-08-19 Chris Toshok <toshok@ximian.com>
5463 * DataGrid.cs (InitializePager): don't unconditionally set
5464 pager_cell to the numeric pager (especially after setting it
5465 conditionally to the nextprev pager.)
5466 (InitializeNumericPager): the link buttons don't participate in
5468 (InitializeNextPrevPager): same.
5469 (CreateControlHierarchy): create the top/bottom pagers only if the
5470 PagerStyle says too.
5472 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
5474 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
5476 2005-08-18 Chris Toshok <toshok@ximian.com>
5478 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
5479 the start of this method so templates are created properly.
5481 2005-08-18 Dick Porter <dick@ximian.com>
5483 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
5484 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
5485 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
5486 BaseDataList.cs, DataList.cs, BulletedList.cs,
5487 DataBoundControl.cs, Login.cs, GridView.cs,
5488 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
5489 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
5490 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
5491 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
5492 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
5493 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
5494 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
5495 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
5498 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
5500 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
5502 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
5503 empty array of objects just to get the number of items.
5504 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
5505 but we're missing some bits from the class lib to complete all this...
5507 2005-08-17 Jackson Harper <jackson@ximian.com>
5509 * DataGrid.cs: Only create one pager and add it to both the top
5510 and bottom of the grid, this way all the id numbers stay the same
5511 and we save a bunch of cycles.
5513 2005-08-17 Jackson Harper <jackson@ximian.com>
5515 * DataGrid.cs: The top and bottom pagers are always created. Just
5516 the visibility is changed by the PagerStyle::Position.
5518 2005-08-17 Chris Toshok <toshok@ximian.com>
5520 * CompositeControl.cs (RecreateChildControls): implement naively -
5521 just call CreateChildControls. We might need to call
5522 Controls.Clear() as well, but for the time being, this is ok.
5524 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
5526 * BaseDataList.cs: Completed implementation for 2.0.
5528 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5530 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
5531 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
5533 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5535 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
5537 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
5538 Adjusted size and ordering of the ViewState (new element #0 is still
5539 unknown). Properly fixed the TagKey in 2.0.
5540 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
5541 all properties using enums.
5542 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
5543 * TableItemStyle.cs: Fixed attribute rendering to use style to render
5544 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
5546 2005-08-15 Jackson Harper <jackson@ximian.com>
5548 * EditCommandColumn.cs: Use a normal LinkButton.
5550 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5552 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
5553 viewstate (even if assigned to the default value).
5554 * TableRow.cs: Implement TableSection property (2.0). It has no effect
5555 on the rendering of the table row.
5557 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5559 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
5560 and removed [Bindable] attributes for 2.0.
5561 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
5562 attributes (for 2.0).
5563 * DataListCommandEventArgs.cs: Not sealed in 2.0.
5564 * DataListItemEventArgs.cs: Not sealed in 2.0.
5565 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
5566 attributes for URLs.
5567 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
5568 attributes for URLs.
5569 * Table.cs: Fixed [Editor] attribute for 2.0.
5570 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5571 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
5572 AssociatedHeaderCellID and it's [DefaultValue] attribute.
5573 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
5574 and Scope attributes.
5575 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
5576 on TableSection attribute.
5577 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5579 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
5581 * Image.cs: Fixed attributes for 2.0 profile.
5582 * Login.cs: Fixed some attributes and default values.
5583 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
5584 RaisePostBackEvent (TODO) in 2.0 profile.
5585 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
5586 and added AssociateHeaderCellID property (TODO).
5587 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5588 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
5589 page (if the device requires to breaks the table into multiple pages).
5590 This seems to be a "flag" class, the real work will be in Table.
5591 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
5592 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
5593 page (if the device requires to breaks the table into multiple pages).
5594 This seems to be a "flag" class, the real work will be in Table.
5595 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
5596 * TableRow.cs: Remove [Bindable (true)] from properties and add
5597 [Bindable (false)] and [Designer] on class. Added new TableSection
5599 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5600 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
5601 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
5602 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
5603 FillStyleAttributes method (2.0).
5605 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
5607 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
5608 attributes from existing controls.
5609 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
5610 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
5612 2005-08-12 Jackson Harper <jackson@ximian.com>
5614 * TableRow.cs: No AutoID for TableRows.
5616 2005-08-12 Jackson Harper <jackson@ximian.com>
5618 * DataGrid.cs (CreateRenderColumns): If we aren't using data
5619 binding grab the rendercols from the data source columns.
5620 (LoadViewState): Restore the bound columns when reloading the
5622 (InitializeNumericPager): Create elipsised pagers.
5623 (CreateItem): Don't set the item's ID.
5624 (CreateItem): Add the control to the table before it is databound
5625 so that it's value is saved in the viewstate.
5626 (CreateControlHierarchy): Create a fake data source when not using
5627 databinding. Don't add controls to the table as they are added in
5629 (PrepareControlHierarchy): Make footers and header non visible if
5630 they aren't enabled.
5632 2005-08-12 Chris Toshok <toshok@ximian.com>
5634 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
5635 docs says these methods/properties "ensure the child controls are
5636 created" -- so call EnsureChildControls() before invoking the base
5639 2005-08-12 Jackson Harper <jackson@ximian.com>
5641 * BoundColumn.cs: Set the controls text instead of adding a
5642 literal control. So it is saved in the controls viewstate.
5644 2005-08-11 Jackson Harper <jackson@ximian.com>
5646 * CheckBoxList.cs: Set the tabindex on the checkbox control and
5647 don't render it on the main table (Setting it to zero causes it to
5648 not be rendered). Also use the invariant culture on the id.
5650 2005-08-11 Dick Porter <dick@ximian.com>
5652 * CheckBox.cs: Let ViewState manage removals; apply styles and
5653 "style" attributes in a surrounding <span>. Fixes unit tests.
5655 2005-08-10 Chris Toshok <toshok@ximian.com>
5657 * Label.cs (LoadViewState): set the Text attribute from our
5658 ViewState (if it exists) to clear out any child controls. Fixes
5659 jsunit test label/label-child-control-postback.aspx.
5661 2005-08-10 Jackson Harper <jackson@ximian.com>
5663 * PagedDataSource.cs: Respect paging with all data source types.
5665 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
5667 * BaseDataList.cs: Changed Controls property from "virtual new"
5668 (2.0 doc) to "override" (monop) to fix the Visible bug (see
5669 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
5670 any controls (required due to change to Controls). Implemented
5671 DataBind(bool) for 2.0.
5672 * DataListItem.cs: Fix the multiple table when extractRows is used.
5673 Removed extra span tags by rendering contents (not control). Added
5674 support for IDataItemContainer (2.0).
5676 2005-08-08 Jackson Harper <jackson@ximian.com>
5678 * DataGrid.cs: Apply the styles to each item type.
5680 2005-08-08 Jackson Harper <jackson@ximian.com>
5682 * PagedDataSource.cs: If paging is not enabled keep enumerating to
5683 the end of the list.
5685 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
5687 * BaseDataList.cs: Remove old compatibility stuff.
5688 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
5689 * WebControl.cs: Always call CreateControlStyle to create the
5690 ControlStyle. Fix the exception for datalist-style-edit.aspx.
5692 2005-08-05 Jackson Harper <jackson@ximian.com>
5694 * DataGrid.cs: Don't make the current page index a link in the
5697 2005-08-05 Jackson Harper <jackson@ximian.com>
5699 * DataGrid.cs: Honour PagerPosition.
5701 2005-08-05 Jackson Harper <jackson@ximian.com>
5703 * PagedDataSource.cs: Round PageCount properly.
5705 2005-08-05 Dick Porter <dick@ximian.com>
5707 * CheckBox.cs: Shut corcompare up a bit more. Still need to
5708 figure out how to not use AddAttributesToRender to get it
5711 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
5713 * DataGridColumn.cs: Added the duplicate viewstate manipulation
5716 2005-08-05 Chris Toshok <toshok@ximian.com>
5718 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
5719 null when it comes to the format string.
5720 (FormatDataTextValue): same.
5722 2005-08-04 Chris Toshok <toshok@ximian.com>
5724 * BaseValidator.cs (Validate): only test a validator if it's both
5725 enabled and visible.
5727 2005-08-04 Chris Toshok <toshok@ximian.com>
5729 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
5732 2005-08-04 Jackson Harper <jackson@ximian.com>
5734 * DataGrid.cs: Add a new space control for each link. Also make
5735 the link's text 1 indexed. Don't add the space after the last
5738 2005-08-04 Ben Maurer <bmaurer@ximian.com>
5740 * LinkButton.cs: Fix up the test suite here.
5742 * Panel.cs: Fix up nowrap
5744 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5746 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
5747 * ListControl.cs: Clear item list before adding data (again)
5749 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
5751 * Calendar.cs: fixes issues with OnDayRender event and others
5753 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5755 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
5757 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
5758 if DataTextField is bound
5759 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
5760 two controls in edit mode, lets do the same
5762 2005-08-03 Jackson Harper <jackson@ximian.com>
5764 * BoundColumn.cs: Respek for the thisExpr when data binding.
5766 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5768 * EditCommandColumn.cs: No need to offer edit when in edit mode.
5771 2005-08-04 Dick Porter <dick@ximian.com>
5773 * DataGridColumn.cs: New implementation
5776 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
5778 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5780 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
5783 2005-08-03 Ben Maurer <bmaurer@ximian.com>
5785 * RepeatInfo.cs: Finally figured out how to use base control
5787 2005-08-03 Jackson Harper <jackson@ximian.com>
5789 * ButtonColumn.cs: Partial implementation.
5791 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5793 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
5796 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5798 * Calendar.cs: fixes Save/Load state
5800 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5802 * Calendar.cs: bug fixes
5804 2005-08-03 Jackson Harper <jackson@ximian.com>
5806 * DataGrid.cs: Merge the table style with the render table. Some
5807 initial work on the numeric pager. Remove some debugging code.
5809 2005-08-03 Jackson Harper <jackson@ximian.com>
5811 * BoundColumn.cs: Implement Initialize and InitializeCell. When
5812 Data is formated it uses the DataFormatString that was set at the
5813 time Initialize was called (or null if initialize was never
5816 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5818 * RadioButtonList.cs: bug fixes
5820 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5822 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
5823 AddAttributesToRender
5824 * RadioButtonList.cs: Implementation
5826 2005-08-01 Jackson Harper <jackson@ximian.com>
5828 * TableStyle.cs: Copy style bit when copying from another style.
5830 2005-08-01 Jackson Harper <jackson@ximian.com>
5832 * PagedDataSource.cs: Implement missing properties, use yield for
5833 the Enumerator methods. Only allow the enums to return one page at
5836 2005-08-01 Chris Toshok <toshok@ximian.com>
5838 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
5840 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5842 * WebControl.cs: Track enabled state across sessions
5844 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5846 * ListControl.cs(OnDatabinding): Value is equivalent to text if
5849 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
5851 * ImageButton.cs: fixes, complete missing parts
5853 2005-07-31 Ben Maurer <bmaurer@ximian.com>
5855 * TextBox.cs: Html encode for multiline text boxes
5857 * HyperLink.cs: Resolve images
5859 2005-07-30 Chris Toshok <toshok@ximian.com>
5861 * BaseValidator.cs: initial version of 2.0 properties
5862 ValidationGroup and SetFocusOnError.
5864 2005-07-30 Chris Toshok <toshok@ximian.com>
5866 * HyperLinkColumn.cs (InitializeCell): clean this up.
5868 2005-07-30 Chris Toshok <toshok@ximian.com>
5870 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
5871 DataBinder.FormatResult.
5872 (FormatDataTextValue): same.
5873 (Initialize): call base.Initialize.
5874 (ItemDataBinding): new function, get the text/navigateurl and set
5875 them on our HyperLink control.
5876 (InitializeCell): create a hyperlink control in the
5877 Item/EditItem/AlternatingItem case.
5879 2005-07-30 Ben Maurer <bmaurer@ximian.com>
5881 * RepeatInfo.cs: Handle 0 items situations correctly
5883 * HyperLink.cs: Resolve urls correctly
5885 * CheckBox.cs: use the correct ID for the label element.
5887 * Label.cs: Correct AddParsedSubObject impl. See FAQ
5889 2005-07-29 Chris Toshok <toshok@ximian.com>
5891 * BaseCompareValidator.cs (GetDateElementOrder): implement.
5893 2005-07-29 Chris Toshok <toshok@ximian.com>
5895 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
5896 #if'ed out version follows microsoft's docs on msdn, but doesn't
5897 match ms's behavior. The other matches their behavior but not
5898 their docs. we use the latter. go figure.
5899 (get_CutoffYear): implement using
5900 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
5902 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5905 - Name property now throws exception when set to null
5906 - Names now handles situation where our bit tells us we have
5907 a font, but it's not in the StateBag (null removal)
5908 * RangeValidator.cs: Removed unused vars
5910 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5912 * Label.cs: ClientID should be used rather than UniqueID to get
5915 2005-07-29 Chris Toshok <toshok@ximian.com>
5917 * BaseValidator.cs (Validatate): not sure if this is entirely
5918 correct (some fairly deep testing required), but setting Enabled =
5919 false has the effect of setting IsValid = true.
5921 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5923 * RadioButton.cs: The "remove from groupstate" isn't needed any
5924 more, now that statebag is correct.
5926 2005-07-29 Dick Porter <dick@ximian.com>
5928 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
5929 ViewState when it is null.
5931 * CheckBox.cs: Hide nonstandard API
5933 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
5935 * Calendar.cs: fixes exceptions, bug fixes, new features
5936 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
5937 * CalendarDay.cs: fixes default value
5939 2005-07-28 Ben Maurer <bmaurer@ximian.com>
5941 * CompositeControl.cs: Stub
5943 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5945 * EditCommandColumn.cs: Implemented
5947 2005-07-27 Chris Toshok <toshok@ximian.com>
5949 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
5951 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5953 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
5956 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5958 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
5959 for it's constructor, so remove it
5960 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
5962 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5964 * DataGridPagerStyle.cs: Implemented
5965 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
5966 * Style.cs: Added Styles enum values for DataGridPagerStyle
5968 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
5970 * Calendar.cs: get the styles right, honors more properties, fixes, fix
5973 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5975 * DataGridItem.cs: Implemented
5977 2005-07-26 Chris Toshok <toshok@ximian.com>
5979 * LinkButton.cs (AddParsedSubObject): reversed the order of
5980 Controls.Add() and Text = null
5981 (set_Text): call Controls.Clear()
5982 (RenderContents): use HasControls() for the if test instead of
5985 * HyperLink.cs (AddParsedSubObject): reversed the order of
5986 Controls.Add () and Text = null;
5988 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5990 * DataGridItemCollection.cs: Implemented
5992 2005-07-26 Chris Toshok <toshok@ximian.com>
5994 * LinkButton.cs (AddParsedSubObject): copy implementation from
5996 (RenderContents): only call writer.Write(Text) if Text != "".
5997 Otherwise default to base.RenderContents.
5999 2005-07-26 Chris Toshok <toshok@ximian.com>
6001 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
6002 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
6003 (Page != null) around my last commit.
6005 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
6007 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
6008 Fixed use of literal strings, instead using Consts
6009 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
6010 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
6011 Panel.cs, Literal.cs: Added attributes
6012 * BaseValidator.cs: Added missing override
6014 2005-07-26 Chris Toshok <toshok@ximian.com>
6016 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
6017 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
6018 Page.VerifyRenderingInServerFormHere.
6020 2005-07-26 Chris Toshok <toshok@ximian.com>
6022 * BaseValidator.cs: remove some MonoTODO's about the client side
6025 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
6027 * Calendar.cs: selection of dates, state load, save, track, support
6028 for new properties, many fixes.
6030 2005-07-26 Miguel de Icaza <miguel@novell.com>
6032 * Style.cs: Temporary methods to help buliding .NET 2.x
6034 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6036 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
6038 * Xml.cs: Fixed base class, attributes
6039 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
6040 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
6041 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
6042 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
6043 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
6045 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6047 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
6050 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6052 * RepeatInfo.cs: If the repeater has one column, the separators
6053 are rendered on a different line
6055 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6057 * DataGridSortCommandEventArgs: Sealed class
6058 * ButtonColumn.cs, Calendar.cs: Added Attributes
6060 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6062 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
6063 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
6065 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6067 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
6068 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
6070 2005-07-25 Chris Toshok <toshok@ximian.com>
6072 * ValidationSummary.cs (AddAttributesToRender): add client side
6074 (OnPreRender): set the "been here" flag.
6075 (Render): add client side support.
6077 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6079 * RepeatInfo.cs: Split the horiz and vertical cases, because this
6080 class has rules that are beyond strange. Continue working to make
6083 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6085 * RepeatInfo.cs: Misc fixes for my test suite.
6087 2005-07-25 Jackson Harper <jackson@ximian.com>
6089 * DataGrid.cs: Set the command name and args on the link buttons.
6091 2005-07-25 Jackson Harper <jackson@ximian.com>
6093 * DataGrid.cs: Lots o implementation.
6095 2005-07-25 Jackson Harper <jackson@ximian.com>
6097 * BoundColumn.cs: Partial implementation to get the DataGrid tests
6100 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
6102 * Button.cs: fixes events, adds attributes
6104 2005-07-23 Chris Toshok <toshok@ximian.com>
6106 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
6107 prop.GetValue results.
6108 (Render): fix the static non-uplevel case, so that we display text
6109 when there's an error.
6111 2005-07-22 Chris Toshok <toshok@ximian.com>
6113 * RegularExpressionValidator.cs (AddAttributesToRender): only
6114 output ValidationExpression if it's != null.
6116 2005-07-22 Chris Toshok <toshok@ximian.com>
6118 * BaseValidator.cs (AddAttributesToRender): fix up the Display
6119 rendering such it matches MS's output.
6120 (Render): stop using the huge complicated if's for each output
6121 stage and move to boolean flags, and fix the static-nonuplevel
6122 case, where a validator outputs as nothing but
6124 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
6125 * Calendar.cs: Initial implementation
6126 * CalendarSelectionMode.cs: fix enum order
6128 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
6130 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
6131 (or more?) specific cases - including correct support for separators.
6132 Added some (commented) debugging code.
6133 * HyperLink.cs: Only render href and target attributes if they're not
6134 empty. Add "border=0" when rendering <img> tag. Fix Target default
6137 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
6139 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
6141 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
6143 * Style.cs (CopyFrom): Reset our styles and don't set bits from
6144 target explicitly, properties will set them
6146 2005-07-22 Dick Porter <dick@ximian.com>
6149 * ButtonColumn.cs: Initial stubs
6151 2005-07-22 Dick Porter <dick@ximian.com>
6154 * CheckBox.cs: Add assembly attributes
6156 2005-07-22 Ben Maurer <bmaurer@ximian.com>
6158 * HyperLink.cs: Handle non-literal children.
6160 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6162 * Label.cs: SP1 stuff
6164 2005-07-21 Chris Toshok <toshok@ximian.com>
6166 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
6167 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
6168 stuff WebUIValidation.js uses, so we don't support it for uplevel
6171 2005-07-21 Chris Toshok <toshok@ximian.com>
6173 * BaseValidator.cs (DetermineRenderUplevel): include checks for
6174 the EcmaScriptVersion and W3CDomVersion.
6176 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6178 * BaseDataList.cs: Support IEnumerable.
6179 * DataList.cs: Fix alternate items.
6180 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
6181 controls and the Text property.
6183 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6185 * TextBoxMode.cs: Wrong ordering of enum...
6187 2005-07-21 Chris Toshok <toshok@ximian.com>
6189 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
6192 2005-07-21 Chris Toshok <toshok@ximian.com>
6194 * BaseValidator.cs (get_PropertiesValid): use our containing
6195 NamingContainer, not ourselves, to look up controls.
6196 (CheckControlValidationProperty): same.
6197 (GetControlRenderID): same.
6198 (GetControlValidationValue): same.
6199 (AddAttributesToRender): add the display style attribute if
6200 Display != Static, and add the value of IsValid if it's false.
6201 (DetermineRenderUplevel): use a try block around (Page.Request)
6202 since that can raise an exception.
6203 (OnPreRender): set pre_render_called, so we can consult it in
6205 (Render): complicate this method more to handle more of the
6206 Display/pre_render_called permutations.
6208 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
6210 * CustomValidator.cs: Initial implementation, still work in progress
6212 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6214 * DataList.cs: Fix rendering for special items (-1).
6216 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6218 * RepeatInfo.cs: Fix most of the tests.
6220 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6222 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
6223 Add a border=0 attribute if no style is defined.
6224 * TableCell.cs: Use HtmlTextWriterTag (not a string).
6225 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
6226 * TableRow.cs: Use HtmlTextWriterTag (not a string).
6228 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6230 * BaseDataList.cs: Fix attributes.
6231 * HorizontalAlign.cs: Fix attributes.
6232 * Image.cs: Fix attributes and enums checks.
6233 * Table.cs: Fix attributes an enums checks.
6234 * TableCell.cs: Fix attributes.
6235 * TableCellCollection.cs: Fix attributes.
6236 * TableItemStyle.cs: Fix attributes and enums checks.
6237 * TableRowCollection.cs: Fix attributes.
6238 * TableRow.cs: Fix attributes.
6239 * TableStyle.cs: Fix attributes and enums checks.
6240 * VerticalAlign.cs: Fix attributes.
6242 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6244 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
6245 * DataList.cs: Added rendering support when ExtractTemplatesRows
6246 property is true (but RepeatInfo needs to be fixed to see it works).
6247 * DataListItem.cs: Added rendering support when extractRows parameter
6248 is true (but RepeatInfo still needs to be fixed ;-)
6250 2005-07-21 Duncan Mak <duncan@novell.com>
6252 * HyperLinkColumn.cs: Initial implementation.
6253 Todo: Figure out Initialize and InitializeCell.
6255 2005-07-20 Chris Toshok <toshok@ximian.com>
6257 * BaseValidator.cs: don't use Page.FindControl, use this Control's
6258 FindControl, so it'll use the same naming container.
6260 2005-07-21 Duncan Mak <duncan@novell.com>
6262 * DataGridCommandEventArgs.cs:
6263 * DataGridPageChangedEventArgs.cs:
6264 * RepeaterCommandEventArgs.cs: Fixed visibility.
6266 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
6267 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
6269 2005-07-20 Chris Toshok <toshok@ximian.com>
6271 * Button.cs: hook up the client side validation stuff.
6273 * ImageButton.cs: same.
6275 * LinkButton.cs: same, although it's a little more complicated
6278 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6281 - Implemented RaisePostDataChangedEvent()
6282 - Spewing postback command if AutoPostBack is true
6284 2005-07-20 Chris Toshok <toshok@ximian.com>
6286 * BaseValidator.cs: another Page != null check when uplevel
6289 2005-07-20 Chris Toshok <toshok@ximian.com>
6291 * BaseValidator.cs: check Page != null when determining if we're
6292 rendering uplevel or not.
6294 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6296 * ListItemCollection.cs: Removed obsolete method that's no longer
6299 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6301 * DropDownList.cs: Oops. Forgot to implement LoadPostData
6302 * ListItemCollection.cs: Added convenience method to have faster
6305 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6308 - Automatically select the first item if none are selected
6309 - Throw exception if more than one item is selected
6311 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6313 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
6314 handled by RepeatInfo).
6316 2005-07-20 Jackson Harper <jackson@ximian.com>
6318 * DataGrid.cs: Store the data source created columns in a
6319 DataGridColumnCollection. This way they can be put in the
6320 view state more easily, and accessed without casting.
6322 2005-07-20 Chris Toshok <toshok@ximian.com>
6324 * BaseValidator.cs (AddAttributesToRender): render the client side
6325 attributes if we're in uplevel mode.
6326 (DetermineRenderUplevel): flesh out a bit - for now basically
6327 return true unless the control has it disabled.
6328 (OnInit): only add the validator to Page's list if there is, in
6330 (OnUnload): same for removal.
6331 (OnPreRender): hook up client scripting stuff here. Only the call
6332 to RegisterValidatorCommonScript is a for sure thing here, the
6333 registering of the submit statement and startup script should
6334 probably go elsewhere, but I don't know where.
6335 (RegisterValidatorCommonScript): register the <script
6336 src=".../WebUIValidation.js"> tag, if it's not already there.
6337 (RegisterValidatorDeclaration): add our span object to the
6338 Page_Validators JS array.
6339 (Render): always render the tags (although this is probably not
6340 right), and call RegisterValidatorDeclaration here.
6342 * BaseCompareValidator.cs (AddAttributesToRender): render the
6343 client side attributes if we're in uplevel mode.
6344 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
6345 call base.DetermineRenderUplevel for now.
6347 * RegularExpressionValidator.cs (AddAttributesToRender): render
6348 the client side attributes if we're in uplevel mode.
6350 * RequiredFieldValidator.cs (AddAttributesToRender): same.
6352 * CompareValidator.cs (AddAttributesToRender): same.
6354 2005-07-20 Jackson Harper <jackson@ximian.com>
6356 * DataGrid.cs: Save the data source created column set in the
6359 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6361 * DataList.cs: Fix events and properties exceptions. Give the right
6362 informations to RenderItem.
6364 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6366 * ValidationSummary.cs: Implemented rendering
6368 2005-07-20 Jackson Harper <jackson@ximian.com>
6370 * DataGrid.cs: column names are cached and only regenerated if useDataSource
6371 is set to true. Otherwise they are just fetched from the last set that
6372 was generated from the source.
6374 2005-07-20 Jackson Harper <jackson@ximian.com>
6376 * DataGrid.cs: Assign some properties of newly created BoundColumns.
6378 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6380 * DataList.cs: Fix viewstate ordering.
6382 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6384 * SelectedDatesCollection.cs: Apprarently, I don't write code well
6387 * Repeater.cs: Uh, actually add stuff to the items collection
6390 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6392 * BaseDataList.cs: EnsureChildControls on Controls property.
6393 * DataList.cs: Fix rendering and Controls/Items differences.
6394 * DataListItem.cs: Added rendering of controls.
6396 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6398 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
6400 2005-07-20 Jackson Harper <jackson@ximian.com>
6402 * DataGrid.cs: Add some of the collections. Implement
6405 2005-07-20 Jackson Harper <jackson@ximian.com>
6407 * PagedDataSource.cs: Implement GetItemProperties, this is
6408 needed for the datagrid.
6410 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6412 * DataGridColumnCollection.cs: New impl
6414 * TemplateColumn.cs: New impl
6416 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6418 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
6419 * DataList.cs: Work in progress... Added attributes, proper
6420 IRepeatInfoUser support and cool things stolen from other classes.
6421 * DataListCommandEventArgs.cs: Class is sealed.
6422 * DataListItem.cs: RenderItem is public.
6424 2005-07-19 Jackson Harper <jackson@ximian.com>
6426 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
6427 a viewstate object if all the viewstate stuff is null.
6429 2005-07-19 Jackson Harper <jackson@ximian.com>
6431 * DataGrid.cs: Implement style properties and viewstate
6432 saving/loading/tracking.
6434 2005-07-19 Chris Toshok <toshok@ximian.com>
6436 * BaseValidator.cs: more fixes from pdb.
6438 2005-07-19 Chris Toshok <toshok@ximian.com>
6440 * BaseValidator.cs: some test-driven fixes.
6442 2005-07-19 Chris Toshok <toshok@ximian.com>
6444 * BaseValidator.cs: Initial implementation.
6446 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6448 * Repeater.cs: Fix small typo.
6450 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
6452 * ValidationSummaryTest.cs: Started implementation
6453 * RangeValidator.cs: Implemented
6454 * ValidatedControlConverter.cs: Implemented
6455 * DropDownList.cs: Implemented
6457 2005-07-19 Jackson Harper <jackson@ximian.com>
6459 * DataGrid.cs: Implement bubble event.
6461 2005-07-19 Jackson Harper <jackson@ximian.com>
6463 * DataGrid.cs: New implementation. Just properties and events for
6466 2005-07-18 Chris Toshok <toshok@ximian.com>
6468 * BaseCompareValidator.cs: Initial implementation, with some NYI.
6470 2005-07-19 Ben Maurer <bmaurer@ximian.com>
6472 * FontUnit.cs: Corcompare fixes
6474 * UnitConverter.cs: Fix api diffs
6476 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6478 * ListControl.cs: Fix api differences
6480 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6482 * Table.cs: Fix indentation for caption. Simplify check when adding
6484 * TableRow.cs: Simplify check when adding controls.
6486 2005-07-18 Chris Toshok <toshok@ximian.com>
6488 * CompareValidator.cs: wtf, just use the base class's methods.
6490 2005-07-18 Chris Toshok <toshok@ximian.com>
6492 * CompareValidator.cs: do comparisons based on
6493 BaseCompareValidator.Type.
6495 2005-07-18 Chris Toshok <toshok@ximian.com>
6497 * CompareValidator.cs: initial implementation.
6499 2005-07-18 Chris Toshok <toshok@ximian.com>
6501 * RegularExpressionValidator.cs: initial implementation.
6503 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6505 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
6507 2005-07-18 Jackson Harper <jackson@ximian.com>
6509 * CheckBoxList.cs: Implement LoadPostBackData. Also register
6510 checkboxes for postback if they are checked so we can find
6511 out when they are unchecked. Copy the AutoPostBack variable
6512 to the to be rendered checkbox when rendering.
6514 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6516 * TextBox.cs: Finish this up.
6518 * AdRotator.cs: Fix issues in the test suite. Minor style
6521 * Repeater.cs: Fix a bug where the datasource is null and we do
6524 * WebColorConverter.cs: Optimize by not doing a concat on a
6527 2005-07-17 Ben Maurer <bmaurer@ximian.com>
6529 * ListItemCollection.cs: Multiple uses of equals rather than
6530 string.compare as below. Remove unreachable code warning.
6532 * WebColorConverter.cs (ConvertTo): Use the == operator on string
6533 rather than an invariant non-case ignoring compare. They are
6534 exactly the same thing. Use proper coding style in this method.
6536 * WebControl.cs: Return null when saving the view state if there
6537 is no state in any of the things we save. This creates a fairly
6538 large savings, because we can avoid saving anything about many
6539 levels of deaply nested controls.
6541 2005-07-15 Jackson Harper <jackson@ximian.com>
6543 * CheckBoxList.cs: Use the index as the ID, the rest of the
6544 id is built by being in the NamingContainer.
6546 2005-07-15 Jackson Harper <jackson@ximian.com>
6548 * ListControl.cs: Use enum instead of string. Saves a lookup.
6550 2005-07-15 Jackson Harper <jackson@ximian.com>
6552 * CheckBoxList.cs: FindControl always returns 'this' according
6555 2005-07-15 Jackson Harper <jackson@ximian.com>
6557 * CheckBoxList.cs: New impl.
6559 2005-07-15 Jackson Harper <jackson@ximian.com>
6561 * WebControl.cs: Use the ClientID when rendering a controls ID
6562 attribute so that naming containers are honoured.
6564 2005-07-15 Jackson Harper <jackson@ximian.com>
6566 * ListControl.cs: use the state manager interface for tracking
6569 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6571 * Repeater.cs (DoItem): Add the DataItem before we call user
6572 methods, as it seems to be there with msft.
6574 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
6576 * BaseDataList.cs: New. (mostly complete) implementation.
6577 * DataKeyCollection.cs: New. Implementation (complete).
6578 * DataList.cs: New. (mostly incomplete) implementation.
6579 * DataListItem.cs: New. (mostly complete) implementation.
6580 * DataListItemCollection.cs: New. Implementation (complete).
6582 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6584 * Repeater.cs (DoItem): We need to .Add the control *before* we
6585 data bind it so that the state gets tracked correctly. Fixes the
6588 2005-07-15 Jackson Harper <jackson@ximian.com>
6590 * ListControl.cs: Simplify comparison.
6592 2005-07-15 Jackson Harper <jackson@ximian.com>
6595 * Repeater.cs: Use new utility class for resolving data sources.
6597 2005-07-15 Jackson Harper <jackson@ximian.com>
6599 * ListControl.cs: Add attributes so the sub items get parsed
6600 properly. Remove old unneeded code for resolving lists.
6602 2005-07-15 Jackson Harper <jackson@ximian.com>
6604 * ListControl.cs: Use the DataSourceHelper so DataMembers are
6607 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6610 - Some optimizations
6611 * Don't use enum formatting stuff, it is 1) expensive 2) does
6612 allocations. Use a new method in HtmlControl to do the right
6614 * Don't use Enum.IsDefined but an explicit check.
6615 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
6616 - Use the correct coding style.
6618 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6620 * WebColorConverter.cs:
6621 - Alpha of 255 is only set if the hex number is exactly 6 digits
6622 - Ben didn't like the catch { throw; } (even though MS documents to
6624 - Use Invariant Culture for parsing (thanks, Ben)
6626 2005-07-14 Jackson Harper <jackson@ximian.com>
6628 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
6629 code-reuse-arific. Also use the IStateManager interface for loading
6630 data instead of the old internal method.
6632 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6634 * WebColorConverter.cs: Implemented
6636 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6638 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
6640 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6642 * Repeater.cs: Get it working
6644 2005-07-14 Jackson Harper <jackson@ximian.com>
6646 * ListControl.cs: Initial implementation of Databinding. Make sure
6647 that the ListItemCollection is created when we load its ViewState.
6649 2005-07-14 Jackson Harper <jackson@ximian.com>
6651 * ListControl.cs: Fix typo.
6653 2005-07-14 Jackson Harper <jackson@ximian.com>
6655 * ListControl.cs: New Implementation. Lacks databinding support.
6657 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6659 * Repeater.cs: The beginnings of this control
6661 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6663 * TargetConverter.cs: Implemented
6665 2005-07-14 Duncan Mak <duncan@novell.com>
6667 * PagedDataSource.cs: Initial implementation.
6669 Methods that need to be figured out:
6670 CopyTo, GetItemProperties, PageCount, IsLastPage.
6672 To complete: CollectionEnumerator, ListEnumerator.
6674 2005-07-13 Duncan Mak <duncan@novell.com>
6676 * RepeatDirection.cs:
6678 * ValidationCompareOperator.cs:
6679 * ValidationDataType.cs:
6680 * ValidationSummaryDisplayMode.cs:
6681 * ValidatorDisplay.cs: Added remaining enumerations.
6683 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6685 * FontNamesConverter.cs: Implemented
6687 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6689 * RepeaterItem.cs: Compile fix
6691 * RepeaterItemCollection.cs: New file
6693 * RepeaterItem.cs: get OnBubbleEvent right.
6695 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6697 * ListItemCollection.cs: Count can be derived from the array, which
6698 allows us to use a Pair instead of a Triplet and save some space
6700 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6702 * RepeaterItem.cs: Stub
6704 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6706 * ListItemCollection.cs: Implemented
6707 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
6709 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6711 * RepeatInfo.cs: Impl.
6713 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6715 * FirstDayOfWeek.cs: Added
6717 2005-07-13 Jackson Harper <jackson@ximian.com>
6719 * ListBox.cs: Some parameter checking.
6721 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6723 * Image.cs: Added support for DescriptionUrl as this property was
6724 added in Fx 1.1 SP1.
6726 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6728 * Style.cs (AddAttributesToRender): Don't render attributes if they
6729 contain only their default value
6731 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6733 * Table.cs: New. Initial re-implementation.
6734 * TableCell.cs: New. Initial re-implementation.
6735 * TableCellCollection.cs: New. Initial re-implementation.
6736 * TableHeaderCell.cs: New. Initial re-implementation.
6737 * TableItemStyle.cs: New. Initial re-implementation.
6738 * TableRow.cs: New. Initial re-implementation.
6739 * TableRowCollection.cs: New. Initial re-implementation.
6740 * TableStyle.cs: New. Initial re-implementation.
6742 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6744 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
6745 unit tests (for Style) and more tests in Table* classes.
6747 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6749 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
6750 however IsEmpty returns false if any of their properties are set.
6751 Looks ugly but it's compatible with MS implementation (feature and
6754 2005-07-13 Dick Porter <dick@ximian.com>
6756 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
6757 null Text properties from the ViewState, test for TextAlign being
6758 out of range. All to make tests pass on both mono and ms
6761 2005-07-13 Jackson Harper <jackson@ximian.com>
6763 * ListBox.cs: Use invariant culture when doing a ToString,
6764 set value to the item's value, not to its Text.
6766 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6768 * WebControl.cs (AddAttributesToRender): Added ID to rendered
6771 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6773 * Style.cs(MergeWith): Handle null styles
6775 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
6777 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
6778 the #if NET_2_0 on it.
6780 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6782 * Style.cs: Only render font elements if fontinfo object exists
6784 - Implemented SaveViewState()
6785 - Added loading of Style to LoadViewState
6786 - Implemented IAttributeAccessor methods
6788 2005-07-12 Jackson Harper <jackson@ximian.com>
6790 * ListBox.cs: Even track default values in the viewstate. Call
6791 base's RenderContents.
6793 2005-07-12 Jackson Harper <jackson@ximian.com>
6795 * ListBox.cs: New impl.
6797 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6800 - Implemented methods
6803 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6805 * ListItem.cs: New impl.
6807 2005-07-12 Duncan Mak <duncan@novell.com>
6809 * DayNameFormat.cs: Added.
6811 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6813 * WebControl.cs: Implemented properties
6815 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6817 * TextBox.cs: Passwords seem 1) not to be rendered to the client
6818 if set, 2) not kept in view state (for security reasons...)
6821 * Button.cs: Page.Validate () if needed. Gets the validator tests
6824 * TextBox.cs: Properties to get the validator stuff to work.
6826 2005-07-12 Miguel de Icaza <miguel@novell.com>
6828 * Unit.cs: If the units are pixels, then truncate the value.
6830 2005-07-12 Dick Porter <dick@ximian.com>
6832 * RadioButton.cs: New implementation
6834 * CheckBox.cs: Rearrange the attributes rendering to allow
6835 RadioButton to derive from this
6837 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6839 * TitleFormat.cs: Add attribute
6840 * TextBoxMode.cs: Add attribute
6841 * CalendarDay.cs: Initial implementation
6842 * ImageButton.cs: Initial implementation
6843 * CalendarSelectionMode.cs:Initial implementation
6845 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6847 * TextBoxMode.cs: simple enum
6848 * TitleFormat.cs: simple enum
6850 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6852 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
6854 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6856 * FontUnit.cs: Added TypeConverter attribute to class
6857 * FontUnitConverter.cs: Implemented
6859 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6862 * Button.cs: Bubble the Command event.
6864 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6867 - Clean up style (with my wonderful state bag hack!)
6868 - Fix a view state typo.
6869 - Use AddAttributesToRender
6870 - Don't add an extra <span>
6872 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6874 * Style.cs: Handle null constructor argument for bag
6876 2005-07-11 Dick Porter <dick@ximian.com>
6878 * CheckBox.cs: New implementation
6880 * RadioButton.cs: Initial stubbed version that just compiles
6882 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
6884 * Button.cs: Initial Button implementation
6886 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
6888 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
6890 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6892 * HorizontalAlign.cs: Typo in header.
6893 * VerticalAlign.cs: New. Required enum for TableRow control.
6895 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6897 * TextBox.cs: More work on this
6899 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6901 * GridLines.cs: New. Required enum for Table control.
6902 * HorizontalAlign.cs: New. Required enum for Table control.
6904 2005-07-09 Duncan Mak <duncan@novell.com>
6906 * CommandEventHandler.cs:
6907 * DataGridCommandEventHandler.cs:
6908 * DataGridItemEventHandler.cs:
6909 * DataGridPageChangedEventHandler.cs:
6910 * DataGridSortCommandEventHandler.cs:
6911 * DataListCommandEventHandler.cs:
6912 * DayRenderEventHandler.cs:
6913 * RepeaterCommandEventHandler.cs:
6914 * ServerValidateEventHandler.cs: Add delegates.
6917 * ListSelectionMode.cs:
6918 * NextPrevFormat.cs:
6920 * PagerPosition.cs: Add enums.
6922 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6924 * TextBox.cs: Add the work I did on this today. It's not complete
6925 yet, but its a start!
6927 2005-07-09 Duncan Mak <duncan@novell.com>
6929 * CommandEventArgs.cs:
6930 * DataGridCommandEventArgs.cs:
6931 * DataGridItemEventArgs.cs:
6932 * DataGridPageChangedEventArgs.cs:
6933 * DataGridSortCommandEventArgs.cs:
6934 * DataListCommandEventArgs.cs:
6935 * DataListItemEventArgs.cs:
6936 * DayRenderEventArgs.cs:
6937 * RepeaterCommandEventArgs.cs:
6938 * RepeaterItemEventArgs.cs:
6939 * ServerValidateEventArgs.cs: Implemented.
6941 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
6943 * Image.cs: New. Image class implementation.
6944 * ImageAlign.cs: New. ImageAlign enum definitions.
6946 2005-07-08 Jackson Harper <jackson@ximian.com>
6948 * Literal.cs: New implentation.
6949 * MonthChangedEventArgs.cs: new
6950 * MonthChangedEventHandler.cs: new
6952 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6954 * LinkButton.cs: Command impl
6956 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6958 * LinkButton.cs: Initial impl
6960 2005-07-08 Jackson Harper <jackson@ximian.com>
6962 * AdCreatedeventArgs.cs: New implementation.
6964 2005-07-08 Dick Porter <dick@ximian.com>
6967 * BorderStyle.cs: Added
6969 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6971 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
6973 2005-07-07 Miguel de Icaza <miguel@novell.com>
6975 * Xml.cs: New implementation. R00lz.
6977 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6979 * FontInfo.cs: Added and implemented.
6980 * Style.cs: Fixed behaviour discrepancies showed by tests
6982 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6984 * PlaceHolderControlBuilder.cs: new file
6986 * LabelControlBuilder.cs: New file
6988 * HyperLink.cs: use control builder; fix parsing stuff
6990 * HyperLinkControlBuilder.cs: new file
6992 * Panel.cs: misc fixes
6994 2005-07-07 Miguel de Icaza <miguel@novell.com>
6996 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
6998 * UnitConverter.cs: Add new file, learned from the
6999 System.Drawing.ColorConverter.
7001 2005-07-07 Ben Maurer <bmaurer@ximian.com>
7003 * PlaceHolder.cs: New file. Seems to do nothing
7005 * Label.cs: Use my new statebag trick to reduce typing
7007 * HyperLink.cs: New file
7009 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
7011 * Style.cs: Added and implemented.
7013 2005-07-06 Miguel de Icaza <miguel@novell.com>
7015 * FontUnit.cs: New file.
7017 * Unit.cs: New file.
7019 Added support for null and empty string constructors.
7021 2005-07-06 Ben Maurer <bmaurer@ximian.com>
7023 * Unit.cs: cctor not needed; static fields are 0 init'd by default
7025 * WebControl.cs: Kothari & Datye's book explains how these work.
7027 * IRepeatInfoUser.cs: Reimpl.
7029 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
7031 * WebControl.cs: Added stub
7033 2005-07-05 Miguel de Icaza <miguel@novell.com>
7035 * Label.cs: First control.
7037 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
7039 * DataControlField.cs: Ignore the ShowHeader property when
7040 building the control's content. It is the resposability of
7041 the field container to decide if the header should be shown
7044 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
7047 * ImageFieldMode.cs:
7048 * DynamicImageParameterMode.cs:
7049 * TableViewMode.cs: Removed.
7053 * TableRowSection.cs:
7054 * AutoCompleteType.cs:
7055 * DayNameFormat.cs: Track changes in 2.0 api.
7057 * StringArrayConverter.cs: This class is 2.0 only.
7059 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
7063 * DetailsView.cs: Bind the control after creating all child
7065 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
7066 the correct methods.
7067 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
7068 in this class. This is done in DataBoundControl. All this fixes
7071 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7073 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
7074 FindByText. Closes bug #74205.
7076 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7078 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
7079 1 when there's a datasource and 0 pages. Closes bug #73864.
7081 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
7088 * MenuItemTemplateContainer.cs:
7089 * DetailsView.cs: Track changes in the IDataItemContainer interface.
7091 * CommandField.cs: Added CausesValidation property. Set that
7092 property value to all buttons of the field.
7094 * SqlDataSourceView.cs:
7095 * CollectionDataSource.cs:
7096 * XmlDataSourceView.cs: Properly initialize the base class.
7098 * SiteMapDataSource.cs:
7099 * SiteMapHierarchicalDataSourceView.cs:
7100 * SiteMapNodeItem.cs:
7101 * SiteMapDataSourceView.cs:
7102 * SiteMapPath.cs: Mostly implemented.
7104 * HierarchicalDataBoundControl.cs: Always bind the control when the
7105 page is loaded for the first time.
7107 * TreeView.cs: Properly bind the control when loaded from a callback.
7109 2005-05-21 Ben Maurer <bmaurer@ximian.com>
7111 * BaseDataList.cs: Caption is in 1.1 too, though not
7112 documented. Gonz owes me [more] ice cream. Yummmmm.
7114 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7116 * BaseDataList.cs: implemented 2.0 Caption property.
7118 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
7120 * TreeView.cs: Always render the startup script. This fixes
7123 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
7125 * WizardStepBase.cs:
7126 * WizardStep.cs: Added missing attributes.
7127 * Wizard.cs: Implemented missing methods and properties. It can now
7128 be considered feature complete.
7130 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7132 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
7133 the method if the data source was en empty IEnumerator. Fixes
7136 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
7140 * Menu.cs: Implemented some new properties from beta 2.
7142 * DataControlButton.cs: Render the ControlStyle if it
7146 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
7147 It will now generate an object creation, instead of a Parse call.
7149 * GridViewCommandEventArgs.cs: Added missing property.
7150 * SubMenuStyleCollection.cs: This class is not sealed.
7151 * MultiView.cs: Set Visible=false to all views that are not
7152 shown. This ensures that it's view state is saved.
7154 * BaseDataBoundControl.cs:
7155 * GridViewDeletedEventArgs.cs: Minor api fixes.
7157 * FormViewDeleteEventArgs.cs:
7158 * DetailsViewDeletedEventArgs.cs:
7159 * ListControl.cs: Fix warnings.
7163 * HotSpotCollection.cs
7166 * RectangleHotSpot.cs
7167 * WizardStepCollection.cs : Implemented.
7171 * Wizard.cs: Initial implementation.
7173 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
7175 * DataControlField.cs:
7179 * DataControlCommands.cs:
7180 * DetailsView.cs: Use constants to identify commands.
7182 * SubMenuStyle.cs: Use Unit instead of int for padding.
7183 * SubMenuStyleCollection.cs: Implemented.
7186 * Menu.cs: Added some missing methods and properties.
7189 * DataGridPagerStyle.cs: Fixed default value attributes.
7190 * ListControl.cs: Implemented IEditableTextControl interface.
7192 * MenuItemBinding.cs: Added Selectable property.
7193 * CustomValidator.cs: removed interface.
7195 * MenuItem.cs: Added support for custom binding.
7196 * DropDownList.cs: Moved text properties to base class.
7198 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7200 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
7202 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7204 * Calendar.cs: when the day is active, modify the text of the literal
7205 control that holds the number, not the text of the TableCell. Also call
7206 OnDayRender before updating that text. Fixes bug #74718.
7208 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
7210 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
7212 * DataControlFieldHeaderCell.cs: Save Scope in view state.
7213 Added AbbreviatedText property.
7214 * AutoGeneratedField.cs: The constructor should actually be internal.
7215 * DataGridItem.cs: Added implemented interface in 2.0.
7216 * DataControlFieldCollection.cs: Implemented CloneFields and
7220 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7222 * StringArrayConverter.cs:
7223 * Calendar.cs: warnings.
7225 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
7227 * FormViewDeleteEventArgs.cs:
7228 * FormViewInsertEventArgs.cs:
7229 * FormViewUpdateEventArgs.cs:
7230 * FormViewDeletedEventArgs.cs:
7231 * FormViewUpdatedEventArgs.cs:
7232 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
7235 * IButtonControl.cs:
7236 * Button.cs: Removed SoftKey property.
7238 * CheckBox.cs: Don't try to load post back data if the control
7242 * AutoGeneratedField.cs:
7243 * DataControlField.cs:
7245 * ButtonFieldBase.cs:
7249 * ButtonField.cs: Don't bind fields in Insert state.
7250 Implemented CreateField and CopyProperties.
7253 * DetailsView.cs: Removed some unneeded interfaces. Don't
7254 generate the field rows if there are no items in the data source.
7255 Don't get the current keys until the whole control has been
7258 * DetailsViewInsertedEventArgs.cs:
7259 * DataBoundControl.cs:
7260 * ObjectDataSourceView.cs: Made some methods private.
7263 * Menu.cs: Changed some properties from int to Unit.
7265 * DataControlButton.cs: javascript prefix is needed when raising
7266 the postback event from a link.
7268 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
7269 The result was wrong when the total data source count was 0.
7271 * FormView.cs: Implemented.
7272 * FormViewRow.cs: Implemented.
7275 * Localize.cs: Fixed base interface.
7277 * BaseDataBoundControl.cs: In DataBind() call the base class
7278 DataBind method, so the binding context is properly set.
7280 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
7282 * DetailsView.cs: Added some null checks.
7283 * TemplateField.cs: Implemented support for two-way bindings.
7285 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
7287 * DetailsView.cs: Implemented support for Insert operation.
7288 Added header and footer templates. Added missing style
7290 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
7291 to get filter values. Other minor fixes.
7292 * CommandField.cs: Properly render the Insert and New buttons.
7293 * ObjectDataSource.cs: Update the parameter collections after
7294 the page is loaded. This will fire the ParameterChanged event
7296 * DataBoundControl.cs: The OnDataSourceViewChanged method
7297 is called when the view changes, not when the datasource
7300 * DetailsViewInsertedEventArgs.cs:
7301 * DetailsViewInsertEventArgs.cs: Implement Values property.
7304 * AutoGeneratedField.cs
7307 Take into account the Insert mode.
7309 * ParameterCollection.cs: Implemented UpdateValues and fixed
7310 GetValues (values can't be cached because can change).
7311 * Parameter.cs: Detect value changes in GetValue, and fire
7312 the change event if needed. Removed unused ParameterValue
7313 property. Other fixes.
7315 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
7317 * DetailsView.cs: Initial implementation.
7318 * ObjectDataSourceView.cs: Notify changes in the parameters.
7319 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
7320 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
7321 Implemented some properties.
7322 * GridView.cs: Added null check in SelectedValue. Don't return null
7323 for empty DataKeyNames list.
7324 * DetailsViewRowCollection.cs: Implemented.
7325 * DetailsViewRow.cs: Implemented.
7326 * ButtonFieldBase.cs: By default button field don't have headers.
7327 * BoundField.cs: Don't bind header fields.
7329 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
7331 * ButtonField.cs: Get data item properties using TypeDescriptor.
7332 Made OnDataBindField private.
7333 * ObjectDataSourceView.cs: Implemented support for Delete and
7334 Insert operations, support for filtering and sorting,
7335 conflict detection, etc. It's now complete.
7336 * ObjectDataSource.cs: Completed most of functionality. Only
7337 caching support is missing.
7338 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
7339 * TreeNode.cs: Get data item properties using TypeDescriptor.
7340 * PagerSettings.cs: Flush.
7341 * ObjectDataSourceFilteringEventArgs.cs: New event args.
7342 * GridView.cs: Get data item properties using TypeDescriptor
7343 and cache them. Properly set descending order in the sort
7344 expression. In UpdateRow, make sure we get the old values
7345 before the control is bound again.
7346 * ImageField.cs: Implemented.
7347 * AutoGeneratedField.cs: Initialize the field's sort
7348 expression in the constructor.
7349 * MenuItem.cs: Get data item properties using TypeDescriptor.
7350 * BoundField.cs: Get data item properties using TypeDescriptor.
7351 * CheckBoxField.cs: Added missing attributes.
7352 * TemplateField.cs: Implemented.
7354 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7357 * FontUnitConverter.cs: fixed ConvertTo to work with target
7358 InstanceDescriptor and value as a string.
7360 * Unit.cs: culture might be null.
7364 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
7366 * ButtonField.cs: Mostly implemented.
7367 * DataControlFieldHeaderCell.cs: Implemented.
7368 * ObjectDataSourceView.cs: Initial implementation.
7369 * DataControlButton.cs: Added support for real buttons.
7370 * Label.cs, DataControlField.cs: Flush.
7371 * ObjectDataSource.cs: Initial implementation.
7372 * HiddenField.cs: Added class stub.
7373 * GridView.cs: Load autogenerated field properties before
7374 creating the children, to make sure that column info is ready.
7375 * ControlParameter.cs: Implemented Evaluate method.
7376 * ImageField.cs: Added class stub.
7377 * BoundField.cs: Added HtmlEncode property.
7378 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
7380 * CheckBoxField.cs: Mostly implemented.
7381 * TemplateField.cs: Added class stub.
7382 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
7383 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
7384 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
7386 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
7388 * DataControlField.cs: Added missing InsertVisible property.
7389 * AutoGeneratedFieldProperties.cs: Implemented.
7390 * PagerSettings.cs: Minor fix.
7391 * GridView.cs: Implemented support for autogenerated fields, templates,
7392 accessible headers. Implemented paging using PagedDataSource.
7393 Implemented missing overridable methods.
7394 * AutoGeneratedField.cs: Initial implementation.
7395 * BoundField.cs: Added ReadOnly property.
7396 * PagedDataSource.cs: Implemented 2.0 api.
7397 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
7398 cell class to be used by accessible headers.
7399 * TableCell.cs: Removed unneded constructor. If the cell is bound to
7400 a template, call the default RenderContents method.
7402 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7404 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
7405 event when loading the view state. Fixes #73746.
7407 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7409 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
7411 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
7413 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
7415 * CommandField.cs: Mostly implemented.
7416 * Menu.cs: Use callback methods moved to ClientScriptManager.
7417 * DataControlButton.cs: Internal control used to implement buttons
7418 for navigating in data bound controls.
7419 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
7420 to render the column headers.
7421 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
7422 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
7423 Don't use Page.GetPostBackClientEvent
7424 since it is deprecated in 2.0.
7425 * GridView.cs: Implemented some several interfaces.
7426 Implemented support client sorting and page navigation (using callbacks).
7427 Implemented the autogenerated command column using the new CommandField
7429 * ButtonFieldBase.cs: Implemented.
7430 * GridView.js: New helper script to support client side sorting and
7431 paging in the grid view.
7433 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
7435 * DataKey.cs: Implemented.
7436 * XmlDataSourceView.cs: Implemented support for row pagging.
7437 * Table.cs: Fixed attribute value.
7438 * DataControlField.cs: Added support for sorting headers.
7439 * ChildTable.cs: Created.
7440 * ListControl.cs: Delay selection assignment, since control state
7441 is now loaded before view state.
7442 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
7443 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
7444 several missing properties.
7445 * PagerSettings.cs: Fully implemented.
7446 * BaseDataList.cs: Added null check.
7447 * GridView.cs: Implemented more functionality.
7448 * BoundField.cs: Added support for cell editing.
7449 * StringArrayConverter.cs: Implemented.
7450 * DataKeyArray.cs: Implemented.
7451 * BaseDataBoundControl.cs: Reset the requires binding flag before
7452 executing the query. This avoids recursive query calls.
7453 * GridViewRow.cs: Handler commands raised from row childs.
7455 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
7457 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
7458 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
7459 it is possible to query for properties fore each data item.
7460 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
7461 when loading its view state.
7462 * DataControlField.cs: Implement properties using a StateBag.
7463 * XmlDataSourcePropertyDescriptor.cs: Implemented.
7464 * PagerSettings.cs: Mostly implemented.
7465 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
7466 * DataBoundControl.cs: Added null check.
7467 * GridView.cs: Initial implementation.
7468 * CompositeDataBoundControl.cs: Implemented.
7469 * BoundField.cs: Initial implementation.
7470 * GridViewRowCollection.cs: Initial implementation.
7471 * DataControlFieldCollection.cs: Initial implementation.
7472 * DataControlFieldCell.cs: Fixed control tag.
7473 * GridViewRow: Initial implementation.
7474 * XmlDataSourceNodeDescriptor.cs: Implemented.
7476 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7478 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
7479 is zero, use the TagName no matter its value. Fixes bug #72415.
7481 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
7483 * Style.cs: Method name fix.
7484 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
7485 * BaseCompareValidator.cs: Method signature fix.
7486 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
7487 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
7488 * BulletedList.cs: Added missing method.
7489 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
7491 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
7493 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
7494 * RadioButton.cs: Added missing 2.0 methods.
7495 * ListItem.cs: Added Enabled property.
7496 * MailMessageEventArgs.cs: Use the correct message class.
7497 * ListControl.cs: Implemented missing properties and support for
7498 control state. Implemented base RenderContents method.
7499 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
7501 * BaseCompareValidator.cs: Implemented methods that support conditional
7502 use of the invariant culture.
7503 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
7504 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
7505 It takes a DbCommand instead of a IDbCommand.
7506 * GridViewSortEventArgs.cs: Added SortDirection property.
7507 * TextBox.cs, CheckBoxList.cs: Added protected version of
7508 IPostBackDataHandler methods.
7509 * RadioButtonList.cs: Added protected version of
7510 IPostBackDataHandler and IRepeatInfoUser methods.
7511 * Repeater.cs: Updated some method names.
7512 * DropDownList.cs: Added protected version of
7513 IPostBackDataHandler methods. Reuse RenderContents from base class.
7514 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
7515 * GridViewUpdatedEventArgs.cs: Fix typo.
7516 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
7517 Reuse RenderContents from base class.
7518 * BaseDataBoundControl.cs: Several fixes.
7519 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
7521 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7523 * CheckBoxList.cs: Fix build.
7525 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7527 * Button.cs: Use validation group when validating page.
7528 * XmlDataSourceView.cs: Implemented ExecuteSelect.
7529 * Menu.cs: Minor fix.
7530 * CheckBox.cs: Added 2.0 properties and methods.
7531 * BaseDataList.cs: Always databind the control if view state
7533 * DataList.cs: In 2.0, use control state to save the selected index.
7534 * DetailsViewUpdatedEventArgs.cs: Fix typo.
7535 * CustomValidator.cs: Implement IStaticTextControl interface.
7536 * CheckBoxList.cs: Added missing 2.0 methods.
7537 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
7539 * XmlDataSource.cs: Return childs of DocumentElement, not the root
7541 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
7542 Implemented 2.0 API.
7545 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
7547 * Button.cs: Implemented all missing 2.0 features.
7548 * Table.cs: Render the table caption, when specified.
7549 * Calendar.cs: Implemented most of missing 2.0 features.
7550 * TableCell.cs: Fixed attributes.
7552 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7554 * ControlPropertyNameConverter.cs: Added file.
7556 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7558 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
7559 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
7560 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
7561 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
7562 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
7563 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
7564 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
7565 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
7566 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
7567 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
7568 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
7569 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
7570 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
7571 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
7572 DataGridSortCommandEventArgs.cs, Repeater.cs,
7573 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
7574 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
7575 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
7576 CompareValidator.cs, HierarchicalDataBoundControl.cs,
7577 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
7578 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
7579 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
7580 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
7581 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
7582 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
7583 AdCreatedEventArgs.cs:
7585 General 2.0 API fixes: missing attributes, incorrect inheritance,
7586 missing sealed keywords, wrong signatures, etc.
7588 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
7590 * Table.cs: Added some 2.0 properties.
7591 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
7593 * BaseValidator.cs: Fix warning.
7594 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
7596 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
7598 * Menu.cs: Rendering fixes.
7600 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
7602 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
7603 ContentPlaceHolderBuilder.cs: Implemented.
7605 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7607 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
7608 attributes that are meant to be in the input tag in their place.
7610 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
7612 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
7613 generates invalid html).
7615 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
7617 * Menu.cs: Implemented most of missing properties. Added support for
7618 item templates. Implemented menu scrolling.
7619 * MenuItemBinding.cs: Implemented most of missing properties.
7620 * MenuItem.cs: Implemented most of missing properties.
7621 * Menu.js: Implemented scrolling and menu reposition into screen.
7622 * MenuItemTemplateContainer.cs: Implemented.
7623 * SubMenuStyle.cs: Implemented.
7625 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
7627 * Style.cs: Implemented RegisteredCssClass property. Added
7628 CopyTextStylesFrom method, which copies styles that only apply to text.
7629 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
7630 in the page stylesheet. Added support for ItemSpacing property.
7631 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
7633 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
7635 * Style.cs: Generate styles using a CssStyleCollection, so the code can
7636 be reused for the 2.0 FillStyleAttributes method.
7637 * Menu.cs: Implemented more properties and events. Rendering is very
7639 * MenuItem.cs: Added PopOutImageUrl property.
7640 * Menu.js: More work on submenu management.
7642 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
7644 * Menu.cs: Implemented basic rendering. Added some missing properties.
7645 * MenuItem.cs: Improved implementation of Depth.
7646 * Unit.cs: Added serializable attribute.
7647 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
7648 so it can be reused.
7649 * Menu.js: New script to support he Menu control.
7651 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
7653 * MenuEventArgs.cs: Changed to sealed.
7654 * TreeView.cs: Minor fix.
7655 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
7656 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
7657 MenuItemStyleCollection.cs: Initial Menu code.
7659 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
7661 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
7662 Implemented SetDirtyObject.
7663 * Style.cs: Implemented SetDirty().
7664 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
7665 * TreeNode.cs: Added missing attributes added support for
7666 PopulateOnDemand. Added some missing property bindings.
7667 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
7668 to newly added elements to make sure al new data is saved.
7669 * TreeView.js: Implemented support for client population of nodes.
7670 * TreeNodeStyle.cs: Added missing attributes.
7671 * TreeView.cs: Implemented support for PopulateNodesFromClient and
7672 PopulateOnDemand. Improved rendering.
7674 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
7676 * DataControlField.cs:
7677 * DataControlFieldCell.cs: Initial implementation.
7679 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
7681 * TreeNodeBindingCollection.cs: Implemented.
7682 * TreeNodeBinding.cs: Implemented.
7683 * TreeNode.cs: Added support for data binding.
7684 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
7685 TreeView_Default_NoExpand.gif: Moved to resources directory.
7686 * ListControl.cs: Fixed api.
7687 * XmlHierarchicalEnumerable.cs: Made internal.
7688 * DataBoundControl.cs: Modified api to match latest ms.net.
7689 * TreeView.js: New javascript file to support TreeView in the client.
7690 * XmlDataSource.cs: Added missing attributes.
7691 * HierarchicalDataBoundControl.cs: Mostly implemented.
7692 * BaseDataBoundControl.cs: Mostly implemented.
7693 * XmlHierarchyData.cs: Made internal.
7694 * TreeView.cs: Mostly implemented. The major missing feature is
7695 client side tree population.
7697 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
7700 * DataBountControl.cs:
7701 * Repeater.cs: Added SelectArguments property and updated.
7702 * SiteMapDataSourceView.cs:
7703 * SqlDataSourceView.cs:
7704 * XmlDataSourceView.cs: Removed extra method, which was there to
7705 keep things compiling.
7707 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
7709 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
7710 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
7711 TreeView.cs: Initial implementation.
7712 * DataBoundControl.cs: Set the correct base class.
7713 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
7714 * TreeNodeSelectAction.cs: Formatting.
7715 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
7716 TreeView_Default_NoExpand.gif: TreeView images.
7718 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
7720 * SqlDataSourceView.cs: Updated methods and added one property.
7722 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7724 * AccessDataSource.cs:
7725 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
7726 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7728 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
7729 * SqlDataSourceView.cs: Updated constructor.
7731 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7733 * AccessDataSourceView.cs: Added new class.
7735 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7737 * SqlDataSourceView.cs: Corrected exception handling in
7738 ExecuteSelect method.
7740 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
7742 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
7743 * SiteMapDataSourceView.cs: Minor fix.
7745 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7747 * SqlDataSourceView.cs: Updated ExecuteSelect method.
7749 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7751 * SqlDataSource.cs: Corrected Select method.
7753 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7755 * SqlDataSource.cs: Updated Select method definition.
7756 * SqlDataSourceStatusEventArgs.cs: Updated class.
7758 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
7760 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
7761 from DataSourceView.cs).
7763 2004-11-10 Raja R Harinath <rharinath@novell.com>
7765 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
7767 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
7769 * SqlDataSource.cs: Corrected method calls.
7770 * SqlDataSourceView.cs: Partial implementation of few methods.
7772 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7774 * ListItemCollection.cs: fixed bug when indexing changed elements in
7775 LoadViewState. Patch from Alois Bělaška.
7777 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
7779 * SiteMapDataSourceView.cs:
7780 * SqlDataSourceView.cs:
7781 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
7782 base class, DataSourceView. Changes are to keep things compiling.
7784 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
7786 * SiteMapDataSourceView.cs: Corrected class definition and updated.
7787 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
7790 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
7792 * AdRotator.cs: Updated.
7794 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
7796 * AccessDataSource.cs: Updated.
7798 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7800 * ValidatedControlConverter.cs: Updated.
7802 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7804 * AssociatedControlConverter.cs: Implemented.
7806 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7808 * ControlIDConverter.cs: Initial implementation.
7810 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7812 * IButtonControl.cs: Corrected property name.
7814 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7816 * ParameterCollection.cs: Updated.
7818 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7820 * Parameter.cs: Updated and completed implementation.
7822 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7824 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
7827 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7829 * AccessDataSource.cs: Initial implementation.
7831 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
7833 * DataControlRowState.cs:
7835 * TreeNodeTypes.cs: Added attribute.
7836 * DataControlRowType.cs:
7838 * SortDirection.cs: Corrected enumeration values.
7839 * TableRowSection.cs: Added new enumeration.
7840 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
7842 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7844 * TableStyle.cs: don't render empty 'rules' attribute (again).
7846 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
7848 * FormViewUpdatedEventArgs.cs: Spelling mistake.
7850 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
7852 * Literal.cs: Added new method Focus().
7854 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7856 * RadioButton.cs: fix GroupName when the control is inside a
7857 NamingContainer different from Page. Closes bug #65586.
7859 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
7861 * Localize.cs: Added new class.
7863 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
7865 * CompositeControl.cs : Completed
7866 * Login.cs : Initial implementation.
7868 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7870 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
7871 don't call MapPathSecure on the content itself.
7873 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
7874 document is checked at parse time and will be checked again at run time.
7878 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
7880 * AuthenticateEventHandler.cs:
7881 * CreateUserErrorEventArgs.cs:
7882 * CreateUserErrorEventHandler.cs:
7883 * DetailsViewCommandEventHandler.cs:
7884 * DetailsViewDeleteEventArgs.cs:
7885 * DetailsViewDeleteEventHandler.cs:
7886 * DetailsViewDeletedEventArgs.cs:
7887 * DetailsViewDeletedEventHandler.cs:
7888 * DetailsViewInsertEventArgs.cs:
7889 * DetailsViewInsertEventHandler.cs:
7890 * DetailsViewInsertedEventArgs.cs:
7891 * DetailsViewInsertedEventHandler.cs:
7892 * DetailsViewModeEventArgs.cs:
7893 * DetailsViewModeEventHandler.cs:
7894 * DetailsViewPageEventHandler.cs:
7895 * DetailsViewUpdateEventArgs.cs:
7896 * DetailsViewUpdateEventHandler.cs:
7897 * DetailsViewUpdatedEventArgs.cs:
7898 * DetailsViewUpdatedEventHandler.cs:
7899 * FormViewCommandEventHandler.cs:
7900 * FormViewDeleteEventArgs.cs:
7901 * FormViewDeleteEventHandler.cs:
7902 * FormViewDeletedEventArgs.cs:
7903 * FormViewDeletedEventHandler.cs:
7904 * FormViewInsertEventArgs.cs:
7905 * FormViewInsertEventHandler.cs:
7906 * FormViewInsertedEventArgs.cs:
7907 * FormViewInsertedEventHandler.cs:
7908 * FormViewModeEventHandler.cs:
7909 * FormViewPageEventHandler.cs:
7910 * FormViewUpdateEventArgs.cs:
7911 * FormViewUpdateEventHandler.cs:
7912 * FormViewUpdatedEventArgs.cs:
7913 * FormViewUpdatedEventHandler.cs:
7914 * GridViewCancelEditEventArgs.cs:
7915 * GridViewCancelEditEventHandler.cs:
7916 * GridViewCommandEventHandler.cs:
7917 * GridViewDeleteEventArgs.cs:
7918 * GridViewDeleteEventHandler.cs:
7919 * GridViewDeletedEventArgs.cs:
7920 * GridViewDeletedEventHandler.cs:
7921 * GridViewEditEventHandler.cs:
7922 * GridViewPageEventHandler.cs:
7923 * GridViewRowEventHandler.cs:
7924 * GridViewSelectEventHandler.cs:
7925 * GridViewSortEventArgs.cs:
7926 * GridViewSortEventHandler.cs:
7927 * GridViewUpdateEventArgs.cs:
7928 * GridViewUpdateEventHandler.cs:
7929 * GridViewUpdatedEventArgs.cs:
7930 * GridViewUpdatedEventHandler.cs:
7931 * ImageMapEventHandler.cs:
7932 * MailMessageEventHandler.cs:
7933 * MenuEventHandler.cs:
7934 * ObjectDataSourceDisposingEventHandler.cs:
7935 * ObjectDataSourceEventHandler.cs:
7936 * ObjectDataSourceMethodEventArgs.cs:
7937 * ObjectDataSourceMethodEventHandler.cs:
7938 * ObjectDataSourceSelectingEventArgs.cs:
7939 * ObjectDataSourceSelectingEventHandler.cs:
7940 * ObjectDataSourceStatusEventArgs.cs:
7941 * ObjectDataSourceStatusEventHandler.cs:
7942 * SendMailErrorEventHandler.cs:
7943 * SiteMapNodeItemEventHandler.cs:
7944 * SqlDataSourceSelectingEventArgs.cs:
7945 * SqlDataSourceSelectingEventHandler.cs:
7946 * TreeNodeEventHandler.cs:
7947 * WizardNavigationEventArgs.cs:
7948 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
7949 corrections and removing "sealed" access specifier from *EventHandler.cs
7951 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
7953 * Literal.cs: Added new attributes and property for .Net 2.0
7955 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
7957 * GridViewDeleteEventArgs.cs: Removed extra code.
7959 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
7961 * SendMailErrorEventArgs.cs:
7962 * SendMailErrorEventHandler.cs:
7963 * SiteMapNodeItemEventArgs.cs:
7964 * SiteMapNodeItemEventHandler.cs:
7965 * SqlDataSourceSelectingEventArgs.cs:
7966 * SqlDataSourceSelectingEventHandler.cs:
7967 * TreeNodeEventArgs.cs:
7968 * TreeNodeEventHandler.cs:
7969 * WizardNavigationEventArgs.cs:
7970 * WizardNavigationEventHandler.cs: Added new delegates.
7972 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7974 * ImageMapEventArgs.cs:
7975 * ImageMapEventHandler.cs:
7976 * MailMessageEventArgs.cs:
7977 * MailMessageEventHandler.cs:
7979 * MenuEventHandler.cs:
7980 * ObjectDataSourceDisposingEventArgs.cs:
7981 * ObjectDataSourceDisposingEventHandler.cs:
7982 * ObjectDataSourceEventArgs.cs:
7983 * ObjectDataSourceEventHandler.cs:
7984 * ObjectDataSourceMethodEventArgs.cs:
7985 * ObjectDataSourceMethodEventHandler.cs:
7986 * ObjectDataSourceSelectingEventArgs.cs:
7987 * ObjectDataSourceSelectingEventHandler.cs:
7988 * ObjectDataSourceStatusEventArgs.cs:
7989 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
7991 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7993 * DetailsViewCommandEventArgs.cs:
7994 * FormViewCommandEventArgs.cs:
7995 * GridViewCommandEventArgs.cs: Corrected constructor.
7997 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7999 * GridViewCancelEditEventArgs.cs:
8000 * GridViewCancelEditEventHandler.cs:
8001 * GridViewCommandEventArgs.cs:
8002 * GridViewCommandEventHandler.cs:
8003 * GridViewDeletedEventArgs.cs:
8004 * GridViewDeletedEventHandler.cs:
8005 * GridViewDeleteEventArgs.cs:
8006 * GridViewDeleteEventHandler.cs:
8007 * GridViewEditEventArgs.cs:
8008 * GridViewEditEventHandler.cs:
8009 * GridViewPageEventArgs.cs:
8010 * GridViewPageEventHandler.cs:
8011 * GridViewRowEventArgs.cs:
8012 * GridViewRowEventHandler.cs:
8013 * GridViewSelectEventArgs.cs:
8014 * GridViewSelectEventHandler.cs:
8015 * GridViewSortEventArgs.cs:
8016 * GridViewSortEventHandler.cs:
8017 * GridViewUpdatedEventArgs.cs:
8018 * GridViewUpdatedEventHandler.cs:
8019 * GridViewUpdateEventArgs.cs:
8020 * GridViewUpdateEventHandler.cs: Added new delegates.
8022 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
8024 * FormViewUpdatedEventArgs.cs: Corrected constructor.
8026 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
8028 * FormViewCommandEventArgs.cs: Corrected name of class.
8030 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8032 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
8035 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
8037 * FormViewCommandEventArgs.cs:
8038 * FormViewCommandEventHandler.cs:
8039 * FormViewDeletedEventArgs.cs:
8040 * FormViewDeletedEventHandler.cs:
8041 * FormViewDeleteEventArgs.cs:
8042 * FormViewDeleteEventHandler.cs:
8043 * FormViewInsertedEventArgs.cs:
8044 * FormViewInsertedEventHandler.cs:
8045 * FormViewInsertEventArgs.cs:
8046 * FormViewInsertEventHandler.cs:
8047 * FormViewModeEventArgs.cs:
8048 * FormViewModeEventHandler.cs:
8049 * FormViewPageEventArgs.cs:
8050 * FormViewPageEventHandler.cs:
8051 * FormViewUpdatedEventArgs.cs:
8052 * FormViewUpdatedEventHandler.cs:
8053 * FormViewUpdateEventArgs.cs:
8054 * FormViewUpdateEventHandler.cs: Added new delegates.
8056 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
8058 * DetailsViewCommandEventArgs.cs:
8059 * DetailsViewCommandEventHandler.cs:
8060 * DetailsViewDeletedEventArgs.cs:
8061 * DetailsViewDeletedEventHandler.cs:
8062 * DetailsViewDeleteEventArgs.cs:
8063 * DetailsViewDeleteEventHandler.cs:
8064 * DetailsViewInsertedEventArgs.cs:
8065 * DetailsViewInsertedEventHandler.cs:
8066 * DetailsViewInsertEventArgs.cs:
8067 * DetailsViewInsertEventHandler.cs:
8068 * DetailsViewModeEventArgs.cs:
8069 * DetailsViewModeEventHandler.cs:
8070 * DetailsViewPageEventArgs.cs:
8071 * DetailsViewPageEventHandler.cs:
8072 * DetailsViewUpdatedEventArgs.cs:
8073 * DetailsViewUpdatedEventHandler.cs:
8074 * DetailsViewUpdateEventArgs.cs:
8075 * DetailsViewUpdateEventHandler.cs: Added new delegates.
8077 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
8079 * AuthenticateEventArgs.cs:
8080 * AuthenticateEventHandler.cs:
8081 * CreateUserErrorEventArgs.cs:
8082 * CreateUserErrorEventHandler.cs: Added new delegates.
8084 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
8086 * IButtonControl.cs:
8087 * ICallbackContainer.cs:
8088 * ICompositeControlDesignerAccessor.cs:
8089 * IPostBackContainer.cs: Added new interfaces.
8091 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
8094 * AutoCompleteType.cs:
8095 * ContentDirection.cs:
8096 * DataControlCellType.cs:
8097 * DataControlRowState.cs:
8098 * DataControlRowType.cs:
8099 * DetailsViewMode.cs:
8100 * DynamicImageParameterMode.cs:
8103 * ImageFieldMode.cs:
8110 * SiteMapNodeItemType.cs:
8111 * SiteMapNodeType.cs:
8112 * SiteMapViewType.cs:
8114 * TableCaptionAlign.cs:
8115 * TableHeaderScope.cs:
8117 * TreeNodeSelectAction.cs:
8119 * TreeViewImageSet.cs:
8120 * WizardStepType.cs: Added enumerations
8122 2004-08-02 Duncan Mak <duncan@ximian.com>
8125 * LoginFailureAction.cs:
8126 * LoginTextLayout.cs: Added enumerations.
8128 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8130 * BaseValidator.cs: in Validate(), when the control is not visible or
8131 enabled, return inmediately after setting IsValid to true. Fixes bug
8134 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8136 * DataList.cs: s/HasChildren/HasControls()/.
8138 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8140 * DataList.cs: style.
8142 2004-07-27 Alon Gazit <along@mainsoft.com>
8143 * DataList.cs: Replaced foreach statement with for statement,
8144 in order to improve performence.
8146 2004-07-27 Alon Gazit <along@mainsoft.com>
8147 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
8149 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
8150 switch statements in order to improve performance.
8152 2004-06-10 Alon Gazit <along@mainsoft.com>
8153 * WebControl.cs: fixed LoadViewState().
8154 Creates new attributes state bag only when the current is null.
8156 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8158 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
8160 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8162 * Calendar.cs: set the title class attribute if we have it. Fixes bug
8165 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8167 * Style.cs: added SetBit.
8169 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8172 * CompareValidator.cs:
8175 * WebControl.cs: Added protected missing members and attributes.
8177 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8179 * TextBox.cs: don't save the Text if in ViewState if it's a password.
8180 Save it if the control is not visible or not enabled. Fixes bug #58497.
8182 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8184 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
8187 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
8189 * SqlDataSourceCommandEventArgs:
8190 * XmlDataSource.cs : removed temporary workarounds for CLS
8191 compliance as System.Data is now CLS compliant
8193 2004-05-06 Alon Gazit <along@mainsoft.com>
8194 * WebControl.cs: fixed LoadViewState() and SaveViewState().
8195 Before the change the Enabled property wasn't updated when a postback
8197 * ListControl.cs: fixed SelectedIndex property implementation.
8198 Prevents throwing ArgumentOutOfRangeException (that should not be
8199 thrown), when the list is empty.
8201 2004-04-28 Alon Gazit <along@mainsoft.com>
8202 * WebControl.cs: fixed LoadViewState().
8203 Always loading the saved attributes collection.
8205 2004-04-18 Alon Gazit <along@mainsoft.com>
8206 * Repeater.cs: fixed InstantiateItem() and DataSource property.
8207 The change in DataSource prevents throwing ArgumentException while
8208 setting property value to null.
8209 The change in InstantiateItem() prevents NullReferenceException.
8211 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
8213 * BaseValidator.cs: Store Display property in the correct ViewState
8214 property. Don't render anything if Display is ValidatorDisplay.None.
8216 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
8218 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
8219 since it is already a physical path. Fixes bug #55334.
8221 2004-02-13 Jackson Harper <jackson@ximian.com>
8223 * Calendar.cs: Match MS postback data. This allows sites that
8224 parse the postback data manually to work.
8226 2004-02-04 Alon Gazit <along@mainsoft.com>
8227 * EditCommandColumn.cs: fixed InitializeCell().
8228 The rendered LiteralControl should contain " " and not " ".
8230 2004-02-01 Alon Gazit <along@mainsoft.com>
8232 * DataGrid.cs: fixed a problem in the paging mechanism in the method
8234 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
8235 while clicking the "..." link in the second page.
8237 2004-01-28 Alon Gazit <along@mainsoft.com>
8239 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
8241 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8243 * Calendar.cs: when rendering days, add a LiteralControl containing the
8244 day before OnDayRender is called. Only generate the default links for
8245 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
8247 2004-01-21 Martin Baulig <martin@ximian.com>
8249 * XmlHierarchyData.cs: Make this compile with csc.
8251 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
8252 accessor since the base class doesn't have one.
8254 2004-01-18 Alon Gazit <along@mainsoft.com>
8256 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
8258 2004-01-18 Alon Gazit <along@mainsoft.com>
8260 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
8261 Property default value.
8262 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
8263 Property default value.
8265 2004-01-15 Alon Gazit <along@mainsoft.com>
8267 * RadioButtonList.cs: RepeatLayout property should affect the rendered
8270 2004-01-15 Alon Gazit <along@mainsoft.com>
8271 * FontInfo.cs: Add validation check to Size property.
8273 2004-01-07 Alon Gazit <along@mainsoft.com>
8274 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8275 merge the column's style to the cell's style and not to
8276 the item's(row) style.
8278 2004-01-04 Alon Gazit <along@mainsoft.com>
8279 * RangeValidator.cs: Fixed ControlPropertiesValid().
8281 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8283 * Xml.cs: mono-stylized and removed warnings.
8285 2004-1-1 Alon Gazit <along@mainsoft.com>
8286 * RadioButtonList.cs: update RenderItem() so that each RadioButton
8287 is enabled or disabled like the RadioButtonList.
8288 * CheckBoxList.cs: update RenderItem() so that each CheckBox
8289 is enabled or disabled like the CheckBoxList.
8291 2004-1-1 Alon Gazit <along@mainsoft.com>
8292 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8293 The Header or Footer Style shouldn't merge with the cells Style.
8295 2004-1-1 Alon Gazit <along@mainsoft.com>
8296 * DataGridColumn.cs: Headers and Footers are initialized
8297 with the relevant Style object.
8299 2003-12-30 Alon Gazit <along@mainsoft.com>
8300 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8301 DoHorizontalRendering().
8302 Current implementation produces few extra html tags.
8304 2003-12-29 Alon Gazit <along@mainsoft.com>
8306 * CheckBox.cs: change the implementation of LoadPostData.
8307 Currently, while the AutoPostBack property equals true ,
8308 it isn't possible to perform uncheck.
8310 2003-12-19 Jackson Harper <jackson@ximian.com>
8312 * TableCell.cs: Setting a cells text should clear its control
8313 collection as per la specification. This fixes bug #51825.
8315 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8317 * DataGridColumn.cs: stylized LoadViewState.
8318 * DataGridColumnCollection.cs: when TrackViewState is called, also
8319 call it on all the existing columns. Fixes bug #52334.
8321 2003-12-18 Alon Gazit <along@mainsoft.com>
8323 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
8326 2003-12-18 Alon Gazit <along@mainsoft.com>
8328 * TableStyle.cs: merge TableStyle properties when Style is empty.
8330 2003-12-16 Alon Gazit <along@mainsoft.com>
8332 * HyperLink.cs: Change Text property implementation. in MS when the Text
8333 property is set, all the controls in the HyperLink are being deleted.
8334 This fixes bug #52239.
8336 2003-12-15 Alon Gazit <along@mainsoft.com>
8337 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8338 DoHorizontalRendering().
8339 Both methods add additional empty table row in the head of each item
8340 table when the variable named isTable equals true (happenes with the
8341 default instantiation of RepeatInfo). These additional rows should be
8342 added when isTable equals false.
8343 This fixes bug #52225.
8345 2003-12-15 Alon Gazit <along@mainsoft.com>
8347 * RepeatInfo.cs: Fixed DoVerticalRendering() and
8348 DoHorizontalRendering().
8349 Both methods add to rendered Header a colspan attribute according to the
8350 rows count. after the change the colspan is added according to the
8353 2003-12-15 Alon Gazit <along@mainsoft.com>
8354 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
8355 In .NET if the checkbox is disabled ,its text appears disabled too.
8356 In Mono the text appears enabled. the fix is in Render().
8357 This fixes bug #52180.
8359 2003-12-15 Alon Gazit <along@mainsoft.com>
8360 * Repeater.cs: Change the implementation of CreateControlHierarchy().
8361 The current implementation renders extra Header and footer
8362 without Repeater.DataSource assign.
8363 This fixes bug #52179.
8365 2003-12-15 Alon Gazit <along@mainsoft.com>
8366 * DataGrid.cs: Change the implementation of the property
8367 BackImageUrl. The current implementation has no influence
8368 on the rendered Html.
8370 2003-12-15 Alon Gazit <along@mainsoft.com>
8371 * WebControl.cs: Change the implementation of the property
8372 Enabled. Before the change the WebControl also looked at
8373 parent.Enabled . fixed bug #52171.
8375 2003-12-11 Jackson Harper <jackson@ximian.com>
8377 * RepeatInfo.cs: When rendering vertically figure out how many
8378 colmns are not going to be filled in in the last row, and adjust
8379 things accordingly. This fixes bug #51863.
8381 2003-12-10 Alon Gazit <along@mainsoft.com>
8382 * TableRow.cs: Change the implementation of the properties
8383 HorizontalAlign and VerticalAlign. The current implementation
8384 has no influence on the rendered Html.
8386 2003-12-10 Alon Gazit <along@mainsoft.com>
8387 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
8388 property's set method.
8390 2003-12-09 Jackson Harper <jackson@ximian.com>
8392 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
8393 Increment counter when moving to start. Fixes bug #51926.
8395 2003-12-08 Jackson Harper <jackson@ximian.com>
8397 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
8398 Benjamin Jemlich. Fixes bug #51823.
8400 2003-12-07 Alon Gazit <along@mainsoft.com>
8401 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
8402 property is set to false. Fixes bug #58120.
8404 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8406 * TableItemStyle.cs: merge TableItemStyle properties when Style is
8407 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
8409 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8411 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
8414 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8416 * WebControl.cs: don't create the attributes when GetAttribute is
8419 2003-12-01 Jackson Harper <jackson@ximian.com>
8421 * WebControl.cs: Only allow access keys to be null or a single
8422 char. Patch by Alon Gazit <along@mainsoft.com>.
8424 2003-11-30 Jackson Harper <jackson@ximian.com>
8426 * CheckBoxList.cs: A checkbox will have null post data if it is
8427 unselected. This fixes bug #51516.
8429 2003-11-29 Jackson Harper <jackson@ximian.com>
8431 * DataGrid.cs: Display paging controls even when there is no
8432 data. Path by Mohammad DAMT. Fixes bug #51487.
8434 2003-11-29 Jackson Harper <jackson@ximian.com>
8436 * DataGrid.cs: Call TrackViewState when loading bound columns view
8437 state. So that their state is saved. This fixes bug #51424. Also
8440 2003-11-26 Jackson Harper <jackson@ximian.com>
8442 * BaseDataList.cs: Change && to || We will call that a typo so no
8443 one gets embarrased.
8445 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8447 * BaseDataList.cs: allow setting null as Datasource.
8449 * DataGrid.cs: keep autogenerated columns in the ViewState.
8451 Patches by Alon Gazit <along@mainsoft.com>.
8453 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8455 * SqlDataSource*: Implement almost everything. Data access is
8458 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8460 * Calendar.cs (SaveViewState):
8461 - We were allocating a 11 item array, we only used 10 items,
8462 so only allocate 10.
8463 - We only need to save the selected dates if there are any.
8464 * DataGrid.cs (SaveViewState):
8465 * DataGridColumn.cs (SaveViewState):
8466 * DataGridColumnCollection.cs (SaveViewState):
8467 - Only return the array if there is anything in it
8468 * Style.cs (SaveViewState):
8469 - Only save the bits if there were changes.
8470 * WebControl.cs (SaveViewState), (LoadViewState):
8471 - Don't save Enabled into the viewstate here, we already
8472 do it in the property. This just caused *EVERY* control
8473 to have a non-null state, taking up lots of extra room
8475 - The style will always be created with this control's
8476 viewstate, so the style will always return null for the
8477 viewstate. As such, we do not need to store it. We can
8478 also reduce the triplet to a pair because of this.
8480 2003-11-22 Jackson Harper <jackson@ximian.com>
8482 * ValidationSummary.cs: Fix number of messages and message array computation.
8484 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8486 * Xml.cs: Corrected attribute
8487 * XmlBuilder.cs: Added
8489 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8491 * Xml.cs: class status based fixes.
8493 2003-11-19 Jackson Harper <jackson@ximian.com>
8495 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
8497 2003-11-19 Jackson Harper <jackson@ximian.com>
8499 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
8500 teh applications base directory. This fixes bug #51092.
8502 2003-11-18 Todd Berman <tberman@gentoo.org>
8504 * ControlParameter.cs:
8505 * CookieParameter.cs:
8507 * QueryStringParameter.cs:
8508 * SessionParameter.cs: added public .ctor ()
8509 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
8510 and handling, as well as internal ParameterValue for easy access.
8511 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
8512 * ParameterCollection.cs: implementation redux.
8514 2003-11-18 Todd Berman <tberman@gentoo.org>
8516 * ParameterCollection.cs: Implemented
8517 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
8518 ToString () now matches asp.net
8520 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
8522 * ControlParameter.cs:
8523 * CookieParameter.cs:
8526 * QueryStringParameter.cs: New v2 files. Mostly
8527 implemented, still need a few methods.
8529 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8531 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
8532 Gazit <along@mainsoft.com>.
8534 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8536 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
8537 Patch by Alon Gazit <along@mainsoft.com>.
8539 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8541 * DataBoundControl.cs: Implement
8542 * ListControl.cs: inherit from the above.
8543 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
8545 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8550 * Repeater.cs: add v2 databinding stuff
8551 * XmlDataSource.cs: make it load the xml.
8553 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8556 * XmlDataSourceView.cs:
8557 * XmlHierarchicalDataSourceView.cs:
8558 * XmlHierarchicalEnumerable.cs:
8559 * XmlHierarchyData.cs: Implement
8561 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
8563 * SiteMapDataSourceView.cs: Implement.
8565 2003-11-07 Jackson Harper <jackson@ximian.com>
8567 * ImageButton.cs: This is a workaround for bug #49819. It appears
8568 that the .x and .y values are not being posted, and only the x
8569 value is being posted with the ctrl's id as the key.
8571 2003-11-07 Jackson Harper <jackson@ximian.com>
8573 * DataGrid.cs (CreateControlHierarchy): Current page index is
8574 alolowed to equal page count. This prevents an exception being
8575 thrown when both are zero.
8577 2003-11-06 Jackson Harper <jackson@ximian.com>
8579 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
8580 * BaseValidator.cs: Disable base control so the isValid flag is
8583 2003-11-03 Jackson Harper <jackson@ximian.com>
8585 * TemplateColumn.cs: Use the same renderer for selected items as
8586 normal items. This fixes bug #49744.
8588 2003-11-03 Jackson Harper <jackson@ximian.com>
8591 * WebControl.cs: Fix argument out of range exceptions on
8592 properties. Patch by Yaron Shkop.
8594 2003-11-03 Jackson Harper <jackson@ximian.com>
8596 * TemplateColumn.cs: If the item is selected but there is no
8597 editItemTemplate use the itemTemplate. This matches MS behvoir.
8599 2003-11-03 Jackson Harper <jackson@ximian.com>
8601 * Repeater.cs: Always set alternating items to the AlternatingItem
8602 type, when instantiating alternating items use the itemTemplate if
8603 the alternatingItem template is null. This matches MS behavoir and
8606 2003-11-03 Jackson Harper <jackson@ximian.com>
8608 * DataGridPagerStyle.cs: Name of view state attribute is
8609 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
8610 visibility is changed. Patch by Yaron Shkop.
8612 2003-11-03 Jackson Harper <jackson@ximian.com>
8614 * RepeatInfo.cs: When doing horizontal rendering use the repeat
8615 columns as the number of columns in a row. This fixes bug #49016.
8617 2003-11-03 Jackson Harper <jackson@ximian.com>
8619 * PagedDataSource.cs (PageCount): Return page count of 1 if there
8620 paging is disabled. Patch by Yaron Shkop.
8621 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
8622 * TableStyle.cs (AddAttributesToRender): Render border style
8623 collapse. Patch by Yaron Shkop.
8625 * TableItemStyle.cs:
8626 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
8627 the wrong type. Patch by Yaron Shkop.
8629 2003-11-03 Jackson Harper <jackson@ximian.com>
8631 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
8633 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
8636 * BulletedListDisplayMode.cs:
8637 * BulletedListEventHandler.cs:
8639 * BulletedListEventArgs.cs: V2 controls (yay!)
8641 2003-10-30 Jackson Harper <jackson@ximian.com>
8643 * Repeater.cs: Throw an exception if the datasource is set to
8644 something that does not implement either IListSource or
8645 IEnumerable. This fixes bug #50155.
8647 2003-10-30 Jackson Harper <jackson@ximian.com>
8649 * DataGridPagerStyle.cs: Do not allow page button counts to be set
8650 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
8652 2003-10-29 Jackson Harper <jackson@ximian.com>
8654 * ButtonColumn.cs: Format string and text to format were
8655 inversed. This fixes bug #50171.
8657 2003-10-29 Jackson Harper <jackson@ximian.com>
8659 * DataGridColumn.cs: If an item style is set apply it to the
8660 cell. This fixes bug #50173.
8662 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
8664 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
8665 old debugging value.
8667 2003-10-29 Jackson Harper <jackson@ximian.com>
8669 * PagedDataSource.cs:
8670 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
8671 end of the last page. Fixes bug #5085.
8673 2003-10-29 Jackson Harper <jackson@ximian.com>
8675 * CheckBox.cs: Do not change the status of a checkbox when there
8676 is no post data. This fixes bug #49091.
8677 * CheckBoxList.cs: Do not change the status of the checkboxes when
8678 there is no post data. This fixes bug #49093.
8680 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
8682 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
8683 RadioButton. Fixes #50132
8685 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8687 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
8688 paging from working. Fixes #48814.
8690 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8692 * DataGrid.cs: A few typos kept us from viewing datagrids
8693 that were based on customized collections.
8695 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
8697 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
8699 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
8701 * Calendar.cs: render the next month button so that aligns to the
8704 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8706 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
8707 was just changing && by || after the first Match.
8709 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8711 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
8712 Patch by Yaron Shkop.
8714 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8716 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
8717 that fixes bug #49744. Now the selection doesn't lose its data.
8719 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8721 * EditCommandColumn.cs: Implement; fix #49736
8723 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8725 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
8726 the forground color. bug #49738
8728 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8730 * Calendar.cs: fixed bug #49727.
8732 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
8734 * TableStyle.cs: fix #49740.
8736 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8738 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
8739 * ValidationSummary.cs: fixes bug #49669.
8741 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8743 * Calendar.cs: apply the calendar style to the new Table, not to itself.
8746 * CheckBox.cs: render the hidden fields if AutoPostBack.
8748 * Style.cs: don't render empty width/height. Small improvement in
8751 * Table.cs: fixed condition for border width.
8754 (CopyFrom): always call the base class to copy other attributes. Fixes
8755 bug #49408. Don't render empty 'rules' attribute.
8757 * WebControl.cs: track viewstate when enabled. Don't overwrite source
8758 control attributes in CopyBaseAttributes.
8760 * ChangeLog: fixed dates.
8763 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8765 * WebControl.cs : Attributes { get; } - Is Complete.
8766 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
8769 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8771 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
8772 : RegisterValidatorCommonScript()
8773 - More code, I need HELP!
8774 : RegisterValidatorDeclaration()
8775 - More code, I need HELP!
8777 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8779 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
8782 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8784 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
8785 ClearViewState only called when no items.
8787 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8789 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
8791 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8793 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
8795 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8797 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
8800 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8802 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
8805 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8807 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
8808 * WebControl.cs: fixed Enabled property and save it in ViewState.
8812 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8814 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
8816 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8818 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
8821 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8823 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
8824 <rich@velvetsea.net>.
8826 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8828 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
8829 Skripsky <juraj@hotfeet.ch>
8831 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8833 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
8834 fixes rendering of the end tag.
8836 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8838 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
8839 (Yaron Shkop). Closes bug #48060.
8841 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8843 * CheckBox.cs: in LoadPostData, only return
8844 true when the new data is different from the one we had. Fixed
8845 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
8848 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8850 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
8852 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8854 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
8855 of Enable in ViewState. Fixes bug #47865.
8857 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8859 * Style.cs: the MARKED bit is not send set in ViewState unless something
8860 is changed. Fixed TrackViewState condition.
8862 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
8863 because it uses the same ViewState as the control. Fixes bug #47725.
8865 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8867 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
8868 that fixes databinding when only DataTextField or DataNavigateUrlField
8871 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8873 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
8874 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
8875 values before assigning a data source and other issues.
8877 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8879 * CheckBox.cs: save viewstate when needed and correctly handle post
8880 data. Fixes bug #47462.
8882 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8884 * ButtonColumn.cs: Removed additional attributes
8885 * CheckBox.cs: Added attribute
8886 * DataGrid.cs: Added attributes
8887 * HyperLinkColumn.cs: Changed attributes, added lamespec
8888 * Style.cs: Removed attributes
8889 * TextBox.cs: Added/ removed attributes
8891 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8893 * AdRotator.cs: Added all attributes
8894 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
8895 * BaseValidator.cs: Added all attributes
8896 * BoundColumn.cs: Added all attributes
8897 * Button.cs: Added all attributes
8898 * ButtonColumn.cs: Added all attributes, added lamespec
8899 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
8900 * CheckBox.cs: Added all attributes
8901 * CheckBoxList.cs: Added all attributes
8902 * CompareValidator.cs: Added all attributes
8903 * CustomValidator.cs: Added all attributes
8904 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
8905 * DataGridColumn.cs: Added all attributes
8906 * DataGridColumnCollection.cs: Added all attributes
8907 * DataGridPagerStyle.cs: Added all attributes
8908 * DataGridTableInternal.cs: Made DataGridTableInternal internal
8909 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
8910 * DropDownList.cs: Added all attributes
8911 * FontInfo.cs: Added all attributes
8912 * HyperLink.cs: Added all attributes
8913 * HyperLinkColumn.cs: Added all attributes
8914 * Image.cs: Added all attributes
8915 * ImageButton.cs: Added all attributes
8916 * Label.cs: Added all attributes
8917 * LinkButton.cs: Added all attributes
8918 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
8919 * ListControl.cs: Added all attributes
8920 * ListItem.cs: Added all attributes
8921 * ListItemCollection.cs: Added attribute
8922 * Literal.cs: Added all attributes
8923 * Panel.cs: Added all attributes
8924 * RadioButton.cs: Added all attributes
8925 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
8926 * RangeValidator.cs: Added all attributes
8927 * RegularExpressionValidator.cs: Added all attributes
8928 * Repeater.cs: Added all attributes
8930 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8932 * RequiredFieldValidator.cs: Added all attributes
8933 * Style.cs: Added all attributes
8934 * Table.cs: Added all attributes
8935 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
8936 * TableCellCollection.cs: Added attribute
8937 * TableRow.cs: Added all attributes
8938 * TableRowCollection: Added attribute
8939 * TableStyle.cs: Added all attributes, improved error messages
8940 * TemplateColumn.cs: Added all attributes
8941 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
8942 * ValidationSummary.cs: Added all attributes
8943 * WebControl.cs: Added all attributes
8944 * Xml.cs: Added all attributes
8946 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8948 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
8949 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
8951 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8953 * CheckBoxList.cs: fixes bug reported on the list about the state of
8954 the CheckButtons not being preserved across posts.
8956 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8958 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
8960 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8962 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
8964 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8966 * ListControl.cs: save viewstate data when any of the 3 values is not
8967 null. Fixed condition to save selection indices. Closes bug #45493.
8969 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8971 * DataGrid.cs: fixed bug #43823.
8973 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8975 * DataGrid.cs: fixed delegate type for SortCommand.
8977 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8979 * DataGridColumnCollection.cs: added missing return in RemoveAt.
8981 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8983 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
8984 Don't save ViewState is the number of columns is 0.
8986 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8988 * DataGrid.cs: get the right item Type for the property we're reading
8989 fromt the data source.
8991 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8994 * TextBox.cs: added control builder attribute.
8996 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8998 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
9000 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
9002 * Unit.cs: Called the correct method to get the Numeric locale for the
9005 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9007 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
9008 correctly the header of the column.
9010 * DataGridTableInternal.cs: don't assign a default ID to this control.
9012 * LinkButton.cs: raise bubble event in OnCommand.
9014 * TableCellCollection.cs: fixed the index returned by Add.
9016 * TableRowCollection.cs: ditto.
9018 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9020 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
9022 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9024 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
9025 for reporting the bug and providing the fix.
9027 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9029 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
9030 CreateColumnSet. Set the owner of the column when auto generated.
9031 In PrepareControlHierarchyForItem, fixed for loop bound.
9033 * LinkButtonInternal.cs: fixed infinite recursion bug.
9037 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
9039 * Xml.cs: a few fixes.
9041 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9043 * DataList.cs: handle the exception when adding new keys to
9046 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9048 * BaseDataList.cs: what can I say for this one? I spent so many time
9049 until I finally found this that I'm gonna miss this f....g bug... ;-).
9050 Farewell. Now we can get events from image buttons inside Data*.
9052 * DataList.cs: now the value stored in ViewState for item count is
9055 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9057 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
9059 * DataGridColumn.cs: added SetOwner method.
9060 * DataGridColumnCollection.cs: set the owner of the column when added.
9062 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9064 * BoundColumn.cs: typo.
9065 * DataGrid.cs: use 'as' instead of casting. Typo.
9066 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
9069 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9071 * HyperLink.cs: fixes bug #36336.
9073 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9075 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
9077 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9079 * BaseValidator.cs: return an empty string in GetControlValidationValue
9080 when GetValue returned null.
9082 * CompareValidator.cs: fixed EvaluateIsValid.
9084 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
9086 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9088 * Xml.cs: use MapPathSecure to get the path of the document.
9090 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9092 * DataList.cs: fixed header & footer.
9094 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9096 * DataList.cs: for header and footer don't use data source.
9097 Instantiate in the DataListItem, not in the DataList.
9098 databind-template.aspx works now.
9100 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9103 (Render): call RenderContents (), not base.RenderContents ().
9105 * DataList.cs: style.
9107 But I still haven't found what i'm looking for....
9109 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9111 * Calendar.cs: fixed loading/saving selected dates.
9112 * SelectedDatesCollection.cs: added internal function to get the
9113 underlying ArrayList.
9115 Calendar navigation works again. Selecting dates too.
9117 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9119 * DataList.cs: added a few attributes and fixed infinite recursion.
9121 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9123 * ListItemCollection.cs: fixed LoadViewState.
9125 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9127 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
9128 Commented out some code until it works.
9130 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
9132 * BaseCompareValidator.cs - Fixed operator bug in
9133 Compare(string, string, ...)
9134 * CompareValidator.cs - EvaluateIsValid() : Implemented.
9136 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9138 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
9140 - All Properties : Now make use of ViewState.
9142 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9144 * BaseValidator.cs - Uncomment NotImplementedException.
9146 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9148 * BaseValidator.cs - Minor changes in TODO comments.
9150 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9152 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
9153 the NotImplementedException being thrown.
9154 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
9155 * DataGridLinkButton.cs - Added new class (private) : Implemented.
9156 * DataGrid.cs - InitializePager(DataGridItem, int,
9157 PagedDataSource) : Implemented.
9159 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9161 * DataList.cs - PrepareControlHierarchy() : Implemented.
9163 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9165 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
9166 - GetItem(ListItemType, int) : Removed TODO.
9167 - CreateControlHierarchy(bool) : Implemented.
9168 - CreateItem(int, ListItemType) : Implemented.
9169 - CreateItem(int, ListItemType,
9170 bool, object) : Implemented.
9171 - InitializeItem(DataItem) : Implemented.
9172 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
9173 The ViewState["_!ItemCount"],
9174 ViewState["_!DataSource_ItemCount"]
9175 are shared by DataList and DataGrid, and hence
9176 should share the same name.
9177 - ResolveDataSource(object, string)
9178 : Removed. Use System.Web.UI.Utils.DataSourceHelper
9179 ::GetResolvedDataSource(object, string).
9182 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9184 * DataGrid.cs: fixed compilation
9186 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
9188 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
9189 * DataGrid.cs - CreateControlHierarchy(bool)
9190 : working towards completion.
9191 - ResolveDataSource(object, string)
9192 : stubbed new method
9194 : stubbed new method
9195 Well. It's almost done.
9196 * DataGridTableInternal.cs
9197 - Added new internal class.
9199 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
9201 * DataSourceInternal.cs - Added new class (internal).
9203 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9206 * HorizontalAlign.cs:
9208 * VerticalAlign.cs: fixes based on class status page.
9210 * HorizontalAlignConverter.cs: implemented.
9211 * VerticalAlignConverter.cs: implemented.
9213 * FontUnitConverter.cs: implemented GetStandardValues ().
9215 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
9217 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9219 * DataGrid.cs - AutoCreateColumns: Bug fixes.
9221 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9223 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
9225 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9227 * DataGrid.cs - Working on the undocumented protected
9228 method CreateColumnSet. AutoCreateColumns method
9229 stubbed. Left CreateControlHierarchy for the time
9230 being, looks like I'm going insane. ;-)
9232 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9234 * Button.cs - Steffen's OnCommand bug fix.
9236 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
9238 * DataGrid.cs - Added protected method (skeleton)
9239 CreateColumnSet(PagedDataSource, bool)
9240 Still trying to know how will it be used
9243 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9245 * PagedDataSource.cs: fixed compilation.
9247 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
9249 * DataGrid.cs - Added private method
9250 CreatePagedDataSource
9252 CreateControlHierarchy(bool)
9253 * PagedDataSource.cs - Bug fixed.
9254 CurrentPageIndex is writable.
9256 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9258 * DataGrid.cs: fixed typo.
9259 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
9261 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9263 * DataGridColumn.cs - Added internal methods to get the
9264 various styles (needed in DataGrid.cs)
9265 * DataGrid.cs - Completed the method
9266 PrepareControlHierarchy()
9268 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9270 * DataGrid.cs - Wokring on PrepareControlHierarchy()
9271 - Added private method
9272 PrepareControlHierarchyForItem()
9274 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
9276 * DataGrid.cs - Completed method
9277 OnBubbleEvent(object, EventArgs)
9279 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9281 * Xml.cs: implemented document/transform load.
9283 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9285 * Calendar.cs: added myself to the list of authors.
9286 * DropDownList.cs: fixed a few properties.
9287 * ListControl.cs: fixed SelectedIndex.
9289 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9291 * Calendar.cs: lots of fixes. Render days. Still left to persist
9292 selected days when changing month.
9294 * Unit.cs: fixed Percentage and Pixel.
9296 * WebControl.cs: a few properties are now using ControlStyle instead
9297 of ViewState to persist.
9299 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9301 * BaseValidator.cs: it works now.
9302 * DataGridColumn.cs: added attribute and made it abstract.
9303 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
9305 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9307 * TextBox.cs: default for Wrap is true.
9308 (OnPreRender): don't save Text if there are no listeners on TextChanged.
9310 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9316 (LoadViewState): fixed.
9318 * ListItemCollection.cs:
9319 (TrackViewState): use items instead of 'this' in foreach.
9322 (LoadViewState): more checking of parameters.
9324 * WebControl.cs: implemented LoadViewState and SaveViewState.
9327 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9329 * ListItem.cs: there was no code to unset the flags!!!
9331 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9333 * FontUnit.cs: use a hashtable for mapping size name to value.
9334 * HyperLink.cs: fixed a bug and a typo.
9335 * Unit.cs: some fixes to internal constructor.
9337 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9339 * ListControl.cs: fixed a couple of range checks.
9340 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
9341 an HtmlForm (p.e., Label).
9343 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9353 * HyperLinkColumn.cs:
9362 * RadioButtonList.cs:
9366 * WebControl.cs: removed attributes added by mistake (i used
9367 GetCustomAttributes (true), d'oh!).
9369 * DataListItem.cs: implemented RenderItem.
9371 * Repeater.cs: implemented CreateItem and InitializeItem.
9373 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9375 * BaseDataList.cs: a couple of fiex and added attributes.
9376 * DataGrid.cs: little fixes.
9378 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9387 * RadioButtonList.cs:
9390 * Xml.cs: forgot to add using System.ComponentModel.
9392 * BaseValidator.cs: use explicitly
9393 System.ComponentModel.AttributeCollection as there is another class
9394 with the same name under System.Web.UI.
9396 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9415 * RadioButtonList.cs:
9420 * Xml.cs: added/fixed all attributes used by xsp.
9422 * BaseValidator.cs: some fixes.
9424 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9427 (AddAttributesToRender): correctly default to border=1.
9429 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9432 (LoadAdFile): make the dictionary null after every iteration.
9436 * ListItem.cs: fixed warnings.
9438 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
9440 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
9442 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9444 * DataGridColumn.cs:
9445 * DataGridPagerStyle.cs:
9452 * ListItemCollection.cs:
9454 * ServerValidateEventArgs.cs:
9458 * Xml.cs: more class status page based changes.
9460 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9463 (.ctor): fixed to render the correct tag.
9464 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
9466 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9469 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
9470 WebControl derived classes should be rendered inside a HtmlForm.
9472 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9474 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
9477 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9479 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9480 * RepeatInfo.cs: implemented DoHorizontalRendering.
9482 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9484 * System.Web.UI.WebControls/Repeater.cs:
9486 (OnDataBinding): fixed stack overflow.
9488 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9490 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9491 * RepeatInfo.cs: implemented DoHorizontalRendering.
9493 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9496 (CopyBaseAttributes): copy Attributes and don't throw exception.
9498 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9500 * ListBox.cs: mono-stylized.
9501 (AddAttributesToRender): call parent class method.
9503 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9505 * Style.cs: fixed IsEmpty and Width.
9507 * Table.cs: mono-stylized.
9508 (TableRowControlCollection.AddAt): fixed.
9509 (AddAttributesToRender): fixed.
9511 * TableCell.cs: mono-stylized.
9512 (.ctor): use PreventAutoID.
9513 (AddAttributesToRender): fixed.
9514 (AddParsedSubObject): fixed.
9516 * TableRow.cs: mono-stylized. Added
9517 ParseChildren attribute.
9520 (get_GridLine): fixed.
9522 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9524 * Panel.cs: fixed stack overflow.
9525 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
9526 and SingleConverter.
9528 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9530 * RadioButton.cs: mono-stylized and some little fixes.
9532 * TextBox.cs: mono-stylized.
9533 (MaxLength): fixed typo.
9535 (AddAttributesToRender): don't render the text between the tags for
9536 SingleLine, use value attribute for it. Don't render the text for
9539 (OnPreRender): don't throw exception and call base.OnPreRender.
9541 (Render): for MultiLine, render the text between the opening and
9542 closing tags encoded as HTML.
9544 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9547 (AddAttributesToRender): fixer another stack overflow.
9550 (TagName): modified to use TagKey instead of tagKey as the property
9553 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9555 * LinkButton.cs: mono-stylized.
9556 (AddParsedSubObject):
9557 (RenderControls): little fixes.
9560 (AddAttributesToRender): fixed usage of IEnumerator.
9562 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9564 * Literal.cs: beautified.
9566 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9568 * Label.cs: beautified and fixed a couple of 'classic' bugs.
9570 * WebControl.cs: use Span as default tag when no other provided in
9571 constructor. That is what MS renders.
9573 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9576 (AddAttributesToRender): fixed (classic) stack overflow.
9578 * CheckBox.cs: mono-stylized.
9579 (AutoPostBack): fixed stack overflow.
9580 (Render): fixed alignment issues. Also set the For attribute always
9583 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9585 * AdRotator.cs: GetData does not work as it should, but now it returns
9586 useful data (only the first ad in the file). Set the NavigateUrl
9587 property in the hyperlink if available.
9589 * HyperLink.cs: fixed constructor and a couple of stack overflows.
9591 * Image.cs: added an attribute and fixed stack overflow.
9594 (RenderBeginTag): fixed.
9595 (TagName): don't call Enum.IsDefined twice.
9597 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9599 * WebControl.cs: added attributes PersistChildrenAttribute and
9600 ParseChildrenAttribute.
9602 2002-05-24 Duncan Mak <duncan@ximian.com>
9604 * DataGridItem.cs (SetItemType): Changed function signature to
9607 * ListItemCollection.cs (this): Changes the visibility level of
9610 * Repeater.cs (OnItemCommand):
9612 (OnItemDataBound): Added necessary casts.
9614 2002-05-07 Duncan Mak <duncan@ximian.com>
9616 * Button.cs (AddAttributesToRender):
9617 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
9618 GetClientValidatedEvent method.
9620 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
9622 * Removed extra methods, corrected access modifiers to several
9625 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
9627 * <SeveralFiles>.cs - Added some attributes
9628 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
9629 methods. Will complete them later. Right now, busy with
9630 the attributes part.
9631 * RepeaterItem.cs - Completed.
9633 Oh God! Mercy! I will die applying attributes. I look at the missing
9634 part in the class-status - daemon! Kyrie eleison!
9636 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
9640 * AdRotator.cs - Added definition for Font.
9641 * BaseCompareValidator.cs - Added definition for Controls.
9642 * Calendar.cs - SelectMonthText definition corrected.
9643 * DataList.cs - Added definition for SeparatorTemplate.
9644 * BorderStyle.cs - Namespace correction. It belongs not to UI,
9645 but to UI.WebControls.
9647 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
9649 Finally, I have made it. Today I did a second build for the
9650 System.Web assembly. It compiled 195 classes today.
9651 I am waiting eagerly for the runtime to come up so that the objects
9652 may be tested to their last levels. Several of the methods are still
9653 under the tag of "TODO" throwing NotImplementedException. Well, I
9654 hope to remove them soon, but how far is this soon - even I don't
9655 know, though I am happy to make the build a success even before
9656 the vacations to come.
9658 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
9660 Yesterday and today I tried to do some building of the aseembly,
9661 but was dumped with uncoutably infinite errors. ;-)
9662 I have put the copies of the recent errors on my home page, want
9663 to have a look at them? See:
9664 http://mastergaurav.virtualave.net/mono/
9665 I don't know what to do with these errors. Oh! The buggy me! How
9666 will I overcome myself. Hopefully, by when my vacations over, I
9667 should have made a repository where the build will not fail.
9669 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
9671 I am now going to do a build that will include the
9672 System.Web.UI.WebControls namespace. Hoping that I will make it
9673 soon. My exams are coming near and I have to pack up soon.
9676 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
9679 And with this, ie, today's work, all the objects mentioned in the
9680 namespace appear in the implementation. But it may not be worth
9681 trying to go for a build because of dependence of several of the
9682 internal methods that may clash with already available assembly
9685 Also, the classes lack possible attributes, like those informing
9686 about child-controls etc. But I have to first create the attribute
9687 classes before I attach the attributes to the classes.
9689 * CustomValidator.cs - Completed. In process realized that
9690 I have to complete / rejuvinate BaseValidator class.
9691 * BaseValidator.cs - Complete rejuvination. Completed 80%
9692 of the job. All that is left is Render(HtmlTextWriter),
9693 DetermineRenderUplevel(), RegisterValidatorCommonScript()
9694 RegisterValidatorDeclaration()
9695 * DataGridPagerStyle.cs - Completed. That adds one more missle
9697 * DataKeyCollection.cs - Completed. Petty small.
9698 * Repeater.cs - Work started off. This is a quite
9700 * DataGridItemEventArgs.cs,
9701 * DataGridShortCommandEventArgs.cs,
9702 * DataListItemEventArgs.cs,
9703 * MonthChangedEventArgs.cs,
9704 * RepeaterItemEventArgs.cs,
9705 * ServerValidateEventArgs.cs,
9706 * DataGridPageChangedEventArgs.cs
9707 - Damn, I marked them "*", while they
9709 * Repeater.cs - Done all except for an undocumented
9710 method CreateControlHierarchy(bool). Though the method
9711 is quite clear by its name, but it will take some time
9712 for me to come with some material to flush in.
9714 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
9716 * SelectedDatesCollection.cs - Completed.
9717 * PagedDataSource.cs - Completed. Pathetically nice class.
9718 * RegularExpressionValidator.cs
9719 - Completed. Ridiculously small and
9720 annoyinglyc crazy-driving class, basically the method
9722 * RangeValidator.cs - Completed.
9723 * DataGridColumn.cs - Completed.
9724 * EditCommandColumn.cs - All is complete except for the
9725 InitializeCell(TableCell, int, ListItemType) method.
9726 * DataListItem.cs - All done except for a longish method
9727 RenderItem(HtmlTextWriter, bool, bool)
9729 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
9731 * RepeaterItemCollection.cs - Completed.
9732 I love *Collection classes. I am planning to make a
9733 program that will generate a *Collection class. It's so
9734 simple and the same. ;-)
9735 * DataGridColumnCollection.cs - Completed.
9736 ... except probably for *ColumnCollection classes, where
9737 you have to put in some more effort. Still, these class
9738 generation can be automated.
9739 * DataListItemCollection.cs - Completed.
9740 See, how easily, in less than a quarter of a minute, I
9741 completed this class - manually. Copy-Paste/Cut-Replace.
9743 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
9745 * DataGrid.cs - Following methods implemented:
9746 TrackViewState(), LoadViewState(object), SaveViewState(),
9747 On* -- The event raisers.
9748 OnBubbleEvent(object, EventArgs) is still incomplete.
9749 * DataGridItem.cs - Initial Implementation
9750 * DataGridItemCollection.cs - Completed.
9752 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
9754 * DataGrid.cs - Initial Implementation. Worked
9755 primarily with some properties.
9757 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
9759 * ListBox.cs - Completed. Implemented
9760 LoadPostData(string, NameValueCollection)
9761 * RequiredFieldValidator.cs - Completed. Pretty simple class.
9763 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
9765 * ListBox.cs - Implemented the following:
9766 RaisePostDataChangedEvent()
9768 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
9770 * ListBox.cs - Supports the following properties:
9771 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
9774 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
9775 RenderContents(HtmlTextWriter)
9778 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
9780 * TargetConverter.cs - Completed
9781 * TemplateColumn.cs - Completed
9782 * DataList.cs - Corrected the get-er methods for the
9783 *Style objects. Corrected the get/set-er methods for ViewState
9785 Addded support for properties:
9786 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
9787 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
9788 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
9789 SeparatorStyle, SeparatorItemTemplate.
9791 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
9792 ItemCreated, ItemDataBound, UpdateCommand.
9794 CreateControlStyle(), LoadViewState(object),
9795 SaveViewState(), TrackViewState
9797 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
9798 OnEditCommand, OnItemCommand, OnItemCreated,
9799 OnItemDataBound, OnUpdateCommand
9800 Added dummy methods for some undocumented methods:
9801 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
9802 CreateItem(int, ListItemType, bool, object),
9803 PrepareControlHierarchy(), InitializeItem(DataListItem)
9804 * ListBox.cs - Started working.
9808 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
9810 * RepeaterInfo.cs - Initial Implementation. Done all
9811 except for RepeatDirection.Vertical
9812 * TableStyle.cs - Completed
9814 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
9816 * DropDownList.cs - Completed
9817 * ListItemCollection.cs - Added method FindByValueInternal to
9818 assist in the derived classes.
9819 Discovered bug in FindByValue. Removed
9820 * UnitConverter.cs - Completed
9821 * PlaceHolder.cs - What can be simpler than this?
9822 * PlaceHolderControlBuilder.cs
9823 - Uh! Damn cool one.
9824 * RadioButtonList.cs - Initial Implementation. All is done
9825 except for the implementation of
9826 method IRepeatInfoUser.RenderItem(...)
9827 * ValidatedControlConverter.cs
9828 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
9829 * ValidationSummary.cs - Initial Implementation.
9830 * WebColorConverter.cs - Initial Implementation
9832 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9834 * FontNamesConverter.cs - Completed
9835 * FontUnitConverter.cs - Partial Implementation
9836 * ListItemControlBuilder.cs - Completed
9838 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9840 * TextBox.cs - All done except *Render* methods
9841 * TextBoxControlBuilder.cs - Completed
9842 * Xml.cs - Partial Implementation
9844 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
9846 * RadioButton.cs - Completed
9847 * TextBox.cs - Partial Implementation
9849 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
9851 * Panel.cs - Completed
9852 * TableItemStyle.cs - Completed
9854 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
9856 * TableCellCollection.cs - Completed
9857 * TableRowCollection.cs - Completed
9858 * TableHeaderCell.cs - Completed
9859 * TableRow.cs - Completed
9861 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
9863 * TableCellControlBuilder.cs - Completed
9864 * Table.cs - Completed
9865 * TableCell.cs - Completed
9867 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
9869 * CheckBoxList.cs - Completed
9870 * ButtonColumn.cs - Completed
9871 * Button.cs - Completed
9873 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
9875 * HyperLink.cs - Completed
9876 * Image.cs - Completed
9877 * ImageButton.cs - Completed
9878 * Label.cs - Completed
9879 * LabelControlBuilder.cs - Completed
9880 * LinkButton.cs - Completed
9881 * LinkButtonControlBuilder.cs - Completed
9882 * Literal.cs - Completed
9883 * LieteralControlBuilder.cs - Completed
9884 * FontUnit.cs - Completed
9887 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
9889 * Calendar.cs - Completed the functions of Render*,
9890 ViewStates (Track/View/Save),
9892 Left: RenderAllDays (partially)
9894 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
9896 * Calendar.cs - Added some more functions
9897 * Style.cs - Completed
9898 * ListItem.cs - Completed
9899 * ListItemCollection.cs - Completed
9901 Made the first successful build of System.Web.dll that included
9902 System.Web.UI.WebControls!
9904 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
9906 FontInfo.cs - Complete revamp. Completed
9908 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
9910 ListItemCollection.cs - Completed
9911 ListItem.cs - Initial Implementation
9912 Style.cs - Initial Implementation
9914 Right now I am in a total mood to do a successful build. Creating so many
9915 classes, completing classes in System.Web System.Web.UI namespaces.
9917 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
9919 TODO - Properly added
9920 CheckBox.cs - Completed
9921 BaseDataList.cs - Completed
9922 DayRenderEventArgs.cs - Completed
9923 RepeaterItem.cs - Initial implementation
9925 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
9927 BaseCompareValidator.cs - Completed
9928 AdRotator.cs - Completed
9930 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
9932 CommandEventArgs.cs - Completed
9933 DataGridCommandEventArgs.cs - Completed
9934 RepeaterCommandEventArgs.cs - Completed
9935 DataListCommandEventArgs.cs - Completed
9936 CompareValidator.cs - Partial Implementation
9938 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
9940 CheckBoxList.cs - Partial Implementation.
9943 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
9945 ListControl.cs - Completed
9947 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
9949 CheckBox.cs - Completed
9950 ListControl.cs - Initial Implementation
9951 CheckBoxList.cs - Started with it, but first needed
9952 ListControl. Left it.
9954 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
9956 CalendarDay.cs - Making a note that this
9957 has been implemented
9958 Calendar.cs - Making a note that have made some changes.
9959 Unimplmented functions throw
9960 NotImplementedException
9961 CheckBox.cs - Can now "Render" and "LoadPostData"
9964 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
9965 WebControl.cs - Total Revamp, Partial Implementation
9966 AdRotator.cs - Able to load files
9967 AdCreatedEventArgs.cs - Implemented
9969 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
9970 Calendar.cs - Initial Implementation
9971 ButtonColumn.cs - Initial Implementation
9972 Button.cs - Initial Implementation
9973 BoundColumn.cs - Initial Implementation
9974 BaseCompareValidator.cs - Minor Changes
9975 DataList.cs, BaseValidator.cs, BaseDataList.cs
9976 - Added more functions, other changes
9978 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
9979 WebControl.cs - Initial Implementation
9980 DataList.cs - Initial Implementation
9981 BaseValidator.cs - Initial Implementation
9982 BaseDataList.cs - Initial Implementation
9984 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
9986 AdCreatedEventArgs.cs - Initial Implementation
9987 AdCratedEventHandler.cs - Implemented
9988 AdRotator.cs - Initial Implementation
9989 BorderStyle.cs - Implemented
9990 ButtonColumnStyle.cs - Implemented
9991 CalendarSelectionMode.cs - Implemented
9992 DayNameFormat.cs - Implemented
9993 FirstDayOfWeek - Implemented
9994 FontInfo.cs - Partial Implementation
9995 FontSize.cs - Implemented
9996 GridLines.cs - Implemented
9997 HorizontalAlign.cs - Implemented
9998 HyperLink.cs - Initial Implementation
9999 ImageAlign.cs - Implemented
10000 IRepeatInfoUser.cs - Implemented
10001 ListItemType.cs - Implemented
10002 ListSelectionMode.cs - Implemented
10003 NextPrevFormat.cs - Implemented
10004 PagerMode.cs - Implemented
10005 PagerPosition.cs - Implemented
10006 RepeatDirection.cs - Implemented
10007 RepeatLayout.cs - Implemented
10008 TextAlign.cs - Implemented
10009 TextBoxMode.cs - Implemented
10010 TitleFormat.cs - Implemented
10011 UnitType.cs - Implemented
10012 ValidationCompareOperator.cs
10014 ValidationDataType.cs - Implemented
10015 ValidationSummaryDisplayMode.cs
10017 ValidatorDisplay.cs - Implemented
10018 VerticalAlign.cs - Implemented
10022 i/ File Created 2001-11-13