1 2010-07-23 Marek Habersack <mhabersack@novell.com>
3 * MenuItemBindingCollection.cs: added the OnClear,
4 OnRemoveComplete and OnValidate methods (2.0+)
6 * MenuItemStyleCollection.cs: added the OnInsert method (2.0+)
8 * TreeNodeStyleCollection.cs: added the OnInsert method (2.0+)
10 * TreeNodeBindingCollection.cs: added the OnClear,
11 OnRemoveComplete and OnValidate methods (2.0+)
13 * ValidationSummary.cs: implemented OnInit (4.0)
15 * WizardStepBase.cs: added the LoadViewState, OnLoad and
16 RenderChildren methods (2.0+)
18 2010-07-22 Marek Habersack <mhabersack@novell.com>
20 * MenuItemBinding.cs: made code a bit more compact.
21 Implemented ToString (4.0)
23 * MenuRenderingMode.cs: added (4.0)
25 * Menu.cs: added the IncludeStyleBlock and RenderingMode 4.0
26 properties (not used in the code yet).
28 2010-07-21 Marek Habersack <mhabersack@novell.com>
30 * Wizard.cs: made rendering 100% compliant with .NET (button IDs,
32 Implemented LayoutTemplate (4.0+)
34 * LinkButton.cs: render id first
36 * CreateUserWizard.cs: CreateUserNavigationContainer.UpdateState
37 doesn't add a previous button if we're on the first step.
39 2010-07-20 Marek Habersack <mhabersack@novell.com>
41 * StyleCollection.cs: added
43 2010-07-19 Marek Habersack <mhabersack@novell.com>
45 * SqlDataSourceView.cs: added the RaiseUnsupportedCapabilityError
48 * RoleGroupCollection.cs: added OnValidate (undocumented) overload
50 * ParameterCollection.cs: added missing Add method overload (2.0+)
52 * LiteralControlBuilder.cs: added the AppendLiteralString method
55 * DataKey.cs: implemented IEquatable interface methods (4.0)
57 * XmlDataSource.cs: implemented CacheKeyContext property (4.0)
59 2010-07-16 Marek Habersack <mhabersack@novell.com>
61 * Login.cs, PasswordRecovery.cs: implemented RenderOuterTable
64 * FormViewRow.cs: added internal property RenderJustCellContents
65 which makes the control render only its children (4.0)
67 * FormView.cs: implemented RenderOuterTable property and the
68 ModifiedOuterTableStylePropertyName method (4.0)
70 2010-07-15 Marek Habersack <mhabersack@novell.com>
72 * WebControl.cs: implemented verifying that no inline style
73 property is set for controls which support the RenderOuterTable
76 * IRenderOuterTable.cs: internal helper interface for controls
77 which support the RenderOuterTable property (for now only
78 ChangePassword, 3 more to come)
80 * ChangePassword.cs: implemented RenderOuterTable property and the
81 corresponding behavior of not rendering surrounding table when the
82 property is set to false (4.0).
83 Modified BaseChangePasswordContainer to not inherit from Table
84 anymore. Table is an instance variable (always used as the
85 template container in 2.0) which is optionally (and by default)
86 used to contain the templates.
88 * PlaceHolder.cs, View.cs, WizardStepBase: added EnableTheming
91 * MultiViewControlBuilder.cs: added
93 2010-07-14 Marek Habersack <mhabersack@novell.com>
95 * Menu.cs: fixed skip link rendering (no child controls are added
96 in the process, writing directly to HtmlTextWriter). Fixes tests
98 If StaticSubMenuIndent equals Unit.Empty on 4.0, default to using
99 16px as the value of the margin-left CSS attribute.
101 2010-07-13 Marek Habersack <mhabersack@novell.com>
103 * BoundField.cs: implemented HtmlEncodeFormatString property
104 (3.5+) and modified the way FormatDataValue works accordingly.
106 * ListBox.cs, CheckBoxList.cs, ListControl.cs: VerifyMultiSelect
107 is not part of the official API. MultiSelect capability validation
108 is performed using an internal virtual method MultiSelectOk ().
110 * BaseDataList.cs: OnPagePreLoad is not part of the official API
112 * BaseDataBoundControl.cs, BaseDataList.cs, DataListItem.cs,
113 ValidationSummary.cs: implemented 4.0 SupportsDisabledAttribute
116 * Wizard.cs: wizard table doesn't contain any instances of
117 HtmlAnchor or Image controls. Moved rendering of the skip link
118 anchor to the TableCellNamingContainer class, which does that in
119 RenderChildren by directly writing to the passed writer. Fixes 4.0
120 rendering and all the failing Wizard tests.
122 2010-07-08 Marek Habersack <mhabersack@novell.com>
124 * CheckBoxList.cs: RepeatLayout property update for new values of
125 the RepeatLayout enum in 4.0
127 * TreeView.cs: in 4.0, checkbox renders the value of the current
128 node's ToolTip, if anything, and not Text.
130 * RepeatLayout.cs: added two new members, UnorderedList and
133 * ImageMap.cs: implemented missing Enabled property (2.0+)
134 RaisePostBackEvent must be protected and virtual (2.0+)
135 NavigateUrl is ignored if the control is disabled (4.0)
137 2010-07-07 Marek Habersack <mhabersack@novell.com>
139 * TreeView.cs: 4.0 rendering changes.
140 When using registered CSS classes, the node style must use them in
143 2010-07-06 Marek Habersack <mhabersack@novell.com>
145 * HyperLink.cs: the associated image is not rendered using the
148 2010-07-02 Marek Habersack <mhabersack@novell.com>
150 * Menu.cs: 4.0 API updates.
152 * GridView.cs: implemented 4.0 properties -
153 SortedAscendingCellStyle, SortedAscendingHeaderStyle,
154 SortedDescendingCellStyle, SortedDescendingHeaderStyle,
155 ClientIDRowSuffix, ClientIDRowSuffixDataKeys, ShowHeaderWhenEmpty
156 along with associated rendering changes.
158 * DetailsView.cs, FormView.cs, GridView.cs: 4.0 API changes -
159 renamed ShowPage to SetPageIndex and made it public.
160 Added 4.0 interfaces to inheritance list and implemented them.
162 * DataKeyArray.cs: added internal constructor which accepts IList
163 instead of ArrayList. Changed the 'keys' field type to IList.
165 * ContainedTable.cs: the 'id' attribute must be rendered last.
167 * CheckBox.cs, CheckBoxList.cs, SiteMapPath.cs, Table.cs,
168 TableStyle.cs, TextBox.cs, WebControl.cs: 4.0 rendering changes.
170 * Calendar.cs, CompositeControl.cs, DropDownList.cs, HyperLink.cs,
171 Image.cs, ImageButton.cs, Label.cs, LinkButton.cs, LoginName.cs,
172 Panel.cs, Table.cs, TableCell.cs, TableRow.cs:
173 added new 4.0 property, SupportsDisabledAttribute.
175 2010-06-21 Marek Habersack <mhabersack@novell.com>
177 * BaseValidator.cs, BulletedList.cs, Calendar.cs, CheckBox.cs,
178 CheckBoxList.cs, DataGrid.cs, DropDownList.cs, GridView.cs,
179 HyperLink.cs, ImageButton.cs, LinkButton.cs, ListBox.cs,
180 ListControl.cs, Menu.cs, RadioButton.cs, RadioButtonList.cs,
181 RepeatInfo.cs, Repeater.cs, TextBox.cs, TreeView.cs,
182 ValidationSummary.cs, WebControl.cs: use WebControl.IsEnabled
183 instead of Enabled wherever necessary.
185 2010-06-16 Marek Habersack <mhabersack@novell.com>
187 * FormView.cs: row values must be retrieved with inclusion of
188 keys. Fixes bug #607722
190 2010-06-03 Marek Habersack <mhabersack@novell.com>
192 * Parameter.cs, ControlParameter.cs, SessionParameter.cs,
193 CookieParameter.cs, FormParameter.cs, ProfileParameter.cs,
194 QueryStringParameter.cs: Evaluate is 'protected internal virtual'
197 * RouteParameter.cs: implemented.
199 2010-04-28 Marek Habersack <mhabersack@novell.com>
201 * CheckBoxList.cs: do not modify list item status in LoadPostData
202 when the list control is disabled.
203 If an item is selected and it was unchecked by the user, deselect
204 it. Fixes bug #600415
206 2010-04-13 Marek Habersack <mhabersack@novell.com>
208 * GridView.cs: make sure Header and Footer visibility are set when
209 binding the data. Fixes bug #595567
211 * ImageField.cs, CheckBoxField.cs: OnDataBindField must expect
212 sender to be something else than DataControlFieldCell. Fixes bug
215 2010-04-07 Marek Habersack <mhabersack@novell.com>
217 * FormParameter.cs, CookieParameter.cs, ProfileParameter.cs,
218 QueryStringParameter.cs, SessionParameter.cs: implemented
219 constructor overloads which take DbType as one of the arguments.
221 2010-04-01 Marek Habersack <mhabersack@novell.com>
223 * FormView.cs: do not show the pager if PagerSettings.Visible is
224 false. Fixes bug #578863
226 2010-03-29 Marek Habersack <mhabersack@novell.com>
228 * GridView.cs: main table must be created and added to the
229 controls collection before any OnRowCreated event is fired.
231 2010-03-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
233 * TreeView.cs: use enums instead of strings for attributes.
235 2010-03-06 Marek Habersack <mhabersack@novell.com>
237 * XmlDataSource.cs: reload document when one of Data, DataFile,
238 Transform or TransformFile properties is set. Fixes bug
239 #585968. Fix based on patch from Jeffrey Alvarez
240 <kuritsu@gmail.com>, thanks.
242 2010-02-19 Marek Habersack <mhabersack@novell.com>
244 * SqlDataSource.cs: call base.OnInit in OnInit. Fixes bug #572781
246 2010-02-18 Marek Habersack <mhabersack@novell.com>
248 * ListItemCollection.cs: ItemsEnabled and associated code removed
249 - there's no need to alter ListItem's Enabled property when
252 * ListControl.cs: SaveViewState doesn't set the items collection's
253 ItemsEnabled property as it was removed from ListItemCollection
255 * CheckBoxList.cs: LoadPostData never unselects any item. A better
257 RenderItem renders items as disabled when Enabled is false, but if
258 Enabled is true, item is rendered according to the value of its
259 own Enabled property. Fixes bug #578770
261 * TreeView.cs: RegisterStyle must copy CssClass in addition to
262 other style properties. Fixes bug #580692
264 2010-01-18 Marek Habersack <mhabersack@novell.com>
266 * Parameter.cs: added missing 3.5 APIs - constructors taking
267 DbType as one of the parameters, ConvertDbTypeToTypeCode,
268 ConvertTypeCodeToDbType and GetDatabaseType. Fixes bug #567850
270 2010-01-15 Marek Habersack <mhabersack@novell.com>
272 * ChangePassword.cs: BaseChangePasswordContainer forwards
273 EnsureChildControls call to its owner, so that finding controls in
274 the container works correctly.
276 2009-11-30 Marek Habersack <mhabersack@novell.com>
278 * WebControl.cs: HasAttributes made available as internal for 1.1
279 Avoid calling the Attributes getter many times in
281 If TrackViewState is called and attributes state bag already
282 exists, mark all items in the latter as dirty.
284 * CheckBox.cs, Button.cs, ImageButton.cs, LinkButton.cs: do not
285 create the Attributes collection if not necessary.
287 2009-11-16 Marek Habersack <mhabersack@novell.com>
289 * TreeNodeCollection.cs: whenever a node is added, let the owner
292 * TreeNode.cs: added internal property HadChildrenBeforePopulating
293 which is used to let TreeView know about an error condition where
294 a populate-on-demand node contains children added outside the
295 OnTreeNodePopulate event
297 * TreeView.cs: if a node has any child nodes and PopulatOnDemand
298 is set, throw an exception from RenderNode. This is the behavior
301 2009-11-13 Marek Habersack <mhabersack@novell.com>
303 * TableRowCollection.cs: added .NET compatibility NREX throws to
305 Whenever a row is added/removed, its Container property is
306 set. Fixes bug #551666
308 * TableRow.cs: introduced an internal property, Container, which
309 is set by TableRowCollection whenever this row is added/removed
310 to/from the collection. This allows the row to notify the
311 collectio and, in consequence, collection owner that TableSection
312 has been set and thead/tbody/tfoot elements need to be
313 generated. Fixes bug #551666
315 2009-11-10 Marek Habersack <mhabersack@novell.com>
317 * PasswordRecovery.cs:
318 {Question,Success,UserName}TemplateContainer must all be populated
319 the first time the property is accessed, so that calling
320 FindControl on the container returns valid and expected
321 results. If the associated template is not defined, though,
322 populating is postponed till CreateChildControls is called -
323 that's where default, empty, template will be created. This is
324 required to fix YetAnotherForum's password recovery control.
325 Mail template used in SendPasswordByMail must match the one used
326 in .NET (it has to end with a newline) as YAF parses the message
327 to retrieve user name and password and breaks if the last line
328 doesn't end with a newline character.
330 2009-10-30 Marek Habersack <mhabersack@novell.com>
332 * PasswordRecovery.cs: mail message replacements should include <%
333 Password %> and <% UserName %> and matching should be
334 case-insensitive. Fixes bug #545370
336 2009-10-28 Marek Habersack <mhabersack@novell.com>
338 * ListControl.cs: OnDataBinding must call base implementation
339 before performing the binding, so that DataSource can be assigned
340 from within the handler.
342 2009-10-13 Marek Safar <marek.safar@novell.com>
344 * WebColorConverter.cs: Delegate ConvertFrom to
345 ColorTranslator.FromHtml, it is correctly implemented and knows
348 2009-10-13 Marek Habersack <mhabersack@novell.com>
350 * WebColorConverter.cs: don't use a dictionary to check for valid
351 color names, use Color.IsKnownColor instead. Update for bug
353 Added more CSS2 color name mappings.
355 2009-10-12 Marek Habersack <mhabersack@novell.com>
357 * WebColorConverter.cs: when converting from color name, check if
358 the returned color's name is a member of the
359 System.Drawing.KnownColor enumeration to test for error condition,
360 as some colors might be #000000. Preserve the old error check as a
362 Map "captiontext" and "background" color names to
363 "ActiveCaptionText" and "Desktop", respectively, before passing
364 them to Color.FromName (). Fixes bug #546173
366 2009-10-02 Marek Habersack <mhabersack@novell.com>
368 * GridView.cs: added two 3.5 properties - SelectedPersistedDataKey
369 and IPersistedSelector.DataKey.
371 * BaseDataBoundControl.cs: slight optimizations to FindDataSource
373 2009-09-28 Marek Habersack <mhabersack@novell.com>
375 * DataBoundControl.cs: Initialize sets RequiresDataBinding
376 properly, only when we're not data-bound already, when we aren't
377 in postback or when we are in postback, but with viewstate
378 enabled. Fixes bug #542076
380 2009-09-01 Marek Habersack <mhabersack@novell.com>
382 * ObjectDataSourceView.cs: ExecuteSelect must call
383 QueryTotalRowCount after executing the select method (that's what
386 2009-08-25 Marek Habersack <mhabersack@novell.com>
388 * WebColorConverter.cs: inform the user that the might need to
389 check if libgdiplus is installed when parsing a color name
390 fails. Fixes bug #533749
392 2009-08-21 Marek Habersack <mhabersack@novell.com>
394 * Menu.cs: separator image is rendered next to the item in
395 horizontal layout and is preceeded by 3px spacer (unless
396 itemSpacing is set) to make output match .NET. Fixes bug #474716
398 * TreeNodeCollection.cs: {Save,Load}ViewState now store/load the
399 type of the node, if node is a of a custom type. Fixes bug #475997
401 2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
403 * Parameter.cs: add new DbType property.
405 2009-06-16 Marek Habersack <mhabersack@novell.com>
407 * IPersistedSelector.cs: removed AspNetHostingPermission
408 attributes from the 4.0 profile.
410 * IDataBoundControl.cs, IDataBoundItemControl.cs,
411 IDataBoundListControl.cs, IFieldControl.cs: added
413 * DetailsView.cs: control implements 4.0 IDataBoundItemControl
416 * DataBoundControl.cs: implemented 4.0 property DataSourceObject
417 (internal for 2.0) and made the InternalPerformDataBinding method
418 internal for the 4.0 profile.
420 2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
422 * ContentControlBuilderInternal.cs: detect missing
423 ContentPlaceHolderID attribute when parsing instead of throwing a
426 2009-05-29 Marek Habersack <mhabersack@novell.com>
428 * ListItem.cs: when tracking view state is turned on after
429 attributes have been set, make sure that the associated state bag
430 begins tracking state and that all of its existing items are
431 marked as dirty. Do the same after loading view state. Fixes bug
434 2009-04-29 Marek Habersack <mhabersack@novell.com>
436 * DataBoundControl.cs: added InternalGetDataSource method, used by
439 2009-04-28 Marek Habersack <mhabersack@novell.com>
441 * GridView.cs: implemented ColumnsGenerator and enabled its use in
444 * DetailsView.cs: implemented the RowsGenerator property and
445 enabled its use in CreateFieldSet.
447 2009-04-07 Marek Habersack <mhabersack@novell.com>
449 * TreeView.js: removed nodeText parameter from the JS calls.
451 * TreeView.cs: encode | characters into U+007C, so that
452 RaiseCallbackEvent doesn't get confused.
453 Removed nodeText parameter from the JS calls.
455 2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
457 * TreeNode.cs: reset the path data for all child nodes too.
458 * TreeView.cs: HtmlAttribute encode the node text. When rebuilding the
459 node tree, set the correct index for the nodes so that the Path is
462 2009-04-06 Marek Habersack <mhabersack@novell.com>
464 * TreeView.js: TreeView_ToggleExpand now takes more parameters - a
465 full definition of treeview's node contents.
466 Added new function, TreeView_PopulateNode, which partially takes
467 over role of the PopulateNode function generated in
468 TreeView.OnPreRender (see below). Fixes bug #492307
470 * TreeView.cs: RaiseCallbackEvent needs to recreate the event
471 target's parental tree all the way from the root to the node and
472 populate only the leaf (requested) node. This avoids calling the
473 TreeNodePopulate handler more times than needed. Fixes bug #492307
474 OnPreRender: moved the script code to constants and the script
475 body is now generated using StringBuilder instead of a series of
477 GetClientExpandEvent: adjusted code for new TreeView JavaScript
480 2009-03-17 Marek Habersack <mhabersack@novell.com>
482 * Unit.cs: introduced a field to tell the difference between empty
483 (as in Unit.Empty) and 0px units.
485 2009-03-06 Marek Habersack <mhabersack@novell.com>
487 * WebControl.cs: if savedState is not an instance of Pair in
488 LoadViewState, do not attempt to load from it.
490 2009-02-10 Marek Habersack <mhabersack@novell.com>
492 * ImageButton.cs: AddAttributesToRender renders the onclick
493 attribute only if any of the following is true:
494 - OnClientClick is not empty
495 - Validation is enabled for the control
496 - PostBackUrl is used
497 PostBackOptions now indicate that control requires the javascript
498 protocol for the handler.
499 RaisePostBackEvent passes String.Empty as the argument.
502 2009-02-09 Marek Habersack <mhabersack@novell.com>
504 * ObjectDataSourceView.cs: ExecuteSelect returns a single-item
505 array of objects containing the result, if the result isn't one of
506 DataSet, DataTable or IEnumerable. Fixes bug #471767
508 2009-02-06 Marek Habersack <mhabersack@novell.com>
510 * Style.cs: if CssClass is null, return String.Empty. Fixes bug
512 Added a range check to the BorderStyle property.
514 2009-02-05 Marek Habersack <mhabersack@novell.com>
516 * Login.cs: check the value of DisplayRememberMe when creating
517 the child controls. Fixes #468359
519 2009-01-20 Marek Habersack <mhabersack@novell.com>
521 * Substitution.cs: added. Fixes bug #467460
523 2009-01-13 Marek Habersack <mhabersack@novell.com>
525 * XmlBuilder.cs: updates related to ControlBuilder cleanup.
527 2008-12-01 Marek Habersack <mhabersack@novell.com>
529 * Style.cs: WriteStyleAttributes must not use the fontinfo field
530 directly, it has to be done via the Font property. Fixes bug
533 2008-11-15 Marek Habersack <mhabersack@novell.com>
535 * ContentPlaceHolder.cs, Content.cs, FormViewPagerRow.cs,
536 ChangePassword.cs, DetailsViewPagerRow.cs: implements
537 INonBindingContainer interface.
539 * Wizard.cs: implement INonBindingContainer interface for several
540 private/internal classes.
542 2008-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
544 * ImageButton.cs: clicking an image causes a postback.
547 2008-10-24 Marek Habersack <mhabersack@novell.com>
549 * CheckBox.cs: register for event validation in Render ().
551 2008-10-21 Marek Habersack <mhabersack@novell.com>
553 * XmlDataSource.cs: DataFile may be an URL.
555 2008-10-17 Marek Habersack <mhabersack@novell.com>
557 * ImageMap.cs: added the SupportsEventValidation attribute to the
559 Validate the event in RaisePostBackEvent ().
560 Register for event validation in Render ().
562 * DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().
564 * TextBox.cs: validate the event in LoadPostData ().
565 Register for event validation in AddAttributesToRender ().
567 * HiddenField.cs: validate the event in RaisePostDataChangedEvent.
568 Register for event validation in Render ().
570 * RadioButton.cs: validate the event in LoadPostData ().
571 Register for event validation in InternalAddAttributesToRender.
573 * CheckBox.cs, RadioButtonList.cs: validate the event in
574 RaisePostDataChangedEvent.
576 * Menu.cs: added the SupportsEventValidation attribute to the
578 Validate the event in RaisePostBackEvent ().
579 Register for event validation in GetClientEvent ().
581 * DetailsView.cs, GridView.cs: validate the event in
582 RaisePostBackEvent ().
583 Register for validation in GetCallbackScript () and in OnPreRender
585 * Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
586 ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().
588 2008-10-14 Marek Habersack <mhabersack@novell.com>
590 * CompositeDataBoundControl.cs: renamed the itemcount ViewState
591 item from "_ItemCount" to "_!ItemCount" for .NET
592 compatibility. This item is accessed and used by some commercial
595 * DataBoundControl.cs: OnPagePreLoad must force databinding also
596 when the request is not a postback.
598 2008-10-13 Marek Habersack <mhabersack@novell.com>
600 * Table.cs, TableRowCollection.cs, TableRow.cs: render table
601 sections when necessary. Fixes bug #434555
603 2008-10-08 Marek Habersack <mhabersack@novell.com>
605 * ControlParameter.cs: Evaluate calls DataBinder.Eval to do the
606 evaluation now. This makes it support complex expressions.
608 2008-09-30 Sebastien Pouliot <sebastien@ximian.com>
610 * RoleGroupCollection.cs: Fix recursive calls (wrong target)
611 [Found using Gendarme's BadRecursiveInvocationRule]
613 2008-09-28 Sebastien Pouliot <sebastien@ximian.com>
615 * XmlDataSource.cs: Make sure the result of the multiplication is a
616 long (not an integer casted into a long since it could overflow).
617 [Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
619 2008-09-17 Juraj Skripsky <js@hotfeet.ch>
621 * RadioButton.cs (ValueAttribute, LoadPostData): Fixes bug #426959.
623 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
625 * IPersistedSelector.cs : new in 3.5 SP1.
627 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
629 * DataBoundControlMode.cs : new 3.5 SP1 type.
631 2008-08-25 Marek Habersack <mhabersack@novell.com>
633 * DataBoundControl.cs: set RequiresDataBinding to true in
634 Initialize only if not in a postback, if not data bound and if the
635 view state is enabled. Fixes bug #398318
636 UpdateViewData removes the OnDataSourceViewChanged handler before
637 connecting to the datasource and restores it before returning to
639 OnLoad gets the data source before initialization, to avoid
640 premature OnDataSourceViewChanged triggers. Fixes bug #398318
641 Do not reconnect to the data source if we already have a valid one.
643 2008-08-18 Marek Habersack <mhabersack@novell.com>
645 * Unit.cs: rewrote the unit parser in a slightly slower, but more
646 correct, way. Fixes bug #417502
648 2008-07-28 Marek Habersack <mhabersack@novell.com>
650 * TreeView.cs: when TreeView is displaying a site map and there is
651 no node selected by the user, select the node corresponding to the
652 current page, if any.
654 2008-07-24 Marek Habersack <mhabersack@novell.com>
656 * DataGrid.cs: removed the private class TableID and moved its
657 code to ChildTable.cs (see below). 2.0 instantiates teh ChildTable
658 with the owner parameter now. Fixes bug #400377
660 * ChildTable.cs: refactoring - moved code from TableID previously
661 defined in DataGrid.cs to here and made the class available under
662 different names for both 1.x and 2.x profiles. Fixes bug #400377
664 * MailDefinition.cs: look for the mail body file in the correct
665 path. Patch from Jackson Harper <jaharper@novell.com>,
666 thanks! Fixes bug #408699
668 * PasswordRecovery.cs: do not ask password recovery question if
669 it's disabled. Patch from Jackson Harper <jaharper@novell.com>,
670 thanks! Fixes bug #408696
672 2008-07-16 Marek Habersack <mhabersack@novell.com>
674 * XmlDataSource.cs: check if Page isn't null before stringifying
675 it in GetDataKey (), fixes bug #409492
677 2008-07-13 Roei Erez <roeie@mainsoft.com>
679 * GridView.cs: When the RowDataBound event is invoked, the value
680 of GridView1.DataKeys should contains all the keys up untill the
681 current row, and not be empty.
682 I only changed the order of the user event invocation and the addition
685 2008-07-13 Roei Erez <roeie@mainsoft.com>
687 * TreeView.cs: In case of multiple tree node bingings, select
688 The first one and not the last one.
690 2008-07-10 Roei Erez <roeie@mainsoft.com>
692 * HyperlinkField.cs: Changed behavior of HyperLinkField bound field key
693 to be case insensitive.
695 2008-07-03 Marek Habersack <mhabersack@novell.com>
697 * CheckBox.cs: do not render the language="javascript" attribute
700 2008-07-02 Marek Habersack <mhabersack@novell.com>
702 * GridView.cs: minor optimizations (removed a foreach loop,
703 replaced calls to Array.Length with a variable containing the
706 2008-06-30 Marek Habersack <mhabersack@novell.com>
708 * ObjectDataSourceView.cs, Menu.cs, DataList.cs,
709 CustomValidator.cs: hush the warnings
711 2008-06-10 Noam Lampert <noaml@mainsoft.com>
713 * ListItemCollection.cs: Provide viewstate for dirty collection even if it is empty.
715 2008-05-30 Marek Habersack <mhabersack@novell.com>
717 * BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
718 DataControlFieldCollection.cs, DataControlField.cs,
719 PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
720 event accessors (to avoid locks).
722 2008-05-18 Marek Habersack <mhabersack@novell.com>
724 * HierarchicalDataBoundControl.cs: Modified GetData method to check if
725 DataSource implements IHierarchicalEnumerable and if so constructs and
726 returns a new instance of ReadOnlyDataSourceView. This provides functional
727 compatibility with the Microsoft.NET framework. Fixes bug
728 #395209. Patch contributed by James Fitzsimons
729 <james.fitzsimons@gmail.com>, thanks!
731 2008-05-06 Marek Habersack <mhabersack@novell.com>
733 * Calendar.cs: do not create dateInfo in the constructor - culture
734 might be not set yet at this point. Fixes bug #323566
735 Added a private property, DateInfo, which creates the dateInfo
738 2008-05-05 Sebastien Pouliot <sebastien@ximian.com>
740 * BulletedList.cs: Avoid calling ToString on a string.
741 * ButtonField.cs: Throw, not just create, the exceptions.
742 * HyperLinkField.cs: Throw, not just create, the exceptions.
743 * ImageField.cs: Throw, not just create, the exception. Avoid calling
744 ToString on a string.
745 * ListControl.cs: Avoid calling ToString on a string.
746 [All issues were found using Gendarme]
748 2008-04-30 Marek Habersack <mhabersack@novell.com>
750 * SiteMapDataSource.cs: when no starting node is found, return
751 null instead of Provider.RootNode. Fixes bug #323994
753 2008-04-24 Marek Habersack <mhabersack@novell.com>
755 * SqlDataSource.cs: raise the DataSourceChangedEvent when setting
756 ConnectionString, ProviderName or DataSourceMode properties only
757 when the new value differs from the old one. Fixes bug #359392
759 2008-04-16 Marek Habersack <mhabersack@novell.com>
761 * ObjectDataSourceView.cs: ExecuteSelect should return an empty
762 aray when no data has been retrieved from the specified source
763 type. Fixes bug #380106
765 2008-04-15 Marek Habersack <mhabersack@novell.com>
767 * MailDefinition.cs: dispose of streams the way it should
770 2008-04-10 Marek Habersack <mhabersack@novell.com>
772 * RadioButton.cs: adjust 'name' and 'value' attribute values to
773 match MS.NET. Fixes bug #378024
775 * CheckBoxList.cs: set the Selected property to the value in POST
776 data only if the item in question was enabled before postback
777 occurred. Fixes bug #377703
779 * ListControl.cs: make sure the owned items' Enabled property is
780 set to the same value what ListControl's. Fixes bug #377703
782 * ListItemCollection.cs: fixed SetDirty to store the index of the
783 last dirtied item properly. Fixes bug #377703
784 For the 2.0 profile, set the ListItem instances Enabled property
785 to the value of the owning ListControl (internal ItemsEnabled
786 property was added to make it possible). Fixes bug #377703
788 2008-04-08 Dean Brettle <dean@brettle.com>
790 * DataBoundControl.cs (InternalPerformDataBinding),
791 HierarchicalDataBoundControl.cs (InternalPerformDataBinding),
792 WebControl.cs (Render): fixed cast errors when a ControlAdapter
793 that wasn't of the type corresponding to the control was used.
795 2008-04-03 Marek Habersack <mhabersack@novell.com>
797 * DataList.cs: use the value of SelectedIndex, not selectedIndex,
798 to return the key value in the SelectedValue property. Fixes bug
799 #376519. Patch from Sergey Kuleshov <svyatogor@gmail.com>, thanks!
801 2008-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
803 * AutoGeneratedField.cs, CheckBoxField.cs: fixed OnDataBindField,
804 should hide checkbox only if DataItem is not defined
806 2008-03-09 Dean Brettle <dean@brettle.com>
808 * DetailsView.cs, ListControl.cs, DataBoundControl.cs,
809 FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs:
810 added support for using ControlAdapters when present.
812 * WebControl.cs: fixed implementation of IsEnabled to match
815 * Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of
816 RenderMenuItem() if an adapter is present. MenuAdapter.RenderItem()
817 calls back to new Menu.RenderItem() internal method which calls
818 RenderMenuItem() with the appropriate parameters.
820 2008-02-25 Igor Zelmanovich <igorz@mainsoft.com>
823 at Update and Delete use not read only coppies of dictionaries
824 in event argumens, that allows user to change them before corresponding
825 DataSource's method is called.
827 2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>
829 * Login.cs: render id attribute of root element correctly.
831 2008-02-18 Marek Habersack <mhabersack@novell.com>
833 * FormView.cs: the ItemCreated must be fired before data is bound
834 to the FormView. Fixes bug #360434
836 2008-02-07 Igor Zelmanovich <igorz@mainsoft.com>
838 * Login.cs: render id attribute of root element correctly.
840 2008-02-05 Marek Habersack <mhabersack@novell.com>
842 * FileUpload.cs: make sure FileContent always returns the input
843 stream positioned at the beginning. Fixes bug #356846
845 2008-01-31 Igor Zelmanovich <igorz@mainsoft.com>
847 * Calendar.cs: resolve Next/Prev. month link date correctly.
849 2008-01-29 Igor Zelmanovich <igorz@mainsoft.com>
851 * TreeView.cs: add XPFileExplorer icon set.
853 2008-01-28 Igor Zelmanovich <igorz@mainsoft.com>
855 * Menu.js: dynamic nodes are positioned after hover style of
856 parent node is applied.
858 2008-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
860 * DataSourceCacheManager.cs: fixed GetKeyFromParameters, incase more
861 than one datasource using the same object with the same select method
863 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
865 * ValidationSummary.cs:
866 refactoring: If page contents instance of IScriptManager, it calls
867 it's API instead Page.ClientScript.
869 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
871 * Menu.cs: fixed rendering.
873 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
876 manage history state on "MovePrevious" action.
878 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
881 resolve BulletImageUrl,
882 register for event validation.
884 2008-01-13 Igor Zelmanovich <igorz@mainsoft.com>
888 upgrade client side script due to changes in webform.js.
890 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
892 * BaseCompareValidator.cs:
894 * CompareValidator.cs:
895 * CustomValidator.cs:
897 * RegularExpressionValidator.cs:
898 * RequiredFieldValidator.cs:
899 refactoring: If page contents instance of IScriptManager, validators call
900 it's API instead Page.ClientScript.
902 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
907 for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
908 in GetPostBackOptions.
910 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
912 * DetailsView.cs: render invisible rows correct.
914 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
916 * DataControlField.cs: prevent infinite recursion
918 2008-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
920 * DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding
923 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
925 * DataSourceCacheManager.cs: fixed SetCachedObject, fixed
928 2007-12-24 Igor Zelmanovich <igorz@mainsoft.com>
930 * TreeView.cs: revert changes from r91230
932 2007-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
934 * ListControl.cs: fixed Load/SaveViewState, removed selected indices
936 * ListItem.cs: fixed Load/SaveViewState, added selected state storing
937 * ListItemCollection.cs: fixed Load/SaveViewState, added flag to not
938 rebuild the collection if was'nt changed
940 2007-12-13 Marek Habersack <mhabersack@novell.com>
942 * Menu.cs, TreeView.cs: optimize use of String.Format in
944 Speed optimization - use String.Concat instead of String.Format in
947 * GridView.cs, DetailsView.cs: optimize use of String.Format in
950 * CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
951 WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
952 ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
953 optimization - use String.Concat instead of String.Format in some cases.
955 2007-12-13 Vladimir Krasnov <vladimirk@mainsoft.com>
957 * Menu.cs: fixed rendering without head tag on page
959 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
961 * Calendar.cs: performance optimizations:
962 BuildLink fixed, StringBuilder used.
963 TodaysDate DateTime.Today call cahced.
965 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
967 * Unit.cs: performance optimization: ToString fixed, string.Concat used
968 instead of string.Format
970 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
972 * Style.cs: performance optimization: suppress finalizer added
974 2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>
978 evaluate bound value using ThisExpession ("!") properly
980 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
982 * WebControl.cs: enabled state restored properly.
984 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
987 refactoring for NET_2_0:
988 Text is removed from view state in case of need at SaveViewState phase.
990 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
993 SelectedValue/SelectedIndex is set during DataBinding always.
995 2007-11-06 Marek Habersack <mhabersack@novell.com>
997 * DataGrid.cs: add RenderTable before the DataGridItems, so that
998 numbering of children is the same what on MS.NET.
999 If there are any data items, require a postback script.
1002 * ChildTable.cs: removed DOS EOLs.
1004 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
1007 does not perform authentication if Page.IsValid returns false;
1008 the fix makes control works with disabled client side validation.
1010 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
1013 state of DataList.Items are restored correct on PostBack
1014 such Items.Count and ItemType.
1016 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
1019 validator is rendered correct if EnabledClientClient is false.
1021 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
1023 * Image.cs: fixed management state of Enabled property.
1024 * WebControl.cs: refactoring in management state of Enabled property.
1026 2007-10-23 Marek Habersack <mhabersack@novell.com>
1028 * ListBox.cs, Table.cs: use Render{Begin,End}Tag
1029 instead of the Write* counterparts when rendering contents.
1031 2007-10-18 Marek Habersack <mhabersack@novell.com>
1033 * Menu.js: a workaround for an IE bug. IE recalculates element's
1034 offsetWidth when the element's _height_ is set - which in case of
1035 elements with overflowing content results in a value that's just
1036 slightly smaller than the client window width. In effect, a long
1037 submenu will also be very wide, which isn't desirable. Fixes bug
1040 2007-10-15 Marek Habersack <mhabersack@novell.com>
1042 * ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
1045 * BulletedList.cs: html encode the item text. Fixes bug #333550.
1047 2007-10-01 Marek Habersack <mhabersack@novell.com>
1049 * ListItem.cs: make HasAttributes available for the 1.1 profile as
1052 * DropDownList.cs: render custom ListItem attributes in the 1.1
1053 profile. Fixes bug #326288
1055 2007-09-27 Marek Habersack <mhabersack@novell.com>
1057 * Button.cs: added missing OnPreRender method.
1059 2007-09-25 Marek Habersack <mhabersack@novell.com>
1061 * WebControl.cs: added an internal method, BuildScriptAttribute,
1062 which merges the specified JavaScript code in an attribute, with
1063 the value of that attribute specified by the user.
1065 * CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
1066 preserve user-specified attribute value, if present.
1068 * ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
1069 after doing its job. AutoPostBack handling makes sure to preserve
1070 user-specified attribute value, if present. Fixes bug #327816.
1072 2007-09-21 Marek Habersack <mhabersack@novell.com>
1074 * ListItem.cs: don't save StateBag in the control state - the
1075 class is not serializable and therefore ObjectStateFormatter
1076 cannot convert it. Instead have the sb object save its own state
1077 and store the returned value. Fixes bug #326288.
1079 2007-09-20 Marek Habersack <mhabersack@novell.com>
1081 * LoginView.cs: implemented RoleGroups support. Fixes bug
1084 2007-09-19 Marek Habersack <mhabersack@novell.com>
1086 * GridView.cs: copy attributes from GridView to the child table,
1087 as this is where the rendering takes place. Fixes bug #326309.
1089 2007-09-18 Marek Habersack <mhabersack@novell.com>
1091 * Calendar.cs: correctly apply day cell style. Fixes bug #315903
1093 2007-09-17 Marek Habersack <mhabersack@novell.com>
1095 * Calendar.cs: style attribute value must be enclosed in quotes.
1097 * TableStyle.cs: do not capitalize the align styles. Fixes bug
1100 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
1102 * ListControl.cs: partially restored r85314
1103 whenever a property that can affect data binding
1104 is set, make sure to set RequiresDataBinding.
1106 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
1108 * DataBoundControl.cs: fixed DataBind flow:
1109 prevent double binding when not necessary.
1112 2007-08-31 Marek Habersack <mhabersack@novell.com>
1114 * GridView.cs: instead of not adding hidden fields to the rows,
1115 mark the cells they would contain as invisible. Fixes bug #82615.
1117 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1121 make Menu work in multi form environment.
1123 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1125 * ListControl.cs: fixed selected items state management.
1127 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1129 * BaseCompareValidator.cs:
1131 * CompareValidator.cs:
1132 * CustomValidator.cs:
1133 * RangeValidator.cs:
1134 * RegularExpressionValidator.cs:
1135 * RequiredFieldValidator.cs:
1136 all Validators use RegisterExpandoAttribute for
1137 not XHTML compliant attributes.
1139 2007-08-23 Igor Zelmanovich <igorz@mainsoft.com>
1141 * Panel.cs: client script consider MultiForm environment.
1143 2007-08-21 Marek Habersack <mhabersack@novell.com>
1145 * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
1148 2007-08-20 Marek Habersack <mhabersack@novell.com>
1150 * ContentPlaceHolderBuilder.cs: store place holder id in the
1151 parser's internal place holder id list for later reference. Fixes
1154 2007-08-19 Vladimir Krasnov <vladimirk@mainsoft.com>
1156 * BoundField.cs: FormatDataValue, refactored multiple use of ToString
1158 2007-08-14 Marek Habersack <mhabersack@novell.com>
1160 * ObjectDataSourceView.cs: remove unused variable.
1162 * ChangePassword.cs: remove unused variable.
1163 The change password button id changed to
1164 "ChangePasswordPushButton", the cancel button id changed to
1165 "CancelPushButton". The change makes the generated ids the same
1166 what on MS.NET. Fixes bug #82418.
1168 * RoleGroupCollection.cs: OnValidate shouldn't be overridden.
1170 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1172 * ParameterCollection.cs: fixed IndexOfString, should use ordinal
1175 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1177 * Menu.cs: performance refactoring, used AddAttribute overload without
1178 encoding on known attribute values, optimized DynamicMenu rendering
1180 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1182 * TreeView.cs: refactoring, used AddAttribute overload without encoding
1183 on known attribute values,
1184 used Page.ClientScript.GetWebResourceUrl call instead of
1185 AssemblyResourceLoader.GetResourceUrl
1187 2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
1189 * AccessDataSource.cs: does not subscribed on view changed event.
1190 * ObjectDataSource.cs: fixed state management.
1191 * SqlDataSource.cs: fixed state management.
1193 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1196 DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs,
1197 RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs,
1198 TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs,
1199 BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs,
1200 RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs,
1201 ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs,
1202 TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs:
1203 refactoring, used AddAttribute overload without encoding on known attribute
1206 2007-08-01 Igor Zelmanovich <igorz@mainsoft.com>
1208 * DropDownList.cs: fixed onchange attibute.
1210 2007-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
1212 * ListItemCollection.cs: fixed LoadViewState, items restored from
1213 viewstate were not saved, fixes bug #82192
1215 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1217 * BaseValidator.cs: All client scripts are rendered
1218 according IsMultiForm property.
1220 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1222 * TreeView.cs: refactoring:
1224 used ClientScriptManager.GetCallbackEventReference API instead calling
1225 WebForm_DoCallback explicit.
1227 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1229 * BaseValidator.cs: for NET_2_0: fixed client side validation.
1230 validation is performed in WebForm_DoPostback,
1231 and there is no need to do it twice in ValidatorOnSubmit.
1233 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1235 * Calendar.cs: fixed: correct 'id' attribute is rendered.
1237 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
1239 * ListItemCollection.cs: optimized SetDirty method
1241 2007-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1245 * ListItemCollection.cs: controls based on ListControl should not save
1246 view state before than TrackViewState called
1248 2007-07-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1250 * WebControl.cs: fixed AddDisplayStyleAttribute, returns if
1251 ControlStyle is not created
1253 2007-07-02 Marek Habersack <mhabersack@novell.com>
1255 * WebControl.cs: Revert r80368, as it wasn't the correct
1256 fix. Fixes bug #81945.
1258 * ListControl.cs: if there are no items in the collection, do not
1259 return an empty ArrayList from GetSelectedIndicesInternal. Fixes
1260 bug #81945 and properly fixes bug #78533.
1262 * ListItemCollection.cs: if there are no items in collection,
1265 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1268 the Pager is created but unvisible for only one page.
1269 the Patch submitted by Dumitru Ban [dban@dako.ro]
1271 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1276 does not requires data binding if any ITemplate property is set.
1278 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1280 * CheckBox.cs: fixed Render, HasAttributes called instead
1283 2007-06-24 Igor Zelmanovich <igorz@mainsoft.com>
1285 * GridView.cs: fixed AllowPaging feature:
1286 When the AllowPaging is true the GridView control should automatically
1287 hide the pager row when the data source contains fewer than 2 records.
1288 patch Patch submitted by Dumitru Ban [dban@dako.ro]
1290 2007-06-20 Marek Habersack <mhabersack@novell.com>
1292 * WebControl.cs: if savedState is a Triplet, take the actual state
1293 data from savedState.First. Also make sure that the data is a
1294 Pair. Fixes bug #78533.
1296 * DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
1297 to keep private entries.
1298 * XmlDataSource.cs: as above
1300 2007-05-31 Vladimir Krasnov <vladimirk@mainsoft.com>
1302 * BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed
1303 to ClientScriptManager
1305 2007-05-29 Igor Zelmanovich <igorz@mainsoft.com>
1307 * ObjectDataSourceView.cs:
1308 * SiteMapDataSource.cs:
1310 * SqlDataSourceView.cs:
1311 DataSourceChanged and DataSourceViewChanged are raised in right case, when
1312 different properties changed their value.
1314 2007-05-27 Igor Zelmanovich <igorz@mainsoft.com>
1316 * ObjectDataSourceView.cs: fixed SelectMethod and SelectCountMethod properties:
1317 when changed, DataSourceViewChanged event is raised.
1319 * SqlDataSourceView: fixed SelectCommand property:
1320 when changed, DataSourceViewChanged event is raised.
1322 2007-05-25 Marek Habersack <mhabersack@novell.com>
1324 * ObjectDataSourceView.cs: CreateDataObject must pay attention to
1325 TypeConverter attributes on the property being converted.
1327 2007-05-24 Igor Zelmanovich <igorz@mainsoft.com>
1329 * Menu.cs: fixed: alt attribute is rendered as well.
1331 2007-05-16 Marek Habersack <mhabersack@novell.com>
1333 * CompareValidator.cs: formatting changes
1335 2007-05-15 Marek Habersack <mhabersack@novell.com>
1337 * ObjectDataSourceView.cs: refactoring - use
1338 HttpApplication.LoadType to look up types.
1340 2007-05-10 Marek Habersack <mhabersack@novell.com>
1342 * Table.cs: render rows, not controls
1344 * HyperLink.cs: RenderContents must check if the render method
1345 delegate is present and, if yes, call the base RenderContents.
1347 * LinkButton.cs: as above.
1349 * Label.cs: as above.
1351 * TableCell.cs: as above.
1352 This change makes the HeaderTemplate in the Wizard control work.
1354 * Wizard.cs: if a next/previous step handler modifies
1355 ActiveStepIndex do not, respectively, increase/decrease the
1356 current step, but use whatever was set in the handler.
1358 2007-05-09 Marek Habersack <mhabersack@novell.com>
1360 * TreeNodeStyleCollection.cs: do not set font's underline flag to
1361 false, set it to its own value instead.
1363 * TreeView.cs: if level style exists and has ChildNodesPadding
1364 set, it takes precedence over the node style setting (if any).
1366 2007-05-08 Marek Habersack <mhabersack@novell.com>
1368 * TreeView.cs: children padding is rendered only before and after
1369 the children are rendered, not between them. Also, render padding
1370 only if there are any nodes to follow the current one.
1372 2007-05-07 Marek Habersack <mhabersack@novell.com>
1374 * Wizard.cs: additional checks to see whether the wizard needs to
1375 move to a next step or not. Fixes bug #81532. Patch sent by Mike
1376 Morano <mmorano@mikeandwan.us>, thanks!
1378 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1380 * FormView.cs: fixed:
1381 avoid NullReferenceException when used EditTemplate w/o binding
1382 directive such Eval or Bind.
1384 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1386 * MenuItem.cs: fixed:
1387 when 'Value' property is not set, value of 'Text' property is used
1388 instead and vice versa.
1390 2007-05-06 Igor Zelmanovich <igorz@mainsoft.com>
1392 * TreeNode.cs: fixed:
1393 when 'Value' property is not set, value of 'Text' property is used
1394 instead and vice versa.
1396 2007-05-04 Marek Habersack <mhabersack@novell.com>
1398 * AdRotator.cs: use the new GetPhysicalFilePath method to look up
1399 the physical path of the ad file.
1401 2007-05-03 Marek Habersack <mhabersack@novell.com>
1403 * TreeView.cs: honor ChildNodesPadding of the NodeStyle.
1405 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1407 * ControlPropertyNameConverter.css:
1408 * FontUnitConverter.cs:
1410 * ValidatedControlConverter.cs:
1413 2007-05-03 Marek Habersack <mhabersack@novell.com>
1415 * TreeNode.cs: correct version of the fix in r76488. Nodes
1416 retrieved from a navigation data source which have empty URL will
1419 * TreeView.cs: revert r76488, it wasn't entirely correct. I need
1420 to investigate the special cases it solved a bit more.
1422 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
1424 * SqlDataSourceView.cs:
1425 make CancelSelectOnNullParameter property works.
1427 2007-05-01 Marek Habersack <mhabersack@novell.com>
1429 * BaseValidator.cs: do not use User-Agent directly, we must take
1430 ClientTarget into account.
1432 2007-04-30 Marek Habersack <mhabersack@novell.com>
1434 * TreeView.cs: bring rendering closer to the MS.NET rendering.
1436 * SqlDataSource.cs: do not catch the exception if ProviderName is
1437 not null or empty (as per docs and what MS.NET does).
1439 2007-04-19 Igor Zelmanovich <igorz@mainsoft.com>
1441 * ChangePassword.cs:
1442 does not accept invalid new password.
1444 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1448 added MonoLimitation attributes
1450 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1452 * BaseValidator.cs: for TARGET_J2EE:
1453 used Page.Request.Browser to determine RenderUplevel
1455 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1458 when databound with AutoGenerateColumns = true,
1459 data source enumerator created only once.
1461 2007-04-18 Marek Habersack <mhabersack@novell.com>
1463 * SiteMapDataSource.cs: query the site map for the current node
1464 when configured to use it as the start point. Fixes bug #81376,
1465 patch from Mike Morano <mmorano@mikeandwan.us>.
1467 * Calendar.cs: change year/month format to be culture aware. Fix
1468 for bug #81390. Patch submitted by Atsushi Enomoto
1469 <atsushi@ximian.com>
1471 2007-04-17 Daniel Nauck <dna@mono-project.de>
1473 * PasswordRecovery.cs: fixed typo (AnswerLabel.Text).
1475 2007-04-17 Marek Habersack <mhabersack@novell.com>
1477 * BaseValidator.cs: use the new uplevel browser detection code.
1479 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1481 * SqlDataSourceView.cs: fixed: InitializeParameters:
1482 restored flow, broken in r75137.
1484 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1486 * Menu.cs: popup menu is posed correctly if menu is placed within
1487 container with position=relative
1489 2007-04-12 Marek Habersack <mhabersack@novell.com>
1491 * LoginView.cs: do not call CreateChildControls directly from the
1492 IsAuthenticated setter since that would destroy the controls the
1493 user might've configured from their Page_PreRender method.
1494 Do not use IsAuthenticated in CreateChildControls since that
1495 prevents the _correct_ template from being instantiated before the
1496 control is transferred to the user's OnPreRender handler. Fixes
1499 2007-04-11 Marek Habersack <mhabersack@novell.com>
1501 * ImageButton.cs: implement the Enable property and do not
1502 register for post back if the control isn't enabled.
1504 2007-04-06 Marek Habersack <mhabersack@novell.com>
1506 * GridView.cs: don't render invisible fields. Fixes bug #80061.
1508 * DetailsView.cs: don't render invisible fields.
1510 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1512 * Menu.cs: resolve selected MenuItem if bounded with SiteMapeDataSource.
1514 2007-04-05 Marek Habersack <mhabersack@novell.com>
1516 * BaseDataBoundControl.cs: restore the LAMESPEC note and code it
1517 describes - tests show this is what's happening on MS.NET as
1520 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1523 * BaseDataBoundControl.cs:
1524 Break recursion when the property is set from within the OnSelect handler
1525 in user's code. fixes bug #81175.
1527 2007-04-05 Marek Habersack <mhabersack@novell.com>
1529 * SiteMapDataSource.cs: fix GetStartNode for situations when the
1530 current URL is not defined in the sitemap file. Fixes bug
1531 #81314. Patch from Mike Morano <mmorano@mikeandwan.us>.
1533 2007-04-03 Marek Habersack <mhabersack@novell.com>
1535 * BaseDataBoundControl.cs: adjust for lame specs on MSDN.
1537 2007-04-02 Gert Driesen <drieseng@users.sourceforge.net>
1539 * MenuItem.cs: Use INavigateUIData.Description as ToolTip. Fixed line
1542 2007-03-29 Adar Wesley <adarw@mainsoft.com>
1544 * ObjectDataSourceView.cs: fixed events so they are raized at the
1545 right times. Added many tests to verify the correct time.
1546 * SqlDataSourceView.cs: fixed events so they are raized at the right
1547 times. Added many tests to verify the correct time.
1549 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1553 avoid Exception if HierarchicalDataSourceView.Select() returns null.
1555 2007-03-22 Igor Zelmanovich <igorz@mainsoft.com>
1557 * ObjectDataSource.cs:
1558 * ObjectDataSourceView.cs:
1560 * SqlDataSourceView.cs:
1561 fixed flow: changes in Insert/Update/DeleteParameters does not
1562 cause DataSourceViewChanged event.
1564 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1566 * BaseDataBoundControl.cs: fix as per MSDN - the property is set
1567 only if data binding doesn't occur.
1569 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1571 * GridView.cs: fixed: PageIndex considers PageCount.
1573 2007-03-20 Marek Habersack <mhabersack@novell.com>
1575 * DataBoundControl.cs: avoid endless recursion here. Fixes bug #81175
1577 * LoginStatus.cs: render login/logout controls with the CssClass
1578 set from the parent control. Fixes bug #81196
1580 2007-03-19 Igor Zelmanovich <igorz@mainsoft.com>
1582 * DataGrid.cs: fixed Save/Load view state, applying styles.
1584 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
1586 * Style.cs: optimization: used CssStyleCollection .ctor w/o parameters.
1588 2007-03-09 Marek Habersack <mhabersack@novell.com>
1590 * Login.cs: Make command name comparison case-insensitive in
1591 OnBubbleEvent. Patch from Mike Morano <mmorano@mikeandwan.us>
1593 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1595 * DataGrid.cs: fixed:
1596 Auto-generated columns are restored properly on postback from view state.
1598 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1601 when AddAttributesToRender(System.Web.UI.HtmlTextWriter, WebControl)
1602 is called, WebControl parameter is passed as argument to
1603 FillStyleAttributes (CssStyleCollection, IUrlResolutionService) method.
1605 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1609 fixed applying styles if ExtractTemplateRows=true.
1611 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1613 * DropDownList.cs: in 2.0 first item is rendered with selected attribute
1614 is Enabled=false and no selected items.
1616 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1618 * CheckBoxList.cs: in 2.0 access key attribute is rendered in 'input' tags.
1620 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1626 * RadioButtonList.cs:
1627 fixed: list controls consider ListItem.Attributes property on render.
1629 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1631 * CheckBox.cs: fixed: 'span' tag is not rendered if all attributes
1632 are rendered in 'input' tag.
1634 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1638 used "ONLY_1_1" instead "!NET_2_0"
1640 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1642 * BaseDataBoundControl.cs:
1643 * DataBoundControl.cs:
1644 * HierarchicalDataBoundControl.cs:
1645 refactoring: DataBoundControl and HierarchicalDataBoundControl use internal
1646 method in BaseDataBoundControl to find a data source control.
1648 2007-03-05 Marek Habersack <mhabersack@novell.com>
1650 * Unit.cs: Support parsing of units in the form ".9em" etc.
1652 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1654 * TemplateColumn.cs: fixed: if ItemTemplate is null, " " is rendered.
1656 2007-03-05 Marek Habersack <mhabersack@novell.com>
1658 * BaseValidator.cs: make validators work correctly with
1659 ListItems. Patch from Daniel Nauck <dna@informatik.uni-kiel.de>
1661 2007-03-04 Marek Habersack <mhabersack@novell.com>
1663 * HierarchicalDataBoundControl.cs: Use the method described below
1664 to get the data source named in DataSourceID.
1666 * BaseDataBoundControl.cs: add an internal method to find a data
1667 source control within all the naming containers above a given
1668 control. The method makes it possible to find controls that reside
1671 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1673 * Repeater.cs: fixed: data-binding flow for 2.0 features.
1675 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1678 * ParameterCollection.cs:
1679 fixed GetValue/s and UpdateValue/s.
1681 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1683 * TreeNodeCollection.cs:
1684 fixed Save/Load viewstate.
1686 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1688 * MenuItemCollection.cs:
1689 fixed Save/Load viewstate.
1691 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1693 * CreateUserWizard.cs:
1695 fixed CausesValidaion and ValidationGroup for navigation buttons.
1697 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1701 fixed LoadPostData to restore checked state for node's checkboxes.
1703 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1705 * TreeNodeCollection.cs: 'dirty' flag is assigned if 'marked' only
1707 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1709 * BaseDataBoundControl.cs: setting DataSource to null does not
1710 call ValidateDataSource.
1711 * HierarchicalDataBoundControl.cs: ValidateDataSource does not
1712 throw exception if argument is null.
1714 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1716 * WebControl.cs: implemented IsEnabled and HasAttributes.
1718 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1720 * BaseDataList.cs: fixed: data-binding flow for 2.0 features.
1722 2007-02-27 Marek Habersack <grendello@gmail.com>
1724 * FileUpload.cs: HasFile is true only if PostedFile is not null
1725 and it actually has an associated file.
1727 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1729 * LoginView.cs: fixed:
1730 ViewChanging and ViewChanged are fired.
1731 optimized Save/Load control state.
1733 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1735 * CreateUserWizard.cs: fixed: does not attempt to send email if
1736 MailDefinition is not defined.
1738 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1741 considers FormsAuthentication.ReturnUrl only if is placed in
1742 the login page defined in web.config.
1744 2007-02-23 Marek Habersack <grendello@gmail.com>
1746 * ObjectDataSourceView.cs: Fix saving/restoring the view state.
1748 * CreateUserWizard.cs: support for sending mail when a new user is
1749 created. Patch from dban@dako.ro.
1751 2007-02-22 Marek Habersack <grendello@gmail.com>
1753 * LoginStatus.cs: Handle OnLoggedOut properly. Patch from
1756 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1758 * ObjectDataSourceView.cs: fixed ViewState behavior to match MS. Added relevant tests.
1760 2007-02-20 Gert Driesen <drieseng@users.sourceforge.net>
1762 * Calendar.cs: Fixed bug #80881 by using Thread's CurrentCulture
1763 instead of CurrentUICulture for DateFormatInfo.
1765 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1767 * SqlDataSource.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1768 * SqlDataSourceView.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1770 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
1772 * ChangePassword.cs: fixed:
1773 ChangePasswordContainer and SuccessContainer cannot be BindingContainer.
1775 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1777 * SqlDataSourceView.cs: Fixed parameter merging logic and some bug fixing.
1780 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
1785 implemented Form.SubmitDisabledControls feature.
1787 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1789 * GridView.cs: IsBindableType for decimal returns true.
1791 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1793 * Menu.js: client script: support IE6.
1795 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1797 * Menu.cs: fixed: considers item.ToolTip, render image inside 'a' tag.
1799 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
1801 * Button.cs, ImageButton.cs, LinkButton.cs: Hanlding of PostbackOptions for
1802 TARGET_J2EE is now centralized in ClientScriptManager.
1803 * TreeView.cs, DetailsView.cs, GridView.cs, TreeView.js, DetailsView.js,
1804 GridView.js: Added a field to the controls JavaScript 'data' object. The
1805 form is initialized to the page 'theForm'. This is used for J2EE portlets
1808 2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1811 first step is recognized as 'finish' if only two steps
1812 and last step is 'complete'
1814 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1816 * BaseValidator: ControlPropertiesValid is called on PreRender
1817 * CompareValidator.cs:
1818 * RangeValidator.cs: fixed ControlPropertiesValid, EvaluateIsValid.
1820 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1822 * BaseCompareValidator.cs: fixed: support for type=Currency on client side.
1824 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1826 * ParameterCollection.cs: fixed IndexOfString, this indexer should be
1829 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
1831 * TreeView.js: refactoring:
1832 removed TreeView_ErrorCallback, used TreeView_PopulateCallback instead.
1834 2007-02-13 Adar Wesley <adarw@mainsoft.com>
1836 * ObjectDataSourceView.cs: fixed parameter merging and added more tests
1838 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1840 * Literal.cs: implemented 2.0 feature - Mode.
1842 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1844 * ViewCollection.cs: fixed public API.
1846 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1848 * RepeaterItem.cs: implemented IDataItemContainer interface.
1850 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1852 * TreeNodeStyle.cs: fixed public API.
1854 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1856 * MenuItemStyle.cs: fixed public API.
1858 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1861 * DayRenderEventArgs.cs:
1862 implemented 2.0 feature - SelectUrl.
1864 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1866 * GridViewRowCollection.cs: implemented IsReadOnly property.
1868 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1870 * BaseValidator.cs: implemented SetFocusOnError feature.
1872 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1874 * Wizard.cs: refactoring:
1875 used ContainedTable for ID attribute is rendered properly.
1877 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1879 * CreateUserWizard.cs:
1883 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1885 * DataList.cs: fixed: OnBubbleEvent() will return true if event is handled
1887 2007-02-09 Gert Driesen <drieseng@users.sourceforge.net>
1889 * FontUnit.cs: Fixed ToString () to use current locale.
1891 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1893 * BaseValidator.cs: fixed render, works in static mode properly
1894 * CreateUserWizard.cs: fixed display mode for validators.
1896 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1900 implemented FormViewPagerRow class
1902 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1905 header and footer visibility is set at creation.
1907 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1909 * FormView.cs: fixed:
1910 header and footer are not created with empty row.
1912 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1914 * FormView.cs: fixed:
1915 works properly with not ICollection data source.
1917 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1919 * DetailsView.cs: fixed:
1920 PageIndex, CreateChildControls,
1921 works properly with not ICollection data source.
1923 2007-02-06 Eyal Alaluf <eyala@mainsoft.com>
1925 * Menu.cs ImageMap.cs Panel.cs TreeView.cs: Ensure that the NavigateUrl
1926 property is rendered as a RenderURL for J2EE portlets.
1928 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1930 * BaseValidator.cs: refactored RegisterValidatorCommonScript to use
1931 RegisterClientScriptInclude instead of RegisterClientScriptBlock
1933 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1935 * DataBoundControl.cs:
1938 PerformDataBinding is called with RequiresDataBinding was set false
1940 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1943 fixed validation flow.
1945 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1948 fixed validation flow.
1950 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1952 * CustomValidator.cs:
1953 ValidateEmptyText is considered on client side.
1955 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1960 * DataControlButton.cs:
1961 * DataControlField.cs:
1964 Internal classes are used in databound controls for buttons
1965 are derived from right types. It allows to have access to them by casting
1966 to public types. This trick is used in one of starter kits of MS.
1968 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1970 * Panel.cs: fixed: reverted r71441.
1971 * TreeView.cs: used internal RegisterWebFormClientScript API
1972 to cause the relevant script be included.
1974 2007-02-01 Adar Wesley <adarw@mainsoft.com>
1976 * FormView.cs: fixed events ModeChanging and ModeChanged
1977 to be raized in all relevant situations.
1979 2007-02-01 Igor Zelmanovich <igorz@mainsoft.com>
1981 * ValidationSammary.cs: fixed:
1982 control is rendered even if there is no validators on the page.
1983 important if the page contain a client side script that refer to the
1984 id of the validation summary div.
1986 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1991 * RadioButtonList.cs:
1992 EnsureDataBound is called when PostData is processed to restore
1993 'state' of control if EnableViewState is false
1995 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1997 * GridView.cs: fixed:
1998 RowDataBound is fired for PagerRow.
1999 Styles are applied using MergeWith instead CopyFrom
2000 to allow using custom styles for rows in code-behind.
2002 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
2004 * GridView.cs: fixed: RowCommand event is fired properly.
2006 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
2008 * GridView.cs: fixed: created rows are added in table after initialization.
2011 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
2013 * Panel.cs: fixed 'background-image' attribute.
2015 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
2017 * BaseDataBoundControl.cs:
2018 * DataBoundControl.cs:
2019 fixed DataBinding flow: RequiresDataBinding is set to false in
2021 * HierarchicalDataBoundControl.cs: implemented MarkAsDataBound().
2023 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
2027 fixed DataBinding flow for Insert mode.
2029 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
2032 does not RegisterRequiresPostBack if is not enabled.
2034 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
2038 fixed PopulateOnDemand: used UniqueID to call WebForms_DoCallBack().
2040 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
2042 * MultyView.cs: OnActiveViewChanged is called.
2044 2007-01-29 Vladimir Krasnov <vladimirk@mainsoft.com>
2046 * Panel.cs: fixed AddAttributesToRender for 2.0, text align should be
2049 2007-01-29 Adar Wesley <adarw@mainsoft.com>
2051 * EditCommandColumn.cs: implemented CausesValidation and
2052 ValidationGroup and coresponding tests.
2053 * DataGrid.cs: fixed generated table to be compatible with MS 2.0
2055 2007-01-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2057 * WebControl.cs: added internal method AddDisplayStyleAttribute for
2058 display:inline-block style attribute
2061 * CheckBox.cs: added call to AddDisplayStyleAttribute on rendering
2063 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
2065 * TreeView.js: Used WebForm_GetFormFromCtrl to lookup the form.
2067 2007-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
2069 * TextBox.cs: implemented AutoCompleteType property, fixed
2070 AddAttributesToRender
2072 2007-01-24 Ilya Kharmatsky <ilya -at- decode-systems.com>
2074 * DetailsView.cs: fixed problems with rendering of control, when
2075 empty data source is provided. Respective tests are provided
2076 in DetailsViewTest.cs
2078 2007-01-21 Konstantin Triger <kostat@mainsoft.com>
2080 * TreeView.js, DetailsView.js, Menu.js, GridView.js:
2081 suppress exception if eval() fails.
2083 2007-01-20 Miguel de Icaza <miguel@novell.com>
2085 * DataControlFieldCollection.cs (RemoveAt): remove unused
2088 * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
2091 * RadioButton.cs (RaisePostDataChangedEvent): This method was not
2092 used in 1.0, so put the whole method in 2.0
2094 2007-01-18 Adar Wesley <adarw@mainsoft.com>
2096 * Xml.cs: added support for XPathNavigator, fixed DocumentContent
2097 to be compatible with MS 2.0, implemented EnableTheming, implemented
2098 SkinID, fixed Focus behavior.
2100 2007-01-18 Vladimir Krasnov <vladimirk@mainsoft.com>
2102 * Menu.js, Menu.js: added null reference checking for every getTree or
2105 2007-01-18 Adar Wesley <adarw@mainsoft.com>
2107 * SiteMapDataSource.cs: implemented logic of GetStartNode when
2108 StartingNodeOffset is positive.
2110 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
2112 * BaseValidator.cs: ToString the validating property value or
2113 if null return an empty string.
2115 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2117 * TreeView.cs: fixed RegisterStyle, style names should be without
2118 leading underscore. fixed RenderNode, node icons should be taken also
2121 2007-01-17 Adar Wesley <adarw@mainsoft.com>
2123 * Repeater.cs: refactored GetData to return data both from DataSource
2124 and DataSrouceID, Implemented EnableTheming, updated initialization of
2125 DataBinding according to the pattern of BaseDataBoundControl, fixed
2126 SelectArguments implementation to call the virtual
2127 CreateDataSourceSelectArguments method.
2129 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
2131 * GridView.cs: don't force creating rows collection when SelectedIndex
2132 changes; EnsureDatabound on select.
2134 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2136 * TreeNode.cs: fixed Bind, fixed Value updating
2138 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2140 * DataList.cs: fixed OnBubbleEvent, added SelectedIndex updating
2142 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2144 * DetailsView.cs: fixed CreateChildControls, PageIndex cannot be less
2147 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2149 * DetailsView.cs: fixed CreateChildControls, PageIndex should be less
2150 or equal to PageCount
2152 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2154 * Menu.cs: added z-index attribute to popup div's.
2156 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2158 * FileUpload.cs: fixed FileName property, should return filename
2159 without full path on client side
2161 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
2166 Implemented the protected net_2_0 method 'VerifyMultiSelect' with
2167 proper overloading in derived types.
2169 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2172 considers INavigateUIData.NavigateUrl when bound.
2174 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2176 * CompleteWizardStep.cs
2177 * CreateUserWizard.cs
2178 * CreateUserWizardStep.cs
2179 * TemplatedWizardStep.cs
2181 make the design complied to .NET
2182 build all possible controls at once and manage render by Visible property
2184 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
2185 * Button.cs, HyperLink.cs, DataGrid.cs, ImageButton.cs, LinkButton.cs,
2186 PagedDataSource.cs: Added J2EE Portal support for TARGET_J2EE.
2188 2007-01-14 Ilya Kharmatsky <ilyak-at-mainsoft.com>
2189 * BaseCompareValidator
2191 Added support for CultureInvariantValues property, which should be
2192 counted in new 2.0 methods such as - Compare, Convert etc. The code
2193 has been changed in such way, that the old - 1.1 method implementation
2194 could use the new methods defined for 2.0 version.
2196 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2198 * XmlDataSource.cs: refactored to use cached collection.
2199 * SqlDataSource.cs: refactored to use cached collection;
2200 don't throw exception on 'DefaultView'.
2201 * ObjectDataSource.cs: refactored to use cached collection.
2203 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2205 * ObjectDataSourceView.cs: consider parameter names and
2206 DataObjectMethodAttribute during method resolution.
2208 2007-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2210 * SqlDataSourceView.cs: fixed OnUpdating, OnInserting call with
2211 SqlDataSourceCommandEventArgs
2213 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2215 * ObjectDataSourceView.cs: use case unsensitive comparer for
2216 parameters collection.
2218 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2220 * LoginStatus.cs: fixed: not causes page validation.
2222 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2224 * CreateUserWizard.cs: fixed: resolves ErrorMessage control correct.
2225 * CreateUserWizardStep.cs:
2227 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2229 * TreeView.cs: fixed: SelectedNode, CheckedNodes.
2231 * TreeNodeCollection.cs:
2233 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2235 * GridView.cs: fixed: header and footer does not appear in no items.
2236 * CompositeDataBoundControl.cs:
2238 2007-01-09 Konstantin Triger <kostat@mainsoft.com>
2240 * AdRotator.cs: Backport the fix for AdRotator AbsoluteUri to 1.1.
2242 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2244 * GridView.cs: fixed: SelectedDataKey.
2246 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2250 implemented 2.0 features.
2252 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2254 * SqlDataSourceView.cs: fixed parameters init for ExecuteUpdate
2256 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2258 * DataSourceCacheManager.cs:
2259 * ObjectDataSource.cs:
2261 fixed: cache considers parameters values changes.
2263 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2265 * DetailsView.cs: fixed DeleteItem, excluded keys for new values
2266 * SqlDataSourceView.cs: fixed ExecuteDelete, check cancel in
2269 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2271 * GridView.cs: fixed: show all rows when AllowPaging=false
2273 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2275 * SqlDataSourceView.cs: fixed CreateDbParameter, used DBNull for value=null.
2277 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2279 * ButtonField.cs: fixed: consider its CausesValidation property.
2281 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2283 * GridView.cs: fixed:
2284 ReadOnly property is false for AutoGeneratedColumn if field is DataKey.
2285 causesValidation parameter is considered properly in UpdateRow.
2286 OldValues contains readonly fields values
2288 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2290 * SqlDataSourceView.cs: fixed InitializeParameters, added
2291 ParameterPrefix when check that param is already in collection
2293 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2295 * AdRotator.cs: fixed: considers absolute uri such html://......
2297 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2299 * SqlDataSourceView.cs: fixed insert, delete, update methods, added
2300 calls to OnDataSourceViewChanged
2302 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2304 * added ProfileParameter.cs
2306 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2308 * Label.cs: fixed: according MSDN OnPreRender is not overridden.
2310 2007-01-04 Adar Wesley <adarw@mainsoft.com>
2312 * ImageButton.cs: implemented GenerateEmptyAlternateText
2314 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2316 * FormView.cs: fixed data binding flow considers Insert mode.
2318 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2320 * DataBoundControl.cs: fixed Init flow.
2322 2007-01-4 Adar Wesley <adarw@mainsoft.com>
2324 * RadioButtonList.cs: Implemented properties of IRepeatInfoUser as public virtual
2326 2007-01-03 Marek Habersack <grendello@gmail.com>
2328 * ObjectDataSourceView.cs: Look for unqualified type also in the top-level assemblies.
2330 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2332 * FormView.cs: fixed PageIndex property.
2334 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2336 * ListControl.cs: fixed SelectedValue and SelectedIndex properties.
2337 set accessor works differently in 2.0.
2339 2007-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
2341 * SqlDataSourceView.cs,ObjectDataSourceView.cs: fixed parameter merge
2342 when values and old values are null
2344 2006-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2346 * ListControl.cs: reverted r70112, fixed in r70319.
2348 2007-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2350 * DetailsView.cs: fixed CreateAutoGeneratedRows.
2352 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2354 * AutoGeneratedField.cs: is editable in Insest mode.
2355 * BoundField.cs: is editable in Insest mode.
2356 * CheckBoxField.cs: is editable in Insest mode.
2357 * DetailsView.cs: fixed DataBinding flow.
2359 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2361 * BaseDataBoundControl.cs:
2362 * CompositeDataBoundControl.cs: fixed DataBinding flow.
2364 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2366 * LinkButton.cs: show the validation summary when client validation
2367 and linkbuttons are used. Patch by Juraj Skripsky.
2369 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2371 * TextBox.cs: consider ToolTip property
2373 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2375 * ContainedTable.cs:
2376 * DataControlButton.cs:
2377 * DetailsView.cs: fixed EnablePagingCallbacks
2380 * GridView.js: fixed EnableSortingAndPagingCallbacks
2382 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2385 ResolveClientUrl used with LineImagesFolder, ExpandImageUrl,
2386 CollapseImageUrl and NoExpandImageUrl properties.
2388 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2390 * SqlDataSource.cs: Added parameters update on OnInit
2392 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2394 * LoginView.cs: fixed rendering LoggedInTemplate even after user
2397 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2402 control's behavior depends on using DataSource or DataSourceID
2403 property for binding
2405 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2407 * CommandField.cs: fixed:
2408 when ShowEditButton=false Update/Cancel button doesn't appear.
2409 when ShowInsertButton=false Insert/Cancel button doesn't appear.
2411 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2413 * Login.cs: fixed AuthenticateUser, should redirect to ReturnUrl when
2415 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2417 * Parameter.cs: fixed ConvertValue to coorect handle TypeCode.Empty
2418 * ObjectDataSourceView.cs: fixed MergeParameterValues,
2419 call Parameter.ConvertValue
2420 fixed ConvertParameter to hanlde TypeCode.Empty
2421 * SqlDataSourceView.cs: fixed InitializeParameters,
2422 call Parameter.ConvertValue
2423 fixed ParameterPrefix property
2424 fixed CreateDbParameter, added usege of ParameterPrefix
2426 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2428 * ListControl.cs: fixed: when is used with DataSourceID data bind is not
2429 perfomed on PostBack because Items collection is restored from View state.
2431 2006-12-26 Igor Zelmanovich <igorz@mainsoft.com>
2433 * DataGridPagerStyle.cs:
2438 * TableItemStyle.cs:
2443 fixed: Load/Save viewstate of WebControl does not call Load/Save viewstate
2444 for it's ControlStyle, but the shared ViewState is used to manage style's
2447 2006-12-21 Igor Zelmanovich <igorz@mainsoft.com>
2449 * CompleteWizardStep.cs:
2450 * CreateUserWizard.cs:
2451 * CreateUserWizardStep.cs:
2452 * TemplatedWizardStep.cs:
2454 fixed: CreateUserWizard works properly in advanced scenarios
2455 such being used with additional steps or/and with custom templates.
2456 Styles are aplied properly.
2458 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
2460 * SqlDataSourceView.cs: fixed InitializeParameters, parameters order
2461 parameters case insensetive search
2462 * ObjectDataSourceView.cs: fixed MergeParameterValues, parameters
2463 case insensetive search
2465 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2467 * Menu.cs: fixed: ResolveClientUrl used with src and href attributes
2469 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2473 TreeNodeCollapsed is not raised for leaf node.
2475 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2477 * DataGrid.cs, RepeatInfo.cs: fixed accessibility features
2479 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2481 * Calendar.cs: support DayNameFormat.Shortest
2483 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2485 * HiddenField.cs: implemented
2487 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2489 * FormView.cs: fixed: FillRowDataKey
2490 * DetailsView.cs: fixed: FillRowDataKey
2492 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2494 * TreeView.cs: fixed: ResolveClientUrl used with ImageUrl and NavigateUrl
2496 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2498 * Login.cs: refactored rendering, fixed OnAuthenticate event
2500 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2502 * GridView.cs: fixed: Update works not only for EditRow
2504 * CompositeDataBoundControl.cs:
2506 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2508 * RadioButton.cs: fixed:
2509 When GroupName is not defined UniqueID is used instead for name attribute.
2510 CheckedChanged is raised only when control is checked.
2512 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2514 * Menu.cs: fixed: rendering.
2516 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2518 * Menu.cs: fixed: rendering.
2520 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2525 fixed rendering for 2.0
2527 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2529 * DetaisView.cs: fixed: rendering.
2530 * DataControlButton.cs:
2533 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2535 * FormView.cs: fixed: avoid empty row rendering.
2537 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2539 * AdRotator.cs: fixed:
2540 MSDN: The ImageUrl and NavigateUrl attributes can be a full URL, a
2541 root-relative path, or a relative path. If you use a root-relative path,
2542 the path is relative to the same Web site. If you use a relative path,
2543 the path is relative to the directory that contains the advertisement file.
2545 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2547 * BaseCompareValidator.cs: fixed: support for type=Date on client side.
2549 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2551 * TreeView.cs: fixed: support for event validation.
2553 2006-12-04 Igor Zelmanovich <igorz@mainsoft.com>
2555 * DataGridPagerStyle.cs: chenged values of DataGridPagerStyles flags.
2557 2006-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2559 * CreateUserWizard.cs: implement GeneratePassword based on Membership.
2561 2006-11-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2563 * Wizard.cs: fixed GetStepType method that returned wrong type if the
2564 last step type is Complete.
2565 fixed ProcessEvent method, corrected FinishButtonClick behavior
2567 2006-11-26 Marek Habersack <grendello@gmail.com>
2569 * Calendar.cs: Fixed event validation registration. Now it
2570 registers all the arguments that can be passed by this control to
2573 2006-11-25 Marek Habersack <grendello@gmail.com>
2575 * FileUpload.cs: Implementation of SaveAs
2577 * TreeView.cs: A few optimizations for empty style collections.
2579 * Menu.cs: A few optimizations for empty style collections.
2581 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2583 * BoundField.cs: fixed: GetDesignTimeValue()
2585 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2587 * SiteMapDataSource.cs: fixed: GetViewNames()
2589 2006-11-23 Vladimir Krasnov <vladimirk@mainsoft.com>
2591 * ChangePassword.cs: implemented functionality
2592 * MailDefinition.cs: implemented CreateMailMessage method
2593 * PasswordRecovery.cs: implemented functionality
2595 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2597 * CircleHotSpot.cs: fixed:
2598 setting Radius with value <0 throws ArgumentOutOfRangeException.
2600 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2602 * CookieParameter.cs: fixed Evaluate method.
2604 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2606 * Parameter.cs: fixed Evaluate, ToString methods.
2607 * QueryStringParameter.cs: fixed Evaluate method.
2608 * SessionParameter.cs: fixed Evaluate method.
2610 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2612 * ImageMap.cs: fixed rendering.
2614 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2616 * HotSpot.cs: fixed: AccessKey and HotSpotMode
2617 throw ArgumentOutOfRangeException.
2619 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2621 * ControlParameter.cs: fixed: Evaluate method
2622 throws exceptions correctly.
2624 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2626 * CheckBox.cs: fixed: new 2.0 features such
2627 LabelAttributes and InputAttributes.
2629 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2631 * GridView.cs: fixed: header, footer and empty rows are databound.
2633 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2635 * Style.cs: added internal helper method RemoveTextStyles.
2637 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2639 * Button.cs: fixed: support for event validation.
2640 * CheckBox.cs: fixed: support for event validation.
2641 * FormView.cs: fixed: support for event validation.
2642 * ImageButton.cs: fixed: support for event validation.
2643 * ListBox.cs: fixed: support for event validation.
2644 * TextBox.cs: fixed: support for event validation.
2646 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2648 * DropDownList.cs: fixed: support for event validation.
2650 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2652 * LinkButton.cs: optimized: support for event validation.
2653 * DataControlButton.cs: Added support for event validation.
2654 * DetailsView.cs: fixed: RowIndex for DetailsViewRow.
2656 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2658 * LinkButton.cs: Added support for event validation.
2660 2006-11-17 Marek Habersack <grendello@gmail.com>
2662 * ImageButton.cs: Added support for event validation.
2664 * ListBox.cs: Added support for event validation.
2666 * Calendar.cs: Added support for event validation.
2668 * DropDownList.cs: Added support for event validation.
2670 * FormView.cs: Added support for event validation.
2672 * RadioButtonList.cs: Added support for event validation.
2674 * TextBox.cs: Added support for event validation.
2676 * BulletedList.cs: Added support for event validation.
2678 * CheckBox.cs: Added support for event validation.
2680 * Button.cs: Added support for event validation.
2682 2006-11-16 Igor Zelmanovich <igorz@mainsoft.com>
2684 * CreateUserWizard.cs: fixed: ActiveStepIndex property.
2686 2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>
2688 * ListControl.cs: fixed: DataBinding for 2.0, for 1.x - refactoring only.
2690 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2692 * GridView.cs: fixed: Rows property, DataBinding flow.
2693 * DataBoundControl.cs:
2694 * BaseDataBoundControl.cs:
2696 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2698 * CompositeDataBoundControl.cs: fixed:
2699 DataBind call Controls.Clear().
2701 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
2703 * CompositeDataBoundControl.cs: fixed:
2704 DataBind sets ChildControlsCreated=true.
2706 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2708 * Login.cs: fixed CreateChildControls, throws exception if needed
2710 * LoginView.cs: fixed CreateChildControls, check templates for null
2712 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2714 * Wizard.cs: fixed ActiveStepIndex property, fixed SideBar button
2715 rendering, fixed history updating
2716 * WizardStepCollection.cs: fixed implemented interfaces
2718 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2720 * XmlDataSource.cs: CacheKeyDependency fixed
2722 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
2724 * DetailsView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2726 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2728 * DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.
2730 2006-11-09 Vladimir Krasnov <vladimirk@mainsoft.com>
2732 * ParameterCollection.cs: fixed SetDirtyObject method
2733 * ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState
2734 utilization for control's properties, implemented caching
2735 * SqlDataSource.cs, SqlDataSourceView.cs: implemented caching
2737 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2739 * GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2741 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2743 * DataBoundControl.cs: fixed:
2744 ConfirmInitState method s called by
2745 the DataBoundControl class in its OnLoad method.
2747 2006-11-06 Igor Zelmanovich <igorz@mainsoft.com>
2749 * FormView.cs: fixed: DataBinding flow.
2751 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2753 * CustomValidator.cs: implemented ValidateEmptyText fixture.
2755 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2757 * BaseCompareValidator.cs: fixed: CultureInvariantValues, Type properties.
2759 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2761 * Menu.cs: fixed: RenderEndTag.
2762 Dynamic menu is rendered when StaticDisplayLevels=1
2764 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2766 * GridView.cs: fixed: UpdateRow, DeleteRow, RowCreated.
2768 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2770 * FormView.cs: fixed: UpdateItem, DeleteItem.
2772 2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>
2774 * DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.
2776 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2778 * RadioButtonList.cs: fixed: has no html output when Items.Count=0.
2780 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2782 * ListControl.cs: fixed: setting SelectedVolue for 2.0.
2784 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2786 * DataBoundControl: fixed: ValidateDataSource allows null as dataSource.
2788 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2790 * ListControl.cs: fixed: assigning SelectedIndex with too hight value.
2792 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2794 * ListControl.cs: fixed: DataBinding for 2.0.
2795 for 1.x refactoring only.
2797 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2799 * ChangePassword.cs: new class was implemented.
2801 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2803 * EmbeddedMailObject.cs: new class was implemented.
2804 * EmbeddedMailObjectsCollection.cs: new class was implemented.
2805 * MailDefinition.cs: new class was implemented.
2807 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2809 * PagerSettings.cs: fixed: CreatePagerControl.
2811 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2813 * CommandField.cs: fixed:
2814 considers CaseValidation, ValidationGroup, ButtonType.
2815 * DataControlButton.cs: refactoring:
2817 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2819 * DetailsView.cs: implemented: GetCallbackScript method.
2821 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2823 * FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2825 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2827 * FormFiew.cs: fixed: UpdateItem, InsertItem.
2829 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2831 * FormFiew.cs: fixed: PageIndex, rendering.
2833 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2835 * DropDownList.cs: fixed: rendering "name" attribute".
2837 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2839 * GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2840 * DataControlButton.cs:
2841 * CommandField.cs: CausesValidation feature must be implemented other way
2843 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2845 * CompositeDataBoundControl.cs: fixed: CreateChildControls flow.
2847 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2849 * FormView.cs: fixed: OnBubbleEvent returns true when event is handled.
2851 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2853 * DetailsView.cs: fixed: OnBubbleEvent works properly.
2855 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2857 * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
2859 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2861 * DetailsView.cs: fixed: CurrentMode property.
2863 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2865 * DetailsView.cs: fixed: current state are not changed during paging.
2867 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2869 * DetailsView.cs: fixed:
2870 in Insert mode Select not invoked from DataSource
2872 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
2874 * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
2876 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2878 * FormView.cs: fixed: CreateDataSourceSelectArguments method.
2879 (corresponding test does not work because bug in ObjectDataSourceView)
2881 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2883 * DataBoundControl.cs: fixed: DataBind calls
2884 CreateDataSourceSelectArguments() and stores result in SelectArguments
2886 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2890 fixed: EnablePagingCallbacks feature.
2891 when postback is invoked after callback control state is restored
2894 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2896 * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
2898 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2900 * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
2901 (corresponding test does not work because bug in ObjectDataSourceView)
2903 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2905 * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
2906 when postback is invoked after callback control state is restored
2909 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2911 * GridView.cs: fixed: Sorting feature.
2912 When sorting EditIndex and PageIndex are reseted
2914 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2916 * GridView.cs: fixed: Sorting feature.
2917 CreateDataSourceSelectArguments considers SortExpression and SortDirection.
2918 (corresponding test does not work because bug in ObjectDataSourceView)
2920 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2922 * GridView.cs: fixed:
2923 CreateDataSourceSelectArguments works according to MSDN.
2924 (corresponding test does not work because bug in ObjectDataSourceView)
2926 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2928 * ObjectDataSourceView.cs: fixed:
2929 CanRetrieveTotalRowCount returns true if EnablePaging = false
2931 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
2933 * DataBoundControl.cs: fixed: DataBind flow
2934 CreateDataSourceSelectArguments() is called
2935 each time as DataBind() is called
2937 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2939 * BoundField.cs: implemented ValidateSupportsCallback().
2941 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2943 * CommandField.cs: ValidateSupportsCallback(): exception's message.
2945 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2947 * FormView.cs: fixed: CurrentMode property.
2949 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2955 reverted r66222, problem solved in r66283: command buttons inherit ForeColor
2957 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2959 * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
2962 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2964 * HyperLink.cs: don't render the img tag 'by hand' but use an Image
2965 instead, which takes care of the 0/0px case. Also set the ToolTip
2966 property. Fixes bug #79585.
2968 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2970 * DetailsView.cs: optimization for previous patch
2972 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2974 * FormView.cs: optimization for previous patch
2976 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2979 * DetailsViewRow.cs:
2980 implemented PrepareControlHierarchy()
2981 styles are applied correct
2983 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2986 implemented PrepareControlHierarchy()
2987 styles are applied correct
2989 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2992 * DataControlButton.cs:
2993 * DataControlField.cs:
2994 implemented PrepareControlHierarchy()
2995 styles are applied correct
2996 command buttons inherit ForeColor
2998 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
3000 * WebControl.cs: fixed: CreateControlStyle()
3002 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
3008 corrected pager rendering: Color style applied to A tag,
3009 Input type="image" used if ImageUrl is not empty.
3011 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
3013 * GridView.cs: corrected rendering
3014 * ContainedTable.cs: added new helper class
3016 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
3018 * FormView.cs: fixed:
3019 in Insert mode Select not invoked from DataSource
3021 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
3023 * FormView.cs: fixed:
3024 Pager is not shown when page count < 1
3025 in Edit mode use EmptyDataTemplate if there is no DataItem
3026 when page changed FormView stays in current state.
3028 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
3030 * FormView.cs: fixed: OnBubbleEvent works properly
3032 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
3034 * DataBoundControl.cs: fixed: DataBind flow
3035 GetData return "empty" DataSourceView when no DataSource and DataSourceID
3036 was assigned to cause PerformDataBinding be called.
3038 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3040 * DataList.cs: use ExtractTemplateRows to determine if the style is
3041 applied to the Table in a template or to its rows. Fixes bug #78058.
3043 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3045 * ListBox.cs: if the list is not enabled, don't require a postback.
3048 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3050 * HyperLink.cs: don't output the nabvigate url if disabled.
3051 * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
3052 the link URL if disabled.
3055 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3057 * RadioButtonList.cs:
3058 make it to consider CausesValidation and ValidationGroup properties
3060 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3063 make it to consider CausesValidation and ValidationGroup properties
3065 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3068 Page.Validate() is called when CausesValidation=true
3070 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3073 make onclick attribute to consider ValidationGroup property.
3075 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3078 make rendering of the href attribute to consider ValidationGroup property.
3079 Page.Validate() is called when CausesValidation=true
3081 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3084 make rendering of the onchange attribute to consider ValidationGroup
3086 Page.Validate() is called when CausesValidation=true
3088 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3091 make rendering of the onclick attribute to consider ValidationGroup property
3092 Page.Validate() is called when CausesValidation=true
3094 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3097 VewState saving and restoring rolled back to 1.1 implementation
3098 (fixed corresponding test), corrected public interface (there are no
3099 overriden methods SaveControlState, LoadControlState and OnInit),
3100 implemented CausesValidation and ValidationGroup properties.
3102 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3105 make rendering of the onclick attribute to consider ValidationGroup property
3106 Page.Validate() is called when CausesValidation=true
3108 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3111 implemented: RaisePostBackEvent,
3112 refactoring: GetPostBackOptions used to build onclick client event
3114 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3116 * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
3118 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3120 * BaseValidator.cs: implemented ValidationGroup feature on client side
3121 * ValidationSummary.cs:
3123 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
3125 * TreeView.cs: corrected rendering
3128 2006-09-11 Konstantin Triger <kostat@mainsoft.com>
3130 * Login.cs: ensure the urls are correctly resolved.
3132 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3134 * TreeView.cs: corrected rendering: styles are applied correct
3138 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3140 * TreeView.cs: corrected rendering: HoverNodeStyle works
3144 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3146 * TreeNodeStyle.cs: fixed: ViewState restored properly
3148 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3152 * TableItemStyle.cs:
3153 * DataGridPagerStyle.cs:
3154 refactoring: makes Style class more flexible for inheriting and reuse
3156 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3158 * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked
3159 state restored correct on PostBack.
3162 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3164 * ObjectDataSourceView.cs: correctly find the type when it is not in the
3165 executing assembly. Fixes bug #78321. Patch by Marek Habersack.
3167 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3169 * ControlParameter.cs: fix search for controls so that they use their
3170 NamingContainer, not the Page. Patch by Marek Habersack that fixes
3173 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3175 * Login.cs: fix problem with the login control and master pages.
3176 Patch by Marek Habersack that fixes bug #78219.
3178 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3180 * TreeView.cs: fixed: populating nodes.
3183 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3185 * TreeNode.cs: fixed: ToggleExpandState.
3187 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
3189 * SqlDataSourceView.cs: return DataView from ExecuteSelect when
3190 DataSourceMode is DataSet.
3192 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3194 * TreeView.cs: fixed: populating nodes flow.
3195 * TreeNodeCollection.cs
3198 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3200 * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.
3202 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3204 * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.
3206 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3208 * TreeView.cs: fixed: when specified value is not one of
3209 the TreeNodeTypes values exception is threw.
3211 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3213 * TreeView.cs: fixed: when specified image set is not one of
3214 the TreeViewImageSet values exception is threw.
3216 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
3218 * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.
3220 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
3222 * Style.cs: implemented SetBit().
3224 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3226 * CompareValidator.cs: fixed controltocompare attribute.
3228 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3231 when login attempt was not successful FailureText is shown.
3233 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3235 * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage
3236 is formatted correct.
3238 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3240 * CreateUserWizard.cs:
3241 * CompleteWizardStep.cs:
3242 * CreateUserWizardStep.cs:
3244 fixed: ContinueButtonClick occurs when the user clicks
3245 the Continue button in the final user account creation step.
3246 ContinueDestinationPageUrl - redirected after clicking
3247 the Continue button on the success page.
3249 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3251 * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
3252 insted internal DataControlButton.
3254 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3256 * Button.cs: implemented GetPostBackOptions + refactoring
3258 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3260 * ImageButton.cs: implemented 2.0 features
3261 OnClientClick attached to onclick attribute.
3262 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3263 generate onclick attribute.
3265 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3267 * LinkButton.cs: typo fix
3269 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3271 * Button.cs: refactoring
3273 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3275 * LinkButton.cs: implemented 2.0 features
3276 OnClientClick attached to onclick attribute.
3277 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3280 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
3282 * Button.cs: implemented 2.0 features
3284 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
3286 * Menu.cs: refactoring
3289 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3291 * TreeView.cs: fixed data binding
3293 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3295 * TreeNodeBinding.cs: fixed ToString method
3297 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3299 * MenuItem.cs: typo fix
3301 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3303 * CreateUserWizardStep.cs: fixed validators message display
3305 2006-08-25 Kornél Pál <kornelpal@gmail.com>
3307 * FileUpload.cs: Use assembly name constants.
3309 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3311 * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
3312 always creates ExtractTemplateValuesMethod delegate
3314 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
3316 * TreeNodeBinding.cs: corrected public interface
3319 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3321 * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
3322 case, but there are many others.
3324 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3326 * Menu.cs: corrected rendering of static and dynamic items
3329 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3333 fixed: AddAttributesToRender method calls FillStyleAttributes,
3334 text styles applied correct.
3336 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3339 fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
3340 refactoring: Name and Names properties has same source in bag.
3342 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3344 * Style.cs: restored r63894: for 1.x is refactoring only
3346 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3349 fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
3350 added ClearDefaults method for 2.0.
3352 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3354 * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
3357 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3359 * SubMenuStyle.cs: fixed:
3360 Unit.ToString() already include unit (e.g. "3px")
3362 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3365 * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
3366 submitted for review and it only added tests for the 2.0 profile.
3368 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3370 * FormView.cs: added explicit implementation of
3371 IDataItemContainer.DataItemIndex, as documented
3373 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
3376 When style is registered with StyleSheet AddAttributesToRender method
3377 adds class attribute but not style to writer
3379 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
3382 OnBubleEvent works properly - controls like Button, LinkButton nested into template
3383 can raise MenuItemClick event,
3384 ViewState of Items saved and restored properly.
3386 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
3388 * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
3391 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
3393 * Menu.cs: fixed databinding feature:
3394 ensure that items initialization occurs only once
3396 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
3398 * Menu.cs, MenuItem.cs: fixed databinding feature
3400 2006-08-09 Robert Jordan <robertj@gmx.net>
3402 * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
3403 replace ResolveUrl with ResolveClientUrl to match MS.NET's
3404 behaviour. Fixes bug #77539.
3406 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
3408 * HierarchicalDataBoundControl.cs: fixed DataBind flow
3410 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3416 * WebControl.cs: fixed ParseChildren attribute to be compliant
3419 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3421 * MultiView.cs: fixed: EnableTheming property
3423 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3427 * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
3429 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3431 * Style.cs: fixed restoring FontInfo from ViewState
3433 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3435 * XmlDataSource.cs: implemented caching functionality
3437 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3439 * PagerSettings.cs: Fixed the pager range calculation formula. The old
3440 one didn't work with more than 20 pages. Patch by Marek Habersack that
3443 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3445 * FormView.cs: fixes to make Render more similar to dotnet.
3447 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
3449 * Wizard.cs: fixed return value of OnBubbleEvent
3451 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3453 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
3454 handle null result of GetData().
3456 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3458 * FormView.cs: use TableStyle for ControlStyle.
3460 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3462 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
3464 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3466 * FormView.cs: init DataKeys and fix null reference.
3468 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3470 * TreeView.cs: several changes to improve compatibility with MS.
3471 Patch by Marek Habersack that fixes bug #77551.
3473 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3475 * Style.cs: output the text-decoration value even when it is 'none'.
3476 Patch by Marek Habersack that fixes bug #78968.
3478 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3480 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
3483 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3485 * DetailsViewRowCollection.cs: returns this in SyncRoot.
3487 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3489 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
3492 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3494 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
3496 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3498 * AutoGeneratedField.cs: fix the internal constructor according to test
3499 DetailsView_CreateAutoGenerateRow.
3501 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
3503 * XmlDataSource.cs: implemented XSLT, removed properties from
3505 * XmlDataSourceView.cs: fixed default xpath
3507 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
3509 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
3511 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
3513 * Wizard.cs: fixed ActiveStep property
3514 fixed templated side bar
3516 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3518 * ImageField.cs: fix null reference bug.
3520 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3522 * DetailsView.cs: init DataKey property with empty collection.
3523 * DataKey.cs: fix unexpected exception bug.
3524 * DataControlField.cs: override ToString according to MSDN.
3526 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3528 * DetailsView.cs: create table style in CreateControlStyle.
3530 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3532 * DetailsView.cs: don't throw the exception which .Net does not throw.
3534 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3536 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
3537 to match .Net; fix PageCount to match record count.
3539 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3541 * Menu.cs: fixed properties default values, fixed rendering
3544 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3546 * Wizard.cs: implemented SkipLinkText, TagKey
3547 fixed rendering bugs, fixed templated button bar rendering
3548 fixed side bar rendering
3549 * WizardStepBase.cs: fixed Name property
3551 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3553 * DetailsView.cs: fix the regressions, caused by the previous commit.
3555 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3557 * DetailsView.cs: correct handling the different default values of
3558 DetailsView.CellSpacing and Table.CellSpacing.
3560 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3562 * DetailsView.cs: create a pager row when needed.
3564 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3568 * PagedDataSource.cs:
3571 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
3572 support it. The GridView control will no longer throw an exception when
3573 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
3575 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3577 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
3578 Rows with empty collection; call EnsureChildControls from get Row;
3579 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
3580 implemented IPostBackContainer.GetPostBackOptions.
3582 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3584 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
3585 and FooterText are empty, to match .NET. Otherwise we have NullReference
3588 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3590 * DetailsView.cs: Render fix.
3592 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3594 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
3597 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3599 * DetailsView.cs: NullReferenceException fix
3601 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3603 * PagerSettings.cs: implemented PropertyGhanged event
3605 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3607 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
3608 with .Net; don't throw NotImplemented when base class implementation
3611 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3613 * DetailsViewPagerRow.cs: add a stub for this class
3615 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3617 * GridView: fixed DataKeyNames property, moved to ControlState
3618 fixed PageCount property, initial PageCount ahould be zero
3619 fixed SelectedDataKey, should throw exception if not initialized
3620 fixed CreateColumns, wrong order of columns
3621 fixed CreateControlStyle,
3622 fixed InitializePager, no columnspan attrib on only one column
3623 fixed LoadControlState, SaveControlState added DataKeyNames
3624 fixed Render, RenderGrid should render within div tag
3625 implemented GetPostBackOptions
3626 * DataControlButton.cs: fixed Render, fixed style for img button
3628 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3630 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
3633 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3635 * CommandField.cs: fixed ValidateSupportsCallback
3637 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3639 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
3640 affect the flow yet.
3642 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3644 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
3646 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3648 * WebControl.cs: fix for AddAttributesToRender - add display
3649 style when appropriate
3651 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3653 * CommandField.cs: fixed InitializeCell, wrong order of command
3655 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
3656 should be rendered as label
3657 * BoundField.cs: empty null value should be rendered as nbsp
3658 * GridViewRowCollection.cs: fixed SyncRoot
3660 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3662 * SiteMapPath.cs: create Literal instead of Label according to the
3663 MSDN and test SiteMapPath_InitializeItem.
3665 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3667 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
3668 * Image.cs: in 2.0 there is no border attribute, but border-width
3671 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3673 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
3675 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3677 * DataList.cs: correctly initialize editable items when there's an
3678 EditItemTemplate. Patch by Jarosław Pawlak.
3680 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
3682 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
3685 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3687 * BulletedList.cs: fixed Render, RenderBulletText, various properties
3688 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
3691 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3693 * MultiView.cs: 'initied' state variable was changed to views count in
3694 the views collection.
3696 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3698 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
3699 checkbox should have tooltip
3700 * HyperLinkField.cs: fixed InitializeCell, should create link control
3701 only in data cell (not in header or footer), initialization of
3703 * ImageField.cs: fixed InitializeDataCell, initialization of
3706 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3708 * MultiView.cs: removed exception throwing from ActiveViewIndex
3710 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
3712 * DataControlFieldCollection.cs: added OnClearComplete override;
3713 refactor to eliminate null reference exception.
3715 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3717 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
3718 * View.cs: fixed Visible property
3720 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
3722 * ImageField.cs: fixing .net compliancy.
3724 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
3726 * SiteMapPath.cs: fix the default PathSeparator value.
3728 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3730 * GridView.cs: always create Header/Fotter rows, but render only when
3731 ShowHeader/Footer is true. Compute Header/Footer rows from rows
3733 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
3734 add ToolTip and Text to the created CheckBox,
3735 wrap exception thrown in OnDataBindField in httpException.
3737 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3739 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
3741 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3743 * DataControlField.cs: correct handling empty header/footer text.
3744 * TemplateField.cs: correct initialization according to
3745 DataControlRowState.
3747 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
3749 * Wizard.cs: added functionality for Templated WizardStep
3750 and CreateUserWizard
3751 * added CompleteWizardStep.cs, CreateUserWizard.cs,
3752 CreateUserWizardStep.cs, TemplatedWizardStep.cs
3754 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3756 * AutoGeneratedField.cs: correcting default dataType.
3758 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3760 * DataControlField.cs: fixed Initialize, should always return false
3762 2006-07-03 Lluis Sanchez <lluis@novell.com>
3764 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
3766 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3768 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
3769 setting RequiresDataBinding in OnLoad event.
3770 * GridView.cs: DataBind rows before other control can access the data.
3771 * BoundField.cs: add unique ID to control for postback parameters.
3773 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3775 * WebControl.cs: fix typo in EnableTheming.
3777 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
3779 * MenuItemCollection.cs: save items if the collection is dirty.
3780 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
3781 Add item to collection before binding to let the state be correctly tracked.
3782 * Menu.cs: Add item to collection before binding to let the state be correctly
3785 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
3787 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
3788 test against with "^...$" if necessary. MS.NET does this too.
3790 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
3792 * WizardStepCollection.cs: Fixed Add methods to initialize
3793 WizardStep.Wizard property
3794 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
3795 Fixed GetStepType, if only one step present, it should be FinishStep
3796 Fixed styles of tables for more accurate rendering, fixed Wizard
3799 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
3801 * FormView.cs: instantiate correct template when the bounding data source is
3804 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
3806 * FormView.cs: disabling setting out of range FormView.PageIndex.
3808 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
3810 * FileUpload.cs: added
3812 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
3814 * FormView.cs: handle CssClass attribute
3816 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3818 * Button.cs: do something in PostBackUrl.
3819 * Repeater.cs: when creating the RepeaterItemCollection, initialize
3820 'items' if it hasn't been done yet. Fixes bug #78417.
3822 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
3824 * BaseDataList.cs: added ConnectToDataSource method that called from
3825 OnLoad, fixed GetData method
3826 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
3829 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
3831 * Menu.cs: add CssStyle value to the rendered class attribute
3833 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
3835 * Calendar.cs: Make sure WebControls.Enabled is respected.
3836 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
3837 to 12:00am as MS.NET does the same.
3840 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3842 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
3843 DataSourceViewChanged, looks for a datasource in its parent control
3844 fixed GetData method, should not get data if datasource is null
3846 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
3848 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
3850 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3852 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
3854 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3856 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
3858 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3860 * DataList.cs: Fixed LoadViewState method
3862 2006-05-04 Lluis Sanchez <lluis@novell.com>
3864 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
3866 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3868 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
3870 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3872 * FormView.cs: fix FormView.PageCount after data binding.
3874 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3876 * CheckBox.cs: certain attributes have to be rendered in the input tag,
3877 not the <span>. Fixes bug #71251.
3879 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3881 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
3884 ensure rebinding when FormView.PageIndex is called.
3885 and bind to the correct PageIndex.
3887 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3889 * MenuItem.cs: when binding to IHierarchyData, check whether
3890 it implements INavigateUIData and retrieve NavigateUrl.
3891 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
3893 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
3894 Provide basic CreateChildControls implementation by ensuring the control is bound.
3895 Ensure the child controls are created when the postback event is raised.
3896 Provide default implementation for SkipLinkText to let the default functionality to work.
3898 2006-04-11 Lluis Sanchez <lluis@novell.com>
3900 * TreeNodeBinding.cs: Added HasPropertyValue property
3901 to check if some properties have a value in the
3903 * TreeNode.cs: Lazily get the dataPath. Instead of getting
3904 bound properties when they are requested, get all of
3905 them when the node is bound and store their values in
3906 the state bag. In this way it won't be necessary to
3907 query every time the datasource to get the values.
3908 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
3909 * TreeView.cs: Call base in OnInit(). Bind nodes after
3910 adding them to the list, to properly keep track of
3911 changes. Don't databind in postbacks.
3913 2006-04-11 Chris Toshok <toshok@ximian.com>
3915 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
3917 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3919 * BaseDataList.cs: Fix searching control by DataSourceID.
3920 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
3923 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3925 * Login.cs: Added LayoutTemplate property support.
3926 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
3927 DataBind: correctly bind child controls.
3928 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
3930 2006-03-29 Robert Jordan <robertj@gmx.net>
3932 * DataGrid.cs: if custom paging is enabled the persisted item count
3933 must be the count of the rendered items, otherwise paging from the
3934 last to a previous page won't work correctly. Fixes bug #77556.
3936 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
3938 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
3939 when rendering disabled list control
3941 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3943 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
3945 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
3947 * FontInfo.cs: Implemented ShouldSerializeNames
3949 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3951 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
3953 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3955 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
3957 in PrepareControlHierarchy fixed style applying to AlternatingItem
3959 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
3961 * DataList.cs: fixed RepeatColumns property, added value validation
3962 in PrepareControlHierarchy method fixed style applying for
3963 AlternatingItem, EditItem and Separator item
3964 fixed RenderContents method, if no items exist, no nned to
3965 render emty table strructure.
3967 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3969 * CompareValidator.cs: when searching for the control to compare, use
3970 NamingContainer instead of Page. Fixes bug #77793.
3972 2006-03-15 Chris Toshok <toshok@ximian.com>
3974 * SiteMapPath.cs (InitializeItem): in the Current and Root node
3975 cases, apply the NodeTemplate if it exists and there isn't a
3976 CurrentNodeTemplate or RootNodeTemplate, respectively.
3978 2006-03-15 Chris Toshok <toshok@ximian.com>
3980 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
3982 * SiteMapDataSource.cs (StartingNodeOffset): new property.
3983 (GetStartNode): add code to handle StartNodeOffset < 0.
3985 * CompositeControl.cs
3986 (ICompositeControlDesignerAccessor.RecreateChildControls): just
3987 call the non-iface method.
3989 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
3990 traverse up the naming container tree looking for our datasource
3991 if we're bound using a DataSourceID. This fixes things in the
3992 sitemap1 test, which uses a mixture of templates and
3993 ContentPlaceholders with the sitemapdatasource and sitemappath at
3994 different levels in the naming container tree (let along the
3997 * SiteMapPath.cs (DataBind): implement this by chaining up to
3998 base.DataBind, then by looping over our children, emitting
3999 OnItemDataBound for each SiteMapNodeItem.
4000 (AddAttributesToRender): remove.
4001 (CreateChildControls): call DataBind as the final step here.. I
4002 have, of course, no idea if this is right.
4003 (CreateControlHierarchy): don't databind our children here, as
4004 they need to be in the Controls collection before we do.
4005 (RenderContents): render our accessibility/screenreader stuff
4006 here, if SkipLinkText != "".
4008 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
4010 * DataGridPagerStyle.cs: fixed PrevPageText property
4012 2006-03-13 Chris Toshok <toshok@ximian.com>
4014 * BaseCompareValidator.cs (Convert): make the
4015 ValidationDataType.String case a bit more compact.
4017 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4020 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
4021 Patch by Hubert Fongarnand.
4023 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
4025 * FontInfo.cs: fixed CopyFrom, this method should not reset the
4026 received fontinfo if it is the same instance
4027 fixed ToString, corrected output where only font size specified
4029 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
4031 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
4032 if it not set but the border has width
4033 fixes in CopyFrom, MergeWith correct unit compare when it has zero
4036 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
4038 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
4039 properties of custom class
4040 fixed InitializeNumericPager, pager numbers should be a Label control
4041 fixed CreateControlHierarchy, corrected dataset index of items if
4044 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
4046 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
4048 fixed CreateControlStyle to set correct cellspacing of table style
4049 fixed InitializeItem to correct applying template to selected and
4052 2006-03-08 Chris Toshok <toshok@ximian.com>
4054 * SiteMapNodeType.cs: nuke.
4056 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
4057 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
4058 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
4059 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
4060 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
4061 ValidationCompareOperator.cs, ValidationDataType.cs,
4062 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
4063 [Serializable] in 2.0.
4065 * DayNameFormat.cs: add "Shortest".
4067 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
4069 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
4072 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
4074 * TextBox.cs: fixed missing value validations, fixed rendering
4075 of empty value attribute
4077 2006-03-07 Chris Toshok <toshok@ximian.com>
4079 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
4080 by chaining up to base.EnableTheming.
4082 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
4084 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
4086 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
4088 * RadioButton.cs: added ValueAttribute property to store the button
4090 * RadioButtonList.cs: fixed tab index when rendering.
4092 2006-03-02 Chris Toshok <toshok@ximian.com>
4094 * WebControl.cs (SkinID): implement setter/getter, and have them
4095 just chain up to base.SkinID.
4097 2006-02-27 Chris Toshok <toshok@ximian.com>
4099 * SqlDataSource.cs: track change to DataSourceControl's protected
4102 * AccessDataSource.cs: same.
4104 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
4106 * ListControl.cs: fixed SelectedIndex property, fixed selection
4107 reset on incorrect value
4109 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
4111 * TableStyle.cs: fixed AddAttributesToRender function, style
4112 BorderCollapse:Collapse was added if table's CellSpacing is zero
4114 2006-02-23 Chris Toshok <toshok@ximian.com>
4116 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
4117 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
4118 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
4119 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
4120 ImageButton.cs, ImageField.cs, Literal.cs,
4121 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
4123 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
4124 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
4125 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
4126 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
4127 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
4128 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
4129 errors. most were caused by a property/method being virtual when
4130 it shouldn't be, or vice versa.
4132 2006-02-22 Chris Toshok <toshok@ximian.com>
4134 * ObjectDataSource.cs: corcompare work.
4136 2006-02-22 Chris Toshok <toshok@ximian.com>
4138 * ParameterCollection.cs: add an EditorAttribute to the class.
4140 * Parameter.cs: cleanup, fix the Value property, and implement the
4143 * SqlDataSourceView.cs: clean things up a bit, and add handling
4146 2006-02-22 Chris Toshok <toshok@ximian.com>
4148 * SqlDataSourceFilteringEventArgs.cs: formatting.
4150 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
4151 both the property and ctor arg.
4153 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
4154 not CommandEventArgs. Also, cast the return value of
4155 oleCommand.ExecuteReader.
4157 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
4159 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
4160 (GetPhysicalDataFilePath): implement, again naively. this is
4161 where the NRE is generated when we access ConnectionString in a
4163 (ConnectionString): dynamically generate this based on our
4165 (DataFile): clear the ConnectionString in the setter so we'll
4167 (ProviderName): use base.ProviderName in the getter, not
4168 this.ProviderName, so we don't recurse infinitely.
4170 * SqlDataSourceView.cs: start reworking this class.
4172 * SqlDataSource.cs (GetDbProviderFactory): implement this,
4173 following the MS docs on the matter (if ProviderName is null/"",
4174 return SqlClientFactory.Instance.)
4175 (GetDbProviderFactoryInternal): add an internal method for use by
4177 (TrackViewState): don't invoke View.TrackViewState unless we have
4179 (Selecting): change event handler type to match MS.
4180 (Filtering): add missing event.
4181 (View): call CreateDataSourceView, don't just create an
4184 2006-02-21 Chris Toshok <toshok@ximian.com>
4186 * BoundField.cs: ues the ViewState.Get* pattern with default
4187 instead of the explicit ViewState lookup + null check, and fix the
4188 scope of InitializeDataCell.
4190 * ButtonField.cs: ues the ViewState.Get* pattern with default
4191 instead of the explicit ViewState lookup + null check.
4193 * CommandField.cs: same.
4195 * CheckBox.cs: same.
4197 * AutoGeneratedFieldProperties.cs: same.
4199 * BaseDataList.cs: same.
4201 * CircleHotSpot.cs: same.
4203 * BulletedList.cs: same.
4205 * DataBoundControl.cs: same.
4207 * CookieParameter.cs: same.
4209 * ControlParameter.cs: same.
4211 * CustomValidator.cs: same.
4213 * ButtonFieldBase.cs: same.
4215 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
4217 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
4219 * BaseValidator.cs: same, and clean up the getter/setter formatting.
4221 * CompareValidator.cs: same.
4223 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4225 * ListControl.cs: fixed DataSource property, to throw
4226 ArgumentException on incorrect value
4228 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4230 * Image.cs: fixed missing border="0" attribute, when image has style,
4231 but border width is not specified.
4233 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4235 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
4236 correct the "disabled" attribute in CheckBoxList
4237 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
4238 attribute in CheckBoxList
4240 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4242 * CheckBox.cs: fixed Render function, removed rendering of empty
4243 <span> element if ControlStyleCreated but it's empty.
4244 fixed "disabled" attribute, it should be placed into span element
4246 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4248 * BoundColumn.cs: fixed InitializeCell function, if DataField is
4249 null or empty string, the cell should not be bound.
4251 2006-02-08 Chris Toshok <toshok@ximian.com>
4253 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
4254 AppendDataBoundItems != false. Also, split all the databinding
4255 logic out to DoDataBinding, which we call from here only if
4257 (DoDataBinding): new function. actually perform the binding.
4258 (PerformDataBinding): implement.
4259 (PerformSelect): chain up to base class.
4261 2006-02-07 Chris Toshok <toshok@ximian.com>
4263 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
4265 * Content.cs: use ContentControlBuilderInternal, and add a bunch
4266 of unused (for now) EventHandler's here.
4268 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
4271 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4273 * ListControl.cs: bound checking for Items when loading the control
4274 state, as the number might have been changed on the fly. Patch by
4277 2006-01-22 Chris Toshok <toshok@ximian.com>
4279 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
4281 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
4282 the intended comparison right and quiet mcs.
4284 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4286 * Button.cs: Add semicolon after client script if does not exist.
4288 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4290 * Button.cs: preserve user logic when adding client validation.
4292 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4294 * BaseValidator.cs: fixing visibility bahavior
4296 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4298 * RangeValidator.cs: allow empty data from the control. Patch from Marek
4299 Habersack that fixes bug #77239.
4301 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4303 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
4304 by Cyrille Colin. Closes bug #77184.
4306 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
4308 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
4309 compilation pass with csc 1.1.
4311 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4313 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
4315 2005-12-07 Chris Toshok <toshok@ximian.com>
4317 * BaseValidator.cs: in the uplevel rendering case, don't render
4318 the text if the validator's Display attribute is "None". Should
4321 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4323 * RadioButton.cs: if the 'value' attribute is set explicitly (as
4324 RadioButtonList does now), use that as the 'name' attribute.
4325 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
4330 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4332 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
4333 the 'name' attribute when not aligninng to the right.
4334 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
4335 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
4337 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4339 * DataGrid.cs: clear the control collection on every call to
4340 CreateControlHierarchy. Fixes bug #76732.
4342 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4344 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
4346 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4348 * CheckBox.cs: use the NameAttribute property for setting 'name'.
4349 * RadioButton.cs: get a UniqueID based identifier for 'name'.
4352 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4354 * LinkButton.cs: don't output any javascript when the linkbutton is
4355 disabled. Fixes bug #76713.
4357 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4359 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
4360 UseAccesibleHeader property is true. Patch by Robert Jordan.
4362 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4364 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
4365 control to validate. Fixes bug #76641.
4367 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4369 * BoundColumn.cs: when the column is readonly and we're in edit mode,
4370 keep it as a TextBox. Fixes bug #76714.
4372 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4374 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
4375 enabled. Fixes bug #76608.
4377 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4379 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
4380 the logic to Render and make it render the ID, which fixes bug #76596.
4382 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4384 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
4386 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4388 * Literal.cs: allow LiteralControl as child, but instead of adding it
4389 to the control collection, it just gets the Text out of it.
4391 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4393 * PagedDataSource.cs: fix range when we're at the last page.
4394 * DataGrid.cs: only need to keep the item count in the viewstate.
4397 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4399 * ListControl.cs: made GetSelectedIndices() internal.
4400 * ListBox.cs: html-encode the item text. Fixed single and multiple
4401 selection handling. All the tests pass now. Closes bug #76478.
4403 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4405 * ListControl.cs: throw when the selected value is not in the
4406 items collection. Fixes bug #76415.
4408 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4410 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
4411 throw a nullref, so we have to do it by ourselves here to make
4414 * BaseValidator.cs: render the text of the error message even if
4415 we set IsValid programatically. Don't use 'valid' directly, as
4420 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4422 * CustomValidator.cs: an empty ControlToValidate is valid.
4424 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
4426 * RequiredFieldValidator.cs: Added missing permissions.
4428 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4430 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
4431 Now the items get the attributes from the styles in datalist. Add the
4432 separators after each item, not before. GetItemStyle returns the actual
4433 item style, not the styles in the datalist. Fixes bug #76384 and all
4436 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4438 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
4441 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4443 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
4446 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
4448 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
4449 inheritance demands.
4450 * FontUnit.cs: Structs are sealed so there's no need for inheritance
4452 * Unit.cs: Structs are sealed so there's no need for inheritance
4455 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4457 * PagedDataSource.cs: fix the upper bound for collection and ilist
4460 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4462 * DataGrid.cs: change the ListItemType for the item selected, set
4463 SelectedIndex before calling OnSelectedIndexChanged and set the selected
4464 item type correctly when creating the columns. Fixes bug #76334.
4467 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
4468 selecting the row, the button keep the regular link color.
4470 * DataGridColumn.cs: made the class internal.
4472 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4474 * DataGrid.cs: fix breakaga of alternating item style in one of my
4477 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4479 * Calendar.cs: remove Console.
4480 * ListBox.cs: the name is the UniqueID, not the ClientID.
4481 * WebControl.cs: Attributes is case insensitive.
4483 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4485 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
4486 UniqueID without appending a ".x" or ".y". Fixes several issues in
4487 mojoPortal. Thanks to Joe Audetter for his patience.
4489 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4491 * ButtonColumn.cs: it was lacking databinding, so copied most of it
4494 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4496 * FontInfo.cs: removed useless ctor.
4497 * Style.cs: keep here some commented out debugging code.
4498 * DataGrid.cs: the Items property does not create a new arraylist if
4499 the items_list was already initialized. Add case for Separator.
4500 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
4501 in the header columns has a special ForeColor handling.
4503 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4505 * DataGrid.cs: PageCount must persist in ViewState too and returns the
4506 number of pages in the paged data source once we set that. Fix checks
4507 for visibility of the pager: no more 2 pagers when custom paging is
4510 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4512 * ImageButton.cs: fix a bug reported on the list. We were triggering the
4513 command event on every POST. And the 'name' attribute was not being
4514 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
4515 and we couldn't find the values.
4517 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4519 * DataGrid.cs: fix the links for the numeric pager.
4521 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4523 * DataGrid.cs: when paging is enable, the actual number of items is not
4524 the number of items rendered before the postback, but that number times
4525 the number of pages. Now we store the page count in the viewstate. Also,
4526 as the number might be big, don't allocate an array of objects to fake
4527 the collection for the PagedDataSource, but use the new NCollection
4528 class instead, which provides cheap (memory wise) enumerator for an
4529 arbitrary number of items. Thanks to "Adriano" for the test case.
4531 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4533 * Xml.cs: the show must go on. Removed a few NotImplemented.
4535 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4537 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
4538 existing code in 1.1 (or viceversa). RenderContents() does nothing.
4540 * DataGrid.cs: changed autoid api.
4542 * EditCommandColumn.cs: only 'Update' causes validation.
4544 * TableCell.cs: changed autoid api. RenderContents checks the number
4545 of controls to decide what to do, not the value of Text in the
4548 * TableRow.cs: changed autoid api.
4550 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
4551 event. When we get an EditItem, we need a TextBox to be created and
4552 this one will be the one that gets the event. Changed
4553 ItemDataBinding to deal with a TextBox too.
4555 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4557 * PagedDataSource.cs: fix IsLastPage. All tests pass.
4558 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
4559 need to keep the old one in a field. Now all tests pass here too.
4561 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4563 * PagedDataSource.cs: don't use the properties when they just return a
4564 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
4565 before ICollection (otherwise, an IList will always fall under the
4566 ICollection case). The enumerator for lists will be empty if 'start'
4567 is beyond the list size. All existing tests pass, but one in
4568 DataGridTest that fails because of some problem with the paging.
4570 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4572 * Style.cs: fix the 2.0 build.
4574 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4576 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
4577 instead write the style attributes directly to the HtmlTextWriter.
4579 * CheckBox.cs: adapted to new API.
4581 * DataGrid.cs: handle null data sources. Fixed the contions that make
4582 the table to be added to the Controls collection.
4584 * Calendar.cs: the table needed an ID and the attributes from the
4585 parent. Also don't create the ControlStyleCollection if it has not
4586 already been created.
4588 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4590 * DataGrid.cs: handle null data sources. Fixed the contions that make
4591 the table to be added to the Controls collection.
4593 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4595 * Calendar.cs: TrackViewState should be called upon creation, not on
4596 every get_XXX call. Cleanup.
4598 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4600 * DataGrid.cs: fix another test. The ID of the table generated by the
4601 datagrid is set to the one on the datagrid if no one set the ID for the
4604 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4606 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
4609 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4611 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
4612 converted to string as X{1,2}-.*. All FontUnitTests pass now.
4613 * Unit.cs: throw a format exception when there's not number or minus
4614 sign in the first non-whitespace character.
4616 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4618 * ListControl.cs: SelectedIndex/SelectedValue can be set before
4619 DataBinding () is called on the control, so we have to keep this values
4620 around and use them after the data is read. If both properties are
4621 used, they must refer to the same item.
4623 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4625 * DataList.cs: fill in the data keys from BaseDataList so that the
4626 events can see them. Only assign DataItem when using data binding and
4627 nullify it after all events are raised.
4629 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4631 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
4634 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4636 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
4638 * DataGrid.cs: Fix TagKey (table) for 2.0.
4639 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
4640 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
4642 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
4644 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
4645 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
4647 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
4649 * TreeView.cs: Added declarative security (Link and Inheritance
4650 demands) for Minimal.
4651 * XmlDataSource.cs: Added declarative security (Link and Inheritance
4652 demands) for Minimal.
4654 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4656 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
4657 Inheritance demands) for Minimal.
4658 * Label.cs: Added declarative security (Link and Inheritance demands)
4660 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
4661 * ListItemCollection.cs: Added declarative security (LinkDemands) for
4663 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
4664 2.0, Inheritance demands) for Minimal.
4665 * PagedDataSource.cs: Added declarative security (LinkDemands) for
4667 * Panel.cs: Added declarative security (Link and Inheritance demands)
4669 * Repeater.cs: Added declarative security (Link and Inheritance
4670 demands) for Minimal.
4671 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
4672 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
4674 * TargetConverter.cs: Added declarative security (Link and Inheritance
4675 demands) for Minimal.
4676 * Unit.cs: Added, but only for 1.x, declarative security (Link and
4677 Inheritance demands) for Minimal.
4678 * ValidatedControlConverter.cs: Added declarative security (Link and
4679 Inheritance demands) for Minimal.
4680 * WebColorConverter.cs: Added declarative security (Link and
4681 Inheritance demands) for Minimal.
4682 * Xml.cs: Added declarative security (Link and Inheritance demands)
4684 * ValidationSummary.cs: Added declarative security (Link and
4685 Inheritance demands) for Minimal.
4687 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4689 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
4691 2005-09-22 Ben Maurer <bmaurer@ximian.com>
4693 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
4694 it took O(height) time, not O(1).
4696 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4698 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
4700 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4702 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
4703 2.0, Inheritance demands) for Minimal.
4704 * BaseCompareValidator.cs: Added declarative security (Link and
4705 Inheritance demands) for Minimal.
4706 * BaseDataBoundControl.cs: Added declarative security (Link and
4707 Inheritance demands) for Minimal.
4708 * BaseValidator.cs: Added declarative security (Link and Inheritance
4709 demands) for Minimal.
4710 * BoundColumn.cs: Added declarative security (Link and Inheritance
4711 demands) for Minimal.
4712 * ButtonColumn.cs: Added declarative security (Link and Inheritance
4713 demands) for Minimal.
4714 * CalendarDay.cs: Added declarative security (Link and Inheritance
4715 demands) for Minimal.
4716 * CheckBoxList.cs: Added declarative security (Link and Inheritance
4717 demands) for Minimal.
4718 * CompareValidator.cs: Added declarative security (Link and
4719 Inheritance demands) for Minimal.
4720 * CustomValidator.cs: Added declarative security (Link and Inheritance
4721 demands) for Minimal.
4722 * DataBoundControl.cs: Added declarative security (Link and
4723 Inheritance demands) for Minimal.
4724 * DataGridItemCollection.cs: Added declarative security (Link and
4725 Inheritance demands) for Minimal.
4726 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
4728 * DataListItemCollection.cs: Added declarative security (LinkDemands)
4730 * DataListItem.cs: Added declarative security (Link and Inheritance
4731 demands) for Minimal.
4732 * FontNamesConverter.cs: Added declarative security (Link and
4733 Inheritance demands) for Minimal.
4734 * HyperLink.cs: Added declarative security (Link and Inheritance
4735 demands) for Minimal.
4736 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
4737 demands) for Minimal.
4738 * Image.cs: Added declarative security (Link and Inheritance demands)
4741 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4743 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
4745 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
4746 a data source, first try reflection, then componentmodel. If we get
4747 an enumerator, keep it around, as MS only calls GetEnumerator once.
4748 Throw an exception if no columns can be created from the given data
4749 source. Tested with DbDataRecord, DataTable, ArrayList and
4750 ICustomTypeDescriptor.
4752 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
4754 * AccessDataSource.cs: Added declarative security (Link and Inheritance
4755 demands) for Minimal. Added [ToolboxBitmap] on class.
4756 * AdRotator.cs: Added declarative security (Link and Inheritance
4757 demands) for Minimal. Removed extra Page and ViewState properties.
4758 * BulletedList.cs: Added declarative security (Link and Inheritance
4759 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4760 * Button.cs: Added declarative security (Link and Inheritance demands)
4761 for Minimal. Added [SupportsEventValidation] on class (2.0).
4762 * Calendar.cs: Added declarative security (Link and Inheritance
4763 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4764 * CheckBox.cs: Added declarative security (Link and Inheritance
4765 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4766 * CompositeControl.cs: Added declarative security (Link and Inheritance
4767 demands) for Minimal. Added new protected RecreateChildControls method.
4768 * DataControlCommands.cs: Added declarative security (LinkDemands) for
4769 Minimal. Added private ctor.
4770 * DataGrid.cs: Added declarative security (Link and Inheritance
4771 demands) for Minimal. Fixed properties for 2.0 (mostly removing
4772 [Bindable]). Added override for TagKey property.
4773 * DataGridColumn.cs: Added declarative security (Link and Inheritance
4774 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
4775 * DataGridItem.cs: Added declarative security (Link and Inheritance
4776 demands) for Minimal. Added IDataItemContainer interface for 2.0.
4777 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
4778 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
4779 * DataList.cs: Removed [Load|Save]ControlState methods.
4780 * DropDownList.cs: Added declarative security (Link and Inheritance
4781 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4782 * EditCommandColumn.cs: Added declarative security (Link and
4783 Inheritance demands) for Minimal. Added missing attributes,
4784 [DefaultValue] and [Localize] for 2.0.
4785 * FontInfo.cs: Added declarative security (Link and Inheritance
4786 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
4788 * Login.cs: Added declarative security (Link and Inheritance demands)
4789 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
4790 * ImageButton.cs: Added declarative security (Link and Inheritance
4791 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4792 * LinkButton.cs: Added declarative security (Link and Inheritance
4793 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4794 * ListBox.cs: Added declarative security (Link and Inheritance demands)
4795 for Minimal. Added [SupportsEventValidation] on class (2.0).
4796 * Literal.cs: Added declarative security (Link and Inheritance demands)
4797 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
4798 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
4799 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
4800 but will be shown as extra).
4801 * RadioButton.cs: Added declarative security (Link and Inheritance
4802 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4803 * RadioButtonList.cs: Added declarative security (Link and Inheritance
4804 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4805 * RangeValidator.cs: Added declarative security (Link and Inheritance
4806 demands) for Minimal. Added missing [Themeable] attributes.
4807 * RegularExpressionValidator.cs: Added declarative security (Link and
4808 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
4810 * RoleGroupCollection.cs: Added declarative security (Link and
4811 Inheritance demands) for Minimal. Fixed base class (changed in RC).
4812 Re-implemented CopyTo. Removed some methods.
4813 * Style.cs: Added declarative security (Link and Inheritance demands)
4814 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
4815 is now public in 2.0.
4816 * Table.cs: Added declarative security (Link and Inheritance demands)
4817 for Minimal. Added [SupportsEventValidation] on class (2.0).
4818 * TableCell.cs: Fixed PersistenceMode for 2.0.
4819 * TextBox.cs: Added declarative security (Link and Inheritance demands)
4820 for Minimal. Added [SupportsEventValidation] on class (2.0).
4821 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
4822 but will be shown as extra).
4823 * WebControl.cs: Added declarative security (Link and Inheritance
4824 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
4827 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4829 * TableStyle.cs: fixed typo that prevented restoring GridLines from
4832 * DataGrid.cs: the table does not get an auto ID. When restoring from
4833 viewstate, use all the saved columns, not just that data bound ones. Set
4834 the owner of the BoundColumns created. Save/restore columns.
4835 OnItemCreated happens after the item is initialized and the data item is
4836 set before the event and nullified after OnItemDataBound.
4837 Add the render_table to the Controls immediately, otherwise we might get
4838 errors from child controls such as "must be rendered inside a form".
4839 Keep the items created in the list waiting for them.
4840 The table uses the attributes from the DataGrid and ControlStyle.
4841 Raise OnItemCommand on all bubble events and don't propagate bubble
4842 event up in the hierarchy
4844 * TableCell.cs: it does not get an automatic ID.
4845 * BoundColumn.cs: FormatDataValue returns an empty string on null input
4846 (there was already a test for this).
4850 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4852 * DataGridColumnCollection.cs: track the view state in the newly added
4855 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4857 * DataGrid.cs: merge column styles too. Fixes bug #76106.
4858 * DataGridColumn.cs: new internal method to retrieve the styles without
4859 creating an instance for them.
4861 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
4863 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
4864 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
4865 StateBag.SetDirty (true).
4867 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
4869 * Menu.cs: Fixed parameter orders for CreateStyleRule.
4871 2005-09-13 Chris Toshok <toshok@ximian.com>
4873 * Style.cs: corcompare stuff.
4875 * RequiredFieldValidator.cs: more corcompare stuff.
4877 * CheckBoxList.cs: clean up some of the interface methods vs
4878 protected virtual 2.0 calls.
4880 * SubMenuStyle.cs: corcompare says this should implement
4881 ICustomTypeDescriptor... sooo, make it.
4883 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4885 * TableCell.cs: do the same as HyperLink and others in
4886 AddParsedSubobject so that adding a literal control does not remove the
4887 existing controls if any. Fixes bug #76078.
4889 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4891 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
4893 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4895 * ImageButton.cs: fix invalid cast exception.
4897 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4899 * ListItem.cs: throw in AddParsedSubObject if the object is not a
4901 * RadioButtonList.cs: implemented LoadPostData and
4902 RaisePostDataChangedEvent.
4904 2005-09-09 Chris Toshok <toshok@ximian.com>
4906 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
4907 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
4908 LoadPostData/RaisePostDataChangedEvent.
4910 2005-09-09 Chris Toshok <toshok@ximian.com>
4912 * FontInfo.cs (IsEmpty): new internal property, used by
4915 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
4918 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4920 * ListItemCollection.cs: remove obsoleted methods.
4921 * ListBox.cs: use IStateManager on the item collection.
4923 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
4925 * Use C# 1.0 style of delegate instantiating. Needed to compile
4926 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
4928 2005-09-07 Chris Toshok <toshok@ximian.com>
4930 * Calendar.cs (WriteDay): always add BackColor=Silver,
4931 ForeColor=White to selected day cells, before copying over the
4932 selectedDayStyle, if it exists.
4933 (WriteDays): fix nunit test - if the first day of the month falls
4934 on the first day of the week, go back one week (effectively adding
4935 a row of dates from the previous month.)
4936 (WriteTitle): don't copy the control style to the tableTitle,
4937 since it might have height specifications, which would make the
4938 title look rather off.
4940 2005-09-07 Chris Toshok <toshok@ximian.com>
4942 * ValidationSummary.cs (AddAttributesToRender): we only set
4943 display=none if there are no errors.
4945 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
4946 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
4948 2005-09-07 Chris Toshok <toshok@ximian.com>
4950 * ListControl.cs (SelectedIndex): add comment about how you'd
4951 think OnSelectedIndexChanged would be called.. and you'd be wrong.
4952 (Text): implement in terms of SelectedValue.
4953 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
4954 (LoadControlState): implement - this is where the selected index
4955 ArrayList gets stuffed in 2.0.
4956 (OnInit): call Page.RegisterRequiresControlState.
4957 (OnTextChanged): implement.
4958 (RenderContents): for now just chain up to base.RenderContents.
4959 (SaveControlState): save our control state properly.
4960 (GetSelectedIndices): split this out from SaveViewState to it can
4961 be used by both that and SaveControlState.
4962 (SaveViewState): mangle this function so it works in both 2.0 and
4964 (LoadViewState): same.
4966 2005-09-06 Chris Toshok <toshok@ximian.com>
4968 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
4969 we weren't assigned an ID.
4971 * ValidationSummary.cs (AddAttributesToRender): same.
4973 2005-09-06 Chris Toshok <toshok@ximian.com>
4975 * WebControl.cs: revert the last change.
4977 2005-09-06 Chris Toshok <toshok@ximian.com>
4979 * WebControl.cs (AddAttributesToRender): always render ClientID.
4981 * ValidationSummary.cs (Render): same.
4983 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
4986 2005-09-06 Chris Toshok <toshok@ximian.com>
4988 * ValidationSummary.cs (Render): only do the JS stuff when the
4989 validators on the page are uplevel.
4991 * BaseValidator.cs (Render): remove unnecessary comment.
4993 2005-09-05 Chris Toshok <toshok@ximian.com>
4995 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
4996 stored in the ViewState.
4998 2005-09-02 Chris Toshok <toshok@ximian.com>
5000 * Repeater.cs (GetData): change this slightly so the Repeater
5001 doesn't keep a ref to the return value of GetData.
5003 2005-09-01 Chris Toshok <toshok@ximian.com>
5005 * ListControl.cs (AppendDataBoundItems): implement (2.0)
5008 2005-09-01 Chris Toshok <toshok@ximian.com>
5010 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
5011 System.Web.UI.WebControls/ValidatedControlConverter.cs,
5012 System.Web.UI.WebControls/Xml.cs,
5013 System.Web.UI.WebControls/RegularExpressionValidator.cs,
5014 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
5015 System.Web.UI.WebControls/Menu.cs,
5016 System.Web.UI.WebControls/MailMessageEventArgs.cs,
5017 System.Web.UI.WebControls/MenuItemStyle.cs,
5018 System.Web.UI.WebControls/RangeValidator.cs,
5019 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
5020 System.Web.UI.WebControls/MenuItem.cs,
5021 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
5022 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
5023 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
5024 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
5025 System.Web.UI.WebControls/XmlBuilder.cs,
5026 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
5029 2005-09-01 Chris Toshok <toshok@ximian.com>
5031 * System.Web.UI.WebControls/Button.cs,
5032 System.Web.UI.WebControls/ButtonField.cs,
5033 System.Web.UI.WebControls/DataControlField.cs,
5034 System.Web.UI.WebControls/BaseCompareValidator.cs,
5035 System.Web.UI.WebControls/AutoGeneratedField.cs,
5036 System.Web.UI.WebControls/CustomValidator.cs,
5037 System.Web.UI.WebControls/Content.cs,
5038 System.Web.UI.WebControls/BoundField.cs,
5039 System.Web.UI.WebControls/AdRotator.cs,
5040 System.Web.UI.WebControls/ButtonColumn.cs,
5041 System.Web.UI.WebControls/CompareValidator.cs,
5042 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
5043 work. Stub things out, and add attributes.
5045 2005-09-01 Chris Toshok <toshok@ximian.com>
5047 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
5048 CommandField.cs, HyperLinkColumn.cs, Table.cs,
5049 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
5050 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
5051 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
5052 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
5053 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
5054 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
5055 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
5056 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
5057 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
5058 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
5059 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
5060 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
5061 TableItemStyle.cs: Add some WebCategory and WebSysDescription
5064 2005-09-01 Chris Toshok <toshok@ximian.com>
5066 * AccessDataSource.cs: corcompare work.
5068 * SqlDataSource.cs: same.
5070 2005-09-01 Miguel de Icaza <miguel@novell.com>
5072 * Various places: make sure that the DefaultValue matches the
5073 type. Thanks to Michael for pointing this out.
5075 In future audits, you might want to use the following awk command:
5077 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
5078 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
5079 print $0; looking = 0; } /public/ && looking { looking = 0; } '
5082 The above skips bools, strings and ints as those were fine as we
5083 set them. The bug was on the other ones.
5085 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5087 * Repeater.cs: fix the build.
5089 2005-08-31 Chris Toshok <toshok@ximian.com>
5091 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
5092 {Base}DataList, and also from debug spew garnered from some
5093 Repeater subclass tests on MS.
5094 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
5095 the IEnumerable by calling GetData().
5096 (DataBind): reset RequiresDataBinding to false (2.0).
5097 (DataMember): copy the set implementation from DataList, and add
5098 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
5099 (DataSource): more c&p.
5100 (DataSourceID); implement (2.0)
5101 (Initialized): implement (2.0)
5102 (IsBoundUsingDataSource): implement (2.0)
5103 (RequiresDataBinding): implement (2.0)
5104 (SelectArguments): implement (2.0)
5105 (CreateDataSourceSelectArguments): implement (2.0)
5106 (EnsureDataBound): implement (2.0)
5107 (GetData): implement.
5108 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
5110 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
5111 leave the MonoTODO. (2.0)
5112 (OnInit): call base.OnInit instead of throwing NIE, but leave the
5114 (OnLoad): implement.
5115 (OnPreRender): implement.
5116 (ConnectToDataSource): new method - look for the right control.
5118 2005-08-31 Chris Toshok <toshok@ximian.com>
5120 * XmlDataSourceView.cs: fix the scope of our select. Don't use
5121 call SelectNodes on the XmlDocument, not on
5122 XmlDocument.DocumentElement.
5124 2005-08-31 Chris Toshok <toshok@ximian.com>
5126 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
5127 (DoXPathSelect): put the xpath selection stuff here.
5128 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
5131 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
5132 select here, the view does it.
5134 2005-08-31 Jackson Harper <jackson@ximian.com>
5136 * DataList.cs: Remove some debugging code that was starting to bug
5139 2005-08-31 Chris Toshok <toshok@ximian.com>
5141 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
5142 create our Navigator by calling node.CreateNavigator().
5144 2005-08-31 Chris Toshok <toshok@ximian.com>
5146 * XmlDataSource.cs (GetXmlDataDocument): rename this to
5147 GetXmlDocument, and change the return value from XmlDataDocument
5149 (LoadXmlDataDocument): similar change.
5150 (Save): xmlDataDocument -> xmlDocument.
5151 (CanBeSaved): there's no ReadOnly attribute.
5152 (LoadViewState, SaveViewState, TrackViewState): nuke.
5153 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
5154 (CacheDuration): stub out with NIE.
5155 (CacheExpirationPolocy): same.
5156 (CacheKeyDependency): same.
5157 (EnableCaching): same.
5159 (Data, DataFile): xmlDataDocument -> xmlDocument.
5160 (Schema, SchemaFile): nuke.
5161 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
5163 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
5165 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
5166 Don't use the obsolete IsSet method.
5167 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
5168 * CheckBox.cs: Implement some 2.0 methods.
5169 * GridView.cs: Removed some "throw new NotImplementedException"
5171 2005-08-29 Chris Toshok <toshok@ximian.com>
5173 * TreeView.cs: Use the StateBag accessors Ben added, and implement
5174 SkipLinkText and Visible.
5176 2005-08-29 Chris Toshok <toshok@ximian.com>
5178 * TreeView.cs: fix typo in an attribute.
5180 2005-08-29 Jackson Harper <jackson@ximian.com>
5182 * PagedDataSource.cs: If it's not a list or collection we don't
5183 use a bounded enumerator.
5185 2005-08-29 Chris Toshok <toshok@ximian.com>
5187 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
5189 * CheckBox.cs: same.
5191 * BaseValidator.cs: same.
5193 * DropDownList.cs: same.
5195 * ValidationSummary.cs: same.
5197 2005-08-28 Chris Toshok <toshok@ximian.com>
5199 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
5201 2005-08-26 Chris Toshok <toshok@ximian.com>
5203 * TextBox.cs: implement ValidationGroup and CausesValidation
5206 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
5208 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
5211 2005-08-26 Chris Toshok <toshok@ximian.com>
5213 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
5215 * FontUnit.cs: add two 2.0 ctors, and the 2.0
5216 ToString(IFormatProvider) method.
5218 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
5220 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
5221 no items are present in the list.
5222 * RoleGroup.cs: Added missing attributes.
5223 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
5224 documented) methods.
5225 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
5226 must be done in the HtmlTextWriter (not in the TableStyle).
5228 2005-08-26 Chris Toshok <toshok@ximian.com>
5230 * Calendar.cs (UseAccessibleHeader): implement.
5231 (RaisePostBackEvent): some #ifdef ugliness to get this all working
5232 propertly between 1.x and 2.0
5233 (WriteDayHeader): if UseAccessibleHeader == true, render header
5234 cells as th's, not td's, and add abbr and scope attributes.
5236 2005-08-25 Chris Toshok <toshok@ximian.com>
5238 * Calendar.cs (Caption, CaptionAlign): implement these properties.
5239 (Render): if we have a non-empty caption, show it.
5240 (WriteCaption): new method, output the caption.
5242 2005-08-25 Chris Toshok <toshok@ximian.com>
5244 * Calendar.cs (Render): Copy the entire style from the Calendar to
5245 the Table, not just the font.
5246 (WriteDay): don't just write the link/text/etc. Create a
5247 LiteralControl as a child of the cell, before the call to
5248 OnDayRender, with its text set to the day number. After
5249 OnDayRender, set the literal's text to either the number again (if
5250 it's not selectable) or the full text of the js __doPostBack
5251 hyperlink (if it is.) Also, use cell.RenderControl here so we can
5252 render child controls with the id's listed properly (and arguably
5254 (ApplyTitleStyleCell): remove.
5255 (WriteTitle): apply the titleStyle to the enclosing table, not the
5256 table cell containing the month name. Also, copy from the
5257 Calendar's ControlStyle to populate tableTitle's style initially.
5258 We end up with more (superfluous) style attributes than MS, but
5259 it's better than having less.
5261 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5263 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
5266 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5268 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
5269 and RegisteredCssClass property
5271 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5273 * LoginView.cs: Fixed attributes.
5274 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
5275 an exception to allow pages to work on 2.x.
5277 2005-08-25 Chris Toshok <toshok@ximian.com>
5279 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
5281 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
5284 * HiddenField.cs: stub out this class and label everything
5287 2005-08-25 Jackson Harper <jackson@ximian.com>
5289 * DataGrid.cs: Disable the pager row if there no paging enabled
5292 2005-08-25 Chris Toshok <toshok@ximian.com>
5294 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
5297 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
5298 add a using statement.
5300 2005-08-25 Chris Toshok <toshok@ximian.com>
5302 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
5305 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
5308 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5310 * Login.cs: Added rendering and fixed parts of the authentication.
5311 Now using IStateManager to allow compilation in another assembly (e.g.
5312 to test the control under IIS). Needs more tests (error conditions)
5313 once we get a "real" Membership provider running.
5314 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
5317 2005-08-25 Chris Toshok <toshok@ximian.com>
5319 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
5321 2005-08-25 Chris Toshok <toshok@ximian.com>
5323 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
5324 calling base.Foo to get the standalone adrotator (1.0) tests to
5325 run without throwing exceptions.
5327 2005-08-25 Chris Toshok <toshok@ximian.com>
5329 * ValidationSummary.cs (ValidationGroup): implement.
5330 (Render): use Page.GetValidators in .net 2.0, so we can support
5331 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
5334 2005-08-25 Chris Toshok <toshok@ximian.com>
5336 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
5337 2.0 attribute modifiers, and revert back to "override".
5339 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
5340 2.0 attribute modifiers, and revert back to "override".
5341 (BorderStyle): same.
5342 (BorderWidth): same.
5344 * TextBox.cs (SaveViewState): implement naively, calling
5346 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
5347 modifiers, and revert back to "override".
5349 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5351 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
5352 Load ViewState for derived classes; no public LoadViewState override
5353 exists in those classes
5354 * Style.cs: Added 2.0 IsStyleEmpty method
5356 2005-08-25 Jackson Harper <jackson@ximian.com>
5358 * DataGrid.cs: The number of pages set in the pager is specified
5361 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5363 * LoginView.cs: New (2.0). Work in progress.
5365 2005-08-24 Chris Toshok <toshok@ximian.com>
5367 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
5368 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
5369 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
5370 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
5371 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
5372 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
5373 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
5374 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
5375 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
5376 Add MonoTODO's for all things that throw NotImplementException.
5378 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
5380 * RoleGroup.cs: New (2.0). Complete implementation.
5381 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
5383 2005-08-23 Chris Toshok <toshok@ximian.com>
5385 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
5386 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
5387 even though they were written for the 1.0 stuff.
5389 2005-08-23 Chris Toshok <toshok@ximian.com>
5391 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
5392 output. Our tests now pass on both mono and ms, with both 1.x and
5395 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
5397 * Login.cs: Throw exception if the specified provider doesn't exists.
5398 * LoginStatus.cs: Complete events.
5400 2005-08-22 Jackson Harper <jackson@ximian.com>
5402 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
5404 (InitializeNumericPager): Now that the pager actually renders
5405 properly I can see that I was computing it incorrectly.
5407 2005-08-22 Jackson Harper <jackson@ximian.com>
5409 * DataGrid.cs (RenderTable): Make sure the new table gets the
5411 (CreateColumnSet): Clear the data source columnbs before adding
5412 new ones regardless of whether or not a property descriptor was
5414 (InitializePager): pager_cell needs to be a member so it isn't
5415 created more then once per a render.
5416 (InitializeNumericPager): Compute start and end more
5418 - Link commands are 1 indexed.
5419 (CreateControlHierarchy): Clear the table before we begin
5421 - Revert patch that made adding the pagers conditional. This is
5422 incorrect, the pagers are always added. Only their visibility is
5423 affected by the pager style.
5424 - Save the entire count in the viewstate, not just the rendered
5425 count. So when paging is enabled the pager's count isn't broken by
5428 2005-08-22 Chris Toshok <toshok@ximian.com>
5430 * LinkButton.cs (ValidationGroup): implement.
5431 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
5432 pass ValidationGroup to Page.Validate.
5434 2005-08-22 Chris Toshok <toshok@ximian.com>
5436 * ImageButton.cs (ValidationGroup): implement.
5437 (IPostBackEventHandler.RaisePostBackEvent): if we cause
5438 validation, call Page.Validate properly (in both profiles).
5440 2005-08-22 Chris Toshok <toshok@ximian.com>
5442 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
5443 case, pass ValidationGroup to Page.Validate.
5444 (ValidationGroup): implement using ViewState.
5446 2005-08-22 Chris Toshok <toshok@ximian.com>
5448 * BaseValidator.cs (Text): 2.0 only. implement naively, just
5450 (OnInit): add 2.0 support for validation groups.
5453 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
5455 * LoginName.cs: New (2.0) web control.
5456 * LoginStatus.cs: New (2.0) web control.
5458 2005-08-19 Chris Toshok <toshok@ximian.com>
5460 * LinkButton.cs (ValidationGroup): implement getter/setter.
5461 (RaisePostBackEvent): implement naively, by c&p'ing the old
5462 implementation of IPostBackEventHandler.RaisePostBackEvent, but
5463 making use of the ValidationGroup in the call to Page.Validate.
5467 * Style.cs (LoadViewState): set our style flags for all the things
5468 we have flags for. Seems like the subclass flags should be
5469 handled in overridden LoadViewState methods, but none of the Style
5470 subclasses seem to override this method.
5472 2005-08-19 Chris Toshok <toshok@ximian.com>
5474 * TableStyle.cs (Merge, MergeWith): make these look a bit more
5475 like Copy/CopyFrom, with the styles checks instead of just
5478 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
5481 2005-08-19 Chris Toshok <toshok@ximian.com>
5483 * DataGrid.cs (InitializePager): don't unconditionally set
5484 pager_cell to the numeric pager (especially after setting it
5485 conditionally to the nextprev pager.)
5486 (InitializeNumericPager): the link buttons don't participate in
5488 (InitializeNextPrevPager): same.
5489 (CreateControlHierarchy): create the top/bottom pagers only if the
5490 PagerStyle says too.
5492 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
5494 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
5496 2005-08-18 Chris Toshok <toshok@ximian.com>
5498 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
5499 the start of this method so templates are created properly.
5501 2005-08-18 Dick Porter <dick@ximian.com>
5503 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
5504 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
5505 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
5506 BaseDataList.cs, DataList.cs, BulletedList.cs,
5507 DataBoundControl.cs, Login.cs, GridView.cs,
5508 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
5509 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
5510 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
5511 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
5512 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
5513 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
5514 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
5515 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
5518 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
5520 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
5522 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
5523 empty array of objects just to get the number of items.
5524 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
5525 but we're missing some bits from the class lib to complete all this...
5527 2005-08-17 Jackson Harper <jackson@ximian.com>
5529 * DataGrid.cs: Only create one pager and add it to both the top
5530 and bottom of the grid, this way all the id numbers stay the same
5531 and we save a bunch of cycles.
5533 2005-08-17 Jackson Harper <jackson@ximian.com>
5535 * DataGrid.cs: The top and bottom pagers are always created. Just
5536 the visibility is changed by the PagerStyle::Position.
5538 2005-08-17 Chris Toshok <toshok@ximian.com>
5540 * CompositeControl.cs (RecreateChildControls): implement naively -
5541 just call CreateChildControls. We might need to call
5542 Controls.Clear() as well, but for the time being, this is ok.
5544 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
5546 * BaseDataList.cs: Completed implementation for 2.0.
5548 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5550 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
5551 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
5553 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5555 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
5557 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
5558 Adjusted size and ordering of the ViewState (new element #0 is still
5559 unknown). Properly fixed the TagKey in 2.0.
5560 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
5561 all properties using enums.
5562 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
5563 * TableItemStyle.cs: Fixed attribute rendering to use style to render
5564 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
5566 2005-08-15 Jackson Harper <jackson@ximian.com>
5568 * EditCommandColumn.cs: Use a normal LinkButton.
5570 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5572 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
5573 viewstate (even if assigned to the default value).
5574 * TableRow.cs: Implement TableSection property (2.0). It has no effect
5575 on the rendering of the table row.
5577 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5579 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
5580 and removed [Bindable] attributes for 2.0.
5581 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
5582 attributes (for 2.0).
5583 * DataListCommandEventArgs.cs: Not sealed in 2.0.
5584 * DataListItemEventArgs.cs: Not sealed in 2.0.
5585 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
5586 attributes for URLs.
5587 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
5588 attributes for URLs.
5589 * Table.cs: Fixed [Editor] attribute for 2.0.
5590 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5591 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
5592 AssociatedHeaderCellID and it's [DefaultValue] attribute.
5593 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
5594 and Scope attributes.
5595 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
5596 on TableSection attribute.
5597 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5599 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
5601 * Image.cs: Fixed attributes for 2.0 profile.
5602 * Login.cs: Fixed some attributes and default values.
5603 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
5604 RaisePostBackEvent (TODO) in 2.0 profile.
5605 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
5606 and added AssociateHeaderCellID property (TODO).
5607 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5608 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
5609 page (if the device requires to breaks the table into multiple pages).
5610 This seems to be a "flag" class, the real work will be in Table.
5611 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
5612 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
5613 page (if the device requires to breaks the table into multiple pages).
5614 This seems to be a "flag" class, the real work will be in Table.
5615 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
5616 * TableRow.cs: Remove [Bindable (true)] from properties and add
5617 [Bindable (false)] and [Designer] on class. Added new TableSection
5619 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5620 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
5621 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
5622 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
5623 FillStyleAttributes method (2.0).
5625 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
5627 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
5628 attributes from existing controls.
5629 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
5630 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
5632 2005-08-12 Jackson Harper <jackson@ximian.com>
5634 * TableRow.cs: No AutoID for TableRows.
5636 2005-08-12 Jackson Harper <jackson@ximian.com>
5638 * DataGrid.cs (CreateRenderColumns): If we aren't using data
5639 binding grab the rendercols from the data source columns.
5640 (LoadViewState): Restore the bound columns when reloading the
5642 (InitializeNumericPager): Create elipsised pagers.
5643 (CreateItem): Don't set the item's ID.
5644 (CreateItem): Add the control to the table before it is databound
5645 so that it's value is saved in the viewstate.
5646 (CreateControlHierarchy): Create a fake data source when not using
5647 databinding. Don't add controls to the table as they are added in
5649 (PrepareControlHierarchy): Make footers and header non visible if
5650 they aren't enabled.
5652 2005-08-12 Chris Toshok <toshok@ximian.com>
5654 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
5655 docs says these methods/properties "ensure the child controls are
5656 created" -- so call EnsureChildControls() before invoking the base
5659 2005-08-12 Jackson Harper <jackson@ximian.com>
5661 * BoundColumn.cs: Set the controls text instead of adding a
5662 literal control. So it is saved in the controls viewstate.
5664 2005-08-11 Jackson Harper <jackson@ximian.com>
5666 * CheckBoxList.cs: Set the tabindex on the checkbox control and
5667 don't render it on the main table (Setting it to zero causes it to
5668 not be rendered). Also use the invariant culture on the id.
5670 2005-08-11 Dick Porter <dick@ximian.com>
5672 * CheckBox.cs: Let ViewState manage removals; apply styles and
5673 "style" attributes in a surrounding <span>. Fixes unit tests.
5675 2005-08-10 Chris Toshok <toshok@ximian.com>
5677 * Label.cs (LoadViewState): set the Text attribute from our
5678 ViewState (if it exists) to clear out any child controls. Fixes
5679 jsunit test label/label-child-control-postback.aspx.
5681 2005-08-10 Jackson Harper <jackson@ximian.com>
5683 * PagedDataSource.cs: Respect paging with all data source types.
5685 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
5687 * BaseDataList.cs: Changed Controls property from "virtual new"
5688 (2.0 doc) to "override" (monop) to fix the Visible bug (see
5689 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
5690 any controls (required due to change to Controls). Implemented
5691 DataBind(bool) for 2.0.
5692 * DataListItem.cs: Fix the multiple table when extractRows is used.
5693 Removed extra span tags by rendering contents (not control). Added
5694 support for IDataItemContainer (2.0).
5696 2005-08-08 Jackson Harper <jackson@ximian.com>
5698 * DataGrid.cs: Apply the styles to each item type.
5700 2005-08-08 Jackson Harper <jackson@ximian.com>
5702 * PagedDataSource.cs: If paging is not enabled keep enumerating to
5703 the end of the list.
5705 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
5707 * BaseDataList.cs: Remove old compatibility stuff.
5708 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
5709 * WebControl.cs: Always call CreateControlStyle to create the
5710 ControlStyle. Fix the exception for datalist-style-edit.aspx.
5712 2005-08-05 Jackson Harper <jackson@ximian.com>
5714 * DataGrid.cs: Don't make the current page index a link in the
5717 2005-08-05 Jackson Harper <jackson@ximian.com>
5719 * DataGrid.cs: Honour PagerPosition.
5721 2005-08-05 Jackson Harper <jackson@ximian.com>
5723 * PagedDataSource.cs: Round PageCount properly.
5725 2005-08-05 Dick Porter <dick@ximian.com>
5727 * CheckBox.cs: Shut corcompare up a bit more. Still need to
5728 figure out how to not use AddAttributesToRender to get it
5731 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
5733 * DataGridColumn.cs: Added the duplicate viewstate manipulation
5736 2005-08-05 Chris Toshok <toshok@ximian.com>
5738 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
5739 null when it comes to the format string.
5740 (FormatDataTextValue): same.
5742 2005-08-04 Chris Toshok <toshok@ximian.com>
5744 * BaseValidator.cs (Validate): only test a validator if it's both
5745 enabled and visible.
5747 2005-08-04 Chris Toshok <toshok@ximian.com>
5749 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
5752 2005-08-04 Jackson Harper <jackson@ximian.com>
5754 * DataGrid.cs: Add a new space control for each link. Also make
5755 the link's text 1 indexed. Don't add the space after the last
5758 2005-08-04 Ben Maurer <bmaurer@ximian.com>
5760 * LinkButton.cs: Fix up the test suite here.
5762 * Panel.cs: Fix up nowrap
5764 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5766 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
5767 * ListControl.cs: Clear item list before adding data (again)
5769 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
5771 * Calendar.cs: fixes issues with OnDayRender event and others
5773 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5775 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
5777 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
5778 if DataTextField is bound
5779 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
5780 two controls in edit mode, lets do the same
5782 2005-08-03 Jackson Harper <jackson@ximian.com>
5784 * BoundColumn.cs: Respek for the thisExpr when data binding.
5786 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5788 * EditCommandColumn.cs: No need to offer edit when in edit mode.
5791 2005-08-04 Dick Porter <dick@ximian.com>
5793 * DataGridColumn.cs: New implementation
5796 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
5798 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5800 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
5803 2005-08-03 Ben Maurer <bmaurer@ximian.com>
5805 * RepeatInfo.cs: Finally figured out how to use base control
5807 2005-08-03 Jackson Harper <jackson@ximian.com>
5809 * ButtonColumn.cs: Partial implementation.
5811 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5813 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
5816 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5818 * Calendar.cs: fixes Save/Load state
5820 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5822 * Calendar.cs: bug fixes
5824 2005-08-03 Jackson Harper <jackson@ximian.com>
5826 * DataGrid.cs: Merge the table style with the render table. Some
5827 initial work on the numeric pager. Remove some debugging code.
5829 2005-08-03 Jackson Harper <jackson@ximian.com>
5831 * BoundColumn.cs: Implement Initialize and InitializeCell. When
5832 Data is formated it uses the DataFormatString that was set at the
5833 time Initialize was called (or null if initialize was never
5836 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5838 * RadioButtonList.cs: bug fixes
5840 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5842 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
5843 AddAttributesToRender
5844 * RadioButtonList.cs: Implementation
5846 2005-08-01 Jackson Harper <jackson@ximian.com>
5848 * TableStyle.cs: Copy style bit when copying from another style.
5850 2005-08-01 Jackson Harper <jackson@ximian.com>
5852 * PagedDataSource.cs: Implement missing properties, use yield for
5853 the Enumerator methods. Only allow the enums to return one page at
5856 2005-08-01 Chris Toshok <toshok@ximian.com>
5858 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
5860 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5862 * WebControl.cs: Track enabled state across sessions
5864 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5866 * ListControl.cs(OnDatabinding): Value is equivalent to text if
5869 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
5871 * ImageButton.cs: fixes, complete missing parts
5873 2005-07-31 Ben Maurer <bmaurer@ximian.com>
5875 * TextBox.cs: Html encode for multiline text boxes
5877 * HyperLink.cs: Resolve images
5879 2005-07-30 Chris Toshok <toshok@ximian.com>
5881 * BaseValidator.cs: initial version of 2.0 properties
5882 ValidationGroup and SetFocusOnError.
5884 2005-07-30 Chris Toshok <toshok@ximian.com>
5886 * HyperLinkColumn.cs (InitializeCell): clean this up.
5888 2005-07-30 Chris Toshok <toshok@ximian.com>
5890 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
5891 DataBinder.FormatResult.
5892 (FormatDataTextValue): same.
5893 (Initialize): call base.Initialize.
5894 (ItemDataBinding): new function, get the text/navigateurl and set
5895 them on our HyperLink control.
5896 (InitializeCell): create a hyperlink control in the
5897 Item/EditItem/AlternatingItem case.
5899 2005-07-30 Ben Maurer <bmaurer@ximian.com>
5901 * RepeatInfo.cs: Handle 0 items situations correctly
5903 * HyperLink.cs: Resolve urls correctly
5905 * CheckBox.cs: use the correct ID for the label element.
5907 * Label.cs: Correct AddParsedSubObject impl. See FAQ
5909 2005-07-29 Chris Toshok <toshok@ximian.com>
5911 * BaseCompareValidator.cs (GetDateElementOrder): implement.
5913 2005-07-29 Chris Toshok <toshok@ximian.com>
5915 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
5916 #if'ed out version follows microsoft's docs on msdn, but doesn't
5917 match ms's behavior. The other matches their behavior but not
5918 their docs. we use the latter. go figure.
5919 (get_CutoffYear): implement using
5920 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
5922 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5925 - Name property now throws exception when set to null
5926 - Names now handles situation where our bit tells us we have
5927 a font, but it's not in the StateBag (null removal)
5928 * RangeValidator.cs: Removed unused vars
5930 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5932 * Label.cs: ClientID should be used rather than UniqueID to get
5935 2005-07-29 Chris Toshok <toshok@ximian.com>
5937 * BaseValidator.cs (Validatate): not sure if this is entirely
5938 correct (some fairly deep testing required), but setting Enabled =
5939 false has the effect of setting IsValid = true.
5941 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5943 * RadioButton.cs: The "remove from groupstate" isn't needed any
5944 more, now that statebag is correct.
5946 2005-07-29 Dick Porter <dick@ximian.com>
5948 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
5949 ViewState when it is null.
5951 * CheckBox.cs: Hide nonstandard API
5953 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
5955 * Calendar.cs: fixes exceptions, bug fixes, new features
5956 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
5957 * CalendarDay.cs: fixes default value
5959 2005-07-28 Ben Maurer <bmaurer@ximian.com>
5961 * CompositeControl.cs: Stub
5963 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5965 * EditCommandColumn.cs: Implemented
5967 2005-07-27 Chris Toshok <toshok@ximian.com>
5969 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
5971 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5973 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
5976 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5978 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
5979 for it's constructor, so remove it
5980 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
5982 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5984 * DataGridPagerStyle.cs: Implemented
5985 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
5986 * Style.cs: Added Styles enum values for DataGridPagerStyle
5988 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
5990 * Calendar.cs: get the styles right, honors more properties, fixes, fix
5993 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5995 * DataGridItem.cs: Implemented
5997 2005-07-26 Chris Toshok <toshok@ximian.com>
5999 * LinkButton.cs (AddParsedSubObject): reversed the order of
6000 Controls.Add() and Text = null
6001 (set_Text): call Controls.Clear()
6002 (RenderContents): use HasControls() for the if test instead of
6005 * HyperLink.cs (AddParsedSubObject): reversed the order of
6006 Controls.Add () and Text = null;
6008 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
6010 * DataGridItemCollection.cs: Implemented
6012 2005-07-26 Chris Toshok <toshok@ximian.com>
6014 * LinkButton.cs (AddParsedSubObject): copy implementation from
6016 (RenderContents): only call writer.Write(Text) if Text != "".
6017 Otherwise default to base.RenderContents.
6019 2005-07-26 Chris Toshok <toshok@ximian.com>
6021 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
6022 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
6023 (Page != null) around my last commit.
6025 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
6027 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
6028 Fixed use of literal strings, instead using Consts
6029 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
6030 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
6031 Panel.cs, Literal.cs: Added attributes
6032 * BaseValidator.cs: Added missing override
6034 2005-07-26 Chris Toshok <toshok@ximian.com>
6036 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
6037 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
6038 Page.VerifyRenderingInServerFormHere.
6040 2005-07-26 Chris Toshok <toshok@ximian.com>
6042 * BaseValidator.cs: remove some MonoTODO's about the client side
6045 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
6047 * Calendar.cs: selection of dates, state load, save, track, support
6048 for new properties, many fixes.
6050 2005-07-26 Miguel de Icaza <miguel@novell.com>
6052 * Style.cs: Temporary methods to help buliding .NET 2.x
6054 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6056 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
6058 * Xml.cs: Fixed base class, attributes
6059 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
6060 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
6061 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
6062 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
6063 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
6065 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6067 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
6070 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6072 * RepeatInfo.cs: If the repeater has one column, the separators
6073 are rendered on a different line
6075 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6077 * DataGridSortCommandEventArgs: Sealed class
6078 * ButtonColumn.cs, Calendar.cs: Added Attributes
6080 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6082 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
6083 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
6085 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6087 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
6088 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
6090 2005-07-25 Chris Toshok <toshok@ximian.com>
6092 * ValidationSummary.cs (AddAttributesToRender): add client side
6094 (OnPreRender): set the "been here" flag.
6095 (Render): add client side support.
6097 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6099 * RepeatInfo.cs: Split the horiz and vertical cases, because this
6100 class has rules that are beyond strange. Continue working to make
6103 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6105 * RepeatInfo.cs: Misc fixes for my test suite.
6107 2005-07-25 Jackson Harper <jackson@ximian.com>
6109 * DataGrid.cs: Set the command name and args on the link buttons.
6111 2005-07-25 Jackson Harper <jackson@ximian.com>
6113 * DataGrid.cs: Lots o implementation.
6115 2005-07-25 Jackson Harper <jackson@ximian.com>
6117 * BoundColumn.cs: Partial implementation to get the DataGrid tests
6120 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
6122 * Button.cs: fixes events, adds attributes
6124 2005-07-23 Chris Toshok <toshok@ximian.com>
6126 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
6127 prop.GetValue results.
6128 (Render): fix the static non-uplevel case, so that we display text
6129 when there's an error.
6131 2005-07-22 Chris Toshok <toshok@ximian.com>
6133 * RegularExpressionValidator.cs (AddAttributesToRender): only
6134 output ValidationExpression if it's != null.
6136 2005-07-22 Chris Toshok <toshok@ximian.com>
6138 * BaseValidator.cs (AddAttributesToRender): fix up the Display
6139 rendering such it matches MS's output.
6140 (Render): stop using the huge complicated if's for each output
6141 stage and move to boolean flags, and fix the static-nonuplevel
6142 case, where a validator outputs as nothing but
6144 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
6145 * Calendar.cs: Initial implementation
6146 * CalendarSelectionMode.cs: fix enum order
6148 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
6150 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
6151 (or more?) specific cases - including correct support for separators.
6152 Added some (commented) debugging code.
6153 * HyperLink.cs: Only render href and target attributes if they're not
6154 empty. Add "border=0" when rendering <img> tag. Fix Target default
6157 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
6159 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
6161 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
6163 * Style.cs (CopyFrom): Reset our styles and don't set bits from
6164 target explicitly, properties will set them
6166 2005-07-22 Dick Porter <dick@ximian.com>
6169 * ButtonColumn.cs: Initial stubs
6171 2005-07-22 Dick Porter <dick@ximian.com>
6174 * CheckBox.cs: Add assembly attributes
6176 2005-07-22 Ben Maurer <bmaurer@ximian.com>
6178 * HyperLink.cs: Handle non-literal children.
6180 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6182 * Label.cs: SP1 stuff
6184 2005-07-21 Chris Toshok <toshok@ximian.com>
6186 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
6187 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
6188 stuff WebUIValidation.js uses, so we don't support it for uplevel
6191 2005-07-21 Chris Toshok <toshok@ximian.com>
6193 * BaseValidator.cs (DetermineRenderUplevel): include checks for
6194 the EcmaScriptVersion and W3CDomVersion.
6196 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6198 * BaseDataList.cs: Support IEnumerable.
6199 * DataList.cs: Fix alternate items.
6200 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
6201 controls and the Text property.
6203 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6205 * TextBoxMode.cs: Wrong ordering of enum...
6207 2005-07-21 Chris Toshok <toshok@ximian.com>
6209 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
6212 2005-07-21 Chris Toshok <toshok@ximian.com>
6214 * BaseValidator.cs (get_PropertiesValid): use our containing
6215 NamingContainer, not ourselves, to look up controls.
6216 (CheckControlValidationProperty): same.
6217 (GetControlRenderID): same.
6218 (GetControlValidationValue): same.
6219 (AddAttributesToRender): add the display style attribute if
6220 Display != Static, and add the value of IsValid if it's false.
6221 (DetermineRenderUplevel): use a try block around (Page.Request)
6222 since that can raise an exception.
6223 (OnPreRender): set pre_render_called, so we can consult it in
6225 (Render): complicate this method more to handle more of the
6226 Display/pre_render_called permutations.
6228 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
6230 * CustomValidator.cs: Initial implementation, still work in progress
6232 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6234 * DataList.cs: Fix rendering for special items (-1).
6236 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6238 * RepeatInfo.cs: Fix most of the tests.
6240 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6242 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
6243 Add a border=0 attribute if no style is defined.
6244 * TableCell.cs: Use HtmlTextWriterTag (not a string).
6245 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
6246 * TableRow.cs: Use HtmlTextWriterTag (not a string).
6248 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6250 * BaseDataList.cs: Fix attributes.
6251 * HorizontalAlign.cs: Fix attributes.
6252 * Image.cs: Fix attributes and enums checks.
6253 * Table.cs: Fix attributes an enums checks.
6254 * TableCell.cs: Fix attributes.
6255 * TableCellCollection.cs: Fix attributes.
6256 * TableItemStyle.cs: Fix attributes and enums checks.
6257 * TableRowCollection.cs: Fix attributes.
6258 * TableRow.cs: Fix attributes.
6259 * TableStyle.cs: Fix attributes and enums checks.
6260 * VerticalAlign.cs: Fix attributes.
6262 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6264 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
6265 * DataList.cs: Added rendering support when ExtractTemplatesRows
6266 property is true (but RepeatInfo needs to be fixed to see it works).
6267 * DataListItem.cs: Added rendering support when extractRows parameter
6268 is true (but RepeatInfo still needs to be fixed ;-)
6270 2005-07-21 Duncan Mak <duncan@novell.com>
6272 * HyperLinkColumn.cs: Initial implementation.
6273 Todo: Figure out Initialize and InitializeCell.
6275 2005-07-20 Chris Toshok <toshok@ximian.com>
6277 * BaseValidator.cs: don't use Page.FindControl, use this Control's
6278 FindControl, so it'll use the same naming container.
6280 2005-07-21 Duncan Mak <duncan@novell.com>
6282 * DataGridCommandEventArgs.cs:
6283 * DataGridPageChangedEventArgs.cs:
6284 * RepeaterCommandEventArgs.cs: Fixed visibility.
6286 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
6287 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
6289 2005-07-20 Chris Toshok <toshok@ximian.com>
6291 * Button.cs: hook up the client side validation stuff.
6293 * ImageButton.cs: same.
6295 * LinkButton.cs: same, although it's a little more complicated
6298 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6301 - Implemented RaisePostDataChangedEvent()
6302 - Spewing postback command if AutoPostBack is true
6304 2005-07-20 Chris Toshok <toshok@ximian.com>
6306 * BaseValidator.cs: another Page != null check when uplevel
6309 2005-07-20 Chris Toshok <toshok@ximian.com>
6311 * BaseValidator.cs: check Page != null when determining if we're
6312 rendering uplevel or not.
6314 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6316 * ListItemCollection.cs: Removed obsolete method that's no longer
6319 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6321 * DropDownList.cs: Oops. Forgot to implement LoadPostData
6322 * ListItemCollection.cs: Added convenience method to have faster
6325 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6328 - Automatically select the first item if none are selected
6329 - Throw exception if more than one item is selected
6331 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6333 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
6334 handled by RepeatInfo).
6336 2005-07-20 Jackson Harper <jackson@ximian.com>
6338 * DataGrid.cs: Store the data source created columns in a
6339 DataGridColumnCollection. This way they can be put in the
6340 view state more easily, and accessed without casting.
6342 2005-07-20 Chris Toshok <toshok@ximian.com>
6344 * BaseValidator.cs (AddAttributesToRender): render the client side
6345 attributes if we're in uplevel mode.
6346 (DetermineRenderUplevel): flesh out a bit - for now basically
6347 return true unless the control has it disabled.
6348 (OnInit): only add the validator to Page's list if there is, in
6350 (OnUnload): same for removal.
6351 (OnPreRender): hook up client scripting stuff here. Only the call
6352 to RegisterValidatorCommonScript is a for sure thing here, the
6353 registering of the submit statement and startup script should
6354 probably go elsewhere, but I don't know where.
6355 (RegisterValidatorCommonScript): register the <script
6356 src=".../WebUIValidation.js"> tag, if it's not already there.
6357 (RegisterValidatorDeclaration): add our span object to the
6358 Page_Validators JS array.
6359 (Render): always render the tags (although this is probably not
6360 right), and call RegisterValidatorDeclaration here.
6362 * BaseCompareValidator.cs (AddAttributesToRender): render the
6363 client side attributes if we're in uplevel mode.
6364 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
6365 call base.DetermineRenderUplevel for now.
6367 * RegularExpressionValidator.cs (AddAttributesToRender): render
6368 the client side attributes if we're in uplevel mode.
6370 * RequiredFieldValidator.cs (AddAttributesToRender): same.
6372 * CompareValidator.cs (AddAttributesToRender): same.
6374 2005-07-20 Jackson Harper <jackson@ximian.com>
6376 * DataGrid.cs: Save the data source created column set in the
6379 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6381 * DataList.cs: Fix events and properties exceptions. Give the right
6382 informations to RenderItem.
6384 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6386 * ValidationSummary.cs: Implemented rendering
6388 2005-07-20 Jackson Harper <jackson@ximian.com>
6390 * DataGrid.cs: column names are cached and only regenerated if useDataSource
6391 is set to true. Otherwise they are just fetched from the last set that
6392 was generated from the source.
6394 2005-07-20 Jackson Harper <jackson@ximian.com>
6396 * DataGrid.cs: Assign some properties of newly created BoundColumns.
6398 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6400 * DataList.cs: Fix viewstate ordering.
6402 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6404 * SelectedDatesCollection.cs: Apprarently, I don't write code well
6407 * Repeater.cs: Uh, actually add stuff to the items collection
6410 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6412 * BaseDataList.cs: EnsureChildControls on Controls property.
6413 * DataList.cs: Fix rendering and Controls/Items differences.
6414 * DataListItem.cs: Added rendering of controls.
6416 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6418 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
6420 2005-07-20 Jackson Harper <jackson@ximian.com>
6422 * DataGrid.cs: Add some of the collections. Implement
6425 2005-07-20 Jackson Harper <jackson@ximian.com>
6427 * PagedDataSource.cs: Implement GetItemProperties, this is
6428 needed for the datagrid.
6430 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6432 * DataGridColumnCollection.cs: New impl
6434 * TemplateColumn.cs: New impl
6436 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6438 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
6439 * DataList.cs: Work in progress... Added attributes, proper
6440 IRepeatInfoUser support and cool things stolen from other classes.
6441 * DataListCommandEventArgs.cs: Class is sealed.
6442 * DataListItem.cs: RenderItem is public.
6444 2005-07-19 Jackson Harper <jackson@ximian.com>
6446 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
6447 a viewstate object if all the viewstate stuff is null.
6449 2005-07-19 Jackson Harper <jackson@ximian.com>
6451 * DataGrid.cs: Implement style properties and viewstate
6452 saving/loading/tracking.
6454 2005-07-19 Chris Toshok <toshok@ximian.com>
6456 * BaseValidator.cs: more fixes from pdb.
6458 2005-07-19 Chris Toshok <toshok@ximian.com>
6460 * BaseValidator.cs: some test-driven fixes.
6462 2005-07-19 Chris Toshok <toshok@ximian.com>
6464 * BaseValidator.cs: Initial implementation.
6466 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6468 * Repeater.cs: Fix small typo.
6470 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
6472 * ValidationSummaryTest.cs: Started implementation
6473 * RangeValidator.cs: Implemented
6474 * ValidatedControlConverter.cs: Implemented
6475 * DropDownList.cs: Implemented
6477 2005-07-19 Jackson Harper <jackson@ximian.com>
6479 * DataGrid.cs: Implement bubble event.
6481 2005-07-19 Jackson Harper <jackson@ximian.com>
6483 * DataGrid.cs: New implementation. Just properties and events for
6486 2005-07-18 Chris Toshok <toshok@ximian.com>
6488 * BaseCompareValidator.cs: Initial implementation, with some NYI.
6490 2005-07-19 Ben Maurer <bmaurer@ximian.com>
6492 * FontUnit.cs: Corcompare fixes
6494 * UnitConverter.cs: Fix api diffs
6496 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6498 * ListControl.cs: Fix api differences
6500 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6502 * Table.cs: Fix indentation for caption. Simplify check when adding
6504 * TableRow.cs: Simplify check when adding controls.
6506 2005-07-18 Chris Toshok <toshok@ximian.com>
6508 * CompareValidator.cs: wtf, just use the base class's methods.
6510 2005-07-18 Chris Toshok <toshok@ximian.com>
6512 * CompareValidator.cs: do comparisons based on
6513 BaseCompareValidator.Type.
6515 2005-07-18 Chris Toshok <toshok@ximian.com>
6517 * CompareValidator.cs: initial implementation.
6519 2005-07-18 Chris Toshok <toshok@ximian.com>
6521 * RegularExpressionValidator.cs: initial implementation.
6523 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6525 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
6527 2005-07-18 Jackson Harper <jackson@ximian.com>
6529 * CheckBoxList.cs: Implement LoadPostBackData. Also register
6530 checkboxes for postback if they are checked so we can find
6531 out when they are unchecked. Copy the AutoPostBack variable
6532 to the to be rendered checkbox when rendering.
6534 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6536 * TextBox.cs: Finish this up.
6538 * AdRotator.cs: Fix issues in the test suite. Minor style
6541 * Repeater.cs: Fix a bug where the datasource is null and we do
6544 * WebColorConverter.cs: Optimize by not doing a concat on a
6547 2005-07-17 Ben Maurer <bmaurer@ximian.com>
6549 * ListItemCollection.cs: Multiple uses of equals rather than
6550 string.compare as below. Remove unreachable code warning.
6552 * WebColorConverter.cs (ConvertTo): Use the == operator on string
6553 rather than an invariant non-case ignoring compare. They are
6554 exactly the same thing. Use proper coding style in this method.
6556 * WebControl.cs: Return null when saving the view state if there
6557 is no state in any of the things we save. This creates a fairly
6558 large savings, because we can avoid saving anything about many
6559 levels of deaply nested controls.
6561 2005-07-15 Jackson Harper <jackson@ximian.com>
6563 * CheckBoxList.cs: Use the index as the ID, the rest of the
6564 id is built by being in the NamingContainer.
6566 2005-07-15 Jackson Harper <jackson@ximian.com>
6568 * ListControl.cs: Use enum instead of string. Saves a lookup.
6570 2005-07-15 Jackson Harper <jackson@ximian.com>
6572 * CheckBoxList.cs: FindControl always returns 'this' according
6575 2005-07-15 Jackson Harper <jackson@ximian.com>
6577 * CheckBoxList.cs: New impl.
6579 2005-07-15 Jackson Harper <jackson@ximian.com>
6581 * WebControl.cs: Use the ClientID when rendering a controls ID
6582 attribute so that naming containers are honoured.
6584 2005-07-15 Jackson Harper <jackson@ximian.com>
6586 * ListControl.cs: use the state manager interface for tracking
6589 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6591 * Repeater.cs (DoItem): Add the DataItem before we call user
6592 methods, as it seems to be there with msft.
6594 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
6596 * BaseDataList.cs: New. (mostly complete) implementation.
6597 * DataKeyCollection.cs: New. Implementation (complete).
6598 * DataList.cs: New. (mostly incomplete) implementation.
6599 * DataListItem.cs: New. (mostly complete) implementation.
6600 * DataListItemCollection.cs: New. Implementation (complete).
6602 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6604 * Repeater.cs (DoItem): We need to .Add the control *before* we
6605 data bind it so that the state gets tracked correctly. Fixes the
6608 2005-07-15 Jackson Harper <jackson@ximian.com>
6610 * ListControl.cs: Simplify comparison.
6612 2005-07-15 Jackson Harper <jackson@ximian.com>
6615 * Repeater.cs: Use new utility class for resolving data sources.
6617 2005-07-15 Jackson Harper <jackson@ximian.com>
6619 * ListControl.cs: Add attributes so the sub items get parsed
6620 properly. Remove old unneeded code for resolving lists.
6622 2005-07-15 Jackson Harper <jackson@ximian.com>
6624 * ListControl.cs: Use the DataSourceHelper so DataMembers are
6627 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6630 - Some optimizations
6631 * Don't use enum formatting stuff, it is 1) expensive 2) does
6632 allocations. Use a new method in HtmlControl to do the right
6634 * Don't use Enum.IsDefined but an explicit check.
6635 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
6636 - Use the correct coding style.
6638 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6640 * WebColorConverter.cs:
6641 - Alpha of 255 is only set if the hex number is exactly 6 digits
6642 - Ben didn't like the catch { throw; } (even though MS documents to
6644 - Use Invariant Culture for parsing (thanks, Ben)
6646 2005-07-14 Jackson Harper <jackson@ximian.com>
6648 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
6649 code-reuse-arific. Also use the IStateManager interface for loading
6650 data instead of the old internal method.
6652 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6654 * WebColorConverter.cs: Implemented
6656 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6658 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
6660 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6662 * Repeater.cs: Get it working
6664 2005-07-14 Jackson Harper <jackson@ximian.com>
6666 * ListControl.cs: Initial implementation of Databinding. Make sure
6667 that the ListItemCollection is created when we load its ViewState.
6669 2005-07-14 Jackson Harper <jackson@ximian.com>
6671 * ListControl.cs: Fix typo.
6673 2005-07-14 Jackson Harper <jackson@ximian.com>
6675 * ListControl.cs: New Implementation. Lacks databinding support.
6677 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6679 * Repeater.cs: The beginnings of this control
6681 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6683 * TargetConverter.cs: Implemented
6685 2005-07-14 Duncan Mak <duncan@novell.com>
6687 * PagedDataSource.cs: Initial implementation.
6689 Methods that need to be figured out:
6690 CopyTo, GetItemProperties, PageCount, IsLastPage.
6692 To complete: CollectionEnumerator, ListEnumerator.
6694 2005-07-13 Duncan Mak <duncan@novell.com>
6696 * RepeatDirection.cs:
6698 * ValidationCompareOperator.cs:
6699 * ValidationDataType.cs:
6700 * ValidationSummaryDisplayMode.cs:
6701 * ValidatorDisplay.cs: Added remaining enumerations.
6703 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6705 * FontNamesConverter.cs: Implemented
6707 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6709 * RepeaterItem.cs: Compile fix
6711 * RepeaterItemCollection.cs: New file
6713 * RepeaterItem.cs: get OnBubbleEvent right.
6715 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6717 * ListItemCollection.cs: Count can be derived from the array, which
6718 allows us to use a Pair instead of a Triplet and save some space
6720 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6722 * RepeaterItem.cs: Stub
6724 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6726 * ListItemCollection.cs: Implemented
6727 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
6729 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6731 * RepeatInfo.cs: Impl.
6733 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6735 * FirstDayOfWeek.cs: Added
6737 2005-07-13 Jackson Harper <jackson@ximian.com>
6739 * ListBox.cs: Some parameter checking.
6741 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6743 * Image.cs: Added support for DescriptionUrl as this property was
6744 added in Fx 1.1 SP1.
6746 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6748 * Style.cs (AddAttributesToRender): Don't render attributes if they
6749 contain only their default value
6751 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6753 * Table.cs: New. Initial re-implementation.
6754 * TableCell.cs: New. Initial re-implementation.
6755 * TableCellCollection.cs: New. Initial re-implementation.
6756 * TableHeaderCell.cs: New. Initial re-implementation.
6757 * TableItemStyle.cs: New. Initial re-implementation.
6758 * TableRow.cs: New. Initial re-implementation.
6759 * TableRowCollection.cs: New. Initial re-implementation.
6760 * TableStyle.cs: New. Initial re-implementation.
6762 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6764 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
6765 unit tests (for Style) and more tests in Table* classes.
6767 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6769 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
6770 however IsEmpty returns false if any of their properties are set.
6771 Looks ugly but it's compatible with MS implementation (feature and
6774 2005-07-13 Dick Porter <dick@ximian.com>
6776 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
6777 null Text properties from the ViewState, test for TextAlign being
6778 out of range. All to make tests pass on both mono and ms
6781 2005-07-13 Jackson Harper <jackson@ximian.com>
6783 * ListBox.cs: Use invariant culture when doing a ToString,
6784 set value to the item's value, not to its Text.
6786 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6788 * WebControl.cs (AddAttributesToRender): Added ID to rendered
6791 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6793 * Style.cs(MergeWith): Handle null styles
6795 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
6797 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
6798 the #if NET_2_0 on it.
6800 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6802 * Style.cs: Only render font elements if fontinfo object exists
6804 - Implemented SaveViewState()
6805 - Added loading of Style to LoadViewState
6806 - Implemented IAttributeAccessor methods
6808 2005-07-12 Jackson Harper <jackson@ximian.com>
6810 * ListBox.cs: Even track default values in the viewstate. Call
6811 base's RenderContents.
6813 2005-07-12 Jackson Harper <jackson@ximian.com>
6815 * ListBox.cs: New impl.
6817 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6820 - Implemented methods
6823 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6825 * ListItem.cs: New impl.
6827 2005-07-12 Duncan Mak <duncan@novell.com>
6829 * DayNameFormat.cs: Added.
6831 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6833 * WebControl.cs: Implemented properties
6835 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6837 * TextBox.cs: Passwords seem 1) not to be rendered to the client
6838 if set, 2) not kept in view state (for security reasons...)
6841 * Button.cs: Page.Validate () if needed. Gets the validator tests
6844 * TextBox.cs: Properties to get the validator stuff to work.
6846 2005-07-12 Miguel de Icaza <miguel@novell.com>
6848 * Unit.cs: If the units are pixels, then truncate the value.
6850 2005-07-12 Dick Porter <dick@ximian.com>
6852 * RadioButton.cs: New implementation
6854 * CheckBox.cs: Rearrange the attributes rendering to allow
6855 RadioButton to derive from this
6857 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6859 * TitleFormat.cs: Add attribute
6860 * TextBoxMode.cs: Add attribute
6861 * CalendarDay.cs: Initial implementation
6862 * ImageButton.cs: Initial implementation
6863 * CalendarSelectionMode.cs:Initial implementation
6865 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6867 * TextBoxMode.cs: simple enum
6868 * TitleFormat.cs: simple enum
6870 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6872 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
6874 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6876 * FontUnit.cs: Added TypeConverter attribute to class
6877 * FontUnitConverter.cs: Implemented
6879 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6882 * Button.cs: Bubble the Command event.
6884 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6887 - Clean up style (with my wonderful state bag hack!)
6888 - Fix a view state typo.
6889 - Use AddAttributesToRender
6890 - Don't add an extra <span>
6892 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6894 * Style.cs: Handle null constructor argument for bag
6896 2005-07-11 Dick Porter <dick@ximian.com>
6898 * CheckBox.cs: New implementation
6900 * RadioButton.cs: Initial stubbed version that just compiles
6902 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
6904 * Button.cs: Initial Button implementation
6906 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
6908 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
6910 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6912 * HorizontalAlign.cs: Typo in header.
6913 * VerticalAlign.cs: New. Required enum for TableRow control.
6915 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6917 * TextBox.cs: More work on this
6919 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6921 * GridLines.cs: New. Required enum for Table control.
6922 * HorizontalAlign.cs: New. Required enum for Table control.
6924 2005-07-09 Duncan Mak <duncan@novell.com>
6926 * CommandEventHandler.cs:
6927 * DataGridCommandEventHandler.cs:
6928 * DataGridItemEventHandler.cs:
6929 * DataGridPageChangedEventHandler.cs:
6930 * DataGridSortCommandEventHandler.cs:
6931 * DataListCommandEventHandler.cs:
6932 * DayRenderEventHandler.cs:
6933 * RepeaterCommandEventHandler.cs:
6934 * ServerValidateEventHandler.cs: Add delegates.
6937 * ListSelectionMode.cs:
6938 * NextPrevFormat.cs:
6940 * PagerPosition.cs: Add enums.
6942 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6944 * TextBox.cs: Add the work I did on this today. It's not complete
6945 yet, but its a start!
6947 2005-07-09 Duncan Mak <duncan@novell.com>
6949 * CommandEventArgs.cs:
6950 * DataGridCommandEventArgs.cs:
6951 * DataGridItemEventArgs.cs:
6952 * DataGridPageChangedEventArgs.cs:
6953 * DataGridSortCommandEventArgs.cs:
6954 * DataListCommandEventArgs.cs:
6955 * DataListItemEventArgs.cs:
6956 * DayRenderEventArgs.cs:
6957 * RepeaterCommandEventArgs.cs:
6958 * RepeaterItemEventArgs.cs:
6959 * ServerValidateEventArgs.cs: Implemented.
6961 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
6963 * Image.cs: New. Image class implementation.
6964 * ImageAlign.cs: New. ImageAlign enum definitions.
6966 2005-07-08 Jackson Harper <jackson@ximian.com>
6968 * Literal.cs: New implentation.
6969 * MonthChangedEventArgs.cs: new
6970 * MonthChangedEventHandler.cs: new
6972 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6974 * LinkButton.cs: Command impl
6976 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6978 * LinkButton.cs: Initial impl
6980 2005-07-08 Jackson Harper <jackson@ximian.com>
6982 * AdCreatedeventArgs.cs: New implementation.
6984 2005-07-08 Dick Porter <dick@ximian.com>
6987 * BorderStyle.cs: Added
6989 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6991 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
6993 2005-07-07 Miguel de Icaza <miguel@novell.com>
6995 * Xml.cs: New implementation. R00lz.
6997 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6999 * FontInfo.cs: Added and implemented.
7000 * Style.cs: Fixed behaviour discrepancies showed by tests
7002 2005-07-07 Ben Maurer <bmaurer@ximian.com>
7004 * PlaceHolderControlBuilder.cs: new file
7006 * LabelControlBuilder.cs: New file
7008 * HyperLink.cs: use control builder; fix parsing stuff
7010 * HyperLinkControlBuilder.cs: new file
7012 * Panel.cs: misc fixes
7014 2005-07-07 Miguel de Icaza <miguel@novell.com>
7016 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
7018 * UnitConverter.cs: Add new file, learned from the
7019 System.Drawing.ColorConverter.
7021 2005-07-07 Ben Maurer <bmaurer@ximian.com>
7023 * PlaceHolder.cs: New file. Seems to do nothing
7025 * Label.cs: Use my new statebag trick to reduce typing
7027 * HyperLink.cs: New file
7029 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
7031 * Style.cs: Added and implemented.
7033 2005-07-06 Miguel de Icaza <miguel@novell.com>
7035 * FontUnit.cs: New file.
7037 * Unit.cs: New file.
7039 Added support for null and empty string constructors.
7041 2005-07-06 Ben Maurer <bmaurer@ximian.com>
7043 * Unit.cs: cctor not needed; static fields are 0 init'd by default
7045 * WebControl.cs: Kothari & Datye's book explains how these work.
7047 * IRepeatInfoUser.cs: Reimpl.
7049 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
7051 * WebControl.cs: Added stub
7053 2005-07-05 Miguel de Icaza <miguel@novell.com>
7055 * Label.cs: First control.
7057 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
7059 * DataControlField.cs: Ignore the ShowHeader property when
7060 building the control's content. It is the resposability of
7061 the field container to decide if the header should be shown
7064 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
7067 * ImageFieldMode.cs:
7068 * DynamicImageParameterMode.cs:
7069 * TableViewMode.cs: Removed.
7073 * TableRowSection.cs:
7074 * AutoCompleteType.cs:
7075 * DayNameFormat.cs: Track changes in 2.0 api.
7077 * StringArrayConverter.cs: This class is 2.0 only.
7079 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
7083 * DetailsView.cs: Bind the control after creating all child
7085 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
7086 the correct methods.
7087 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
7088 in this class. This is done in DataBoundControl. All this fixes
7091 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7093 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
7094 FindByText. Closes bug #74205.
7096 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7098 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
7099 1 when there's a datasource and 0 pages. Closes bug #73864.
7101 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
7108 * MenuItemTemplateContainer.cs:
7109 * DetailsView.cs: Track changes in the IDataItemContainer interface.
7111 * CommandField.cs: Added CausesValidation property. Set that
7112 property value to all buttons of the field.
7114 * SqlDataSourceView.cs:
7115 * CollectionDataSource.cs:
7116 * XmlDataSourceView.cs: Properly initialize the base class.
7118 * SiteMapDataSource.cs:
7119 * SiteMapHierarchicalDataSourceView.cs:
7120 * SiteMapNodeItem.cs:
7121 * SiteMapDataSourceView.cs:
7122 * SiteMapPath.cs: Mostly implemented.
7124 * HierarchicalDataBoundControl.cs: Always bind the control when the
7125 page is loaded for the first time.
7127 * TreeView.cs: Properly bind the control when loaded from a callback.
7129 2005-05-21 Ben Maurer <bmaurer@ximian.com>
7131 * BaseDataList.cs: Caption is in 1.1 too, though not
7132 documented. Gonz owes me [more] ice cream. Yummmmm.
7134 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7136 * BaseDataList.cs: implemented 2.0 Caption property.
7138 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
7140 * TreeView.cs: Always render the startup script. This fixes
7143 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
7145 * WizardStepBase.cs:
7146 * WizardStep.cs: Added missing attributes.
7147 * Wizard.cs: Implemented missing methods and properties. It can now
7148 be considered feature complete.
7150 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7152 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
7153 the method if the data source was en empty IEnumerator. Fixes
7156 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
7160 * Menu.cs: Implemented some new properties from beta 2.
7162 * DataControlButton.cs: Render the ControlStyle if it
7166 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
7167 It will now generate an object creation, instead of a Parse call.
7169 * GridViewCommandEventArgs.cs: Added missing property.
7170 * SubMenuStyleCollection.cs: This class is not sealed.
7171 * MultiView.cs: Set Visible=false to all views that are not
7172 shown. This ensures that it's view state is saved.
7174 * BaseDataBoundControl.cs:
7175 * GridViewDeletedEventArgs.cs: Minor api fixes.
7177 * FormViewDeleteEventArgs.cs:
7178 * DetailsViewDeletedEventArgs.cs:
7179 * ListControl.cs: Fix warnings.
7183 * HotSpotCollection.cs
7186 * RectangleHotSpot.cs
7187 * WizardStepCollection.cs : Implemented.
7191 * Wizard.cs: Initial implementation.
7193 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
7195 * DataControlField.cs:
7199 * DataControlCommands.cs:
7200 * DetailsView.cs: Use constants to identify commands.
7202 * SubMenuStyle.cs: Use Unit instead of int for padding.
7203 * SubMenuStyleCollection.cs: Implemented.
7206 * Menu.cs: Added some missing methods and properties.
7209 * DataGridPagerStyle.cs: Fixed default value attributes.
7210 * ListControl.cs: Implemented IEditableTextControl interface.
7212 * MenuItemBinding.cs: Added Selectable property.
7213 * CustomValidator.cs: removed interface.
7215 * MenuItem.cs: Added support for custom binding.
7216 * DropDownList.cs: Moved text properties to base class.
7218 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7220 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
7222 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7224 * Calendar.cs: when the day is active, modify the text of the literal
7225 control that holds the number, not the text of the TableCell. Also call
7226 OnDayRender before updating that text. Fixes bug #74718.
7228 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
7230 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
7232 * DataControlFieldHeaderCell.cs: Save Scope in view state.
7233 Added AbbreviatedText property.
7234 * AutoGeneratedField.cs: The constructor should actually be internal.
7235 * DataGridItem.cs: Added implemented interface in 2.0.
7236 * DataControlFieldCollection.cs: Implemented CloneFields and
7240 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7242 * StringArrayConverter.cs:
7243 * Calendar.cs: warnings.
7245 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
7247 * FormViewDeleteEventArgs.cs:
7248 * FormViewInsertEventArgs.cs:
7249 * FormViewUpdateEventArgs.cs:
7250 * FormViewDeletedEventArgs.cs:
7251 * FormViewUpdatedEventArgs.cs:
7252 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
7255 * IButtonControl.cs:
7256 * Button.cs: Removed SoftKey property.
7258 * CheckBox.cs: Don't try to load post back data if the control
7262 * AutoGeneratedField.cs:
7263 * DataControlField.cs:
7265 * ButtonFieldBase.cs:
7269 * ButtonField.cs: Don't bind fields in Insert state.
7270 Implemented CreateField and CopyProperties.
7273 * DetailsView.cs: Removed some unneeded interfaces. Don't
7274 generate the field rows if there are no items in the data source.
7275 Don't get the current keys until the whole control has been
7278 * DetailsViewInsertedEventArgs.cs:
7279 * DataBoundControl.cs:
7280 * ObjectDataSourceView.cs: Made some methods private.
7283 * Menu.cs: Changed some properties from int to Unit.
7285 * DataControlButton.cs: javascript prefix is needed when raising
7286 the postback event from a link.
7288 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
7289 The result was wrong when the total data source count was 0.
7291 * FormView.cs: Implemented.
7292 * FormViewRow.cs: Implemented.
7295 * Localize.cs: Fixed base interface.
7297 * BaseDataBoundControl.cs: In DataBind() call the base class
7298 DataBind method, so the binding context is properly set.
7300 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
7302 * DetailsView.cs: Added some null checks.
7303 * TemplateField.cs: Implemented support for two-way bindings.
7305 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
7307 * DetailsView.cs: Implemented support for Insert operation.
7308 Added header and footer templates. Added missing style
7310 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
7311 to get filter values. Other minor fixes.
7312 * CommandField.cs: Properly render the Insert and New buttons.
7313 * ObjectDataSource.cs: Update the parameter collections after
7314 the page is loaded. This will fire the ParameterChanged event
7316 * DataBoundControl.cs: The OnDataSourceViewChanged method
7317 is called when the view changes, not when the datasource
7320 * DetailsViewInsertedEventArgs.cs:
7321 * DetailsViewInsertEventArgs.cs: Implement Values property.
7324 * AutoGeneratedField.cs
7327 Take into account the Insert mode.
7329 * ParameterCollection.cs: Implemented UpdateValues and fixed
7330 GetValues (values can't be cached because can change).
7331 * Parameter.cs: Detect value changes in GetValue, and fire
7332 the change event if needed. Removed unused ParameterValue
7333 property. Other fixes.
7335 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
7337 * DetailsView.cs: Initial implementation.
7338 * ObjectDataSourceView.cs: Notify changes in the parameters.
7339 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
7340 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
7341 Implemented some properties.
7342 * GridView.cs: Added null check in SelectedValue. Don't return null
7343 for empty DataKeyNames list.
7344 * DetailsViewRowCollection.cs: Implemented.
7345 * DetailsViewRow.cs: Implemented.
7346 * ButtonFieldBase.cs: By default button field don't have headers.
7347 * BoundField.cs: Don't bind header fields.
7349 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
7351 * ButtonField.cs: Get data item properties using TypeDescriptor.
7352 Made OnDataBindField private.
7353 * ObjectDataSourceView.cs: Implemented support for Delete and
7354 Insert operations, support for filtering and sorting,
7355 conflict detection, etc. It's now complete.
7356 * ObjectDataSource.cs: Completed most of functionality. Only
7357 caching support is missing.
7358 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
7359 * TreeNode.cs: Get data item properties using TypeDescriptor.
7360 * PagerSettings.cs: Flush.
7361 * ObjectDataSourceFilteringEventArgs.cs: New event args.
7362 * GridView.cs: Get data item properties using TypeDescriptor
7363 and cache them. Properly set descending order in the sort
7364 expression. In UpdateRow, make sure we get the old values
7365 before the control is bound again.
7366 * ImageField.cs: Implemented.
7367 * AutoGeneratedField.cs: Initialize the field's sort
7368 expression in the constructor.
7369 * MenuItem.cs: Get data item properties using TypeDescriptor.
7370 * BoundField.cs: Get data item properties using TypeDescriptor.
7371 * CheckBoxField.cs: Added missing attributes.
7372 * TemplateField.cs: Implemented.
7374 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7377 * FontUnitConverter.cs: fixed ConvertTo to work with target
7378 InstanceDescriptor and value as a string.
7380 * Unit.cs: culture might be null.
7384 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
7386 * ButtonField.cs: Mostly implemented.
7387 * DataControlFieldHeaderCell.cs: Implemented.
7388 * ObjectDataSourceView.cs: Initial implementation.
7389 * DataControlButton.cs: Added support for real buttons.
7390 * Label.cs, DataControlField.cs: Flush.
7391 * ObjectDataSource.cs: Initial implementation.
7392 * HiddenField.cs: Added class stub.
7393 * GridView.cs: Load autogenerated field properties before
7394 creating the children, to make sure that column info is ready.
7395 * ControlParameter.cs: Implemented Evaluate method.
7396 * ImageField.cs: Added class stub.
7397 * BoundField.cs: Added HtmlEncode property.
7398 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
7400 * CheckBoxField.cs: Mostly implemented.
7401 * TemplateField.cs: Added class stub.
7402 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
7403 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
7404 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
7406 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
7408 * DataControlField.cs: Added missing InsertVisible property.
7409 * AutoGeneratedFieldProperties.cs: Implemented.
7410 * PagerSettings.cs: Minor fix.
7411 * GridView.cs: Implemented support for autogenerated fields, templates,
7412 accessible headers. Implemented paging using PagedDataSource.
7413 Implemented missing overridable methods.
7414 * AutoGeneratedField.cs: Initial implementation.
7415 * BoundField.cs: Added ReadOnly property.
7416 * PagedDataSource.cs: Implemented 2.0 api.
7417 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
7418 cell class to be used by accessible headers.
7419 * TableCell.cs: Removed unneded constructor. If the cell is bound to
7420 a template, call the default RenderContents method.
7422 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7424 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
7425 event when loading the view state. Fixes #73746.
7427 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7429 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
7431 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
7433 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
7435 * CommandField.cs: Mostly implemented.
7436 * Menu.cs: Use callback methods moved to ClientScriptManager.
7437 * DataControlButton.cs: Internal control used to implement buttons
7438 for navigating in data bound controls.
7439 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
7440 to render the column headers.
7441 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
7442 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
7443 Don't use Page.GetPostBackClientEvent
7444 since it is deprecated in 2.0.
7445 * GridView.cs: Implemented some several interfaces.
7446 Implemented support client sorting and page navigation (using callbacks).
7447 Implemented the autogenerated command column using the new CommandField
7449 * ButtonFieldBase.cs: Implemented.
7450 * GridView.js: New helper script to support client side sorting and
7451 paging in the grid view.
7453 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
7455 * DataKey.cs: Implemented.
7456 * XmlDataSourceView.cs: Implemented support for row pagging.
7457 * Table.cs: Fixed attribute value.
7458 * DataControlField.cs: Added support for sorting headers.
7459 * ChildTable.cs: Created.
7460 * ListControl.cs: Delay selection assignment, since control state
7461 is now loaded before view state.
7462 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
7463 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
7464 several missing properties.
7465 * PagerSettings.cs: Fully implemented.
7466 * BaseDataList.cs: Added null check.
7467 * GridView.cs: Implemented more functionality.
7468 * BoundField.cs: Added support for cell editing.
7469 * StringArrayConverter.cs: Implemented.
7470 * DataKeyArray.cs: Implemented.
7471 * BaseDataBoundControl.cs: Reset the requires binding flag before
7472 executing the query. This avoids recursive query calls.
7473 * GridViewRow.cs: Handler commands raised from row childs.
7475 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
7477 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
7478 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
7479 it is possible to query for properties fore each data item.
7480 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
7481 when loading its view state.
7482 * DataControlField.cs: Implement properties using a StateBag.
7483 * XmlDataSourcePropertyDescriptor.cs: Implemented.
7484 * PagerSettings.cs: Mostly implemented.
7485 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
7486 * DataBoundControl.cs: Added null check.
7487 * GridView.cs: Initial implementation.
7488 * CompositeDataBoundControl.cs: Implemented.
7489 * BoundField.cs: Initial implementation.
7490 * GridViewRowCollection.cs: Initial implementation.
7491 * DataControlFieldCollection.cs: Initial implementation.
7492 * DataControlFieldCell.cs: Fixed control tag.
7493 * GridViewRow: Initial implementation.
7494 * XmlDataSourceNodeDescriptor.cs: Implemented.
7496 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7498 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
7499 is zero, use the TagName no matter its value. Fixes bug #72415.
7501 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
7503 * Style.cs: Method name fix.
7504 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
7505 * BaseCompareValidator.cs: Method signature fix.
7506 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
7507 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
7508 * BulletedList.cs: Added missing method.
7509 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
7511 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
7513 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
7514 * RadioButton.cs: Added missing 2.0 methods.
7515 * ListItem.cs: Added Enabled property.
7516 * MailMessageEventArgs.cs: Use the correct message class.
7517 * ListControl.cs: Implemented missing properties and support for
7518 control state. Implemented base RenderContents method.
7519 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
7521 * BaseCompareValidator.cs: Implemented methods that support conditional
7522 use of the invariant culture.
7523 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
7524 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
7525 It takes a DbCommand instead of a IDbCommand.
7526 * GridViewSortEventArgs.cs: Added SortDirection property.
7527 * TextBox.cs, CheckBoxList.cs: Added protected version of
7528 IPostBackDataHandler methods.
7529 * RadioButtonList.cs: Added protected version of
7530 IPostBackDataHandler and IRepeatInfoUser methods.
7531 * Repeater.cs: Updated some method names.
7532 * DropDownList.cs: Added protected version of
7533 IPostBackDataHandler methods. Reuse RenderContents from base class.
7534 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
7535 * GridViewUpdatedEventArgs.cs: Fix typo.
7536 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
7537 Reuse RenderContents from base class.
7538 * BaseDataBoundControl.cs: Several fixes.
7539 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
7541 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7543 * CheckBoxList.cs: Fix build.
7545 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7547 * Button.cs: Use validation group when validating page.
7548 * XmlDataSourceView.cs: Implemented ExecuteSelect.
7549 * Menu.cs: Minor fix.
7550 * CheckBox.cs: Added 2.0 properties and methods.
7551 * BaseDataList.cs: Always databind the control if view state
7553 * DataList.cs: In 2.0, use control state to save the selected index.
7554 * DetailsViewUpdatedEventArgs.cs: Fix typo.
7555 * CustomValidator.cs: Implement IStaticTextControl interface.
7556 * CheckBoxList.cs: Added missing 2.0 methods.
7557 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
7559 * XmlDataSource.cs: Return childs of DocumentElement, not the root
7561 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
7562 Implemented 2.0 API.
7565 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
7567 * Button.cs: Implemented all missing 2.0 features.
7568 * Table.cs: Render the table caption, when specified.
7569 * Calendar.cs: Implemented most of missing 2.0 features.
7570 * TableCell.cs: Fixed attributes.
7572 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7574 * ControlPropertyNameConverter.cs: Added file.
7576 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7578 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
7579 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
7580 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
7581 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
7582 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
7583 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
7584 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
7585 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
7586 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
7587 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
7588 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
7589 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
7590 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
7591 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
7592 DataGridSortCommandEventArgs.cs, Repeater.cs,
7593 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
7594 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
7595 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
7596 CompareValidator.cs, HierarchicalDataBoundControl.cs,
7597 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
7598 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
7599 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
7600 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
7601 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
7602 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
7603 AdCreatedEventArgs.cs:
7605 General 2.0 API fixes: missing attributes, incorrect inheritance,
7606 missing sealed keywords, wrong signatures, etc.
7608 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
7610 * Table.cs: Added some 2.0 properties.
7611 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
7613 * BaseValidator.cs: Fix warning.
7614 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
7616 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
7618 * Menu.cs: Rendering fixes.
7620 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
7622 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
7623 ContentPlaceHolderBuilder.cs: Implemented.
7625 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7627 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
7628 attributes that are meant to be in the input tag in their place.
7630 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
7632 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
7633 generates invalid html).
7635 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
7637 * Menu.cs: Implemented most of missing properties. Added support for
7638 item templates. Implemented menu scrolling.
7639 * MenuItemBinding.cs: Implemented most of missing properties.
7640 * MenuItem.cs: Implemented most of missing properties.
7641 * Menu.js: Implemented scrolling and menu reposition into screen.
7642 * MenuItemTemplateContainer.cs: Implemented.
7643 * SubMenuStyle.cs: Implemented.
7645 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
7647 * Style.cs: Implemented RegisteredCssClass property. Added
7648 CopyTextStylesFrom method, which copies styles that only apply to text.
7649 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
7650 in the page stylesheet. Added support for ItemSpacing property.
7651 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
7653 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
7655 * Style.cs: Generate styles using a CssStyleCollection, so the code can
7656 be reused for the 2.0 FillStyleAttributes method.
7657 * Menu.cs: Implemented more properties and events. Rendering is very
7659 * MenuItem.cs: Added PopOutImageUrl property.
7660 * Menu.js: More work on submenu management.
7662 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
7664 * Menu.cs: Implemented basic rendering. Added some missing properties.
7665 * MenuItem.cs: Improved implementation of Depth.
7666 * Unit.cs: Added serializable attribute.
7667 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
7668 so it can be reused.
7669 * Menu.js: New script to support he Menu control.
7671 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
7673 * MenuEventArgs.cs: Changed to sealed.
7674 * TreeView.cs: Minor fix.
7675 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
7676 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
7677 MenuItemStyleCollection.cs: Initial Menu code.
7679 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
7681 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
7682 Implemented SetDirtyObject.
7683 * Style.cs: Implemented SetDirty().
7684 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
7685 * TreeNode.cs: Added missing attributes added support for
7686 PopulateOnDemand. Added some missing property bindings.
7687 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
7688 to newly added elements to make sure al new data is saved.
7689 * TreeView.js: Implemented support for client population of nodes.
7690 * TreeNodeStyle.cs: Added missing attributes.
7691 * TreeView.cs: Implemented support for PopulateNodesFromClient and
7692 PopulateOnDemand. Improved rendering.
7694 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
7696 * DataControlField.cs:
7697 * DataControlFieldCell.cs: Initial implementation.
7699 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
7701 * TreeNodeBindingCollection.cs: Implemented.
7702 * TreeNodeBinding.cs: Implemented.
7703 * TreeNode.cs: Added support for data binding.
7704 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
7705 TreeView_Default_NoExpand.gif: Moved to resources directory.
7706 * ListControl.cs: Fixed api.
7707 * XmlHierarchicalEnumerable.cs: Made internal.
7708 * DataBoundControl.cs: Modified api to match latest ms.net.
7709 * TreeView.js: New javascript file to support TreeView in the client.
7710 * XmlDataSource.cs: Added missing attributes.
7711 * HierarchicalDataBoundControl.cs: Mostly implemented.
7712 * BaseDataBoundControl.cs: Mostly implemented.
7713 * XmlHierarchyData.cs: Made internal.
7714 * TreeView.cs: Mostly implemented. The major missing feature is
7715 client side tree population.
7717 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
7720 * DataBountControl.cs:
7721 * Repeater.cs: Added SelectArguments property and updated.
7722 * SiteMapDataSourceView.cs:
7723 * SqlDataSourceView.cs:
7724 * XmlDataSourceView.cs: Removed extra method, which was there to
7725 keep things compiling.
7727 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
7729 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
7730 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
7731 TreeView.cs: Initial implementation.
7732 * DataBoundControl.cs: Set the correct base class.
7733 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
7734 * TreeNodeSelectAction.cs: Formatting.
7735 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
7736 TreeView_Default_NoExpand.gif: TreeView images.
7738 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
7740 * SqlDataSourceView.cs: Updated methods and added one property.
7742 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7744 * AccessDataSource.cs:
7745 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
7746 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7748 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
7749 * SqlDataSourceView.cs: Updated constructor.
7751 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7753 * AccessDataSourceView.cs: Added new class.
7755 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7757 * SqlDataSourceView.cs: Corrected exception handling in
7758 ExecuteSelect method.
7760 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
7762 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
7763 * SiteMapDataSourceView.cs: Minor fix.
7765 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7767 * SqlDataSourceView.cs: Updated ExecuteSelect method.
7769 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7771 * SqlDataSource.cs: Corrected Select method.
7773 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7775 * SqlDataSource.cs: Updated Select method definition.
7776 * SqlDataSourceStatusEventArgs.cs: Updated class.
7778 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
7780 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
7781 from DataSourceView.cs).
7783 2004-11-10 Raja R Harinath <rharinath@novell.com>
7785 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
7787 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
7789 * SqlDataSource.cs: Corrected method calls.
7790 * SqlDataSourceView.cs: Partial implementation of few methods.
7792 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7794 * ListItemCollection.cs: fixed bug when indexing changed elements in
7795 LoadViewState. Patch from Alois Bělaška.
7797 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
7799 * SiteMapDataSourceView.cs:
7800 * SqlDataSourceView.cs:
7801 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
7802 base class, DataSourceView. Changes are to keep things compiling.
7804 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
7806 * SiteMapDataSourceView.cs: Corrected class definition and updated.
7807 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
7810 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
7812 * AdRotator.cs: Updated.
7814 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
7816 * AccessDataSource.cs: Updated.
7818 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7820 * ValidatedControlConverter.cs: Updated.
7822 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7824 * AssociatedControlConverter.cs: Implemented.
7826 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7828 * ControlIDConverter.cs: Initial implementation.
7830 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7832 * IButtonControl.cs: Corrected property name.
7834 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7836 * ParameterCollection.cs: Updated.
7838 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7840 * Parameter.cs: Updated and completed implementation.
7842 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7844 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
7847 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7849 * AccessDataSource.cs: Initial implementation.
7851 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
7853 * DataControlRowState.cs:
7855 * TreeNodeTypes.cs: Added attribute.
7856 * DataControlRowType.cs:
7858 * SortDirection.cs: Corrected enumeration values.
7859 * TableRowSection.cs: Added new enumeration.
7860 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
7862 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7864 * TableStyle.cs: don't render empty 'rules' attribute (again).
7866 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
7868 * FormViewUpdatedEventArgs.cs: Spelling mistake.
7870 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
7872 * Literal.cs: Added new method Focus().
7874 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7876 * RadioButton.cs: fix GroupName when the control is inside a
7877 NamingContainer different from Page. Closes bug #65586.
7879 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
7881 * Localize.cs: Added new class.
7883 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
7885 * CompositeControl.cs : Completed
7886 * Login.cs : Initial implementation.
7888 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7890 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
7891 don't call MapPathSecure on the content itself.
7893 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
7894 document is checked at parse time and will be checked again at run time.
7898 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
7900 * AuthenticateEventHandler.cs:
7901 * CreateUserErrorEventArgs.cs:
7902 * CreateUserErrorEventHandler.cs:
7903 * DetailsViewCommandEventHandler.cs:
7904 * DetailsViewDeleteEventArgs.cs:
7905 * DetailsViewDeleteEventHandler.cs:
7906 * DetailsViewDeletedEventArgs.cs:
7907 * DetailsViewDeletedEventHandler.cs:
7908 * DetailsViewInsertEventArgs.cs:
7909 * DetailsViewInsertEventHandler.cs:
7910 * DetailsViewInsertedEventArgs.cs:
7911 * DetailsViewInsertedEventHandler.cs:
7912 * DetailsViewModeEventArgs.cs:
7913 * DetailsViewModeEventHandler.cs:
7914 * DetailsViewPageEventHandler.cs:
7915 * DetailsViewUpdateEventArgs.cs:
7916 * DetailsViewUpdateEventHandler.cs:
7917 * DetailsViewUpdatedEventArgs.cs:
7918 * DetailsViewUpdatedEventHandler.cs:
7919 * FormViewCommandEventHandler.cs:
7920 * FormViewDeleteEventArgs.cs:
7921 * FormViewDeleteEventHandler.cs:
7922 * FormViewDeletedEventArgs.cs:
7923 * FormViewDeletedEventHandler.cs:
7924 * FormViewInsertEventArgs.cs:
7925 * FormViewInsertEventHandler.cs:
7926 * FormViewInsertedEventArgs.cs:
7927 * FormViewInsertedEventHandler.cs:
7928 * FormViewModeEventHandler.cs:
7929 * FormViewPageEventHandler.cs:
7930 * FormViewUpdateEventArgs.cs:
7931 * FormViewUpdateEventHandler.cs:
7932 * FormViewUpdatedEventArgs.cs:
7933 * FormViewUpdatedEventHandler.cs:
7934 * GridViewCancelEditEventArgs.cs:
7935 * GridViewCancelEditEventHandler.cs:
7936 * GridViewCommandEventHandler.cs:
7937 * GridViewDeleteEventArgs.cs:
7938 * GridViewDeleteEventHandler.cs:
7939 * GridViewDeletedEventArgs.cs:
7940 * GridViewDeletedEventHandler.cs:
7941 * GridViewEditEventHandler.cs:
7942 * GridViewPageEventHandler.cs:
7943 * GridViewRowEventHandler.cs:
7944 * GridViewSelectEventHandler.cs:
7945 * GridViewSortEventArgs.cs:
7946 * GridViewSortEventHandler.cs:
7947 * GridViewUpdateEventArgs.cs:
7948 * GridViewUpdateEventHandler.cs:
7949 * GridViewUpdatedEventArgs.cs:
7950 * GridViewUpdatedEventHandler.cs:
7951 * ImageMapEventHandler.cs:
7952 * MailMessageEventHandler.cs:
7953 * MenuEventHandler.cs:
7954 * ObjectDataSourceDisposingEventHandler.cs:
7955 * ObjectDataSourceEventHandler.cs:
7956 * ObjectDataSourceMethodEventArgs.cs:
7957 * ObjectDataSourceMethodEventHandler.cs:
7958 * ObjectDataSourceSelectingEventArgs.cs:
7959 * ObjectDataSourceSelectingEventHandler.cs:
7960 * ObjectDataSourceStatusEventArgs.cs:
7961 * ObjectDataSourceStatusEventHandler.cs:
7962 * SendMailErrorEventHandler.cs:
7963 * SiteMapNodeItemEventHandler.cs:
7964 * SqlDataSourceSelectingEventArgs.cs:
7965 * SqlDataSourceSelectingEventHandler.cs:
7966 * TreeNodeEventHandler.cs:
7967 * WizardNavigationEventArgs.cs:
7968 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
7969 corrections and removing "sealed" access specifier from *EventHandler.cs
7971 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
7973 * Literal.cs: Added new attributes and property for .Net 2.0
7975 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
7977 * GridViewDeleteEventArgs.cs: Removed extra code.
7979 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
7981 * SendMailErrorEventArgs.cs:
7982 * SendMailErrorEventHandler.cs:
7983 * SiteMapNodeItemEventArgs.cs:
7984 * SiteMapNodeItemEventHandler.cs:
7985 * SqlDataSourceSelectingEventArgs.cs:
7986 * SqlDataSourceSelectingEventHandler.cs:
7987 * TreeNodeEventArgs.cs:
7988 * TreeNodeEventHandler.cs:
7989 * WizardNavigationEventArgs.cs:
7990 * WizardNavigationEventHandler.cs: Added new delegates.
7992 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7994 * ImageMapEventArgs.cs:
7995 * ImageMapEventHandler.cs:
7996 * MailMessageEventArgs.cs:
7997 * MailMessageEventHandler.cs:
7999 * MenuEventHandler.cs:
8000 * ObjectDataSourceDisposingEventArgs.cs:
8001 * ObjectDataSourceDisposingEventHandler.cs:
8002 * ObjectDataSourceEventArgs.cs:
8003 * ObjectDataSourceEventHandler.cs:
8004 * ObjectDataSourceMethodEventArgs.cs:
8005 * ObjectDataSourceMethodEventHandler.cs:
8006 * ObjectDataSourceSelectingEventArgs.cs:
8007 * ObjectDataSourceSelectingEventHandler.cs:
8008 * ObjectDataSourceStatusEventArgs.cs:
8009 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
8011 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
8013 * DetailsViewCommandEventArgs.cs:
8014 * FormViewCommandEventArgs.cs:
8015 * GridViewCommandEventArgs.cs: Corrected constructor.
8017 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
8019 * GridViewCancelEditEventArgs.cs:
8020 * GridViewCancelEditEventHandler.cs:
8021 * GridViewCommandEventArgs.cs:
8022 * GridViewCommandEventHandler.cs:
8023 * GridViewDeletedEventArgs.cs:
8024 * GridViewDeletedEventHandler.cs:
8025 * GridViewDeleteEventArgs.cs:
8026 * GridViewDeleteEventHandler.cs:
8027 * GridViewEditEventArgs.cs:
8028 * GridViewEditEventHandler.cs:
8029 * GridViewPageEventArgs.cs:
8030 * GridViewPageEventHandler.cs:
8031 * GridViewRowEventArgs.cs:
8032 * GridViewRowEventHandler.cs:
8033 * GridViewSelectEventArgs.cs:
8034 * GridViewSelectEventHandler.cs:
8035 * GridViewSortEventArgs.cs:
8036 * GridViewSortEventHandler.cs:
8037 * GridViewUpdatedEventArgs.cs:
8038 * GridViewUpdatedEventHandler.cs:
8039 * GridViewUpdateEventArgs.cs:
8040 * GridViewUpdateEventHandler.cs: Added new delegates.
8042 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
8044 * FormViewUpdatedEventArgs.cs: Corrected constructor.
8046 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
8048 * FormViewCommandEventArgs.cs: Corrected name of class.
8050 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8052 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
8055 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
8057 * FormViewCommandEventArgs.cs:
8058 * FormViewCommandEventHandler.cs:
8059 * FormViewDeletedEventArgs.cs:
8060 * FormViewDeletedEventHandler.cs:
8061 * FormViewDeleteEventArgs.cs:
8062 * FormViewDeleteEventHandler.cs:
8063 * FormViewInsertedEventArgs.cs:
8064 * FormViewInsertedEventHandler.cs:
8065 * FormViewInsertEventArgs.cs:
8066 * FormViewInsertEventHandler.cs:
8067 * FormViewModeEventArgs.cs:
8068 * FormViewModeEventHandler.cs:
8069 * FormViewPageEventArgs.cs:
8070 * FormViewPageEventHandler.cs:
8071 * FormViewUpdatedEventArgs.cs:
8072 * FormViewUpdatedEventHandler.cs:
8073 * FormViewUpdateEventArgs.cs:
8074 * FormViewUpdateEventHandler.cs: Added new delegates.
8076 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
8078 * DetailsViewCommandEventArgs.cs:
8079 * DetailsViewCommandEventHandler.cs:
8080 * DetailsViewDeletedEventArgs.cs:
8081 * DetailsViewDeletedEventHandler.cs:
8082 * DetailsViewDeleteEventArgs.cs:
8083 * DetailsViewDeleteEventHandler.cs:
8084 * DetailsViewInsertedEventArgs.cs:
8085 * DetailsViewInsertedEventHandler.cs:
8086 * DetailsViewInsertEventArgs.cs:
8087 * DetailsViewInsertEventHandler.cs:
8088 * DetailsViewModeEventArgs.cs:
8089 * DetailsViewModeEventHandler.cs:
8090 * DetailsViewPageEventArgs.cs:
8091 * DetailsViewPageEventHandler.cs:
8092 * DetailsViewUpdatedEventArgs.cs:
8093 * DetailsViewUpdatedEventHandler.cs:
8094 * DetailsViewUpdateEventArgs.cs:
8095 * DetailsViewUpdateEventHandler.cs: Added new delegates.
8097 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
8099 * AuthenticateEventArgs.cs:
8100 * AuthenticateEventHandler.cs:
8101 * CreateUserErrorEventArgs.cs:
8102 * CreateUserErrorEventHandler.cs: Added new delegates.
8104 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
8106 * IButtonControl.cs:
8107 * ICallbackContainer.cs:
8108 * ICompositeControlDesignerAccessor.cs:
8109 * IPostBackContainer.cs: Added new interfaces.
8111 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
8114 * AutoCompleteType.cs:
8115 * ContentDirection.cs:
8116 * DataControlCellType.cs:
8117 * DataControlRowState.cs:
8118 * DataControlRowType.cs:
8119 * DetailsViewMode.cs:
8120 * DynamicImageParameterMode.cs:
8123 * ImageFieldMode.cs:
8130 * SiteMapNodeItemType.cs:
8131 * SiteMapNodeType.cs:
8132 * SiteMapViewType.cs:
8134 * TableCaptionAlign.cs:
8135 * TableHeaderScope.cs:
8137 * TreeNodeSelectAction.cs:
8139 * TreeViewImageSet.cs:
8140 * WizardStepType.cs: Added enumerations
8142 2004-08-02 Duncan Mak <duncan@ximian.com>
8145 * LoginFailureAction.cs:
8146 * LoginTextLayout.cs: Added enumerations.
8148 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8150 * BaseValidator.cs: in Validate(), when the control is not visible or
8151 enabled, return inmediately after setting IsValid to true. Fixes bug
8154 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8156 * DataList.cs: s/HasChildren/HasControls()/.
8158 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8160 * DataList.cs: style.
8162 2004-07-27 Alon Gazit <along@mainsoft.com>
8163 * DataList.cs: Replaced foreach statement with for statement,
8164 in order to improve performence.
8166 2004-07-27 Alon Gazit <along@mainsoft.com>
8167 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
8169 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
8170 switch statements in order to improve performance.
8172 2004-06-10 Alon Gazit <along@mainsoft.com>
8173 * WebControl.cs: fixed LoadViewState().
8174 Creates new attributes state bag only when the current is null.
8176 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8178 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
8180 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8182 * Calendar.cs: set the title class attribute if we have it. Fixes bug
8185 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8187 * Style.cs: added SetBit.
8189 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8192 * CompareValidator.cs:
8195 * WebControl.cs: Added protected missing members and attributes.
8197 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8199 * TextBox.cs: don't save the Text if in ViewState if it's a password.
8200 Save it if the control is not visible or not enabled. Fixes bug #58497.
8202 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8204 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
8207 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
8209 * SqlDataSourceCommandEventArgs:
8210 * XmlDataSource.cs : removed temporary workarounds for CLS
8211 compliance as System.Data is now CLS compliant
8213 2004-05-06 Alon Gazit <along@mainsoft.com>
8214 * WebControl.cs: fixed LoadViewState() and SaveViewState().
8215 Before the change the Enabled property wasn't updated when a postback
8217 * ListControl.cs: fixed SelectedIndex property implementation.
8218 Prevents throwing ArgumentOutOfRangeException (that should not be
8219 thrown), when the list is empty.
8221 2004-04-28 Alon Gazit <along@mainsoft.com>
8222 * WebControl.cs: fixed LoadViewState().
8223 Always loading the saved attributes collection.
8225 2004-04-18 Alon Gazit <along@mainsoft.com>
8226 * Repeater.cs: fixed InstantiateItem() and DataSource property.
8227 The change in DataSource prevents throwing ArgumentException while
8228 setting property value to null.
8229 The change in InstantiateItem() prevents NullReferenceException.
8231 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
8233 * BaseValidator.cs: Store Display property in the correct ViewState
8234 property. Don't render anything if Display is ValidatorDisplay.None.
8236 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
8238 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
8239 since it is already a physical path. Fixes bug #55334.
8241 2004-02-13 Jackson Harper <jackson@ximian.com>
8243 * Calendar.cs: Match MS postback data. This allows sites that
8244 parse the postback data manually to work.
8246 2004-02-04 Alon Gazit <along@mainsoft.com>
8247 * EditCommandColumn.cs: fixed InitializeCell().
8248 The rendered LiteralControl should contain " " and not " ".
8250 2004-02-01 Alon Gazit <along@mainsoft.com>
8252 * DataGrid.cs: fixed a problem in the paging mechanism in the method
8254 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
8255 while clicking the "..." link in the second page.
8257 2004-01-28 Alon Gazit <along@mainsoft.com>
8259 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
8261 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8263 * Calendar.cs: when rendering days, add a LiteralControl containing the
8264 day before OnDayRender is called. Only generate the default links for
8265 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
8267 2004-01-21 Martin Baulig <martin@ximian.com>
8269 * XmlHierarchyData.cs: Make this compile with csc.
8271 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
8272 accessor since the base class doesn't have one.
8274 2004-01-18 Alon Gazit <along@mainsoft.com>
8276 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
8278 2004-01-18 Alon Gazit <along@mainsoft.com>
8280 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
8281 Property default value.
8282 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
8283 Property default value.
8285 2004-01-15 Alon Gazit <along@mainsoft.com>
8287 * RadioButtonList.cs: RepeatLayout property should affect the rendered
8290 2004-01-15 Alon Gazit <along@mainsoft.com>
8291 * FontInfo.cs: Add validation check to Size property.
8293 2004-01-07 Alon Gazit <along@mainsoft.com>
8294 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8295 merge the column's style to the cell's style and not to
8296 the item's(row) style.
8298 2004-01-04 Alon Gazit <along@mainsoft.com>
8299 * RangeValidator.cs: Fixed ControlPropertiesValid().
8301 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8303 * Xml.cs: mono-stylized and removed warnings.
8305 2004-1-1 Alon Gazit <along@mainsoft.com>
8306 * RadioButtonList.cs: update RenderItem() so that each RadioButton
8307 is enabled or disabled like the RadioButtonList.
8308 * CheckBoxList.cs: update RenderItem() so that each CheckBox
8309 is enabled or disabled like the CheckBoxList.
8311 2004-1-1 Alon Gazit <along@mainsoft.com>
8312 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8313 The Header or Footer Style shouldn't merge with the cells Style.
8315 2004-1-1 Alon Gazit <along@mainsoft.com>
8316 * DataGridColumn.cs: Headers and Footers are initialized
8317 with the relevant Style object.
8319 2003-12-30 Alon Gazit <along@mainsoft.com>
8320 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8321 DoHorizontalRendering().
8322 Current implementation produces few extra html tags.
8324 2003-12-29 Alon Gazit <along@mainsoft.com>
8326 * CheckBox.cs: change the implementation of LoadPostData.
8327 Currently, while the AutoPostBack property equals true ,
8328 it isn't possible to perform uncheck.
8330 2003-12-19 Jackson Harper <jackson@ximian.com>
8332 * TableCell.cs: Setting a cells text should clear its control
8333 collection as per la specification. This fixes bug #51825.
8335 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8337 * DataGridColumn.cs: stylized LoadViewState.
8338 * DataGridColumnCollection.cs: when TrackViewState is called, also
8339 call it on all the existing columns. Fixes bug #52334.
8341 2003-12-18 Alon Gazit <along@mainsoft.com>
8343 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
8346 2003-12-18 Alon Gazit <along@mainsoft.com>
8348 * TableStyle.cs: merge TableStyle properties when Style is empty.
8350 2003-12-16 Alon Gazit <along@mainsoft.com>
8352 * HyperLink.cs: Change Text property implementation. in MS when the Text
8353 property is set, all the controls in the HyperLink are being deleted.
8354 This fixes bug #52239.
8356 2003-12-15 Alon Gazit <along@mainsoft.com>
8357 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8358 DoHorizontalRendering().
8359 Both methods add additional empty table row in the head of each item
8360 table when the variable named isTable equals true (happenes with the
8361 default instantiation of RepeatInfo). These additional rows should be
8362 added when isTable equals false.
8363 This fixes bug #52225.
8365 2003-12-15 Alon Gazit <along@mainsoft.com>
8367 * RepeatInfo.cs: Fixed DoVerticalRendering() and
8368 DoHorizontalRendering().
8369 Both methods add to rendered Header a colspan attribute according to the
8370 rows count. after the change the colspan is added according to the
8373 2003-12-15 Alon Gazit <along@mainsoft.com>
8374 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
8375 In .NET if the checkbox is disabled ,its text appears disabled too.
8376 In Mono the text appears enabled. the fix is in Render().
8377 This fixes bug #52180.
8379 2003-12-15 Alon Gazit <along@mainsoft.com>
8380 * Repeater.cs: Change the implementation of CreateControlHierarchy().
8381 The current implementation renders extra Header and footer
8382 without Repeater.DataSource assign.
8383 This fixes bug #52179.
8385 2003-12-15 Alon Gazit <along@mainsoft.com>
8386 * DataGrid.cs: Change the implementation of the property
8387 BackImageUrl. The current implementation has no influence
8388 on the rendered Html.
8390 2003-12-15 Alon Gazit <along@mainsoft.com>
8391 * WebControl.cs: Change the implementation of the property
8392 Enabled. Before the change the WebControl also looked at
8393 parent.Enabled . fixed bug #52171.
8395 2003-12-11 Jackson Harper <jackson@ximian.com>
8397 * RepeatInfo.cs: When rendering vertically figure out how many
8398 colmns are not going to be filled in in the last row, and adjust
8399 things accordingly. This fixes bug #51863.
8401 2003-12-10 Alon Gazit <along@mainsoft.com>
8402 * TableRow.cs: Change the implementation of the properties
8403 HorizontalAlign and VerticalAlign. The current implementation
8404 has no influence on the rendered Html.
8406 2003-12-10 Alon Gazit <along@mainsoft.com>
8407 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
8408 property's set method.
8410 2003-12-09 Jackson Harper <jackson@ximian.com>
8412 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
8413 Increment counter when moving to start. Fixes bug #51926.
8415 2003-12-08 Jackson Harper <jackson@ximian.com>
8417 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
8418 Benjamin Jemlich. Fixes bug #51823.
8420 2003-12-07 Alon Gazit <along@mainsoft.com>
8421 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
8422 property is set to false. Fixes bug #58120.
8424 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8426 * TableItemStyle.cs: merge TableItemStyle properties when Style is
8427 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
8429 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8431 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
8434 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8436 * WebControl.cs: don't create the attributes when GetAttribute is
8439 2003-12-01 Jackson Harper <jackson@ximian.com>
8441 * WebControl.cs: Only allow access keys to be null or a single
8442 char. Patch by Alon Gazit <along@mainsoft.com>.
8444 2003-11-30 Jackson Harper <jackson@ximian.com>
8446 * CheckBoxList.cs: A checkbox will have null post data if it is
8447 unselected. This fixes bug #51516.
8449 2003-11-29 Jackson Harper <jackson@ximian.com>
8451 * DataGrid.cs: Display paging controls even when there is no
8452 data. Path by Mohammad DAMT. Fixes bug #51487.
8454 2003-11-29 Jackson Harper <jackson@ximian.com>
8456 * DataGrid.cs: Call TrackViewState when loading bound columns view
8457 state. So that their state is saved. This fixes bug #51424. Also
8460 2003-11-26 Jackson Harper <jackson@ximian.com>
8462 * BaseDataList.cs: Change && to || We will call that a typo so no
8463 one gets embarrased.
8465 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8467 * BaseDataList.cs: allow setting null as Datasource.
8469 * DataGrid.cs: keep autogenerated columns in the ViewState.
8471 Patches by Alon Gazit <along@mainsoft.com>.
8473 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8475 * SqlDataSource*: Implement almost everything. Data access is
8478 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8480 * Calendar.cs (SaveViewState):
8481 - We were allocating a 11 item array, we only used 10 items,
8482 so only allocate 10.
8483 - We only need to save the selected dates if there are any.
8484 * DataGrid.cs (SaveViewState):
8485 * DataGridColumn.cs (SaveViewState):
8486 * DataGridColumnCollection.cs (SaveViewState):
8487 - Only return the array if there is anything in it
8488 * Style.cs (SaveViewState):
8489 - Only save the bits if there were changes.
8490 * WebControl.cs (SaveViewState), (LoadViewState):
8491 - Don't save Enabled into the viewstate here, we already
8492 do it in the property. This just caused *EVERY* control
8493 to have a non-null state, taking up lots of extra room
8495 - The style will always be created with this control's
8496 viewstate, so the style will always return null for the
8497 viewstate. As such, we do not need to store it. We can
8498 also reduce the triplet to a pair because of this.
8500 2003-11-22 Jackson Harper <jackson@ximian.com>
8502 * ValidationSummary.cs: Fix number of messages and message array computation.
8504 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8506 * Xml.cs: Corrected attribute
8507 * XmlBuilder.cs: Added
8509 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8511 * Xml.cs: class status based fixes.
8513 2003-11-19 Jackson Harper <jackson@ximian.com>
8515 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
8517 2003-11-19 Jackson Harper <jackson@ximian.com>
8519 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
8520 teh applications base directory. This fixes bug #51092.
8522 2003-11-18 Todd Berman <tberman@gentoo.org>
8524 * ControlParameter.cs:
8525 * CookieParameter.cs:
8527 * QueryStringParameter.cs:
8528 * SessionParameter.cs: added public .ctor ()
8529 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
8530 and handling, as well as internal ParameterValue for easy access.
8531 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
8532 * ParameterCollection.cs: implementation redux.
8534 2003-11-18 Todd Berman <tberman@gentoo.org>
8536 * ParameterCollection.cs: Implemented
8537 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
8538 ToString () now matches asp.net
8540 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
8542 * ControlParameter.cs:
8543 * CookieParameter.cs:
8546 * QueryStringParameter.cs: New v2 files. Mostly
8547 implemented, still need a few methods.
8549 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8551 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
8552 Gazit <along@mainsoft.com>.
8554 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8556 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
8557 Patch by Alon Gazit <along@mainsoft.com>.
8559 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8561 * DataBoundControl.cs: Implement
8562 * ListControl.cs: inherit from the above.
8563 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
8565 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8570 * Repeater.cs: add v2 databinding stuff
8571 * XmlDataSource.cs: make it load the xml.
8573 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8576 * XmlDataSourceView.cs:
8577 * XmlHierarchicalDataSourceView.cs:
8578 * XmlHierarchicalEnumerable.cs:
8579 * XmlHierarchyData.cs: Implement
8581 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
8583 * SiteMapDataSourceView.cs: Implement.
8585 2003-11-07 Jackson Harper <jackson@ximian.com>
8587 * ImageButton.cs: This is a workaround for bug #49819. It appears
8588 that the .x and .y values are not being posted, and only the x
8589 value is being posted with the ctrl's id as the key.
8591 2003-11-07 Jackson Harper <jackson@ximian.com>
8593 * DataGrid.cs (CreateControlHierarchy): Current page index is
8594 alolowed to equal page count. This prevents an exception being
8595 thrown when both are zero.
8597 2003-11-06 Jackson Harper <jackson@ximian.com>
8599 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
8600 * BaseValidator.cs: Disable base control so the isValid flag is
8603 2003-11-03 Jackson Harper <jackson@ximian.com>
8605 * TemplateColumn.cs: Use the same renderer for selected items as
8606 normal items. This fixes bug #49744.
8608 2003-11-03 Jackson Harper <jackson@ximian.com>
8611 * WebControl.cs: Fix argument out of range exceptions on
8612 properties. Patch by Yaron Shkop.
8614 2003-11-03 Jackson Harper <jackson@ximian.com>
8616 * TemplateColumn.cs: If the item is selected but there is no
8617 editItemTemplate use the itemTemplate. This matches MS behvoir.
8619 2003-11-03 Jackson Harper <jackson@ximian.com>
8621 * Repeater.cs: Always set alternating items to the AlternatingItem
8622 type, when instantiating alternating items use the itemTemplate if
8623 the alternatingItem template is null. This matches MS behavoir and
8626 2003-11-03 Jackson Harper <jackson@ximian.com>
8628 * DataGridPagerStyle.cs: Name of view state attribute is
8629 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
8630 visibility is changed. Patch by Yaron Shkop.
8632 2003-11-03 Jackson Harper <jackson@ximian.com>
8634 * RepeatInfo.cs: When doing horizontal rendering use the repeat
8635 columns as the number of columns in a row. This fixes bug #49016.
8637 2003-11-03 Jackson Harper <jackson@ximian.com>
8639 * PagedDataSource.cs (PageCount): Return page count of 1 if there
8640 paging is disabled. Patch by Yaron Shkop.
8641 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
8642 * TableStyle.cs (AddAttributesToRender): Render border style
8643 collapse. Patch by Yaron Shkop.
8645 * TableItemStyle.cs:
8646 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
8647 the wrong type. Patch by Yaron Shkop.
8649 2003-11-03 Jackson Harper <jackson@ximian.com>
8651 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
8653 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
8656 * BulletedListDisplayMode.cs:
8657 * BulletedListEventHandler.cs:
8659 * BulletedListEventArgs.cs: V2 controls (yay!)
8661 2003-10-30 Jackson Harper <jackson@ximian.com>
8663 * Repeater.cs: Throw an exception if the datasource is set to
8664 something that does not implement either IListSource or
8665 IEnumerable. This fixes bug #50155.
8667 2003-10-30 Jackson Harper <jackson@ximian.com>
8669 * DataGridPagerStyle.cs: Do not allow page button counts to be set
8670 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
8672 2003-10-29 Jackson Harper <jackson@ximian.com>
8674 * ButtonColumn.cs: Format string and text to format were
8675 inversed. This fixes bug #50171.
8677 2003-10-29 Jackson Harper <jackson@ximian.com>
8679 * DataGridColumn.cs: If an item style is set apply it to the
8680 cell. This fixes bug #50173.
8682 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
8684 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
8685 old debugging value.
8687 2003-10-29 Jackson Harper <jackson@ximian.com>
8689 * PagedDataSource.cs:
8690 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
8691 end of the last page. Fixes bug #5085.
8693 2003-10-29 Jackson Harper <jackson@ximian.com>
8695 * CheckBox.cs: Do not change the status of a checkbox when there
8696 is no post data. This fixes bug #49091.
8697 * CheckBoxList.cs: Do not change the status of the checkboxes when
8698 there is no post data. This fixes bug #49093.
8700 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
8702 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
8703 RadioButton. Fixes #50132
8705 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8707 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
8708 paging from working. Fixes #48814.
8710 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8712 * DataGrid.cs: A few typos kept us from viewing datagrids
8713 that were based on customized collections.
8715 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
8717 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
8719 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
8721 * Calendar.cs: render the next month button so that aligns to the
8724 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8726 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
8727 was just changing && by || after the first Match.
8729 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8731 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
8732 Patch by Yaron Shkop.
8734 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8736 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
8737 that fixes bug #49744. Now the selection doesn't lose its data.
8739 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8741 * EditCommandColumn.cs: Implement; fix #49736
8743 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8745 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
8746 the forground color. bug #49738
8748 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8750 * Calendar.cs: fixed bug #49727.
8752 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
8754 * TableStyle.cs: fix #49740.
8756 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8758 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
8759 * ValidationSummary.cs: fixes bug #49669.
8761 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8763 * Calendar.cs: apply the calendar style to the new Table, not to itself.
8766 * CheckBox.cs: render the hidden fields if AutoPostBack.
8768 * Style.cs: don't render empty width/height. Small improvement in
8771 * Table.cs: fixed condition for border width.
8774 (CopyFrom): always call the base class to copy other attributes. Fixes
8775 bug #49408. Don't render empty 'rules' attribute.
8777 * WebControl.cs: track viewstate when enabled. Don't overwrite source
8778 control attributes in CopyBaseAttributes.
8780 * ChangeLog: fixed dates.
8783 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8785 * WebControl.cs : Attributes { get; } - Is Complete.
8786 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
8789 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8791 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
8792 : RegisterValidatorCommonScript()
8793 - More code, I need HELP!
8794 : RegisterValidatorDeclaration()
8795 - More code, I need HELP!
8797 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8799 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
8802 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8804 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
8805 ClearViewState only called when no items.
8807 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8809 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
8811 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8813 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
8815 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8817 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
8820 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8822 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
8825 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8827 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
8828 * WebControl.cs: fixed Enabled property and save it in ViewState.
8832 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8834 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
8836 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8838 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
8841 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8843 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
8844 <rich@velvetsea.net>.
8846 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8848 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
8849 Skripsky <juraj@hotfeet.ch>
8851 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8853 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
8854 fixes rendering of the end tag.
8856 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8858 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
8859 (Yaron Shkop). Closes bug #48060.
8861 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8863 * CheckBox.cs: in LoadPostData, only return
8864 true when the new data is different from the one we had. Fixed
8865 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
8868 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8870 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
8872 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8874 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
8875 of Enable in ViewState. Fixes bug #47865.
8877 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8879 * Style.cs: the MARKED bit is not send set in ViewState unless something
8880 is changed. Fixed TrackViewState condition.
8882 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
8883 because it uses the same ViewState as the control. Fixes bug #47725.
8885 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8887 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
8888 that fixes databinding when only DataTextField or DataNavigateUrlField
8891 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8893 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
8894 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
8895 values before assigning a data source and other issues.
8897 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8899 * CheckBox.cs: save viewstate when needed and correctly handle post
8900 data. Fixes bug #47462.
8902 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8904 * ButtonColumn.cs: Removed additional attributes
8905 * CheckBox.cs: Added attribute
8906 * DataGrid.cs: Added attributes
8907 * HyperLinkColumn.cs: Changed attributes, added lamespec
8908 * Style.cs: Removed attributes
8909 * TextBox.cs: Added/ removed attributes
8911 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8913 * AdRotator.cs: Added all attributes
8914 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
8915 * BaseValidator.cs: Added all attributes
8916 * BoundColumn.cs: Added all attributes
8917 * Button.cs: Added all attributes
8918 * ButtonColumn.cs: Added all attributes, added lamespec
8919 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
8920 * CheckBox.cs: Added all attributes
8921 * CheckBoxList.cs: Added all attributes
8922 * CompareValidator.cs: Added all attributes
8923 * CustomValidator.cs: Added all attributes
8924 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
8925 * DataGridColumn.cs: Added all attributes
8926 * DataGridColumnCollection.cs: Added all attributes
8927 * DataGridPagerStyle.cs: Added all attributes
8928 * DataGridTableInternal.cs: Made DataGridTableInternal internal
8929 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
8930 * DropDownList.cs: Added all attributes
8931 * FontInfo.cs: Added all attributes
8932 * HyperLink.cs: Added all attributes
8933 * HyperLinkColumn.cs: Added all attributes
8934 * Image.cs: Added all attributes
8935 * ImageButton.cs: Added all attributes
8936 * Label.cs: Added all attributes
8937 * LinkButton.cs: Added all attributes
8938 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
8939 * ListControl.cs: Added all attributes
8940 * ListItem.cs: Added all attributes
8941 * ListItemCollection.cs: Added attribute
8942 * Literal.cs: Added all attributes
8943 * Panel.cs: Added all attributes
8944 * RadioButton.cs: Added all attributes
8945 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
8946 * RangeValidator.cs: Added all attributes
8947 * RegularExpressionValidator.cs: Added all attributes
8948 * Repeater.cs: Added all attributes
8950 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8952 * RequiredFieldValidator.cs: Added all attributes
8953 * Style.cs: Added all attributes
8954 * Table.cs: Added all attributes
8955 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
8956 * TableCellCollection.cs: Added attribute
8957 * TableRow.cs: Added all attributes
8958 * TableRowCollection: Added attribute
8959 * TableStyle.cs: Added all attributes, improved error messages
8960 * TemplateColumn.cs: Added all attributes
8961 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
8962 * ValidationSummary.cs: Added all attributes
8963 * WebControl.cs: Added all attributes
8964 * Xml.cs: Added all attributes
8966 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8968 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
8969 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
8971 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8973 * CheckBoxList.cs: fixes bug reported on the list about the state of
8974 the CheckButtons not being preserved across posts.
8976 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8978 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
8980 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8982 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
8984 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8986 * ListControl.cs: save viewstate data when any of the 3 values is not
8987 null. Fixed condition to save selection indices. Closes bug #45493.
8989 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8991 * DataGrid.cs: fixed bug #43823.
8993 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8995 * DataGrid.cs: fixed delegate type for SortCommand.
8997 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8999 * DataGridColumnCollection.cs: added missing return in RemoveAt.
9001 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9003 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
9004 Don't save ViewState is the number of columns is 0.
9006 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9008 * DataGrid.cs: get the right item Type for the property we're reading
9009 fromt the data source.
9011 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9014 * TextBox.cs: added control builder attribute.
9016 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9018 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
9020 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
9022 * Unit.cs: Called the correct method to get the Numeric locale for the
9025 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9027 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
9028 correctly the header of the column.
9030 * DataGridTableInternal.cs: don't assign a default ID to this control.
9032 * LinkButton.cs: raise bubble event in OnCommand.
9034 * TableCellCollection.cs: fixed the index returned by Add.
9036 * TableRowCollection.cs: ditto.
9038 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9040 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
9042 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9044 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
9045 for reporting the bug and providing the fix.
9047 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9049 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
9050 CreateColumnSet. Set the owner of the column when auto generated.
9051 In PrepareControlHierarchyForItem, fixed for loop bound.
9053 * LinkButtonInternal.cs: fixed infinite recursion bug.
9057 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
9059 * Xml.cs: a few fixes.
9061 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9063 * DataList.cs: handle the exception when adding new keys to
9066 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9068 * BaseDataList.cs: what can I say for this one? I spent so many time
9069 until I finally found this that I'm gonna miss this f....g bug... ;-).
9070 Farewell. Now we can get events from image buttons inside Data*.
9072 * DataList.cs: now the value stored in ViewState for item count is
9075 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9077 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
9079 * DataGridColumn.cs: added SetOwner method.
9080 * DataGridColumnCollection.cs: set the owner of the column when added.
9082 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9084 * BoundColumn.cs: typo.
9085 * DataGrid.cs: use 'as' instead of casting. Typo.
9086 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
9089 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9091 * HyperLink.cs: fixes bug #36336.
9093 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9095 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
9097 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9099 * BaseValidator.cs: return an empty string in GetControlValidationValue
9100 when GetValue returned null.
9102 * CompareValidator.cs: fixed EvaluateIsValid.
9104 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
9106 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9108 * Xml.cs: use MapPathSecure to get the path of the document.
9110 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9112 * DataList.cs: fixed header & footer.
9114 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9116 * DataList.cs: for header and footer don't use data source.
9117 Instantiate in the DataListItem, not in the DataList.
9118 databind-template.aspx works now.
9120 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9123 (Render): call RenderContents (), not base.RenderContents ().
9125 * DataList.cs: style.
9127 But I still haven't found what i'm looking for....
9129 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9131 * Calendar.cs: fixed loading/saving selected dates.
9132 * SelectedDatesCollection.cs: added internal function to get the
9133 underlying ArrayList.
9135 Calendar navigation works again. Selecting dates too.
9137 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9139 * DataList.cs: added a few attributes and fixed infinite recursion.
9141 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9143 * ListItemCollection.cs: fixed LoadViewState.
9145 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9147 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
9148 Commented out some code until it works.
9150 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
9152 * BaseCompareValidator.cs - Fixed operator bug in
9153 Compare(string, string, ...)
9154 * CompareValidator.cs - EvaluateIsValid() : Implemented.
9156 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9158 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
9160 - All Properties : Now make use of ViewState.
9162 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9164 * BaseValidator.cs - Uncomment NotImplementedException.
9166 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9168 * BaseValidator.cs - Minor changes in TODO comments.
9170 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9172 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
9173 the NotImplementedException being thrown.
9174 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
9175 * DataGridLinkButton.cs - Added new class (private) : Implemented.
9176 * DataGrid.cs - InitializePager(DataGridItem, int,
9177 PagedDataSource) : Implemented.
9179 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9181 * DataList.cs - PrepareControlHierarchy() : Implemented.
9183 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9185 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
9186 - GetItem(ListItemType, int) : Removed TODO.
9187 - CreateControlHierarchy(bool) : Implemented.
9188 - CreateItem(int, ListItemType) : Implemented.
9189 - CreateItem(int, ListItemType,
9190 bool, object) : Implemented.
9191 - InitializeItem(DataItem) : Implemented.
9192 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
9193 The ViewState["_!ItemCount"],
9194 ViewState["_!DataSource_ItemCount"]
9195 are shared by DataList and DataGrid, and hence
9196 should share the same name.
9197 - ResolveDataSource(object, string)
9198 : Removed. Use System.Web.UI.Utils.DataSourceHelper
9199 ::GetResolvedDataSource(object, string).
9202 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9204 * DataGrid.cs: fixed compilation
9206 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
9208 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
9209 * DataGrid.cs - CreateControlHierarchy(bool)
9210 : working towards completion.
9211 - ResolveDataSource(object, string)
9212 : stubbed new method
9214 : stubbed new method
9215 Well. It's almost done.
9216 * DataGridTableInternal.cs
9217 - Added new internal class.
9219 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
9221 * DataSourceInternal.cs - Added new class (internal).
9223 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9226 * HorizontalAlign.cs:
9228 * VerticalAlign.cs: fixes based on class status page.
9230 * HorizontalAlignConverter.cs: implemented.
9231 * VerticalAlignConverter.cs: implemented.
9233 * FontUnitConverter.cs: implemented GetStandardValues ().
9235 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
9237 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9239 * DataGrid.cs - AutoCreateColumns: Bug fixes.
9241 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9243 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
9245 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9247 * DataGrid.cs - Working on the undocumented protected
9248 method CreateColumnSet. AutoCreateColumns method
9249 stubbed. Left CreateControlHierarchy for the time
9250 being, looks like I'm going insane. ;-)
9252 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9254 * Button.cs - Steffen's OnCommand bug fix.
9256 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
9258 * DataGrid.cs - Added protected method (skeleton)
9259 CreateColumnSet(PagedDataSource, bool)
9260 Still trying to know how will it be used
9263 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9265 * PagedDataSource.cs: fixed compilation.
9267 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
9269 * DataGrid.cs - Added private method
9270 CreatePagedDataSource
9272 CreateControlHierarchy(bool)
9273 * PagedDataSource.cs - Bug fixed.
9274 CurrentPageIndex is writable.
9276 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9278 * DataGrid.cs: fixed typo.
9279 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
9281 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9283 * DataGridColumn.cs - Added internal methods to get the
9284 various styles (needed in DataGrid.cs)
9285 * DataGrid.cs - Completed the method
9286 PrepareControlHierarchy()
9288 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9290 * DataGrid.cs - Wokring on PrepareControlHierarchy()
9291 - Added private method
9292 PrepareControlHierarchyForItem()
9294 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
9296 * DataGrid.cs - Completed method
9297 OnBubbleEvent(object, EventArgs)
9299 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9301 * Xml.cs: implemented document/transform load.
9303 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9305 * Calendar.cs: added myself to the list of authors.
9306 * DropDownList.cs: fixed a few properties.
9307 * ListControl.cs: fixed SelectedIndex.
9309 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9311 * Calendar.cs: lots of fixes. Render days. Still left to persist
9312 selected days when changing month.
9314 * Unit.cs: fixed Percentage and Pixel.
9316 * WebControl.cs: a few properties are now using ControlStyle instead
9317 of ViewState to persist.
9319 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9321 * BaseValidator.cs: it works now.
9322 * DataGridColumn.cs: added attribute and made it abstract.
9323 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
9325 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9327 * TextBox.cs: default for Wrap is true.
9328 (OnPreRender): don't save Text if there are no listeners on TextChanged.
9330 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9336 (LoadViewState): fixed.
9338 * ListItemCollection.cs:
9339 (TrackViewState): use items instead of 'this' in foreach.
9342 (LoadViewState): more checking of parameters.
9344 * WebControl.cs: implemented LoadViewState and SaveViewState.
9347 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9349 * ListItem.cs: there was no code to unset the flags!!!
9351 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9353 * FontUnit.cs: use a hashtable for mapping size name to value.
9354 * HyperLink.cs: fixed a bug and a typo.
9355 * Unit.cs: some fixes to internal constructor.
9357 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9359 * ListControl.cs: fixed a couple of range checks.
9360 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
9361 an HtmlForm (p.e., Label).
9363 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9373 * HyperLinkColumn.cs:
9382 * RadioButtonList.cs:
9386 * WebControl.cs: removed attributes added by mistake (i used
9387 GetCustomAttributes (true), d'oh!).
9389 * DataListItem.cs: implemented RenderItem.
9391 * Repeater.cs: implemented CreateItem and InitializeItem.
9393 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9395 * BaseDataList.cs: a couple of fiex and added attributes.
9396 * DataGrid.cs: little fixes.
9398 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9407 * RadioButtonList.cs:
9410 * Xml.cs: forgot to add using System.ComponentModel.
9412 * BaseValidator.cs: use explicitly
9413 System.ComponentModel.AttributeCollection as there is another class
9414 with the same name under System.Web.UI.
9416 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9435 * RadioButtonList.cs:
9440 * Xml.cs: added/fixed all attributes used by xsp.
9442 * BaseValidator.cs: some fixes.
9444 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9447 (AddAttributesToRender): correctly default to border=1.
9449 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9452 (LoadAdFile): make the dictionary null after every iteration.
9456 * ListItem.cs: fixed warnings.
9458 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
9460 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
9462 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9464 * DataGridColumn.cs:
9465 * DataGridPagerStyle.cs:
9472 * ListItemCollection.cs:
9474 * ServerValidateEventArgs.cs:
9478 * Xml.cs: more class status page based changes.
9480 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9483 (.ctor): fixed to render the correct tag.
9484 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
9486 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9489 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
9490 WebControl derived classes should be rendered inside a HtmlForm.
9492 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9494 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
9497 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9499 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9500 * RepeatInfo.cs: implemented DoHorizontalRendering.
9502 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9504 * System.Web.UI.WebControls/Repeater.cs:
9506 (OnDataBinding): fixed stack overflow.
9508 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9510 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9511 * RepeatInfo.cs: implemented DoHorizontalRendering.
9513 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9516 (CopyBaseAttributes): copy Attributes and don't throw exception.
9518 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9520 * ListBox.cs: mono-stylized.
9521 (AddAttributesToRender): call parent class method.
9523 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9525 * Style.cs: fixed IsEmpty and Width.
9527 * Table.cs: mono-stylized.
9528 (TableRowControlCollection.AddAt): fixed.
9529 (AddAttributesToRender): fixed.
9531 * TableCell.cs: mono-stylized.
9532 (.ctor): use PreventAutoID.
9533 (AddAttributesToRender): fixed.
9534 (AddParsedSubObject): fixed.
9536 * TableRow.cs: mono-stylized. Added
9537 ParseChildren attribute.
9540 (get_GridLine): fixed.
9542 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9544 * Panel.cs: fixed stack overflow.
9545 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
9546 and SingleConverter.
9548 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9550 * RadioButton.cs: mono-stylized and some little fixes.
9552 * TextBox.cs: mono-stylized.
9553 (MaxLength): fixed typo.
9555 (AddAttributesToRender): don't render the text between the tags for
9556 SingleLine, use value attribute for it. Don't render the text for
9559 (OnPreRender): don't throw exception and call base.OnPreRender.
9561 (Render): for MultiLine, render the text between the opening and
9562 closing tags encoded as HTML.
9564 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9567 (AddAttributesToRender): fixer another stack overflow.
9570 (TagName): modified to use TagKey instead of tagKey as the property
9573 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9575 * LinkButton.cs: mono-stylized.
9576 (AddParsedSubObject):
9577 (RenderControls): little fixes.
9580 (AddAttributesToRender): fixed usage of IEnumerator.
9582 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9584 * Literal.cs: beautified.
9586 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9588 * Label.cs: beautified and fixed a couple of 'classic' bugs.
9590 * WebControl.cs: use Span as default tag when no other provided in
9591 constructor. That is what MS renders.
9593 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9596 (AddAttributesToRender): fixed (classic) stack overflow.
9598 * CheckBox.cs: mono-stylized.
9599 (AutoPostBack): fixed stack overflow.
9600 (Render): fixed alignment issues. Also set the For attribute always
9603 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9605 * AdRotator.cs: GetData does not work as it should, but now it returns
9606 useful data (only the first ad in the file). Set the NavigateUrl
9607 property in the hyperlink if available.
9609 * HyperLink.cs: fixed constructor and a couple of stack overflows.
9611 * Image.cs: added an attribute and fixed stack overflow.
9614 (RenderBeginTag): fixed.
9615 (TagName): don't call Enum.IsDefined twice.
9617 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9619 * WebControl.cs: added attributes PersistChildrenAttribute and
9620 ParseChildrenAttribute.
9622 2002-05-24 Duncan Mak <duncan@ximian.com>
9624 * DataGridItem.cs (SetItemType): Changed function signature to
9627 * ListItemCollection.cs (this): Changes the visibility level of
9630 * Repeater.cs (OnItemCommand):
9632 (OnItemDataBound): Added necessary casts.
9634 2002-05-07 Duncan Mak <duncan@ximian.com>
9636 * Button.cs (AddAttributesToRender):
9637 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
9638 GetClientValidatedEvent method.
9640 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
9642 * Removed extra methods, corrected access modifiers to several
9645 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
9647 * <SeveralFiles>.cs - Added some attributes
9648 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
9649 methods. Will complete them later. Right now, busy with
9650 the attributes part.
9651 * RepeaterItem.cs - Completed.
9653 Oh God! Mercy! I will die applying attributes. I look at the missing
9654 part in the class-status - daemon! Kyrie eleison!
9656 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
9660 * AdRotator.cs - Added definition for Font.
9661 * BaseCompareValidator.cs - Added definition for Controls.
9662 * Calendar.cs - SelectMonthText definition corrected.
9663 * DataList.cs - Added definition for SeparatorTemplate.
9664 * BorderStyle.cs - Namespace correction. It belongs not to UI,
9665 but to UI.WebControls.
9667 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
9669 Finally, I have made it. Today I did a second build for the
9670 System.Web assembly. It compiled 195 classes today.
9671 I am waiting eagerly for the runtime to come up so that the objects
9672 may be tested to their last levels. Several of the methods are still
9673 under the tag of "TODO" throwing NotImplementedException. Well, I
9674 hope to remove them soon, but how far is this soon - even I don't
9675 know, though I am happy to make the build a success even before
9676 the vacations to come.
9678 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
9680 Yesterday and today I tried to do some building of the aseembly,
9681 but was dumped with uncoutably infinite errors. ;-)
9682 I have put the copies of the recent errors on my home page, want
9683 to have a look at them? See:
9684 http://mastergaurav.virtualave.net/mono/
9685 I don't know what to do with these errors. Oh! The buggy me! How
9686 will I overcome myself. Hopefully, by when my vacations over, I
9687 should have made a repository where the build will not fail.
9689 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
9691 I am now going to do a build that will include the
9692 System.Web.UI.WebControls namespace. Hoping that I will make it
9693 soon. My exams are coming near and I have to pack up soon.
9696 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
9699 And with this, ie, today's work, all the objects mentioned in the
9700 namespace appear in the implementation. But it may not be worth
9701 trying to go for a build because of dependence of several of the
9702 internal methods that may clash with already available assembly
9705 Also, the classes lack possible attributes, like those informing
9706 about child-controls etc. But I have to first create the attribute
9707 classes before I attach the attributes to the classes.
9709 * CustomValidator.cs - Completed. In process realized that
9710 I have to complete / rejuvinate BaseValidator class.
9711 * BaseValidator.cs - Complete rejuvination. Completed 80%
9712 of the job. All that is left is Render(HtmlTextWriter),
9713 DetermineRenderUplevel(), RegisterValidatorCommonScript()
9714 RegisterValidatorDeclaration()
9715 * DataGridPagerStyle.cs - Completed. That adds one more missle
9717 * DataKeyCollection.cs - Completed. Petty small.
9718 * Repeater.cs - Work started off. This is a quite
9720 * DataGridItemEventArgs.cs,
9721 * DataGridShortCommandEventArgs.cs,
9722 * DataListItemEventArgs.cs,
9723 * MonthChangedEventArgs.cs,
9724 * RepeaterItemEventArgs.cs,
9725 * ServerValidateEventArgs.cs,
9726 * DataGridPageChangedEventArgs.cs
9727 - Damn, I marked them "*", while they
9729 * Repeater.cs - Done all except for an undocumented
9730 method CreateControlHierarchy(bool). Though the method
9731 is quite clear by its name, but it will take some time
9732 for me to come with some material to flush in.
9734 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
9736 * SelectedDatesCollection.cs - Completed.
9737 * PagedDataSource.cs - Completed. Pathetically nice class.
9738 * RegularExpressionValidator.cs
9739 - Completed. Ridiculously small and
9740 annoyinglyc crazy-driving class, basically the method
9742 * RangeValidator.cs - Completed.
9743 * DataGridColumn.cs - Completed.
9744 * EditCommandColumn.cs - All is complete except for the
9745 InitializeCell(TableCell, int, ListItemType) method.
9746 * DataListItem.cs - All done except for a longish method
9747 RenderItem(HtmlTextWriter, bool, bool)
9749 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
9751 * RepeaterItemCollection.cs - Completed.
9752 I love *Collection classes. I am planning to make a
9753 program that will generate a *Collection class. It's so
9754 simple and the same. ;-)
9755 * DataGridColumnCollection.cs - Completed.
9756 ... except probably for *ColumnCollection classes, where
9757 you have to put in some more effort. Still, these class
9758 generation can be automated.
9759 * DataListItemCollection.cs - Completed.
9760 See, how easily, in less than a quarter of a minute, I
9761 completed this class - manually. Copy-Paste/Cut-Replace.
9763 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
9765 * DataGrid.cs - Following methods implemented:
9766 TrackViewState(), LoadViewState(object), SaveViewState(),
9767 On* -- The event raisers.
9768 OnBubbleEvent(object, EventArgs) is still incomplete.
9769 * DataGridItem.cs - Initial Implementation
9770 * DataGridItemCollection.cs - Completed.
9772 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
9774 * DataGrid.cs - Initial Implementation. Worked
9775 primarily with some properties.
9777 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
9779 * ListBox.cs - Completed. Implemented
9780 LoadPostData(string, NameValueCollection)
9781 * RequiredFieldValidator.cs - Completed. Pretty simple class.
9783 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
9785 * ListBox.cs - Implemented the following:
9786 RaisePostDataChangedEvent()
9788 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
9790 * ListBox.cs - Supports the following properties:
9791 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
9794 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
9795 RenderContents(HtmlTextWriter)
9798 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
9800 * TargetConverter.cs - Completed
9801 * TemplateColumn.cs - Completed
9802 * DataList.cs - Corrected the get-er methods for the
9803 *Style objects. Corrected the get/set-er methods for ViewState
9805 Addded support for properties:
9806 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
9807 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
9808 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
9809 SeparatorStyle, SeparatorItemTemplate.
9811 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
9812 ItemCreated, ItemDataBound, UpdateCommand.
9814 CreateControlStyle(), LoadViewState(object),
9815 SaveViewState(), TrackViewState
9817 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
9818 OnEditCommand, OnItemCommand, OnItemCreated,
9819 OnItemDataBound, OnUpdateCommand
9820 Added dummy methods for some undocumented methods:
9821 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
9822 CreateItem(int, ListItemType, bool, object),
9823 PrepareControlHierarchy(), InitializeItem(DataListItem)
9824 * ListBox.cs - Started working.
9828 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
9830 * RepeaterInfo.cs - Initial Implementation. Done all
9831 except for RepeatDirection.Vertical
9832 * TableStyle.cs - Completed
9834 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
9836 * DropDownList.cs - Completed
9837 * ListItemCollection.cs - Added method FindByValueInternal to
9838 assist in the derived classes.
9839 Discovered bug in FindByValue. Removed
9840 * UnitConverter.cs - Completed
9841 * PlaceHolder.cs - What can be simpler than this?
9842 * PlaceHolderControlBuilder.cs
9843 - Uh! Damn cool one.
9844 * RadioButtonList.cs - Initial Implementation. All is done
9845 except for the implementation of
9846 method IRepeatInfoUser.RenderItem(...)
9847 * ValidatedControlConverter.cs
9848 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
9849 * ValidationSummary.cs - Initial Implementation.
9850 * WebColorConverter.cs - Initial Implementation
9852 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9854 * FontNamesConverter.cs - Completed
9855 * FontUnitConverter.cs - Partial Implementation
9856 * ListItemControlBuilder.cs - Completed
9858 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9860 * TextBox.cs - All done except *Render* methods
9861 * TextBoxControlBuilder.cs - Completed
9862 * Xml.cs - Partial Implementation
9864 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
9866 * RadioButton.cs - Completed
9867 * TextBox.cs - Partial Implementation
9869 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
9871 * Panel.cs - Completed
9872 * TableItemStyle.cs - Completed
9874 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
9876 * TableCellCollection.cs - Completed
9877 * TableRowCollection.cs - Completed
9878 * TableHeaderCell.cs - Completed
9879 * TableRow.cs - Completed
9881 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
9883 * TableCellControlBuilder.cs - Completed
9884 * Table.cs - Completed
9885 * TableCell.cs - Completed
9887 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
9889 * CheckBoxList.cs - Completed
9890 * ButtonColumn.cs - Completed
9891 * Button.cs - Completed
9893 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
9895 * HyperLink.cs - Completed
9896 * Image.cs - Completed
9897 * ImageButton.cs - Completed
9898 * Label.cs - Completed
9899 * LabelControlBuilder.cs - Completed
9900 * LinkButton.cs - Completed
9901 * LinkButtonControlBuilder.cs - Completed
9902 * Literal.cs - Completed
9903 * LieteralControlBuilder.cs - Completed
9904 * FontUnit.cs - Completed
9907 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
9909 * Calendar.cs - Completed the functions of Render*,
9910 ViewStates (Track/View/Save),
9912 Left: RenderAllDays (partially)
9914 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
9916 * Calendar.cs - Added some more functions
9917 * Style.cs - Completed
9918 * ListItem.cs - Completed
9919 * ListItemCollection.cs - Completed
9921 Made the first successful build of System.Web.dll that included
9922 System.Web.UI.WebControls!
9924 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
9926 FontInfo.cs - Complete revamp. Completed
9928 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
9930 ListItemCollection.cs - Completed
9931 ListItem.cs - Initial Implementation
9932 Style.cs - Initial Implementation
9934 Right now I am in a total mood to do a successful build. Creating so many
9935 classes, completing classes in System.Web System.Web.UI namespaces.
9937 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
9939 TODO - Properly added
9940 CheckBox.cs - Completed
9941 BaseDataList.cs - Completed
9942 DayRenderEventArgs.cs - Completed
9943 RepeaterItem.cs - Initial implementation
9945 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
9947 BaseCompareValidator.cs - Completed
9948 AdRotator.cs - Completed
9950 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
9952 CommandEventArgs.cs - Completed
9953 DataGridCommandEventArgs.cs - Completed
9954 RepeaterCommandEventArgs.cs - Completed
9955 DataListCommandEventArgs.cs - Completed
9956 CompareValidator.cs - Partial Implementation
9958 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
9960 CheckBoxList.cs - Partial Implementation.
9963 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
9965 ListControl.cs - Completed
9967 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
9969 CheckBox.cs - Completed
9970 ListControl.cs - Initial Implementation
9971 CheckBoxList.cs - Started with it, but first needed
9972 ListControl. Left it.
9974 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
9976 CalendarDay.cs - Making a note that this
9977 has been implemented
9978 Calendar.cs - Making a note that have made some changes.
9979 Unimplmented functions throw
9980 NotImplementedException
9981 CheckBox.cs - Can now "Render" and "LoadPostData"
9984 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
9985 WebControl.cs - Total Revamp, Partial Implementation
9986 AdRotator.cs - Able to load files
9987 AdCreatedEventArgs.cs - Implemented
9989 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
9990 Calendar.cs - Initial Implementation
9991 ButtonColumn.cs - Initial Implementation
9992 Button.cs - Initial Implementation
9993 BoundColumn.cs - Initial Implementation
9994 BaseCompareValidator.cs - Minor Changes
9995 DataList.cs, BaseValidator.cs, BaseDataList.cs
9996 - Added more functions, other changes
9998 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
9999 WebControl.cs - Initial Implementation
10000 DataList.cs - Initial Implementation
10001 BaseValidator.cs - Initial Implementation
10002 BaseDataList.cs - Initial Implementation
10004 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
10006 AdCreatedEventArgs.cs - Initial Implementation
10007 AdCratedEventHandler.cs - Implemented
10008 AdRotator.cs - Initial Implementation
10009 BorderStyle.cs - Implemented
10010 ButtonColumnStyle.cs - Implemented
10011 CalendarSelectionMode.cs - Implemented
10012 DayNameFormat.cs - Implemented
10013 FirstDayOfWeek - Implemented
10014 FontInfo.cs - Partial Implementation
10015 FontSize.cs - Implemented
10016 GridLines.cs - Implemented
10017 HorizontalAlign.cs - Implemented
10018 HyperLink.cs - Initial Implementation
10019 ImageAlign.cs - Implemented
10020 IRepeatInfoUser.cs - Implemented
10021 ListItemType.cs - Implemented
10022 ListSelectionMode.cs - Implemented
10023 NextPrevFormat.cs - Implemented
10024 PagerMode.cs - Implemented
10025 PagerPosition.cs - Implemented
10026 RepeatDirection.cs - Implemented
10027 RepeatLayout.cs - Implemented
10028 TextAlign.cs - Implemented
10029 TextBoxMode.cs - Implemented
10030 TitleFormat.cs - Implemented
10031 UnitType.cs - Implemented
10032 ValidationCompareOperator.cs
10034 ValidationDataType.cs - Implemented
10035 ValidationSummaryDisplayMode.cs
10037 ValidatorDisplay.cs - Implemented
10038 VerticalAlign.cs - Implemented
10042 i/ File Created 2001-11-13