1 2010-07-23 Marek Habersack <mhabersack@novell.com>
3 * ValidationSummary.cs: implemented OnInit (4.0)
5 * WizardStepBase.cs: added the LoadViewState, OnLoad and
6 RenderChildren methods (2.0+)
8 2010-07-22 Marek Habersack <mhabersack@novell.com>
10 * MenuItemBinding.cs: made code a bit more compact.
11 Implemented ToString (4.0)
13 * MenuRenderingMode.cs: added (4.0)
15 * Menu.cs: added the IncludeStyleBlock and RenderingMode 4.0
16 properties (not used in the code yet).
18 2010-07-21 Marek Habersack <mhabersack@novell.com>
20 * Wizard.cs: made rendering 100% compliant with .NET (button IDs,
22 Implemented LayoutTemplate (4.0+)
24 * LinkButton.cs: render id first
26 * CreateUserWizard.cs: CreateUserNavigationContainer.UpdateState
27 doesn't add a previous button if we're on the first step.
29 2010-07-20 Marek Habersack <mhabersack@novell.com>
31 * StyleCollection.cs: added
33 2010-07-19 Marek Habersack <mhabersack@novell.com>
35 * SqlDataSourceView.cs: added the RaiseUnsupportedCapabilityError
38 * RoleGroupCollection.cs: added OnValidate (undocumented) overload
40 * ParameterCollection.cs: added missing Add method overload (2.0+)
42 * LiteralControlBuilder.cs: added the AppendLiteralString method
45 * DataKey.cs: implemented IEquatable interface methods (4.0)
47 * XmlDataSource.cs: implemented CacheKeyContext property (4.0)
49 2010-07-16 Marek Habersack <mhabersack@novell.com>
51 * Login.cs, PasswordRecovery.cs: implemented RenderOuterTable
54 * FormViewRow.cs: added internal property RenderJustCellContents
55 which makes the control render only its children (4.0)
57 * FormView.cs: implemented RenderOuterTable property and the
58 ModifiedOuterTableStylePropertyName method (4.0)
60 2010-07-15 Marek Habersack <mhabersack@novell.com>
62 * WebControl.cs: implemented verifying that no inline style
63 property is set for controls which support the RenderOuterTable
66 * IRenderOuterTable.cs: internal helper interface for controls
67 which support the RenderOuterTable property (for now only
68 ChangePassword, 3 more to come)
70 * ChangePassword.cs: implemented RenderOuterTable property and the
71 corresponding behavior of not rendering surrounding table when the
72 property is set to false (4.0).
73 Modified BaseChangePasswordContainer to not inherit from Table
74 anymore. Table is an instance variable (always used as the
75 template container in 2.0) which is optionally (and by default)
76 used to contain the templates.
78 * PlaceHolder.cs, View.cs, WizardStepBase: added EnableTheming
81 * MultiViewControlBuilder.cs: added
83 2010-07-14 Marek Habersack <mhabersack@novell.com>
85 * Menu.cs: fixed skip link rendering (no child controls are added
86 in the process, writing directly to HtmlTextWriter). Fixes tests
88 If StaticSubMenuIndent equals Unit.Empty on 4.0, default to using
89 16px as the value of the margin-left CSS attribute.
91 2010-07-13 Marek Habersack <mhabersack@novell.com>
93 * BoundField.cs: implemented HtmlEncodeFormatString property
94 (3.5+) and modified the way FormatDataValue works accordingly.
96 * ListBox.cs, CheckBoxList.cs, ListControl.cs: VerifyMultiSelect
97 is not part of the official API. MultiSelect capability validation
98 is performed using an internal virtual method MultiSelectOk ().
100 * BaseDataList.cs: OnPagePreLoad is not part of the official API
102 * BaseDataBoundControl.cs, BaseDataList.cs, DataListItem.cs,
103 ValidationSummary.cs: implemented 4.0 SupportsDisabledAttribute
106 * Wizard.cs: wizard table doesn't contain any instances of
107 HtmlAnchor or Image controls. Moved rendering of the skip link
108 anchor to the TableCellNamingContainer class, which does that in
109 RenderChildren by directly writing to the passed writer. Fixes 4.0
110 rendering and all the failing Wizard tests.
112 2010-07-08 Marek Habersack <mhabersack@novell.com>
114 * CheckBoxList.cs: RepeatLayout property update for new values of
115 the RepeatLayout enum in 4.0
117 * TreeView.cs: in 4.0, checkbox renders the value of the current
118 node's ToolTip, if anything, and not Text.
120 * RepeatLayout.cs: added two new members, UnorderedList and
123 * ImageMap.cs: implemented missing Enabled property (2.0+)
124 RaisePostBackEvent must be protected and virtual (2.0+)
125 NavigateUrl is ignored if the control is disabled (4.0)
127 2010-07-07 Marek Habersack <mhabersack@novell.com>
129 * TreeView.cs: 4.0 rendering changes.
130 When using registered CSS classes, the node style must use them in
133 2010-07-06 Marek Habersack <mhabersack@novell.com>
135 * HyperLink.cs: the associated image is not rendered using the
138 2010-07-02 Marek Habersack <mhabersack@novell.com>
140 * Menu.cs: 4.0 API updates.
142 * GridView.cs: implemented 4.0 properties -
143 SortedAscendingCellStyle, SortedAscendingHeaderStyle,
144 SortedDescendingCellStyle, SortedDescendingHeaderStyle,
145 ClientIDRowSuffix, ClientIDRowSuffixDataKeys, ShowHeaderWhenEmpty
146 along with associated rendering changes.
148 * DetailsView.cs, FormView.cs, GridView.cs: 4.0 API changes -
149 renamed ShowPage to SetPageIndex and made it public.
150 Added 4.0 interfaces to inheritance list and implemented them.
152 * DataKeyArray.cs: added internal constructor which accepts IList
153 instead of ArrayList. Changed the 'keys' field type to IList.
155 * ContainedTable.cs: the 'id' attribute must be rendered last.
157 * CheckBox.cs, CheckBoxList.cs, SiteMapPath.cs, Table.cs,
158 TableStyle.cs, TextBox.cs, WebControl.cs: 4.0 rendering changes.
160 * Calendar.cs, CompositeControl.cs, DropDownList.cs, HyperLink.cs,
161 Image.cs, ImageButton.cs, Label.cs, LinkButton.cs, LoginName.cs,
162 Panel.cs, Table.cs, TableCell.cs, TableRow.cs:
163 added new 4.0 property, SupportsDisabledAttribute.
165 2010-06-21 Marek Habersack <mhabersack@novell.com>
167 * BaseValidator.cs, BulletedList.cs, Calendar.cs, CheckBox.cs,
168 CheckBoxList.cs, DataGrid.cs, DropDownList.cs, GridView.cs,
169 HyperLink.cs, ImageButton.cs, LinkButton.cs, ListBox.cs,
170 ListControl.cs, Menu.cs, RadioButton.cs, RadioButtonList.cs,
171 RepeatInfo.cs, Repeater.cs, TextBox.cs, TreeView.cs,
172 ValidationSummary.cs, WebControl.cs: use WebControl.IsEnabled
173 instead of Enabled wherever necessary.
175 2010-06-16 Marek Habersack <mhabersack@novell.com>
177 * FormView.cs: row values must be retrieved with inclusion of
178 keys. Fixes bug #607722
180 2010-06-03 Marek Habersack <mhabersack@novell.com>
182 * Parameter.cs, ControlParameter.cs, SessionParameter.cs,
183 CookieParameter.cs, FormParameter.cs, ProfileParameter.cs,
184 QueryStringParameter.cs: Evaluate is 'protected internal virtual'
187 * RouteParameter.cs: implemented.
189 2010-04-28 Marek Habersack <mhabersack@novell.com>
191 * CheckBoxList.cs: do not modify list item status in LoadPostData
192 when the list control is disabled.
193 If an item is selected and it was unchecked by the user, deselect
194 it. Fixes bug #600415
196 2010-04-13 Marek Habersack <mhabersack@novell.com>
198 * GridView.cs: make sure Header and Footer visibility are set when
199 binding the data. Fixes bug #595567
201 * ImageField.cs, CheckBoxField.cs: OnDataBindField must expect
202 sender to be something else than DataControlFieldCell. Fixes bug
205 2010-04-07 Marek Habersack <mhabersack@novell.com>
207 * FormParameter.cs, CookieParameter.cs, ProfileParameter.cs,
208 QueryStringParameter.cs, SessionParameter.cs: implemented
209 constructor overloads which take DbType as one of the arguments.
211 2010-04-01 Marek Habersack <mhabersack@novell.com>
213 * FormView.cs: do not show the pager if PagerSettings.Visible is
214 false. Fixes bug #578863
216 2010-03-29 Marek Habersack <mhabersack@novell.com>
218 * GridView.cs: main table must be created and added to the
219 controls collection before any OnRowCreated event is fired.
221 2010-03-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
223 * TreeView.cs: use enums instead of strings for attributes.
225 2010-03-06 Marek Habersack <mhabersack@novell.com>
227 * XmlDataSource.cs: reload document when one of Data, DataFile,
228 Transform or TransformFile properties is set. Fixes bug
229 #585968. Fix based on patch from Jeffrey Alvarez
230 <kuritsu@gmail.com>, thanks.
232 2010-02-19 Marek Habersack <mhabersack@novell.com>
234 * SqlDataSource.cs: call base.OnInit in OnInit. Fixes bug #572781
236 2010-02-18 Marek Habersack <mhabersack@novell.com>
238 * ListItemCollection.cs: ItemsEnabled and associated code removed
239 - there's no need to alter ListItem's Enabled property when
242 * ListControl.cs: SaveViewState doesn't set the items collection's
243 ItemsEnabled property as it was removed from ListItemCollection
245 * CheckBoxList.cs: LoadPostData never unselects any item. A better
247 RenderItem renders items as disabled when Enabled is false, but if
248 Enabled is true, item is rendered according to the value of its
249 own Enabled property. Fixes bug #578770
251 * TreeView.cs: RegisterStyle must copy CssClass in addition to
252 other style properties. Fixes bug #580692
254 2010-01-18 Marek Habersack <mhabersack@novell.com>
256 * Parameter.cs: added missing 3.5 APIs - constructors taking
257 DbType as one of the parameters, ConvertDbTypeToTypeCode,
258 ConvertTypeCodeToDbType and GetDatabaseType. Fixes bug #567850
260 2010-01-15 Marek Habersack <mhabersack@novell.com>
262 * ChangePassword.cs: BaseChangePasswordContainer forwards
263 EnsureChildControls call to its owner, so that finding controls in
264 the container works correctly.
266 2009-11-30 Marek Habersack <mhabersack@novell.com>
268 * WebControl.cs: HasAttributes made available as internal for 1.1
269 Avoid calling the Attributes getter many times in
271 If TrackViewState is called and attributes state bag already
272 exists, mark all items in the latter as dirty.
274 * CheckBox.cs, Button.cs, ImageButton.cs, LinkButton.cs: do not
275 create the Attributes collection if not necessary.
277 2009-11-16 Marek Habersack <mhabersack@novell.com>
279 * TreeNodeCollection.cs: whenever a node is added, let the owner
282 * TreeNode.cs: added internal property HadChildrenBeforePopulating
283 which is used to let TreeView know about an error condition where
284 a populate-on-demand node contains children added outside the
285 OnTreeNodePopulate event
287 * TreeView.cs: if a node has any child nodes and PopulatOnDemand
288 is set, throw an exception from RenderNode. This is the behavior
291 2009-11-13 Marek Habersack <mhabersack@novell.com>
293 * TableRowCollection.cs: added .NET compatibility NREX throws to
295 Whenever a row is added/removed, its Container property is
296 set. Fixes bug #551666
298 * TableRow.cs: introduced an internal property, Container, which
299 is set by TableRowCollection whenever this row is added/removed
300 to/from the collection. This allows the row to notify the
301 collectio and, in consequence, collection owner that TableSection
302 has been set and thead/tbody/tfoot elements need to be
303 generated. Fixes bug #551666
305 2009-11-10 Marek Habersack <mhabersack@novell.com>
307 * PasswordRecovery.cs:
308 {Question,Success,UserName}TemplateContainer must all be populated
309 the first time the property is accessed, so that calling
310 FindControl on the container returns valid and expected
311 results. If the associated template is not defined, though,
312 populating is postponed till CreateChildControls is called -
313 that's where default, empty, template will be created. This is
314 required to fix YetAnotherForum's password recovery control.
315 Mail template used in SendPasswordByMail must match the one used
316 in .NET (it has to end with a newline) as YAF parses the message
317 to retrieve user name and password and breaks if the last line
318 doesn't end with a newline character.
320 2009-10-30 Marek Habersack <mhabersack@novell.com>
322 * PasswordRecovery.cs: mail message replacements should include <%
323 Password %> and <% UserName %> and matching should be
324 case-insensitive. Fixes bug #545370
326 2009-10-28 Marek Habersack <mhabersack@novell.com>
328 * ListControl.cs: OnDataBinding must call base implementation
329 before performing the binding, so that DataSource can be assigned
330 from within the handler.
332 2009-10-13 Marek Safar <marek.safar@novell.com>
334 * WebColorConverter.cs: Delegate ConvertFrom to
335 ColorTranslator.FromHtml, it is correctly implemented and knows
338 2009-10-13 Marek Habersack <mhabersack@novell.com>
340 * WebColorConverter.cs: don't use a dictionary to check for valid
341 color names, use Color.IsKnownColor instead. Update for bug
343 Added more CSS2 color name mappings.
345 2009-10-12 Marek Habersack <mhabersack@novell.com>
347 * WebColorConverter.cs: when converting from color name, check if
348 the returned color's name is a member of the
349 System.Drawing.KnownColor enumeration to test for error condition,
350 as some colors might be #000000. Preserve the old error check as a
352 Map "captiontext" and "background" color names to
353 "ActiveCaptionText" and "Desktop", respectively, before passing
354 them to Color.FromName (). Fixes bug #546173
356 2009-10-02 Marek Habersack <mhabersack@novell.com>
358 * GridView.cs: added two 3.5 properties - SelectedPersistedDataKey
359 and IPersistedSelector.DataKey.
361 * BaseDataBoundControl.cs: slight optimizations to FindDataSource
363 2009-09-28 Marek Habersack <mhabersack@novell.com>
365 * DataBoundControl.cs: Initialize sets RequiresDataBinding
366 properly, only when we're not data-bound already, when we aren't
367 in postback or when we are in postback, but with viewstate
368 enabled. Fixes bug #542076
370 2009-09-01 Marek Habersack <mhabersack@novell.com>
372 * ObjectDataSourceView.cs: ExecuteSelect must call
373 QueryTotalRowCount after executing the select method (that's what
376 2009-08-25 Marek Habersack <mhabersack@novell.com>
378 * WebColorConverter.cs: inform the user that the might need to
379 check if libgdiplus is installed when parsing a color name
380 fails. Fixes bug #533749
382 2009-08-21 Marek Habersack <mhabersack@novell.com>
384 * Menu.cs: separator image is rendered next to the item in
385 horizontal layout and is preceeded by 3px spacer (unless
386 itemSpacing is set) to make output match .NET. Fixes bug #474716
388 * TreeNodeCollection.cs: {Save,Load}ViewState now store/load the
389 type of the node, if node is a of a custom type. Fixes bug #475997
391 2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
393 * Parameter.cs: add new DbType property.
395 2009-06-16 Marek Habersack <mhabersack@novell.com>
397 * IPersistedSelector.cs: removed AspNetHostingPermission
398 attributes from the 4.0 profile.
400 * IDataBoundControl.cs, IDataBoundItemControl.cs,
401 IDataBoundListControl.cs, IFieldControl.cs: added
403 * DetailsView.cs: control implements 4.0 IDataBoundItemControl
406 * DataBoundControl.cs: implemented 4.0 property DataSourceObject
407 (internal for 2.0) and made the InternalPerformDataBinding method
408 internal for the 4.0 profile.
410 2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
412 * ContentControlBuilderInternal.cs: detect missing
413 ContentPlaceHolderID attribute when parsing instead of throwing a
416 2009-05-29 Marek Habersack <mhabersack@novell.com>
418 * ListItem.cs: when tracking view state is turned on after
419 attributes have been set, make sure that the associated state bag
420 begins tracking state and that all of its existing items are
421 marked as dirty. Do the same after loading view state. Fixes bug
424 2009-04-29 Marek Habersack <mhabersack@novell.com>
426 * DataBoundControl.cs: added InternalGetDataSource method, used by
429 2009-04-28 Marek Habersack <mhabersack@novell.com>
431 * GridView.cs: implemented ColumnsGenerator and enabled its use in
434 * DetailsView.cs: implemented the RowsGenerator property and
435 enabled its use in CreateFieldSet.
437 2009-04-07 Marek Habersack <mhabersack@novell.com>
439 * TreeView.js: removed nodeText parameter from the JS calls.
441 * TreeView.cs: encode | characters into U+007C, so that
442 RaiseCallbackEvent doesn't get confused.
443 Removed nodeText parameter from the JS calls.
445 2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
447 * TreeNode.cs: reset the path data for all child nodes too.
448 * TreeView.cs: HtmlAttribute encode the node text. When rebuilding the
449 node tree, set the correct index for the nodes so that the Path is
452 2009-04-06 Marek Habersack <mhabersack@novell.com>
454 * TreeView.js: TreeView_ToggleExpand now takes more parameters - a
455 full definition of treeview's node contents.
456 Added new function, TreeView_PopulateNode, which partially takes
457 over role of the PopulateNode function generated in
458 TreeView.OnPreRender (see below). Fixes bug #492307
460 * TreeView.cs: RaiseCallbackEvent needs to recreate the event
461 target's parental tree all the way from the root to the node and
462 populate only the leaf (requested) node. This avoids calling the
463 TreeNodePopulate handler more times than needed. Fixes bug #492307
464 OnPreRender: moved the script code to constants and the script
465 body is now generated using StringBuilder instead of a series of
467 GetClientExpandEvent: adjusted code for new TreeView JavaScript
470 2009-03-17 Marek Habersack <mhabersack@novell.com>
472 * Unit.cs: introduced a field to tell the difference between empty
473 (as in Unit.Empty) and 0px units.
475 2009-03-06 Marek Habersack <mhabersack@novell.com>
477 * WebControl.cs: if savedState is not an instance of Pair in
478 LoadViewState, do not attempt to load from it.
480 2009-02-10 Marek Habersack <mhabersack@novell.com>
482 * ImageButton.cs: AddAttributesToRender renders the onclick
483 attribute only if any of the following is true:
484 - OnClientClick is not empty
485 - Validation is enabled for the control
486 - PostBackUrl is used
487 PostBackOptions now indicate that control requires the javascript
488 protocol for the handler.
489 RaisePostBackEvent passes String.Empty as the argument.
492 2009-02-09 Marek Habersack <mhabersack@novell.com>
494 * ObjectDataSourceView.cs: ExecuteSelect returns a single-item
495 array of objects containing the result, if the result isn't one of
496 DataSet, DataTable or IEnumerable. Fixes bug #471767
498 2009-02-06 Marek Habersack <mhabersack@novell.com>
500 * Style.cs: if CssClass is null, return String.Empty. Fixes bug
502 Added a range check to the BorderStyle property.
504 2009-02-05 Marek Habersack <mhabersack@novell.com>
506 * Login.cs: check the value of DisplayRememberMe when creating
507 the child controls. Fixes #468359
509 2009-01-20 Marek Habersack <mhabersack@novell.com>
511 * Substitution.cs: added. Fixes bug #467460
513 2009-01-13 Marek Habersack <mhabersack@novell.com>
515 * XmlBuilder.cs: updates related to ControlBuilder cleanup.
517 2008-12-01 Marek Habersack <mhabersack@novell.com>
519 * Style.cs: WriteStyleAttributes must not use the fontinfo field
520 directly, it has to be done via the Font property. Fixes bug
523 2008-11-15 Marek Habersack <mhabersack@novell.com>
525 * ContentPlaceHolder.cs, Content.cs, FormViewPagerRow.cs,
526 ChangePassword.cs, DetailsViewPagerRow.cs: implements
527 INonBindingContainer interface.
529 * Wizard.cs: implement INonBindingContainer interface for several
530 private/internal classes.
532 2008-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
534 * ImageButton.cs: clicking an image causes a postback.
537 2008-10-24 Marek Habersack <mhabersack@novell.com>
539 * CheckBox.cs: register for event validation in Render ().
541 2008-10-21 Marek Habersack <mhabersack@novell.com>
543 * XmlDataSource.cs: DataFile may be an URL.
545 2008-10-17 Marek Habersack <mhabersack@novell.com>
547 * ImageMap.cs: added the SupportsEventValidation attribute to the
549 Validate the event in RaisePostBackEvent ().
550 Register for event validation in Render ().
552 * DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().
554 * TextBox.cs: validate the event in LoadPostData ().
555 Register for event validation in AddAttributesToRender ().
557 * HiddenField.cs: validate the event in RaisePostDataChangedEvent.
558 Register for event validation in Render ().
560 * RadioButton.cs: validate the event in LoadPostData ().
561 Register for event validation in InternalAddAttributesToRender.
563 * CheckBox.cs, RadioButtonList.cs: validate the event in
564 RaisePostDataChangedEvent.
566 * Menu.cs: added the SupportsEventValidation attribute to the
568 Validate the event in RaisePostBackEvent ().
569 Register for event validation in GetClientEvent ().
571 * DetailsView.cs, GridView.cs: validate the event in
572 RaisePostBackEvent ().
573 Register for validation in GetCallbackScript () and in OnPreRender
575 * Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
576 ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().
578 2008-10-14 Marek Habersack <mhabersack@novell.com>
580 * CompositeDataBoundControl.cs: renamed the itemcount ViewState
581 item from "_ItemCount" to "_!ItemCount" for .NET
582 compatibility. This item is accessed and used by some commercial
585 * DataBoundControl.cs: OnPagePreLoad must force databinding also
586 when the request is not a postback.
588 2008-10-13 Marek Habersack <mhabersack@novell.com>
590 * Table.cs, TableRowCollection.cs, TableRow.cs: render table
591 sections when necessary. Fixes bug #434555
593 2008-10-08 Marek Habersack <mhabersack@novell.com>
595 * ControlParameter.cs: Evaluate calls DataBinder.Eval to do the
596 evaluation now. This makes it support complex expressions.
598 2008-09-30 Sebastien Pouliot <sebastien@ximian.com>
600 * RoleGroupCollection.cs: Fix recursive calls (wrong target)
601 [Found using Gendarme's BadRecursiveInvocationRule]
603 2008-09-28 Sebastien Pouliot <sebastien@ximian.com>
605 * XmlDataSource.cs: Make sure the result of the multiplication is a
606 long (not an integer casted into a long since it could overflow).
607 [Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
609 2008-09-17 Juraj Skripsky <js@hotfeet.ch>
611 * RadioButton.cs (ValueAttribute, LoadPostData): Fixes bug #426959.
613 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
615 * IPersistedSelector.cs : new in 3.5 SP1.
617 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
619 * DataBoundControlMode.cs : new 3.5 SP1 type.
621 2008-08-25 Marek Habersack <mhabersack@novell.com>
623 * DataBoundControl.cs: set RequiresDataBinding to true in
624 Initialize only if not in a postback, if not data bound and if the
625 view state is enabled. Fixes bug #398318
626 UpdateViewData removes the OnDataSourceViewChanged handler before
627 connecting to the datasource and restores it before returning to
629 OnLoad gets the data source before initialization, to avoid
630 premature OnDataSourceViewChanged triggers. Fixes bug #398318
631 Do not reconnect to the data source if we already have a valid one.
633 2008-08-18 Marek Habersack <mhabersack@novell.com>
635 * Unit.cs: rewrote the unit parser in a slightly slower, but more
636 correct, way. Fixes bug #417502
638 2008-07-28 Marek Habersack <mhabersack@novell.com>
640 * TreeView.cs: when TreeView is displaying a site map and there is
641 no node selected by the user, select the node corresponding to the
642 current page, if any.
644 2008-07-24 Marek Habersack <mhabersack@novell.com>
646 * DataGrid.cs: removed the private class TableID and moved its
647 code to ChildTable.cs (see below). 2.0 instantiates teh ChildTable
648 with the owner parameter now. Fixes bug #400377
650 * ChildTable.cs: refactoring - moved code from TableID previously
651 defined in DataGrid.cs to here and made the class available under
652 different names for both 1.x and 2.x profiles. Fixes bug #400377
654 * MailDefinition.cs: look for the mail body file in the correct
655 path. Patch from Jackson Harper <jaharper@novell.com>,
656 thanks! Fixes bug #408699
658 * PasswordRecovery.cs: do not ask password recovery question if
659 it's disabled. Patch from Jackson Harper <jaharper@novell.com>,
660 thanks! Fixes bug #408696
662 2008-07-16 Marek Habersack <mhabersack@novell.com>
664 * XmlDataSource.cs: check if Page isn't null before stringifying
665 it in GetDataKey (), fixes bug #409492
667 2008-07-13 Roei Erez <roeie@mainsoft.com>
669 * GridView.cs: When the RowDataBound event is invoked, the value
670 of GridView1.DataKeys should contains all the keys up untill the
671 current row, and not be empty.
672 I only changed the order of the user event invocation and the addition
675 2008-07-13 Roei Erez <roeie@mainsoft.com>
677 * TreeView.cs: In case of multiple tree node bingings, select
678 The first one and not the last one.
680 2008-07-10 Roei Erez <roeie@mainsoft.com>
682 * HyperlinkField.cs: Changed behavior of HyperLinkField bound field key
683 to be case insensitive.
685 2008-07-03 Marek Habersack <mhabersack@novell.com>
687 * CheckBox.cs: do not render the language="javascript" attribute
690 2008-07-02 Marek Habersack <mhabersack@novell.com>
692 * GridView.cs: minor optimizations (removed a foreach loop,
693 replaced calls to Array.Length with a variable containing the
696 2008-06-30 Marek Habersack <mhabersack@novell.com>
698 * ObjectDataSourceView.cs, Menu.cs, DataList.cs,
699 CustomValidator.cs: hush the warnings
701 2008-06-10 Noam Lampert <noaml@mainsoft.com>
703 * ListItemCollection.cs: Provide viewstate for dirty collection even if it is empty.
705 2008-05-30 Marek Habersack <mhabersack@novell.com>
707 * BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
708 DataControlFieldCollection.cs, DataControlField.cs,
709 PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
710 event accessors (to avoid locks).
712 2008-05-18 Marek Habersack <mhabersack@novell.com>
714 * HierarchicalDataBoundControl.cs: Modified GetData method to check if
715 DataSource implements IHierarchicalEnumerable and if so constructs and
716 returns a new instance of ReadOnlyDataSourceView. This provides functional
717 compatibility with the Microsoft.NET framework. Fixes bug
718 #395209. Patch contributed by James Fitzsimons
719 <james.fitzsimons@gmail.com>, thanks!
721 2008-05-06 Marek Habersack <mhabersack@novell.com>
723 * Calendar.cs: do not create dateInfo in the constructor - culture
724 might be not set yet at this point. Fixes bug #323566
725 Added a private property, DateInfo, which creates the dateInfo
728 2008-05-05 Sebastien Pouliot <sebastien@ximian.com>
730 * BulletedList.cs: Avoid calling ToString on a string.
731 * ButtonField.cs: Throw, not just create, the exceptions.
732 * HyperLinkField.cs: Throw, not just create, the exceptions.
733 * ImageField.cs: Throw, not just create, the exception. Avoid calling
734 ToString on a string.
735 * ListControl.cs: Avoid calling ToString on a string.
736 [All issues were found using Gendarme]
738 2008-04-30 Marek Habersack <mhabersack@novell.com>
740 * SiteMapDataSource.cs: when no starting node is found, return
741 null instead of Provider.RootNode. Fixes bug #323994
743 2008-04-24 Marek Habersack <mhabersack@novell.com>
745 * SqlDataSource.cs: raise the DataSourceChangedEvent when setting
746 ConnectionString, ProviderName or DataSourceMode properties only
747 when the new value differs from the old one. Fixes bug #359392
749 2008-04-16 Marek Habersack <mhabersack@novell.com>
751 * ObjectDataSourceView.cs: ExecuteSelect should return an empty
752 aray when no data has been retrieved from the specified source
753 type. Fixes bug #380106
755 2008-04-15 Marek Habersack <mhabersack@novell.com>
757 * MailDefinition.cs: dispose of streams the way it should
760 2008-04-10 Marek Habersack <mhabersack@novell.com>
762 * RadioButton.cs: adjust 'name' and 'value' attribute values to
763 match MS.NET. Fixes bug #378024
765 * CheckBoxList.cs: set the Selected property to the value in POST
766 data only if the item in question was enabled before postback
767 occurred. Fixes bug #377703
769 * ListControl.cs: make sure the owned items' Enabled property is
770 set to the same value what ListControl's. Fixes bug #377703
772 * ListItemCollection.cs: fixed SetDirty to store the index of the
773 last dirtied item properly. Fixes bug #377703
774 For the 2.0 profile, set the ListItem instances Enabled property
775 to the value of the owning ListControl (internal ItemsEnabled
776 property was added to make it possible). Fixes bug #377703
778 2008-04-08 Dean Brettle <dean@brettle.com>
780 * DataBoundControl.cs (InternalPerformDataBinding),
781 HierarchicalDataBoundControl.cs (InternalPerformDataBinding),
782 WebControl.cs (Render): fixed cast errors when a ControlAdapter
783 that wasn't of the type corresponding to the control was used.
785 2008-04-03 Marek Habersack <mhabersack@novell.com>
787 * DataList.cs: use the value of SelectedIndex, not selectedIndex,
788 to return the key value in the SelectedValue property. Fixes bug
789 #376519. Patch from Sergey Kuleshov <svyatogor@gmail.com>, thanks!
791 2008-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
793 * AutoGeneratedField.cs, CheckBoxField.cs: fixed OnDataBindField,
794 should hide checkbox only if DataItem is not defined
796 2008-03-09 Dean Brettle <dean@brettle.com>
798 * DetailsView.cs, ListControl.cs, DataBoundControl.cs,
799 FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs:
800 added support for using ControlAdapters when present.
802 * WebControl.cs: fixed implementation of IsEnabled to match
805 * Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of
806 RenderMenuItem() if an adapter is present. MenuAdapter.RenderItem()
807 calls back to new Menu.RenderItem() internal method which calls
808 RenderMenuItem() with the appropriate parameters.
810 2008-02-25 Igor Zelmanovich <igorz@mainsoft.com>
813 at Update and Delete use not read only coppies of dictionaries
814 in event argumens, that allows user to change them before corresponding
815 DataSource's method is called.
817 2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>
819 * Login.cs: render id attribute of root element correctly.
821 2008-02-18 Marek Habersack <mhabersack@novell.com>
823 * FormView.cs: the ItemCreated must be fired before data is bound
824 to the FormView. Fixes bug #360434
826 2008-02-07 Igor Zelmanovich <igorz@mainsoft.com>
828 * Login.cs: render id attribute of root element correctly.
830 2008-02-05 Marek Habersack <mhabersack@novell.com>
832 * FileUpload.cs: make sure FileContent always returns the input
833 stream positioned at the beginning. Fixes bug #356846
835 2008-01-31 Igor Zelmanovich <igorz@mainsoft.com>
837 * Calendar.cs: resolve Next/Prev. month link date correctly.
839 2008-01-29 Igor Zelmanovich <igorz@mainsoft.com>
841 * TreeView.cs: add XPFileExplorer icon set.
843 2008-01-28 Igor Zelmanovich <igorz@mainsoft.com>
845 * Menu.js: dynamic nodes are positioned after hover style of
846 parent node is applied.
848 2008-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
850 * DataSourceCacheManager.cs: fixed GetKeyFromParameters, incase more
851 than one datasource using the same object with the same select method
853 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
855 * ValidationSummary.cs:
856 refactoring: If page contents instance of IScriptManager, it calls
857 it's API instead Page.ClientScript.
859 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
861 * Menu.cs: fixed rendering.
863 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
866 manage history state on "MovePrevious" action.
868 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
871 resolve BulletImageUrl,
872 register for event validation.
874 2008-01-13 Igor Zelmanovich <igorz@mainsoft.com>
878 upgrade client side script due to changes in webform.js.
880 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
882 * BaseCompareValidator.cs:
884 * CompareValidator.cs:
885 * CustomValidator.cs:
887 * RegularExpressionValidator.cs:
888 * RequiredFieldValidator.cs:
889 refactoring: If page contents instance of IScriptManager, validators call
890 it's API instead Page.ClientScript.
892 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
897 for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
898 in GetPostBackOptions.
900 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
902 * DetailsView.cs: render invisible rows correct.
904 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
906 * DataControlField.cs: prevent infinite recursion
908 2008-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
910 * DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding
913 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
915 * DataSourceCacheManager.cs: fixed SetCachedObject, fixed
918 2007-12-24 Igor Zelmanovich <igorz@mainsoft.com>
920 * TreeView.cs: revert changes from r91230
922 2007-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
924 * ListControl.cs: fixed Load/SaveViewState, removed selected indices
926 * ListItem.cs: fixed Load/SaveViewState, added selected state storing
927 * ListItemCollection.cs: fixed Load/SaveViewState, added flag to not
928 rebuild the collection if was'nt changed
930 2007-12-13 Marek Habersack <mhabersack@novell.com>
932 * Menu.cs, TreeView.cs: optimize use of String.Format in
934 Speed optimization - use String.Concat instead of String.Format in
937 * GridView.cs, DetailsView.cs: optimize use of String.Format in
940 * CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
941 WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
942 ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
943 optimization - use String.Concat instead of String.Format in some cases.
945 2007-12-13 Vladimir Krasnov <vladimirk@mainsoft.com>
947 * Menu.cs: fixed rendering without head tag on page
949 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
951 * Calendar.cs: performance optimizations:
952 BuildLink fixed, StringBuilder used.
953 TodaysDate DateTime.Today call cahced.
955 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
957 * Unit.cs: performance optimization: ToString fixed, string.Concat used
958 instead of string.Format
960 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
962 * Style.cs: performance optimization: suppress finalizer added
964 2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>
968 evaluate bound value using ThisExpession ("!") properly
970 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
972 * WebControl.cs: enabled state restored properly.
974 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
977 refactoring for NET_2_0:
978 Text is removed from view state in case of need at SaveViewState phase.
980 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
983 SelectedValue/SelectedIndex is set during DataBinding always.
985 2007-11-06 Marek Habersack <mhabersack@novell.com>
987 * DataGrid.cs: add RenderTable before the DataGridItems, so that
988 numbering of children is the same what on MS.NET.
989 If there are any data items, require a postback script.
992 * ChildTable.cs: removed DOS EOLs.
994 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
997 does not perform authentication if Page.IsValid returns false;
998 the fix makes control works with disabled client side validation.
1000 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
1003 state of DataList.Items are restored correct on PostBack
1004 such Items.Count and ItemType.
1006 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
1009 validator is rendered correct if EnabledClientClient is false.
1011 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
1013 * Image.cs: fixed management state of Enabled property.
1014 * WebControl.cs: refactoring in management state of Enabled property.
1016 2007-10-23 Marek Habersack <mhabersack@novell.com>
1018 * ListBox.cs, Table.cs: use Render{Begin,End}Tag
1019 instead of the Write* counterparts when rendering contents.
1021 2007-10-18 Marek Habersack <mhabersack@novell.com>
1023 * Menu.js: a workaround for an IE bug. IE recalculates element's
1024 offsetWidth when the element's _height_ is set - which in case of
1025 elements with overflowing content results in a value that's just
1026 slightly smaller than the client window width. In effect, a long
1027 submenu will also be very wide, which isn't desirable. Fixes bug
1030 2007-10-15 Marek Habersack <mhabersack@novell.com>
1032 * ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
1035 * BulletedList.cs: html encode the item text. Fixes bug #333550.
1037 2007-10-01 Marek Habersack <mhabersack@novell.com>
1039 * ListItem.cs: make HasAttributes available for the 1.1 profile as
1042 * DropDownList.cs: render custom ListItem attributes in the 1.1
1043 profile. Fixes bug #326288
1045 2007-09-27 Marek Habersack <mhabersack@novell.com>
1047 * Button.cs: added missing OnPreRender method.
1049 2007-09-25 Marek Habersack <mhabersack@novell.com>
1051 * WebControl.cs: added an internal method, BuildScriptAttribute,
1052 which merges the specified JavaScript code in an attribute, with
1053 the value of that attribute specified by the user.
1055 * CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
1056 preserve user-specified attribute value, if present.
1058 * ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
1059 after doing its job. AutoPostBack handling makes sure to preserve
1060 user-specified attribute value, if present. Fixes bug #327816.
1062 2007-09-21 Marek Habersack <mhabersack@novell.com>
1064 * ListItem.cs: don't save StateBag in the control state - the
1065 class is not serializable and therefore ObjectStateFormatter
1066 cannot convert it. Instead have the sb object save its own state
1067 and store the returned value. Fixes bug #326288.
1069 2007-09-20 Marek Habersack <mhabersack@novell.com>
1071 * LoginView.cs: implemented RoleGroups support. Fixes bug
1074 2007-09-19 Marek Habersack <mhabersack@novell.com>
1076 * GridView.cs: copy attributes from GridView to the child table,
1077 as this is where the rendering takes place. Fixes bug #326309.
1079 2007-09-18 Marek Habersack <mhabersack@novell.com>
1081 * Calendar.cs: correctly apply day cell style. Fixes bug #315903
1083 2007-09-17 Marek Habersack <mhabersack@novell.com>
1085 * Calendar.cs: style attribute value must be enclosed in quotes.
1087 * TableStyle.cs: do not capitalize the align styles. Fixes bug
1090 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
1092 * ListControl.cs: partially restored r85314
1093 whenever a property that can affect data binding
1094 is set, make sure to set RequiresDataBinding.
1096 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
1098 * DataBoundControl.cs: fixed DataBind flow:
1099 prevent double binding when not necessary.
1102 2007-08-31 Marek Habersack <mhabersack@novell.com>
1104 * GridView.cs: instead of not adding hidden fields to the rows,
1105 mark the cells they would contain as invisible. Fixes bug #82615.
1107 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1111 make Menu work in multi form environment.
1113 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1115 * ListControl.cs: fixed selected items state management.
1117 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1119 * BaseCompareValidator.cs:
1121 * CompareValidator.cs:
1122 * CustomValidator.cs:
1123 * RangeValidator.cs:
1124 * RegularExpressionValidator.cs:
1125 * RequiredFieldValidator.cs:
1126 all Validators use RegisterExpandoAttribute for
1127 not XHTML compliant attributes.
1129 2007-08-23 Igor Zelmanovich <igorz@mainsoft.com>
1131 * Panel.cs: client script consider MultiForm environment.
1133 2007-08-21 Marek Habersack <mhabersack@novell.com>
1135 * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
1138 2007-08-20 Marek Habersack <mhabersack@novell.com>
1140 * ContentPlaceHolderBuilder.cs: store place holder id in the
1141 parser's internal place holder id list for later reference. Fixes
1144 2007-08-19 Vladimir Krasnov <vladimirk@mainsoft.com>
1146 * BoundField.cs: FormatDataValue, refactored multiple use of ToString
1148 2007-08-14 Marek Habersack <mhabersack@novell.com>
1150 * ObjectDataSourceView.cs: remove unused variable.
1152 * ChangePassword.cs: remove unused variable.
1153 The change password button id changed to
1154 "ChangePasswordPushButton", the cancel button id changed to
1155 "CancelPushButton". The change makes the generated ids the same
1156 what on MS.NET. Fixes bug #82418.
1158 * RoleGroupCollection.cs: OnValidate shouldn't be overridden.
1160 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1162 * ParameterCollection.cs: fixed IndexOfString, should use ordinal
1165 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1167 * Menu.cs: performance refactoring, used AddAttribute overload without
1168 encoding on known attribute values, optimized DynamicMenu rendering
1170 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1172 * TreeView.cs: refactoring, used AddAttribute overload without encoding
1173 on known attribute values,
1174 used Page.ClientScript.GetWebResourceUrl call instead of
1175 AssemblyResourceLoader.GetResourceUrl
1177 2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
1179 * AccessDataSource.cs: does not subscribed on view changed event.
1180 * ObjectDataSource.cs: fixed state management.
1181 * SqlDataSource.cs: fixed state management.
1183 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1186 DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs,
1187 RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs,
1188 TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs,
1189 BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs,
1190 RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs,
1191 ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs,
1192 TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs:
1193 refactoring, used AddAttribute overload without encoding on known attribute
1196 2007-08-01 Igor Zelmanovich <igorz@mainsoft.com>
1198 * DropDownList.cs: fixed onchange attibute.
1200 2007-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
1202 * ListItemCollection.cs: fixed LoadViewState, items restored from
1203 viewstate were not saved, fixes bug #82192
1205 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1207 * BaseValidator.cs: All client scripts are rendered
1208 according IsMultiForm property.
1210 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1212 * TreeView.cs: refactoring:
1214 used ClientScriptManager.GetCallbackEventReference API instead calling
1215 WebForm_DoCallback explicit.
1217 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1219 * BaseValidator.cs: for NET_2_0: fixed client side validation.
1220 validation is performed in WebForm_DoPostback,
1221 and there is no need to do it twice in ValidatorOnSubmit.
1223 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1225 * Calendar.cs: fixed: correct 'id' attribute is rendered.
1227 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
1229 * ListItemCollection.cs: optimized SetDirty method
1231 2007-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1235 * ListItemCollection.cs: controls based on ListControl should not save
1236 view state before than TrackViewState called
1238 2007-07-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1240 * WebControl.cs: fixed AddDisplayStyleAttribute, returns if
1241 ControlStyle is not created
1243 2007-07-02 Marek Habersack <mhabersack@novell.com>
1245 * WebControl.cs: Revert r80368, as it wasn't the correct
1246 fix. Fixes bug #81945.
1248 * ListControl.cs: if there are no items in the collection, do not
1249 return an empty ArrayList from GetSelectedIndicesInternal. Fixes
1250 bug #81945 and properly fixes bug #78533.
1252 * ListItemCollection.cs: if there are no items in collection,
1255 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1258 the Pager is created but unvisible for only one page.
1259 the Patch submitted by Dumitru Ban [dban@dako.ro]
1261 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1266 does not requires data binding if any ITemplate property is set.
1268 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1270 * CheckBox.cs: fixed Render, HasAttributes called instead
1273 2007-06-24 Igor Zelmanovich <igorz@mainsoft.com>
1275 * GridView.cs: fixed AllowPaging feature:
1276 When the AllowPaging is true the GridView control should automatically
1277 hide the pager row when the data source contains fewer than 2 records.
1278 patch Patch submitted by Dumitru Ban [dban@dako.ro]
1280 2007-06-20 Marek Habersack <mhabersack@novell.com>
1282 * WebControl.cs: if savedState is a Triplet, take the actual state
1283 data from savedState.First. Also make sure that the data is a
1284 Pair. Fixes bug #78533.
1286 * DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
1287 to keep private entries.
1288 * XmlDataSource.cs: as above
1290 2007-05-31 Vladimir Krasnov <vladimirk@mainsoft.com>
1292 * BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed
1293 to ClientScriptManager
1295 2007-05-29 Igor Zelmanovich <igorz@mainsoft.com>
1297 * ObjectDataSourceView.cs:
1298 * SiteMapDataSource.cs:
1300 * SqlDataSourceView.cs:
1301 DataSourceChanged and DataSourceViewChanged are raised in right case, when
1302 different properties changed their value.
1304 2007-05-27 Igor Zelmanovich <igorz@mainsoft.com>
1306 * ObjectDataSourceView.cs: fixed SelectMethod and SelectCountMethod properties:
1307 when changed, DataSourceViewChanged event is raised.
1309 * SqlDataSourceView: fixed SelectCommand property:
1310 when changed, DataSourceViewChanged event is raised.
1312 2007-05-25 Marek Habersack <mhabersack@novell.com>
1314 * ObjectDataSourceView.cs: CreateDataObject must pay attention to
1315 TypeConverter attributes on the property being converted.
1317 2007-05-24 Igor Zelmanovich <igorz@mainsoft.com>
1319 * Menu.cs: fixed: alt attribute is rendered as well.
1321 2007-05-16 Marek Habersack <mhabersack@novell.com>
1323 * CompareValidator.cs: formatting changes
1325 2007-05-15 Marek Habersack <mhabersack@novell.com>
1327 * ObjectDataSourceView.cs: refactoring - use
1328 HttpApplication.LoadType to look up types.
1330 2007-05-10 Marek Habersack <mhabersack@novell.com>
1332 * Table.cs: render rows, not controls
1334 * HyperLink.cs: RenderContents must check if the render method
1335 delegate is present and, if yes, call the base RenderContents.
1337 * LinkButton.cs: as above.
1339 * Label.cs: as above.
1341 * TableCell.cs: as above.
1342 This change makes the HeaderTemplate in the Wizard control work.
1344 * Wizard.cs: if a next/previous step handler modifies
1345 ActiveStepIndex do not, respectively, increase/decrease the
1346 current step, but use whatever was set in the handler.
1348 2007-05-09 Marek Habersack <mhabersack@novell.com>
1350 * TreeNodeStyleCollection.cs: do not set font's underline flag to
1351 false, set it to its own value instead.
1353 * TreeView.cs: if level style exists and has ChildNodesPadding
1354 set, it takes precedence over the node style setting (if any).
1356 2007-05-08 Marek Habersack <mhabersack@novell.com>
1358 * TreeView.cs: children padding is rendered only before and after
1359 the children are rendered, not between them. Also, render padding
1360 only if there are any nodes to follow the current one.
1362 2007-05-07 Marek Habersack <mhabersack@novell.com>
1364 * Wizard.cs: additional checks to see whether the wizard needs to
1365 move to a next step or not. Fixes bug #81532. Patch sent by Mike
1366 Morano <mmorano@mikeandwan.us>, thanks!
1368 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1370 * FormView.cs: fixed:
1371 avoid NullReferenceException when used EditTemplate w/o binding
1372 directive such Eval or Bind.
1374 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1376 * MenuItem.cs: fixed:
1377 when 'Value' property is not set, value of 'Text' property is used
1378 instead and vice versa.
1380 2007-05-06 Igor Zelmanovich <igorz@mainsoft.com>
1382 * TreeNode.cs: fixed:
1383 when 'Value' property is not set, value of 'Text' property is used
1384 instead and vice versa.
1386 2007-05-04 Marek Habersack <mhabersack@novell.com>
1388 * AdRotator.cs: use the new GetPhysicalFilePath method to look up
1389 the physical path of the ad file.
1391 2007-05-03 Marek Habersack <mhabersack@novell.com>
1393 * TreeView.cs: honor ChildNodesPadding of the NodeStyle.
1395 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1397 * ControlPropertyNameConverter.css:
1398 * FontUnitConverter.cs:
1400 * ValidatedControlConverter.cs:
1403 2007-05-03 Marek Habersack <mhabersack@novell.com>
1405 * TreeNode.cs: correct version of the fix in r76488. Nodes
1406 retrieved from a navigation data source which have empty URL will
1409 * TreeView.cs: revert r76488, it wasn't entirely correct. I need
1410 to investigate the special cases it solved a bit more.
1412 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
1414 * SqlDataSourceView.cs:
1415 make CancelSelectOnNullParameter property works.
1417 2007-05-01 Marek Habersack <mhabersack@novell.com>
1419 * BaseValidator.cs: do not use User-Agent directly, we must take
1420 ClientTarget into account.
1422 2007-04-30 Marek Habersack <mhabersack@novell.com>
1424 * TreeView.cs: bring rendering closer to the MS.NET rendering.
1426 * SqlDataSource.cs: do not catch the exception if ProviderName is
1427 not null or empty (as per docs and what MS.NET does).
1429 2007-04-19 Igor Zelmanovich <igorz@mainsoft.com>
1431 * ChangePassword.cs:
1432 does not accept invalid new password.
1434 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1438 added MonoLimitation attributes
1440 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1442 * BaseValidator.cs: for TARGET_J2EE:
1443 used Page.Request.Browser to determine RenderUplevel
1445 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1448 when databound with AutoGenerateColumns = true,
1449 data source enumerator created only once.
1451 2007-04-18 Marek Habersack <mhabersack@novell.com>
1453 * SiteMapDataSource.cs: query the site map for the current node
1454 when configured to use it as the start point. Fixes bug #81376,
1455 patch from Mike Morano <mmorano@mikeandwan.us>.
1457 * Calendar.cs: change year/month format to be culture aware. Fix
1458 for bug #81390. Patch submitted by Atsushi Enomoto
1459 <atsushi@ximian.com>
1461 2007-04-17 Daniel Nauck <dna@mono-project.de>
1463 * PasswordRecovery.cs: fixed typo (AnswerLabel.Text).
1465 2007-04-17 Marek Habersack <mhabersack@novell.com>
1467 * BaseValidator.cs: use the new uplevel browser detection code.
1469 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1471 * SqlDataSourceView.cs: fixed: InitializeParameters:
1472 restored flow, broken in r75137.
1474 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1476 * Menu.cs: popup menu is posed correctly if menu is placed within
1477 container with position=relative
1479 2007-04-12 Marek Habersack <mhabersack@novell.com>
1481 * LoginView.cs: do not call CreateChildControls directly from the
1482 IsAuthenticated setter since that would destroy the controls the
1483 user might've configured from their Page_PreRender method.
1484 Do not use IsAuthenticated in CreateChildControls since that
1485 prevents the _correct_ template from being instantiated before the
1486 control is transferred to the user's OnPreRender handler. Fixes
1489 2007-04-11 Marek Habersack <mhabersack@novell.com>
1491 * ImageButton.cs: implement the Enable property and do not
1492 register for post back if the control isn't enabled.
1494 2007-04-06 Marek Habersack <mhabersack@novell.com>
1496 * GridView.cs: don't render invisible fields. Fixes bug #80061.
1498 * DetailsView.cs: don't render invisible fields.
1500 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1502 * Menu.cs: resolve selected MenuItem if bounded with SiteMapeDataSource.
1504 2007-04-05 Marek Habersack <mhabersack@novell.com>
1506 * BaseDataBoundControl.cs: restore the LAMESPEC note and code it
1507 describes - tests show this is what's happening on MS.NET as
1510 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1513 * BaseDataBoundControl.cs:
1514 Break recursion when the property is set from within the OnSelect handler
1515 in user's code. fixes bug #81175.
1517 2007-04-05 Marek Habersack <mhabersack@novell.com>
1519 * SiteMapDataSource.cs: fix GetStartNode for situations when the
1520 current URL is not defined in the sitemap file. Fixes bug
1521 #81314. Patch from Mike Morano <mmorano@mikeandwan.us>.
1523 2007-04-03 Marek Habersack <mhabersack@novell.com>
1525 * BaseDataBoundControl.cs: adjust for lame specs on MSDN.
1527 2007-04-02 Gert Driesen <drieseng@users.sourceforge.net>
1529 * MenuItem.cs: Use INavigateUIData.Description as ToolTip. Fixed line
1532 2007-03-29 Adar Wesley <adarw@mainsoft.com>
1534 * ObjectDataSourceView.cs: fixed events so they are raized at the
1535 right times. Added many tests to verify the correct time.
1536 * SqlDataSourceView.cs: fixed events so they are raized at the right
1537 times. Added many tests to verify the correct time.
1539 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1543 avoid Exception if HierarchicalDataSourceView.Select() returns null.
1545 2007-03-22 Igor Zelmanovich <igorz@mainsoft.com>
1547 * ObjectDataSource.cs:
1548 * ObjectDataSourceView.cs:
1550 * SqlDataSourceView.cs:
1551 fixed flow: changes in Insert/Update/DeleteParameters does not
1552 cause DataSourceViewChanged event.
1554 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1556 * BaseDataBoundControl.cs: fix as per MSDN - the property is set
1557 only if data binding doesn't occur.
1559 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1561 * GridView.cs: fixed: PageIndex considers PageCount.
1563 2007-03-20 Marek Habersack <mhabersack@novell.com>
1565 * DataBoundControl.cs: avoid endless recursion here. Fixes bug #81175
1567 * LoginStatus.cs: render login/logout controls with the CssClass
1568 set from the parent control. Fixes bug #81196
1570 2007-03-19 Igor Zelmanovich <igorz@mainsoft.com>
1572 * DataGrid.cs: fixed Save/Load view state, applying styles.
1574 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
1576 * Style.cs: optimization: used CssStyleCollection .ctor w/o parameters.
1578 2007-03-09 Marek Habersack <mhabersack@novell.com>
1580 * Login.cs: Make command name comparison case-insensitive in
1581 OnBubbleEvent. Patch from Mike Morano <mmorano@mikeandwan.us>
1583 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1585 * DataGrid.cs: fixed:
1586 Auto-generated columns are restored properly on postback from view state.
1588 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1591 when AddAttributesToRender(System.Web.UI.HtmlTextWriter, WebControl)
1592 is called, WebControl parameter is passed as argument to
1593 FillStyleAttributes (CssStyleCollection, IUrlResolutionService) method.
1595 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1599 fixed applying styles if ExtractTemplateRows=true.
1601 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1603 * DropDownList.cs: in 2.0 first item is rendered with selected attribute
1604 is Enabled=false and no selected items.
1606 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1608 * CheckBoxList.cs: in 2.0 access key attribute is rendered in 'input' tags.
1610 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1616 * RadioButtonList.cs:
1617 fixed: list controls consider ListItem.Attributes property on render.
1619 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1621 * CheckBox.cs: fixed: 'span' tag is not rendered if all attributes
1622 are rendered in 'input' tag.
1624 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1628 used "ONLY_1_1" instead "!NET_2_0"
1630 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1632 * BaseDataBoundControl.cs:
1633 * DataBoundControl.cs:
1634 * HierarchicalDataBoundControl.cs:
1635 refactoring: DataBoundControl and HierarchicalDataBoundControl use internal
1636 method in BaseDataBoundControl to find a data source control.
1638 2007-03-05 Marek Habersack <mhabersack@novell.com>
1640 * Unit.cs: Support parsing of units in the form ".9em" etc.
1642 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1644 * TemplateColumn.cs: fixed: if ItemTemplate is null, " " is rendered.
1646 2007-03-05 Marek Habersack <mhabersack@novell.com>
1648 * BaseValidator.cs: make validators work correctly with
1649 ListItems. Patch from Daniel Nauck <dna@informatik.uni-kiel.de>
1651 2007-03-04 Marek Habersack <mhabersack@novell.com>
1653 * HierarchicalDataBoundControl.cs: Use the method described below
1654 to get the data source named in DataSourceID.
1656 * BaseDataBoundControl.cs: add an internal method to find a data
1657 source control within all the naming containers above a given
1658 control. The method makes it possible to find controls that reside
1661 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1663 * Repeater.cs: fixed: data-binding flow for 2.0 features.
1665 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1668 * ParameterCollection.cs:
1669 fixed GetValue/s and UpdateValue/s.
1671 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1673 * TreeNodeCollection.cs:
1674 fixed Save/Load viewstate.
1676 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1678 * MenuItemCollection.cs:
1679 fixed Save/Load viewstate.
1681 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1683 * CreateUserWizard.cs:
1685 fixed CausesValidaion and ValidationGroup for navigation buttons.
1687 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1691 fixed LoadPostData to restore checked state for node's checkboxes.
1693 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1695 * TreeNodeCollection.cs: 'dirty' flag is assigned if 'marked' only
1697 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1699 * BaseDataBoundControl.cs: setting DataSource to null does not
1700 call ValidateDataSource.
1701 * HierarchicalDataBoundControl.cs: ValidateDataSource does not
1702 throw exception if argument is null.
1704 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1706 * WebControl.cs: implemented IsEnabled and HasAttributes.
1708 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1710 * BaseDataList.cs: fixed: data-binding flow for 2.0 features.
1712 2007-02-27 Marek Habersack <grendello@gmail.com>
1714 * FileUpload.cs: HasFile is true only if PostedFile is not null
1715 and it actually has an associated file.
1717 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1719 * LoginView.cs: fixed:
1720 ViewChanging and ViewChanged are fired.
1721 optimized Save/Load control state.
1723 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1725 * CreateUserWizard.cs: fixed: does not attempt to send email if
1726 MailDefinition is not defined.
1728 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1731 considers FormsAuthentication.ReturnUrl only if is placed in
1732 the login page defined in web.config.
1734 2007-02-23 Marek Habersack <grendello@gmail.com>
1736 * ObjectDataSourceView.cs: Fix saving/restoring the view state.
1738 * CreateUserWizard.cs: support for sending mail when a new user is
1739 created. Patch from dban@dako.ro.
1741 2007-02-22 Marek Habersack <grendello@gmail.com>
1743 * LoginStatus.cs: Handle OnLoggedOut properly. Patch from
1746 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1748 * ObjectDataSourceView.cs: fixed ViewState behavior to match MS. Added relevant tests.
1750 2007-02-20 Gert Driesen <drieseng@users.sourceforge.net>
1752 * Calendar.cs: Fixed bug #80881 by using Thread's CurrentCulture
1753 instead of CurrentUICulture for DateFormatInfo.
1755 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1757 * SqlDataSource.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1758 * SqlDataSourceView.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1760 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
1762 * ChangePassword.cs: fixed:
1763 ChangePasswordContainer and SuccessContainer cannot be BindingContainer.
1765 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1767 * SqlDataSourceView.cs: Fixed parameter merging logic and some bug fixing.
1770 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
1775 implemented Form.SubmitDisabledControls feature.
1777 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1779 * GridView.cs: IsBindableType for decimal returns true.
1781 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1783 * Menu.js: client script: support IE6.
1785 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1787 * Menu.cs: fixed: considers item.ToolTip, render image inside 'a' tag.
1789 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
1791 * Button.cs, ImageButton.cs, LinkButton.cs: Hanlding of PostbackOptions for
1792 TARGET_J2EE is now centralized in ClientScriptManager.
1793 * TreeView.cs, DetailsView.cs, GridView.cs, TreeView.js, DetailsView.js,
1794 GridView.js: Added a field to the controls JavaScript 'data' object. The
1795 form is initialized to the page 'theForm'. This is used for J2EE portlets
1798 2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1801 first step is recognized as 'finish' if only two steps
1802 and last step is 'complete'
1804 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1806 * BaseValidator: ControlPropertiesValid is called on PreRender
1807 * CompareValidator.cs:
1808 * RangeValidator.cs: fixed ControlPropertiesValid, EvaluateIsValid.
1810 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1812 * BaseCompareValidator.cs: fixed: support for type=Currency on client side.
1814 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1816 * ParameterCollection.cs: fixed IndexOfString, this indexer should be
1819 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
1821 * TreeView.js: refactoring:
1822 removed TreeView_ErrorCallback, used TreeView_PopulateCallback instead.
1824 2007-02-13 Adar Wesley <adarw@mainsoft.com>
1826 * ObjectDataSourceView.cs: fixed parameter merging and added more tests
1828 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1830 * Literal.cs: implemented 2.0 feature - Mode.
1832 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1834 * ViewCollection.cs: fixed public API.
1836 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1838 * RepeaterItem.cs: implemented IDataItemContainer interface.
1840 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1842 * TreeNodeStyle.cs: fixed public API.
1844 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1846 * MenuItemStyle.cs: fixed public API.
1848 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1851 * DayRenderEventArgs.cs:
1852 implemented 2.0 feature - SelectUrl.
1854 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1856 * GridViewRowCollection.cs: implemented IsReadOnly property.
1858 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1860 * BaseValidator.cs: implemented SetFocusOnError feature.
1862 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1864 * Wizard.cs: refactoring:
1865 used ContainedTable for ID attribute is rendered properly.
1867 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1869 * CreateUserWizard.cs:
1873 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1875 * DataList.cs: fixed: OnBubbleEvent() will return true if event is handled
1877 2007-02-09 Gert Driesen <drieseng@users.sourceforge.net>
1879 * FontUnit.cs: Fixed ToString () to use current locale.
1881 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1883 * BaseValidator.cs: fixed render, works in static mode properly
1884 * CreateUserWizard.cs: fixed display mode for validators.
1886 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1890 implemented FormViewPagerRow class
1892 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1895 header and footer visibility is set at creation.
1897 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1899 * FormView.cs: fixed:
1900 header and footer are not created with empty row.
1902 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1904 * FormView.cs: fixed:
1905 works properly with not ICollection data source.
1907 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1909 * DetailsView.cs: fixed:
1910 PageIndex, CreateChildControls,
1911 works properly with not ICollection data source.
1913 2007-02-06 Eyal Alaluf <eyala@mainsoft.com>
1915 * Menu.cs ImageMap.cs Panel.cs TreeView.cs: Ensure that the NavigateUrl
1916 property is rendered as a RenderURL for J2EE portlets.
1918 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1920 * BaseValidator.cs: refactored RegisterValidatorCommonScript to use
1921 RegisterClientScriptInclude instead of RegisterClientScriptBlock
1923 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1925 * DataBoundControl.cs:
1928 PerformDataBinding is called with RequiresDataBinding was set false
1930 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1933 fixed validation flow.
1935 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1938 fixed validation flow.
1940 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1942 * CustomValidator.cs:
1943 ValidateEmptyText is considered on client side.
1945 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1950 * DataControlButton.cs:
1951 * DataControlField.cs:
1954 Internal classes are used in databound controls for buttons
1955 are derived from right types. It allows to have access to them by casting
1956 to public types. This trick is used in one of starter kits of MS.
1958 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1960 * Panel.cs: fixed: reverted r71441.
1961 * TreeView.cs: used internal RegisterWebFormClientScript API
1962 to cause the relevant script be included.
1964 2007-02-01 Adar Wesley <adarw@mainsoft.com>
1966 * FormView.cs: fixed events ModeChanging and ModeChanged
1967 to be raized in all relevant situations.
1969 2007-02-01 Igor Zelmanovich <igorz@mainsoft.com>
1971 * ValidationSammary.cs: fixed:
1972 control is rendered even if there is no validators on the page.
1973 important if the page contain a client side script that refer to the
1974 id of the validation summary div.
1976 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1981 * RadioButtonList.cs:
1982 EnsureDataBound is called when PostData is processed to restore
1983 'state' of control if EnableViewState is false
1985 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1987 * GridView.cs: fixed:
1988 RowDataBound is fired for PagerRow.
1989 Styles are applied using MergeWith instead CopyFrom
1990 to allow using custom styles for rows in code-behind.
1992 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1994 * GridView.cs: fixed: RowCommand event is fired properly.
1996 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1998 * GridView.cs: fixed: created rows are added in table after initialization.
2001 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
2003 * Panel.cs: fixed 'background-image' attribute.
2005 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
2007 * BaseDataBoundControl.cs:
2008 * DataBoundControl.cs:
2009 fixed DataBinding flow: RequiresDataBinding is set to false in
2011 * HierarchicalDataBoundControl.cs: implemented MarkAsDataBound().
2013 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
2017 fixed DataBinding flow for Insert mode.
2019 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
2022 does not RegisterRequiresPostBack if is not enabled.
2024 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
2028 fixed PopulateOnDemand: used UniqueID to call WebForms_DoCallBack().
2030 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
2032 * MultyView.cs: OnActiveViewChanged is called.
2034 2007-01-29 Vladimir Krasnov <vladimirk@mainsoft.com>
2036 * Panel.cs: fixed AddAttributesToRender for 2.0, text align should be
2039 2007-01-29 Adar Wesley <adarw@mainsoft.com>
2041 * EditCommandColumn.cs: implemented CausesValidation and
2042 ValidationGroup and coresponding tests.
2043 * DataGrid.cs: fixed generated table to be compatible with MS 2.0
2045 2007-01-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2047 * WebControl.cs: added internal method AddDisplayStyleAttribute for
2048 display:inline-block style attribute
2051 * CheckBox.cs: added call to AddDisplayStyleAttribute on rendering
2053 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
2055 * TreeView.js: Used WebForm_GetFormFromCtrl to lookup the form.
2057 2007-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
2059 * TextBox.cs: implemented AutoCompleteType property, fixed
2060 AddAttributesToRender
2062 2007-01-24 Ilya Kharmatsky <ilya -at- decode-systems.com>
2064 * DetailsView.cs: fixed problems with rendering of control, when
2065 empty data source is provided. Respective tests are provided
2066 in DetailsViewTest.cs
2068 2007-01-21 Konstantin Triger <kostat@mainsoft.com>
2070 * TreeView.js, DetailsView.js, Menu.js, GridView.js:
2071 suppress exception if eval() fails.
2073 2007-01-20 Miguel de Icaza <miguel@novell.com>
2075 * DataControlFieldCollection.cs (RemoveAt): remove unused
2078 * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
2081 * RadioButton.cs (RaisePostDataChangedEvent): This method was not
2082 used in 1.0, so put the whole method in 2.0
2084 2007-01-18 Adar Wesley <adarw@mainsoft.com>
2086 * Xml.cs: added support for XPathNavigator, fixed DocumentContent
2087 to be compatible with MS 2.0, implemented EnableTheming, implemented
2088 SkinID, fixed Focus behavior.
2090 2007-01-18 Vladimir Krasnov <vladimirk@mainsoft.com>
2092 * Menu.js, Menu.js: added null reference checking for every getTree or
2095 2007-01-18 Adar Wesley <adarw@mainsoft.com>
2097 * SiteMapDataSource.cs: implemented logic of GetStartNode when
2098 StartingNodeOffset is positive.
2100 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
2102 * BaseValidator.cs: ToString the validating property value or
2103 if null return an empty string.
2105 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2107 * TreeView.cs: fixed RegisterStyle, style names should be without
2108 leading underscore. fixed RenderNode, node icons should be taken also
2111 2007-01-17 Adar Wesley <adarw@mainsoft.com>
2113 * Repeater.cs: refactored GetData to return data both from DataSource
2114 and DataSrouceID, Implemented EnableTheming, updated initialization of
2115 DataBinding according to the pattern of BaseDataBoundControl, fixed
2116 SelectArguments implementation to call the virtual
2117 CreateDataSourceSelectArguments method.
2119 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
2121 * GridView.cs: don't force creating rows collection when SelectedIndex
2122 changes; EnsureDatabound on select.
2124 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2126 * TreeNode.cs: fixed Bind, fixed Value updating
2128 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2130 * DataList.cs: fixed OnBubbleEvent, added SelectedIndex updating
2132 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2134 * DetailsView.cs: fixed CreateChildControls, PageIndex cannot be less
2137 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2139 * DetailsView.cs: fixed CreateChildControls, PageIndex should be less
2140 or equal to PageCount
2142 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2144 * Menu.cs: added z-index attribute to popup div's.
2146 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2148 * FileUpload.cs: fixed FileName property, should return filename
2149 without full path on client side
2151 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
2156 Implemented the protected net_2_0 method 'VerifyMultiSelect' with
2157 proper overloading in derived types.
2159 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2162 considers INavigateUIData.NavigateUrl when bound.
2164 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2166 * CompleteWizardStep.cs
2167 * CreateUserWizard.cs
2168 * CreateUserWizardStep.cs
2169 * TemplatedWizardStep.cs
2171 make the design complied to .NET
2172 build all possible controls at once and manage render by Visible property
2174 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
2175 * Button.cs, HyperLink.cs, DataGrid.cs, ImageButton.cs, LinkButton.cs,
2176 PagedDataSource.cs: Added J2EE Portal support for TARGET_J2EE.
2178 2007-01-14 Ilya Kharmatsky <ilyak-at-mainsoft.com>
2179 * BaseCompareValidator
2181 Added support for CultureInvariantValues property, which should be
2182 counted in new 2.0 methods such as - Compare, Convert etc. The code
2183 has been changed in such way, that the old - 1.1 method implementation
2184 could use the new methods defined for 2.0 version.
2186 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2188 * XmlDataSource.cs: refactored to use cached collection.
2189 * SqlDataSource.cs: refactored to use cached collection;
2190 don't throw exception on 'DefaultView'.
2191 * ObjectDataSource.cs: refactored to use cached collection.
2193 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2195 * ObjectDataSourceView.cs: consider parameter names and
2196 DataObjectMethodAttribute during method resolution.
2198 2007-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2200 * SqlDataSourceView.cs: fixed OnUpdating, OnInserting call with
2201 SqlDataSourceCommandEventArgs
2203 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2205 * ObjectDataSourceView.cs: use case unsensitive comparer for
2206 parameters collection.
2208 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2210 * LoginStatus.cs: fixed: not causes page validation.
2212 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2214 * CreateUserWizard.cs: fixed: resolves ErrorMessage control correct.
2215 * CreateUserWizardStep.cs:
2217 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2219 * TreeView.cs: fixed: SelectedNode, CheckedNodes.
2221 * TreeNodeCollection.cs:
2223 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2225 * GridView.cs: fixed: header and footer does not appear in no items.
2226 * CompositeDataBoundControl.cs:
2228 2007-01-09 Konstantin Triger <kostat@mainsoft.com>
2230 * AdRotator.cs: Backport the fix for AdRotator AbsoluteUri to 1.1.
2232 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2234 * GridView.cs: fixed: SelectedDataKey.
2236 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2240 implemented 2.0 features.
2242 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2244 * SqlDataSourceView.cs: fixed parameters init for ExecuteUpdate
2246 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2248 * DataSourceCacheManager.cs:
2249 * ObjectDataSource.cs:
2251 fixed: cache considers parameters values changes.
2253 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2255 * DetailsView.cs: fixed DeleteItem, excluded keys for new values
2256 * SqlDataSourceView.cs: fixed ExecuteDelete, check cancel in
2259 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2261 * GridView.cs: fixed: show all rows when AllowPaging=false
2263 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2265 * SqlDataSourceView.cs: fixed CreateDbParameter, used DBNull for value=null.
2267 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2269 * ButtonField.cs: fixed: consider its CausesValidation property.
2271 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2273 * GridView.cs: fixed:
2274 ReadOnly property is false for AutoGeneratedColumn if field is DataKey.
2275 causesValidation parameter is considered properly in UpdateRow.
2276 OldValues contains readonly fields values
2278 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2280 * SqlDataSourceView.cs: fixed InitializeParameters, added
2281 ParameterPrefix when check that param is already in collection
2283 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2285 * AdRotator.cs: fixed: considers absolute uri such html://......
2287 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2289 * SqlDataSourceView.cs: fixed insert, delete, update methods, added
2290 calls to OnDataSourceViewChanged
2292 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2294 * added ProfileParameter.cs
2296 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2298 * Label.cs: fixed: according MSDN OnPreRender is not overridden.
2300 2007-01-04 Adar Wesley <adarw@mainsoft.com>
2302 * ImageButton.cs: implemented GenerateEmptyAlternateText
2304 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2306 * FormView.cs: fixed data binding flow considers Insert mode.
2308 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2310 * DataBoundControl.cs: fixed Init flow.
2312 2007-01-4 Adar Wesley <adarw@mainsoft.com>
2314 * RadioButtonList.cs: Implemented properties of IRepeatInfoUser as public virtual
2316 2007-01-03 Marek Habersack <grendello@gmail.com>
2318 * ObjectDataSourceView.cs: Look for unqualified type also in the top-level assemblies.
2320 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2322 * FormView.cs: fixed PageIndex property.
2324 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2326 * ListControl.cs: fixed SelectedValue and SelectedIndex properties.
2327 set accessor works differently in 2.0.
2329 2007-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
2331 * SqlDataSourceView.cs,ObjectDataSourceView.cs: fixed parameter merge
2332 when values and old values are null
2334 2006-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2336 * ListControl.cs: reverted r70112, fixed in r70319.
2338 2007-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2340 * DetailsView.cs: fixed CreateAutoGeneratedRows.
2342 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2344 * AutoGeneratedField.cs: is editable in Insest mode.
2345 * BoundField.cs: is editable in Insest mode.
2346 * CheckBoxField.cs: is editable in Insest mode.
2347 * DetailsView.cs: fixed DataBinding flow.
2349 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2351 * BaseDataBoundControl.cs:
2352 * CompositeDataBoundControl.cs: fixed DataBinding flow.
2354 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2356 * LinkButton.cs: show the validation summary when client validation
2357 and linkbuttons are used. Patch by Juraj Skripsky.
2359 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2361 * TextBox.cs: consider ToolTip property
2363 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2365 * ContainedTable.cs:
2366 * DataControlButton.cs:
2367 * DetailsView.cs: fixed EnablePagingCallbacks
2370 * GridView.js: fixed EnableSortingAndPagingCallbacks
2372 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2375 ResolveClientUrl used with LineImagesFolder, ExpandImageUrl,
2376 CollapseImageUrl and NoExpandImageUrl properties.
2378 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2380 * SqlDataSource.cs: Added parameters update on OnInit
2382 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2384 * LoginView.cs: fixed rendering LoggedInTemplate even after user
2387 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2392 control's behavior depends on using DataSource or DataSourceID
2393 property for binding
2395 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2397 * CommandField.cs: fixed:
2398 when ShowEditButton=false Update/Cancel button doesn't appear.
2399 when ShowInsertButton=false Insert/Cancel button doesn't appear.
2401 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2403 * Login.cs: fixed AuthenticateUser, should redirect to ReturnUrl when
2405 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2407 * Parameter.cs: fixed ConvertValue to coorect handle TypeCode.Empty
2408 * ObjectDataSourceView.cs: fixed MergeParameterValues,
2409 call Parameter.ConvertValue
2410 fixed ConvertParameter to hanlde TypeCode.Empty
2411 * SqlDataSourceView.cs: fixed InitializeParameters,
2412 call Parameter.ConvertValue
2413 fixed ParameterPrefix property
2414 fixed CreateDbParameter, added usege of ParameterPrefix
2416 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2418 * ListControl.cs: fixed: when is used with DataSourceID data bind is not
2419 perfomed on PostBack because Items collection is restored from View state.
2421 2006-12-26 Igor Zelmanovich <igorz@mainsoft.com>
2423 * DataGridPagerStyle.cs:
2428 * TableItemStyle.cs:
2433 fixed: Load/Save viewstate of WebControl does not call Load/Save viewstate
2434 for it's ControlStyle, but the shared ViewState is used to manage style's
2437 2006-12-21 Igor Zelmanovich <igorz@mainsoft.com>
2439 * CompleteWizardStep.cs:
2440 * CreateUserWizard.cs:
2441 * CreateUserWizardStep.cs:
2442 * TemplatedWizardStep.cs:
2444 fixed: CreateUserWizard works properly in advanced scenarios
2445 such being used with additional steps or/and with custom templates.
2446 Styles are aplied properly.
2448 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
2450 * SqlDataSourceView.cs: fixed InitializeParameters, parameters order
2451 parameters case insensetive search
2452 * ObjectDataSourceView.cs: fixed MergeParameterValues, parameters
2453 case insensetive search
2455 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2457 * Menu.cs: fixed: ResolveClientUrl used with src and href attributes
2459 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2463 TreeNodeCollapsed is not raised for leaf node.
2465 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2467 * DataGrid.cs, RepeatInfo.cs: fixed accessibility features
2469 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2471 * Calendar.cs: support DayNameFormat.Shortest
2473 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2475 * HiddenField.cs: implemented
2477 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2479 * FormView.cs: fixed: FillRowDataKey
2480 * DetailsView.cs: fixed: FillRowDataKey
2482 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2484 * TreeView.cs: fixed: ResolveClientUrl used with ImageUrl and NavigateUrl
2486 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2488 * Login.cs: refactored rendering, fixed OnAuthenticate event
2490 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2492 * GridView.cs: fixed: Update works not only for EditRow
2494 * CompositeDataBoundControl.cs:
2496 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2498 * RadioButton.cs: fixed:
2499 When GroupName is not defined UniqueID is used instead for name attribute.
2500 CheckedChanged is raised only when control is checked.
2502 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2504 * Menu.cs: fixed: rendering.
2506 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2508 * Menu.cs: fixed: rendering.
2510 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2515 fixed rendering for 2.0
2517 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2519 * DetaisView.cs: fixed: rendering.
2520 * DataControlButton.cs:
2523 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2525 * FormView.cs: fixed: avoid empty row rendering.
2527 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2529 * AdRotator.cs: fixed:
2530 MSDN: The ImageUrl and NavigateUrl attributes can be a full URL, a
2531 root-relative path, or a relative path. If you use a root-relative path,
2532 the path is relative to the same Web site. If you use a relative path,
2533 the path is relative to the directory that contains the advertisement file.
2535 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2537 * BaseCompareValidator.cs: fixed: support for type=Date on client side.
2539 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2541 * TreeView.cs: fixed: support for event validation.
2543 2006-12-04 Igor Zelmanovich <igorz@mainsoft.com>
2545 * DataGridPagerStyle.cs: chenged values of DataGridPagerStyles flags.
2547 2006-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2549 * CreateUserWizard.cs: implement GeneratePassword based on Membership.
2551 2006-11-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2553 * Wizard.cs: fixed GetStepType method that returned wrong type if the
2554 last step type is Complete.
2555 fixed ProcessEvent method, corrected FinishButtonClick behavior
2557 2006-11-26 Marek Habersack <grendello@gmail.com>
2559 * Calendar.cs: Fixed event validation registration. Now it
2560 registers all the arguments that can be passed by this control to
2563 2006-11-25 Marek Habersack <grendello@gmail.com>
2565 * FileUpload.cs: Implementation of SaveAs
2567 * TreeView.cs: A few optimizations for empty style collections.
2569 * Menu.cs: A few optimizations for empty style collections.
2571 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2573 * BoundField.cs: fixed: GetDesignTimeValue()
2575 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2577 * SiteMapDataSource.cs: fixed: GetViewNames()
2579 2006-11-23 Vladimir Krasnov <vladimirk@mainsoft.com>
2581 * ChangePassword.cs: implemented functionality
2582 * MailDefinition.cs: implemented CreateMailMessage method
2583 * PasswordRecovery.cs: implemented functionality
2585 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2587 * CircleHotSpot.cs: fixed:
2588 setting Radius with value <0 throws ArgumentOutOfRangeException.
2590 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2592 * CookieParameter.cs: fixed Evaluate method.
2594 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2596 * Parameter.cs: fixed Evaluate, ToString methods.
2597 * QueryStringParameter.cs: fixed Evaluate method.
2598 * SessionParameter.cs: fixed Evaluate method.
2600 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2602 * ImageMap.cs: fixed rendering.
2604 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2606 * HotSpot.cs: fixed: AccessKey and HotSpotMode
2607 throw ArgumentOutOfRangeException.
2609 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2611 * ControlParameter.cs: fixed: Evaluate method
2612 throws exceptions correctly.
2614 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2616 * CheckBox.cs: fixed: new 2.0 features such
2617 LabelAttributes and InputAttributes.
2619 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2621 * GridView.cs: fixed: header, footer and empty rows are databound.
2623 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2625 * Style.cs: added internal helper method RemoveTextStyles.
2627 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2629 * Button.cs: fixed: support for event validation.
2630 * CheckBox.cs: fixed: support for event validation.
2631 * FormView.cs: fixed: support for event validation.
2632 * ImageButton.cs: fixed: support for event validation.
2633 * ListBox.cs: fixed: support for event validation.
2634 * TextBox.cs: fixed: support for event validation.
2636 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2638 * DropDownList.cs: fixed: support for event validation.
2640 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2642 * LinkButton.cs: optimized: support for event validation.
2643 * DataControlButton.cs: Added support for event validation.
2644 * DetailsView.cs: fixed: RowIndex for DetailsViewRow.
2646 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2648 * LinkButton.cs: Added support for event validation.
2650 2006-11-17 Marek Habersack <grendello@gmail.com>
2652 * ImageButton.cs: Added support for event validation.
2654 * ListBox.cs: Added support for event validation.
2656 * Calendar.cs: Added support for event validation.
2658 * DropDownList.cs: Added support for event validation.
2660 * FormView.cs: Added support for event validation.
2662 * RadioButtonList.cs: Added support for event validation.
2664 * TextBox.cs: Added support for event validation.
2666 * BulletedList.cs: Added support for event validation.
2668 * CheckBox.cs: Added support for event validation.
2670 * Button.cs: Added support for event validation.
2672 2006-11-16 Igor Zelmanovich <igorz@mainsoft.com>
2674 * CreateUserWizard.cs: fixed: ActiveStepIndex property.
2676 2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>
2678 * ListControl.cs: fixed: DataBinding for 2.0, for 1.x - refactoring only.
2680 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2682 * GridView.cs: fixed: Rows property, DataBinding flow.
2683 * DataBoundControl.cs:
2684 * BaseDataBoundControl.cs:
2686 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2688 * CompositeDataBoundControl.cs: fixed:
2689 DataBind call Controls.Clear().
2691 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
2693 * CompositeDataBoundControl.cs: fixed:
2694 DataBind sets ChildControlsCreated=true.
2696 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2698 * Login.cs: fixed CreateChildControls, throws exception if needed
2700 * LoginView.cs: fixed CreateChildControls, check templates for null
2702 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2704 * Wizard.cs: fixed ActiveStepIndex property, fixed SideBar button
2705 rendering, fixed history updating
2706 * WizardStepCollection.cs: fixed implemented interfaces
2708 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2710 * XmlDataSource.cs: CacheKeyDependency fixed
2712 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
2714 * DetailsView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2716 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2718 * DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.
2720 2006-11-09 Vladimir Krasnov <vladimirk@mainsoft.com>
2722 * ParameterCollection.cs: fixed SetDirtyObject method
2723 * ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState
2724 utilization for control's properties, implemented caching
2725 * SqlDataSource.cs, SqlDataSourceView.cs: implemented caching
2727 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2729 * GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2731 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2733 * DataBoundControl.cs: fixed:
2734 ConfirmInitState method s called by
2735 the DataBoundControl class in its OnLoad method.
2737 2006-11-06 Igor Zelmanovich <igorz@mainsoft.com>
2739 * FormView.cs: fixed: DataBinding flow.
2741 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2743 * CustomValidator.cs: implemented ValidateEmptyText fixture.
2745 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2747 * BaseCompareValidator.cs: fixed: CultureInvariantValues, Type properties.
2749 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2751 * Menu.cs: fixed: RenderEndTag.
2752 Dynamic menu is rendered when StaticDisplayLevels=1
2754 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2756 * GridView.cs: fixed: UpdateRow, DeleteRow, RowCreated.
2758 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2760 * FormView.cs: fixed: UpdateItem, DeleteItem.
2762 2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>
2764 * DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.
2766 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2768 * RadioButtonList.cs: fixed: has no html output when Items.Count=0.
2770 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2772 * ListControl.cs: fixed: setting SelectedVolue for 2.0.
2774 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2776 * DataBoundControl: fixed: ValidateDataSource allows null as dataSource.
2778 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2780 * ListControl.cs: fixed: assigning SelectedIndex with too hight value.
2782 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2784 * ListControl.cs: fixed: DataBinding for 2.0.
2785 for 1.x refactoring only.
2787 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2789 * ChangePassword.cs: new class was implemented.
2791 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2793 * EmbeddedMailObject.cs: new class was implemented.
2794 * EmbeddedMailObjectsCollection.cs: new class was implemented.
2795 * MailDefinition.cs: new class was implemented.
2797 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2799 * PagerSettings.cs: fixed: CreatePagerControl.
2801 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2803 * CommandField.cs: fixed:
2804 considers CaseValidation, ValidationGroup, ButtonType.
2805 * DataControlButton.cs: refactoring:
2807 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2809 * DetailsView.cs: implemented: GetCallbackScript method.
2811 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2813 * FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2815 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2817 * FormFiew.cs: fixed: UpdateItem, InsertItem.
2819 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2821 * FormFiew.cs: fixed: PageIndex, rendering.
2823 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2825 * DropDownList.cs: fixed: rendering "name" attribute".
2827 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2829 * GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2830 * DataControlButton.cs:
2831 * CommandField.cs: CausesValidation feature must be implemented other way
2833 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2835 * CompositeDataBoundControl.cs: fixed: CreateChildControls flow.
2837 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2839 * FormView.cs: fixed: OnBubbleEvent returns true when event is handled.
2841 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2843 * DetailsView.cs: fixed: OnBubbleEvent works properly.
2845 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2847 * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
2849 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2851 * DetailsView.cs: fixed: CurrentMode property.
2853 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2855 * DetailsView.cs: fixed: current state are not changed during paging.
2857 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2859 * DetailsView.cs: fixed:
2860 in Insert mode Select not invoked from DataSource
2862 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
2864 * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
2866 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2868 * FormView.cs: fixed: CreateDataSourceSelectArguments method.
2869 (corresponding test does not work because bug in ObjectDataSourceView)
2871 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2873 * DataBoundControl.cs: fixed: DataBind calls
2874 CreateDataSourceSelectArguments() and stores result in SelectArguments
2876 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2880 fixed: EnablePagingCallbacks feature.
2881 when postback is invoked after callback control state is restored
2884 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2886 * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
2888 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2890 * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
2891 (corresponding test does not work because bug in ObjectDataSourceView)
2893 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2895 * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
2896 when postback is invoked after callback control state is restored
2899 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2901 * GridView.cs: fixed: Sorting feature.
2902 When sorting EditIndex and PageIndex are reseted
2904 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2906 * GridView.cs: fixed: Sorting feature.
2907 CreateDataSourceSelectArguments considers SortExpression and SortDirection.
2908 (corresponding test does not work because bug in ObjectDataSourceView)
2910 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2912 * GridView.cs: fixed:
2913 CreateDataSourceSelectArguments works according to MSDN.
2914 (corresponding test does not work because bug in ObjectDataSourceView)
2916 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2918 * ObjectDataSourceView.cs: fixed:
2919 CanRetrieveTotalRowCount returns true if EnablePaging = false
2921 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
2923 * DataBoundControl.cs: fixed: DataBind flow
2924 CreateDataSourceSelectArguments() is called
2925 each time as DataBind() is called
2927 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2929 * BoundField.cs: implemented ValidateSupportsCallback().
2931 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2933 * CommandField.cs: ValidateSupportsCallback(): exception's message.
2935 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2937 * FormView.cs: fixed: CurrentMode property.
2939 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2945 reverted r66222, problem solved in r66283: command buttons inherit ForeColor
2947 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2949 * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
2952 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2954 * HyperLink.cs: don't render the img tag 'by hand' but use an Image
2955 instead, which takes care of the 0/0px case. Also set the ToolTip
2956 property. Fixes bug #79585.
2958 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2960 * DetailsView.cs: optimization for previous patch
2962 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2964 * FormView.cs: optimization for previous patch
2966 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2969 * DetailsViewRow.cs:
2970 implemented PrepareControlHierarchy()
2971 styles are applied correct
2973 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2976 implemented PrepareControlHierarchy()
2977 styles are applied correct
2979 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2982 * DataControlButton.cs:
2983 * DataControlField.cs:
2984 implemented PrepareControlHierarchy()
2985 styles are applied correct
2986 command buttons inherit ForeColor
2988 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2990 * WebControl.cs: fixed: CreateControlStyle()
2992 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2998 corrected pager rendering: Color style applied to A tag,
2999 Input type="image" used if ImageUrl is not empty.
3001 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
3003 * GridView.cs: corrected rendering
3004 * ContainedTable.cs: added new helper class
3006 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
3008 * FormView.cs: fixed:
3009 in Insert mode Select not invoked from DataSource
3011 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
3013 * FormView.cs: fixed:
3014 Pager is not shown when page count < 1
3015 in Edit mode use EmptyDataTemplate if there is no DataItem
3016 when page changed FormView stays in current state.
3018 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
3020 * FormView.cs: fixed: OnBubbleEvent works properly
3022 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
3024 * DataBoundControl.cs: fixed: DataBind flow
3025 GetData return "empty" DataSourceView when no DataSource and DataSourceID
3026 was assigned to cause PerformDataBinding be called.
3028 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3030 * DataList.cs: use ExtractTemplateRows to determine if the style is
3031 applied to the Table in a template or to its rows. Fixes bug #78058.
3033 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3035 * ListBox.cs: if the list is not enabled, don't require a postback.
3038 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3040 * HyperLink.cs: don't output the nabvigate url if disabled.
3041 * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
3042 the link URL if disabled.
3045 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3047 * RadioButtonList.cs:
3048 make it to consider CausesValidation and ValidationGroup properties
3050 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3053 make it to consider CausesValidation and ValidationGroup properties
3055 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3058 Page.Validate() is called when CausesValidation=true
3060 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3063 make onclick attribute to consider ValidationGroup property.
3065 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3068 make rendering of the href attribute to consider ValidationGroup property.
3069 Page.Validate() is called when CausesValidation=true
3071 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3074 make rendering of the onchange attribute to consider ValidationGroup
3076 Page.Validate() is called when CausesValidation=true
3078 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3081 make rendering of the onclick attribute to consider ValidationGroup property
3082 Page.Validate() is called when CausesValidation=true
3084 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3087 VewState saving and restoring rolled back to 1.1 implementation
3088 (fixed corresponding test), corrected public interface (there are no
3089 overriden methods SaveControlState, LoadControlState and OnInit),
3090 implemented CausesValidation and ValidationGroup properties.
3092 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3095 make rendering of the onclick attribute to consider ValidationGroup property
3096 Page.Validate() is called when CausesValidation=true
3098 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3101 implemented: RaisePostBackEvent,
3102 refactoring: GetPostBackOptions used to build onclick client event
3104 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3106 * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
3108 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3110 * BaseValidator.cs: implemented ValidationGroup feature on client side
3111 * ValidationSummary.cs:
3113 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
3115 * TreeView.cs: corrected rendering
3118 2006-09-11 Konstantin Triger <kostat@mainsoft.com>
3120 * Login.cs: ensure the urls are correctly resolved.
3122 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3124 * TreeView.cs: corrected rendering: styles are applied correct
3128 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3130 * TreeView.cs: corrected rendering: HoverNodeStyle works
3134 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3136 * TreeNodeStyle.cs: fixed: ViewState restored properly
3138 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3142 * TableItemStyle.cs:
3143 * DataGridPagerStyle.cs:
3144 refactoring: makes Style class more flexible for inheriting and reuse
3146 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3148 * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked
3149 state restored correct on PostBack.
3152 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3154 * ObjectDataSourceView.cs: correctly find the type when it is not in the
3155 executing assembly. Fixes bug #78321. Patch by Marek Habersack.
3157 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3159 * ControlParameter.cs: fix search for controls so that they use their
3160 NamingContainer, not the Page. Patch by Marek Habersack that fixes
3163 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3165 * Login.cs: fix problem with the login control and master pages.
3166 Patch by Marek Habersack that fixes bug #78219.
3168 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3170 * TreeView.cs: fixed: populating nodes.
3173 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3175 * TreeNode.cs: fixed: ToggleExpandState.
3177 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
3179 * SqlDataSourceView.cs: return DataView from ExecuteSelect when
3180 DataSourceMode is DataSet.
3182 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3184 * TreeView.cs: fixed: populating nodes flow.
3185 * TreeNodeCollection.cs
3188 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3190 * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.
3192 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3194 * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.
3196 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3198 * TreeView.cs: fixed: when specified value is not one of
3199 the TreeNodeTypes values exception is threw.
3201 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3203 * TreeView.cs: fixed: when specified image set is not one of
3204 the TreeViewImageSet values exception is threw.
3206 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
3208 * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.
3210 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
3212 * Style.cs: implemented SetBit().
3214 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3216 * CompareValidator.cs: fixed controltocompare attribute.
3218 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3221 when login attempt was not successful FailureText is shown.
3223 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3225 * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage
3226 is formatted correct.
3228 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3230 * CreateUserWizard.cs:
3231 * CompleteWizardStep.cs:
3232 * CreateUserWizardStep.cs:
3234 fixed: ContinueButtonClick occurs when the user clicks
3235 the Continue button in the final user account creation step.
3236 ContinueDestinationPageUrl - redirected after clicking
3237 the Continue button on the success page.
3239 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3241 * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
3242 insted internal DataControlButton.
3244 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3246 * Button.cs: implemented GetPostBackOptions + refactoring
3248 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3250 * ImageButton.cs: implemented 2.0 features
3251 OnClientClick attached to onclick attribute.
3252 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3253 generate onclick attribute.
3255 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3257 * LinkButton.cs: typo fix
3259 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3261 * Button.cs: refactoring
3263 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3265 * LinkButton.cs: implemented 2.0 features
3266 OnClientClick attached to onclick attribute.
3267 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3270 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
3272 * Button.cs: implemented 2.0 features
3274 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
3276 * Menu.cs: refactoring
3279 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3281 * TreeView.cs: fixed data binding
3283 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3285 * TreeNodeBinding.cs: fixed ToString method
3287 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3289 * MenuItem.cs: typo fix
3291 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3293 * CreateUserWizardStep.cs: fixed validators message display
3295 2006-08-25 Kornél Pál <kornelpal@gmail.com>
3297 * FileUpload.cs: Use assembly name constants.
3299 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3301 * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
3302 always creates ExtractTemplateValuesMethod delegate
3304 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
3306 * TreeNodeBinding.cs: corrected public interface
3309 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3311 * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
3312 case, but there are many others.
3314 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3316 * Menu.cs: corrected rendering of static and dynamic items
3319 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3323 fixed: AddAttributesToRender method calls FillStyleAttributes,
3324 text styles applied correct.
3326 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3329 fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
3330 refactoring: Name and Names properties has same source in bag.
3332 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3334 * Style.cs: restored r63894: for 1.x is refactoring only
3336 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3339 fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
3340 added ClearDefaults method for 2.0.
3342 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3344 * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
3347 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3349 * SubMenuStyle.cs: fixed:
3350 Unit.ToString() already include unit (e.g. "3px")
3352 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3355 * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
3356 submitted for review and it only added tests for the 2.0 profile.
3358 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3360 * FormView.cs: added explicit implementation of
3361 IDataItemContainer.DataItemIndex, as documented
3363 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
3366 When style is registered with StyleSheet AddAttributesToRender method
3367 adds class attribute but not style to writer
3369 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
3372 OnBubleEvent works properly - controls like Button, LinkButton nested into template
3373 can raise MenuItemClick event,
3374 ViewState of Items saved and restored properly.
3376 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
3378 * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
3381 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
3383 * Menu.cs: fixed databinding feature:
3384 ensure that items initialization occurs only once
3386 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
3388 * Menu.cs, MenuItem.cs: fixed databinding feature
3390 2006-08-09 Robert Jordan <robertj@gmx.net>
3392 * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
3393 replace ResolveUrl with ResolveClientUrl to match MS.NET's
3394 behaviour. Fixes bug #77539.
3396 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
3398 * HierarchicalDataBoundControl.cs: fixed DataBind flow
3400 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3406 * WebControl.cs: fixed ParseChildren attribute to be compliant
3409 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3411 * MultiView.cs: fixed: EnableTheming property
3413 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3417 * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
3419 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3421 * Style.cs: fixed restoring FontInfo from ViewState
3423 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3425 * XmlDataSource.cs: implemented caching functionality
3427 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3429 * PagerSettings.cs: Fixed the pager range calculation formula. The old
3430 one didn't work with more than 20 pages. Patch by Marek Habersack that
3433 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3435 * FormView.cs: fixes to make Render more similar to dotnet.
3437 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
3439 * Wizard.cs: fixed return value of OnBubbleEvent
3441 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3443 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
3444 handle null result of GetData().
3446 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3448 * FormView.cs: use TableStyle for ControlStyle.
3450 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3452 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
3454 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3456 * FormView.cs: init DataKeys and fix null reference.
3458 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3460 * TreeView.cs: several changes to improve compatibility with MS.
3461 Patch by Marek Habersack that fixes bug #77551.
3463 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3465 * Style.cs: output the text-decoration value even when it is 'none'.
3466 Patch by Marek Habersack that fixes bug #78968.
3468 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3470 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
3473 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3475 * DetailsViewRowCollection.cs: returns this in SyncRoot.
3477 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3479 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
3482 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3484 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
3486 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3488 * AutoGeneratedField.cs: fix the internal constructor according to test
3489 DetailsView_CreateAutoGenerateRow.
3491 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
3493 * XmlDataSource.cs: implemented XSLT, removed properties from
3495 * XmlDataSourceView.cs: fixed default xpath
3497 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
3499 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
3501 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
3503 * Wizard.cs: fixed ActiveStep property
3504 fixed templated side bar
3506 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3508 * ImageField.cs: fix null reference bug.
3510 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3512 * DetailsView.cs: init DataKey property with empty collection.
3513 * DataKey.cs: fix unexpected exception bug.
3514 * DataControlField.cs: override ToString according to MSDN.
3516 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3518 * DetailsView.cs: create table style in CreateControlStyle.
3520 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3522 * DetailsView.cs: don't throw the exception which .Net does not throw.
3524 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3526 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
3527 to match .Net; fix PageCount to match record count.
3529 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3531 * Menu.cs: fixed properties default values, fixed rendering
3534 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3536 * Wizard.cs: implemented SkipLinkText, TagKey
3537 fixed rendering bugs, fixed templated button bar rendering
3538 fixed side bar rendering
3539 * WizardStepBase.cs: fixed Name property
3541 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3543 * DetailsView.cs: fix the regressions, caused by the previous commit.
3545 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3547 * DetailsView.cs: correct handling the different default values of
3548 DetailsView.CellSpacing and Table.CellSpacing.
3550 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3552 * DetailsView.cs: create a pager row when needed.
3554 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3558 * PagedDataSource.cs:
3561 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
3562 support it. The GridView control will no longer throw an exception when
3563 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
3565 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3567 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
3568 Rows with empty collection; call EnsureChildControls from get Row;
3569 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
3570 implemented IPostBackContainer.GetPostBackOptions.
3572 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3574 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
3575 and FooterText are empty, to match .NET. Otherwise we have NullReference
3578 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3580 * DetailsView.cs: Render fix.
3582 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3584 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
3587 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3589 * DetailsView.cs: NullReferenceException fix
3591 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3593 * PagerSettings.cs: implemented PropertyGhanged event
3595 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3597 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
3598 with .Net; don't throw NotImplemented when base class implementation
3601 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3603 * DetailsViewPagerRow.cs: add a stub for this class
3605 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3607 * GridView: fixed DataKeyNames property, moved to ControlState
3608 fixed PageCount property, initial PageCount ahould be zero
3609 fixed SelectedDataKey, should throw exception if not initialized
3610 fixed CreateColumns, wrong order of columns
3611 fixed CreateControlStyle,
3612 fixed InitializePager, no columnspan attrib on only one column
3613 fixed LoadControlState, SaveControlState added DataKeyNames
3614 fixed Render, RenderGrid should render within div tag
3615 implemented GetPostBackOptions
3616 * DataControlButton.cs: fixed Render, fixed style for img button
3618 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3620 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
3623 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3625 * CommandField.cs: fixed ValidateSupportsCallback
3627 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3629 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
3630 affect the flow yet.
3632 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3634 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
3636 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3638 * WebControl.cs: fix for AddAttributesToRender - add display
3639 style when appropriate
3641 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3643 * CommandField.cs: fixed InitializeCell, wrong order of command
3645 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
3646 should be rendered as label
3647 * BoundField.cs: empty null value should be rendered as nbsp
3648 * GridViewRowCollection.cs: fixed SyncRoot
3650 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3652 * SiteMapPath.cs: create Literal instead of Label according to the
3653 MSDN and test SiteMapPath_InitializeItem.
3655 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3657 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
3658 * Image.cs: in 2.0 there is no border attribute, but border-width
3661 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3663 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
3665 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3667 * DataList.cs: correctly initialize editable items when there's an
3668 EditItemTemplate. Patch by Jarosław Pawlak.
3670 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
3672 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
3675 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3677 * BulletedList.cs: fixed Render, RenderBulletText, various properties
3678 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
3681 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3683 * MultiView.cs: 'initied' state variable was changed to views count in
3684 the views collection.
3686 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3688 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
3689 checkbox should have tooltip
3690 * HyperLinkField.cs: fixed InitializeCell, should create link control
3691 only in data cell (not in header or footer), initialization of
3693 * ImageField.cs: fixed InitializeDataCell, initialization of
3696 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3698 * MultiView.cs: removed exception throwing from ActiveViewIndex
3700 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
3702 * DataControlFieldCollection.cs: added OnClearComplete override;
3703 refactor to eliminate null reference exception.
3705 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3707 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
3708 * View.cs: fixed Visible property
3710 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
3712 * ImageField.cs: fixing .net compliancy.
3714 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
3716 * SiteMapPath.cs: fix the default PathSeparator value.
3718 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3720 * GridView.cs: always create Header/Fotter rows, but render only when
3721 ShowHeader/Footer is true. Compute Header/Footer rows from rows
3723 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
3724 add ToolTip and Text to the created CheckBox,
3725 wrap exception thrown in OnDataBindField in httpException.
3727 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3729 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
3731 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3733 * DataControlField.cs: correct handling empty header/footer text.
3734 * TemplateField.cs: correct initialization according to
3735 DataControlRowState.
3737 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
3739 * Wizard.cs: added functionality for Templated WizardStep
3740 and CreateUserWizard
3741 * added CompleteWizardStep.cs, CreateUserWizard.cs,
3742 CreateUserWizardStep.cs, TemplatedWizardStep.cs
3744 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3746 * AutoGeneratedField.cs: correcting default dataType.
3748 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3750 * DataControlField.cs: fixed Initialize, should always return false
3752 2006-07-03 Lluis Sanchez <lluis@novell.com>
3754 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
3756 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3758 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
3759 setting RequiresDataBinding in OnLoad event.
3760 * GridView.cs: DataBind rows before other control can access the data.
3761 * BoundField.cs: add unique ID to control for postback parameters.
3763 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3765 * WebControl.cs: fix typo in EnableTheming.
3767 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
3769 * MenuItemCollection.cs: save items if the collection is dirty.
3770 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
3771 Add item to collection before binding to let the state be correctly tracked.
3772 * Menu.cs: Add item to collection before binding to let the state be correctly
3775 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
3777 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
3778 test against with "^...$" if necessary. MS.NET does this too.
3780 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
3782 * WizardStepCollection.cs: Fixed Add methods to initialize
3783 WizardStep.Wizard property
3784 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
3785 Fixed GetStepType, if only one step present, it should be FinishStep
3786 Fixed styles of tables for more accurate rendering, fixed Wizard
3789 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
3791 * FormView.cs: instantiate correct template when the bounding data source is
3794 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
3796 * FormView.cs: disabling setting out of range FormView.PageIndex.
3798 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
3800 * FileUpload.cs: added
3802 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
3804 * FormView.cs: handle CssClass attribute
3806 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3808 * Button.cs: do something in PostBackUrl.
3809 * Repeater.cs: when creating the RepeaterItemCollection, initialize
3810 'items' if it hasn't been done yet. Fixes bug #78417.
3812 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
3814 * BaseDataList.cs: added ConnectToDataSource method that called from
3815 OnLoad, fixed GetData method
3816 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
3819 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
3821 * Menu.cs: add CssStyle value to the rendered class attribute
3823 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
3825 * Calendar.cs: Make sure WebControls.Enabled is respected.
3826 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
3827 to 12:00am as MS.NET does the same.
3830 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3832 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
3833 DataSourceViewChanged, looks for a datasource in its parent control
3834 fixed GetData method, should not get data if datasource is null
3836 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
3838 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
3840 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3842 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
3844 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3846 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
3848 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3850 * DataList.cs: Fixed LoadViewState method
3852 2006-05-04 Lluis Sanchez <lluis@novell.com>
3854 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
3856 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3858 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
3860 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3862 * FormView.cs: fix FormView.PageCount after data binding.
3864 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3866 * CheckBox.cs: certain attributes have to be rendered in the input tag,
3867 not the <span>. Fixes bug #71251.
3869 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3871 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
3874 ensure rebinding when FormView.PageIndex is called.
3875 and bind to the correct PageIndex.
3877 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3879 * MenuItem.cs: when binding to IHierarchyData, check whether
3880 it implements INavigateUIData and retrieve NavigateUrl.
3881 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
3883 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
3884 Provide basic CreateChildControls implementation by ensuring the control is bound.
3885 Ensure the child controls are created when the postback event is raised.
3886 Provide default implementation for SkipLinkText to let the default functionality to work.
3888 2006-04-11 Lluis Sanchez <lluis@novell.com>
3890 * TreeNodeBinding.cs: Added HasPropertyValue property
3891 to check if some properties have a value in the
3893 * TreeNode.cs: Lazily get the dataPath. Instead of getting
3894 bound properties when they are requested, get all of
3895 them when the node is bound and store their values in
3896 the state bag. In this way it won't be necessary to
3897 query every time the datasource to get the values.
3898 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
3899 * TreeView.cs: Call base in OnInit(). Bind nodes after
3900 adding them to the list, to properly keep track of
3901 changes. Don't databind in postbacks.
3903 2006-04-11 Chris Toshok <toshok@ximian.com>
3905 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
3907 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3909 * BaseDataList.cs: Fix searching control by DataSourceID.
3910 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
3913 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3915 * Login.cs: Added LayoutTemplate property support.
3916 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
3917 DataBind: correctly bind child controls.
3918 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
3920 2006-03-29 Robert Jordan <robertj@gmx.net>
3922 * DataGrid.cs: if custom paging is enabled the persisted item count
3923 must be the count of the rendered items, otherwise paging from the
3924 last to a previous page won't work correctly. Fixes bug #77556.
3926 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
3928 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
3929 when rendering disabled list control
3931 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3933 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
3935 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
3937 * FontInfo.cs: Implemented ShouldSerializeNames
3939 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3941 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
3943 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3945 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
3947 in PrepareControlHierarchy fixed style applying to AlternatingItem
3949 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
3951 * DataList.cs: fixed RepeatColumns property, added value validation
3952 in PrepareControlHierarchy method fixed style applying for
3953 AlternatingItem, EditItem and Separator item
3954 fixed RenderContents method, if no items exist, no nned to
3955 render emty table strructure.
3957 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3959 * CompareValidator.cs: when searching for the control to compare, use
3960 NamingContainer instead of Page. Fixes bug #77793.
3962 2006-03-15 Chris Toshok <toshok@ximian.com>
3964 * SiteMapPath.cs (InitializeItem): in the Current and Root node
3965 cases, apply the NodeTemplate if it exists and there isn't a
3966 CurrentNodeTemplate or RootNodeTemplate, respectively.
3968 2006-03-15 Chris Toshok <toshok@ximian.com>
3970 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
3972 * SiteMapDataSource.cs (StartingNodeOffset): new property.
3973 (GetStartNode): add code to handle StartNodeOffset < 0.
3975 * CompositeControl.cs
3976 (ICompositeControlDesignerAccessor.RecreateChildControls): just
3977 call the non-iface method.
3979 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
3980 traverse up the naming container tree looking for our datasource
3981 if we're bound using a DataSourceID. This fixes things in the
3982 sitemap1 test, which uses a mixture of templates and
3983 ContentPlaceholders with the sitemapdatasource and sitemappath at
3984 different levels in the naming container tree (let along the
3987 * SiteMapPath.cs (DataBind): implement this by chaining up to
3988 base.DataBind, then by looping over our children, emitting
3989 OnItemDataBound for each SiteMapNodeItem.
3990 (AddAttributesToRender): remove.
3991 (CreateChildControls): call DataBind as the final step here.. I
3992 have, of course, no idea if this is right.
3993 (CreateControlHierarchy): don't databind our children here, as
3994 they need to be in the Controls collection before we do.
3995 (RenderContents): render our accessibility/screenreader stuff
3996 here, if SkipLinkText != "".
3998 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
4000 * DataGridPagerStyle.cs: fixed PrevPageText property
4002 2006-03-13 Chris Toshok <toshok@ximian.com>
4004 * BaseCompareValidator.cs (Convert): make the
4005 ValidationDataType.String case a bit more compact.
4007 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4010 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
4011 Patch by Hubert Fongarnand.
4013 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
4015 * FontInfo.cs: fixed CopyFrom, this method should not reset the
4016 received fontinfo if it is the same instance
4017 fixed ToString, corrected output where only font size specified
4019 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
4021 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
4022 if it not set but the border has width
4023 fixes in CopyFrom, MergeWith correct unit compare when it has zero
4026 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
4028 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
4029 properties of custom class
4030 fixed InitializeNumericPager, pager numbers should be a Label control
4031 fixed CreateControlHierarchy, corrected dataset index of items if
4034 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
4036 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
4038 fixed CreateControlStyle to set correct cellspacing of table style
4039 fixed InitializeItem to correct applying template to selected and
4042 2006-03-08 Chris Toshok <toshok@ximian.com>
4044 * SiteMapNodeType.cs: nuke.
4046 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
4047 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
4048 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
4049 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
4050 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
4051 ValidationCompareOperator.cs, ValidationDataType.cs,
4052 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
4053 [Serializable] in 2.0.
4055 * DayNameFormat.cs: add "Shortest".
4057 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
4059 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
4062 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
4064 * TextBox.cs: fixed missing value validations, fixed rendering
4065 of empty value attribute
4067 2006-03-07 Chris Toshok <toshok@ximian.com>
4069 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
4070 by chaining up to base.EnableTheming.
4072 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
4074 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
4076 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
4078 * RadioButton.cs: added ValueAttribute property to store the button
4080 * RadioButtonList.cs: fixed tab index when rendering.
4082 2006-03-02 Chris Toshok <toshok@ximian.com>
4084 * WebControl.cs (SkinID): implement setter/getter, and have them
4085 just chain up to base.SkinID.
4087 2006-02-27 Chris Toshok <toshok@ximian.com>
4089 * SqlDataSource.cs: track change to DataSourceControl's protected
4092 * AccessDataSource.cs: same.
4094 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
4096 * ListControl.cs: fixed SelectedIndex property, fixed selection
4097 reset on incorrect value
4099 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
4101 * TableStyle.cs: fixed AddAttributesToRender function, style
4102 BorderCollapse:Collapse was added if table's CellSpacing is zero
4104 2006-02-23 Chris Toshok <toshok@ximian.com>
4106 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
4107 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
4108 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
4109 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
4110 ImageButton.cs, ImageField.cs, Literal.cs,
4111 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
4113 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
4114 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
4115 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
4116 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
4117 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
4118 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
4119 errors. most were caused by a property/method being virtual when
4120 it shouldn't be, or vice versa.
4122 2006-02-22 Chris Toshok <toshok@ximian.com>
4124 * ObjectDataSource.cs: corcompare work.
4126 2006-02-22 Chris Toshok <toshok@ximian.com>
4128 * ParameterCollection.cs: add an EditorAttribute to the class.
4130 * Parameter.cs: cleanup, fix the Value property, and implement the
4133 * SqlDataSourceView.cs: clean things up a bit, and add handling
4136 2006-02-22 Chris Toshok <toshok@ximian.com>
4138 * SqlDataSourceFilteringEventArgs.cs: formatting.
4140 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
4141 both the property and ctor arg.
4143 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
4144 not CommandEventArgs. Also, cast the return value of
4145 oleCommand.ExecuteReader.
4147 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
4149 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
4150 (GetPhysicalDataFilePath): implement, again naively. this is
4151 where the NRE is generated when we access ConnectionString in a
4153 (ConnectionString): dynamically generate this based on our
4155 (DataFile): clear the ConnectionString in the setter so we'll
4157 (ProviderName): use base.ProviderName in the getter, not
4158 this.ProviderName, so we don't recurse infinitely.
4160 * SqlDataSourceView.cs: start reworking this class.
4162 * SqlDataSource.cs (GetDbProviderFactory): implement this,
4163 following the MS docs on the matter (if ProviderName is null/"",
4164 return SqlClientFactory.Instance.)
4165 (GetDbProviderFactoryInternal): add an internal method for use by
4167 (TrackViewState): don't invoke View.TrackViewState unless we have
4169 (Selecting): change event handler type to match MS.
4170 (Filtering): add missing event.
4171 (View): call CreateDataSourceView, don't just create an
4174 2006-02-21 Chris Toshok <toshok@ximian.com>
4176 * BoundField.cs: ues the ViewState.Get* pattern with default
4177 instead of the explicit ViewState lookup + null check, and fix the
4178 scope of InitializeDataCell.
4180 * ButtonField.cs: ues the ViewState.Get* pattern with default
4181 instead of the explicit ViewState lookup + null check.
4183 * CommandField.cs: same.
4185 * CheckBox.cs: same.
4187 * AutoGeneratedFieldProperties.cs: same.
4189 * BaseDataList.cs: same.
4191 * CircleHotSpot.cs: same.
4193 * BulletedList.cs: same.
4195 * DataBoundControl.cs: same.
4197 * CookieParameter.cs: same.
4199 * ControlParameter.cs: same.
4201 * CustomValidator.cs: same.
4203 * ButtonFieldBase.cs: same.
4205 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
4207 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
4209 * BaseValidator.cs: same, and clean up the getter/setter formatting.
4211 * CompareValidator.cs: same.
4213 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4215 * ListControl.cs: fixed DataSource property, to throw
4216 ArgumentException on incorrect value
4218 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4220 * Image.cs: fixed missing border="0" attribute, when image has style,
4221 but border width is not specified.
4223 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4225 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
4226 correct the "disabled" attribute in CheckBoxList
4227 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
4228 attribute in CheckBoxList
4230 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4232 * CheckBox.cs: fixed Render function, removed rendering of empty
4233 <span> element if ControlStyleCreated but it's empty.
4234 fixed "disabled" attribute, it should be placed into span element
4236 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4238 * BoundColumn.cs: fixed InitializeCell function, if DataField is
4239 null or empty string, the cell should not be bound.
4241 2006-02-08 Chris Toshok <toshok@ximian.com>
4243 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
4244 AppendDataBoundItems != false. Also, split all the databinding
4245 logic out to DoDataBinding, which we call from here only if
4247 (DoDataBinding): new function. actually perform the binding.
4248 (PerformDataBinding): implement.
4249 (PerformSelect): chain up to base class.
4251 2006-02-07 Chris Toshok <toshok@ximian.com>
4253 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
4255 * Content.cs: use ContentControlBuilderInternal, and add a bunch
4256 of unused (for now) EventHandler's here.
4258 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
4261 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4263 * ListControl.cs: bound checking for Items when loading the control
4264 state, as the number might have been changed on the fly. Patch by
4267 2006-01-22 Chris Toshok <toshok@ximian.com>
4269 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
4271 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
4272 the intended comparison right and quiet mcs.
4274 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4276 * Button.cs: Add semicolon after client script if does not exist.
4278 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4280 * Button.cs: preserve user logic when adding client validation.
4282 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4284 * BaseValidator.cs: fixing visibility bahavior
4286 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4288 * RangeValidator.cs: allow empty data from the control. Patch from Marek
4289 Habersack that fixes bug #77239.
4291 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4293 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
4294 by Cyrille Colin. Closes bug #77184.
4296 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
4298 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
4299 compilation pass with csc 1.1.
4301 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4303 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
4305 2005-12-07 Chris Toshok <toshok@ximian.com>
4307 * BaseValidator.cs: in the uplevel rendering case, don't render
4308 the text if the validator's Display attribute is "None". Should
4311 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4313 * RadioButton.cs: if the 'value' attribute is set explicitly (as
4314 RadioButtonList does now), use that as the 'name' attribute.
4315 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
4320 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4322 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
4323 the 'name' attribute when not aligninng to the right.
4324 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
4325 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
4327 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4329 * DataGrid.cs: clear the control collection on every call to
4330 CreateControlHierarchy. Fixes bug #76732.
4332 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4334 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
4336 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4338 * CheckBox.cs: use the NameAttribute property for setting 'name'.
4339 * RadioButton.cs: get a UniqueID based identifier for 'name'.
4342 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4344 * LinkButton.cs: don't output any javascript when the linkbutton is
4345 disabled. Fixes bug #76713.
4347 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4349 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
4350 UseAccesibleHeader property is true. Patch by Robert Jordan.
4352 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4354 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
4355 control to validate. Fixes bug #76641.
4357 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4359 * BoundColumn.cs: when the column is readonly and we're in edit mode,
4360 keep it as a TextBox. Fixes bug #76714.
4362 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4364 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
4365 enabled. Fixes bug #76608.
4367 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4369 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
4370 the logic to Render and make it render the ID, which fixes bug #76596.
4372 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4374 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
4376 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4378 * Literal.cs: allow LiteralControl as child, but instead of adding it
4379 to the control collection, it just gets the Text out of it.
4381 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4383 * PagedDataSource.cs: fix range when we're at the last page.
4384 * DataGrid.cs: only need to keep the item count in the viewstate.
4387 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4389 * ListControl.cs: made GetSelectedIndices() internal.
4390 * ListBox.cs: html-encode the item text. Fixed single and multiple
4391 selection handling. All the tests pass now. Closes bug #76478.
4393 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4395 * ListControl.cs: throw when the selected value is not in the
4396 items collection. Fixes bug #76415.
4398 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4400 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
4401 throw a nullref, so we have to do it by ourselves here to make
4404 * BaseValidator.cs: render the text of the error message even if
4405 we set IsValid programatically. Don't use 'valid' directly, as
4410 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4412 * CustomValidator.cs: an empty ControlToValidate is valid.
4414 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
4416 * RequiredFieldValidator.cs: Added missing permissions.
4418 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4420 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
4421 Now the items get the attributes from the styles in datalist. Add the
4422 separators after each item, not before. GetItemStyle returns the actual
4423 item style, not the styles in the datalist. Fixes bug #76384 and all
4426 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4428 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
4431 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4433 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
4436 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
4438 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
4439 inheritance demands.
4440 * FontUnit.cs: Structs are sealed so there's no need for inheritance
4442 * Unit.cs: Structs are sealed so there's no need for inheritance
4445 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4447 * PagedDataSource.cs: fix the upper bound for collection and ilist
4450 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4452 * DataGrid.cs: change the ListItemType for the item selected, set
4453 SelectedIndex before calling OnSelectedIndexChanged and set the selected
4454 item type correctly when creating the columns. Fixes bug #76334.
4457 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
4458 selecting the row, the button keep the regular link color.
4460 * DataGridColumn.cs: made the class internal.
4462 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4464 * DataGrid.cs: fix breakaga of alternating item style in one of my
4467 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4469 * Calendar.cs: remove Console.
4470 * ListBox.cs: the name is the UniqueID, not the ClientID.
4471 * WebControl.cs: Attributes is case insensitive.
4473 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4475 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
4476 UniqueID without appending a ".x" or ".y". Fixes several issues in
4477 mojoPortal. Thanks to Joe Audetter for his patience.
4479 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4481 * ButtonColumn.cs: it was lacking databinding, so copied most of it
4484 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4486 * FontInfo.cs: removed useless ctor.
4487 * Style.cs: keep here some commented out debugging code.
4488 * DataGrid.cs: the Items property does not create a new arraylist if
4489 the items_list was already initialized. Add case for Separator.
4490 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
4491 in the header columns has a special ForeColor handling.
4493 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4495 * DataGrid.cs: PageCount must persist in ViewState too and returns the
4496 number of pages in the paged data source once we set that. Fix checks
4497 for visibility of the pager: no more 2 pagers when custom paging is
4500 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4502 * ImageButton.cs: fix a bug reported on the list. We were triggering the
4503 command event on every POST. And the 'name' attribute was not being
4504 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
4505 and we couldn't find the values.
4507 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4509 * DataGrid.cs: fix the links for the numeric pager.
4511 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4513 * DataGrid.cs: when paging is enable, the actual number of items is not
4514 the number of items rendered before the postback, but that number times
4515 the number of pages. Now we store the page count in the viewstate. Also,
4516 as the number might be big, don't allocate an array of objects to fake
4517 the collection for the PagedDataSource, but use the new NCollection
4518 class instead, which provides cheap (memory wise) enumerator for an
4519 arbitrary number of items. Thanks to "Adriano" for the test case.
4521 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4523 * Xml.cs: the show must go on. Removed a few NotImplemented.
4525 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4527 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
4528 existing code in 1.1 (or viceversa). RenderContents() does nothing.
4530 * DataGrid.cs: changed autoid api.
4532 * EditCommandColumn.cs: only 'Update' causes validation.
4534 * TableCell.cs: changed autoid api. RenderContents checks the number
4535 of controls to decide what to do, not the value of Text in the
4538 * TableRow.cs: changed autoid api.
4540 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
4541 event. When we get an EditItem, we need a TextBox to be created and
4542 this one will be the one that gets the event. Changed
4543 ItemDataBinding to deal with a TextBox too.
4545 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4547 * PagedDataSource.cs: fix IsLastPage. All tests pass.
4548 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
4549 need to keep the old one in a field. Now all tests pass here too.
4551 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4553 * PagedDataSource.cs: don't use the properties when they just return a
4554 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
4555 before ICollection (otherwise, an IList will always fall under the
4556 ICollection case). The enumerator for lists will be empty if 'start'
4557 is beyond the list size. All existing tests pass, but one in
4558 DataGridTest that fails because of some problem with the paging.
4560 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4562 * Style.cs: fix the 2.0 build.
4564 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4566 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
4567 instead write the style attributes directly to the HtmlTextWriter.
4569 * CheckBox.cs: adapted to new API.
4571 * DataGrid.cs: handle null data sources. Fixed the contions that make
4572 the table to be added to the Controls collection.
4574 * Calendar.cs: the table needed an ID and the attributes from the
4575 parent. Also don't create the ControlStyleCollection if it has not
4576 already been created.
4578 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4580 * DataGrid.cs: handle null data sources. Fixed the contions that make
4581 the table to be added to the Controls collection.
4583 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4585 * Calendar.cs: TrackViewState should be called upon creation, not on
4586 every get_XXX call. Cleanup.
4588 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4590 * DataGrid.cs: fix another test. The ID of the table generated by the
4591 datagrid is set to the one on the datagrid if no one set the ID for the
4594 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4596 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
4599 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4601 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
4602 converted to string as X{1,2}-.*. All FontUnitTests pass now.
4603 * Unit.cs: throw a format exception when there's not number or minus
4604 sign in the first non-whitespace character.
4606 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4608 * ListControl.cs: SelectedIndex/SelectedValue can be set before
4609 DataBinding () is called on the control, so we have to keep this values
4610 around and use them after the data is read. If both properties are
4611 used, they must refer to the same item.
4613 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4615 * DataList.cs: fill in the data keys from BaseDataList so that the
4616 events can see them. Only assign DataItem when using data binding and
4617 nullify it after all events are raised.
4619 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4621 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
4624 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4626 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
4628 * DataGrid.cs: Fix TagKey (table) for 2.0.
4629 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
4630 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
4632 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
4634 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
4635 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
4637 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
4639 * TreeView.cs: Added declarative security (Link and Inheritance
4640 demands) for Minimal.
4641 * XmlDataSource.cs: Added declarative security (Link and Inheritance
4642 demands) for Minimal.
4644 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4646 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
4647 Inheritance demands) for Minimal.
4648 * Label.cs: Added declarative security (Link and Inheritance demands)
4650 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
4651 * ListItemCollection.cs: Added declarative security (LinkDemands) for
4653 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
4654 2.0, Inheritance demands) for Minimal.
4655 * PagedDataSource.cs: Added declarative security (LinkDemands) for
4657 * Panel.cs: Added declarative security (Link and Inheritance demands)
4659 * Repeater.cs: Added declarative security (Link and Inheritance
4660 demands) for Minimal.
4661 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
4662 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
4664 * TargetConverter.cs: Added declarative security (Link and Inheritance
4665 demands) for Minimal.
4666 * Unit.cs: Added, but only for 1.x, declarative security (Link and
4667 Inheritance demands) for Minimal.
4668 * ValidatedControlConverter.cs: Added declarative security (Link and
4669 Inheritance demands) for Minimal.
4670 * WebColorConverter.cs: Added declarative security (Link and
4671 Inheritance demands) for Minimal.
4672 * Xml.cs: Added declarative security (Link and Inheritance demands)
4674 * ValidationSummary.cs: Added declarative security (Link and
4675 Inheritance demands) for Minimal.
4677 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4679 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
4681 2005-09-22 Ben Maurer <bmaurer@ximian.com>
4683 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
4684 it took O(height) time, not O(1).
4686 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4688 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
4690 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4692 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
4693 2.0, Inheritance demands) for Minimal.
4694 * BaseCompareValidator.cs: Added declarative security (Link and
4695 Inheritance demands) for Minimal.
4696 * BaseDataBoundControl.cs: Added declarative security (Link and
4697 Inheritance demands) for Minimal.
4698 * BaseValidator.cs: Added declarative security (Link and Inheritance
4699 demands) for Minimal.
4700 * BoundColumn.cs: Added declarative security (Link and Inheritance
4701 demands) for Minimal.
4702 * ButtonColumn.cs: Added declarative security (Link and Inheritance
4703 demands) for Minimal.
4704 * CalendarDay.cs: Added declarative security (Link and Inheritance
4705 demands) for Minimal.
4706 * CheckBoxList.cs: Added declarative security (Link and Inheritance
4707 demands) for Minimal.
4708 * CompareValidator.cs: Added declarative security (Link and
4709 Inheritance demands) for Minimal.
4710 * CustomValidator.cs: Added declarative security (Link and Inheritance
4711 demands) for Minimal.
4712 * DataBoundControl.cs: Added declarative security (Link and
4713 Inheritance demands) for Minimal.
4714 * DataGridItemCollection.cs: Added declarative security (Link and
4715 Inheritance demands) for Minimal.
4716 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
4718 * DataListItemCollection.cs: Added declarative security (LinkDemands)
4720 * DataListItem.cs: Added declarative security (Link and Inheritance
4721 demands) for Minimal.
4722 * FontNamesConverter.cs: Added declarative security (Link and
4723 Inheritance demands) for Minimal.
4724 * HyperLink.cs: Added declarative security (Link and Inheritance
4725 demands) for Minimal.
4726 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
4727 demands) for Minimal.
4728 * Image.cs: Added declarative security (Link and Inheritance demands)
4731 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4733 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
4735 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
4736 a data source, first try reflection, then componentmodel. If we get
4737 an enumerator, keep it around, as MS only calls GetEnumerator once.
4738 Throw an exception if no columns can be created from the given data
4739 source. Tested with DbDataRecord, DataTable, ArrayList and
4740 ICustomTypeDescriptor.
4742 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
4744 * AccessDataSource.cs: Added declarative security (Link and Inheritance
4745 demands) for Minimal. Added [ToolboxBitmap] on class.
4746 * AdRotator.cs: Added declarative security (Link and Inheritance
4747 demands) for Minimal. Removed extra Page and ViewState properties.
4748 * BulletedList.cs: Added declarative security (Link and Inheritance
4749 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4750 * Button.cs: Added declarative security (Link and Inheritance demands)
4751 for Minimal. Added [SupportsEventValidation] on class (2.0).
4752 * Calendar.cs: Added declarative security (Link and Inheritance
4753 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4754 * CheckBox.cs: Added declarative security (Link and Inheritance
4755 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4756 * CompositeControl.cs: Added declarative security (Link and Inheritance
4757 demands) for Minimal. Added new protected RecreateChildControls method.
4758 * DataControlCommands.cs: Added declarative security (LinkDemands) for
4759 Minimal. Added private ctor.
4760 * DataGrid.cs: Added declarative security (Link and Inheritance
4761 demands) for Minimal. Fixed properties for 2.0 (mostly removing
4762 [Bindable]). Added override for TagKey property.
4763 * DataGridColumn.cs: Added declarative security (Link and Inheritance
4764 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
4765 * DataGridItem.cs: Added declarative security (Link and Inheritance
4766 demands) for Minimal. Added IDataItemContainer interface for 2.0.
4767 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
4768 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
4769 * DataList.cs: Removed [Load|Save]ControlState methods.
4770 * DropDownList.cs: Added declarative security (Link and Inheritance
4771 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4772 * EditCommandColumn.cs: Added declarative security (Link and
4773 Inheritance demands) for Minimal. Added missing attributes,
4774 [DefaultValue] and [Localize] for 2.0.
4775 * FontInfo.cs: Added declarative security (Link and Inheritance
4776 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
4778 * Login.cs: Added declarative security (Link and Inheritance demands)
4779 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
4780 * ImageButton.cs: Added declarative security (Link and Inheritance
4781 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4782 * LinkButton.cs: Added declarative security (Link and Inheritance
4783 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4784 * ListBox.cs: Added declarative security (Link and Inheritance demands)
4785 for Minimal. Added [SupportsEventValidation] on class (2.0).
4786 * Literal.cs: Added declarative security (Link and Inheritance demands)
4787 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
4788 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
4789 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
4790 but will be shown as extra).
4791 * RadioButton.cs: Added declarative security (Link and Inheritance
4792 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4793 * RadioButtonList.cs: Added declarative security (Link and Inheritance
4794 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4795 * RangeValidator.cs: Added declarative security (Link and Inheritance
4796 demands) for Minimal. Added missing [Themeable] attributes.
4797 * RegularExpressionValidator.cs: Added declarative security (Link and
4798 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
4800 * RoleGroupCollection.cs: Added declarative security (Link and
4801 Inheritance demands) for Minimal. Fixed base class (changed in RC).
4802 Re-implemented CopyTo. Removed some methods.
4803 * Style.cs: Added declarative security (Link and Inheritance demands)
4804 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
4805 is now public in 2.0.
4806 * Table.cs: Added declarative security (Link and Inheritance demands)
4807 for Minimal. Added [SupportsEventValidation] on class (2.0).
4808 * TableCell.cs: Fixed PersistenceMode for 2.0.
4809 * TextBox.cs: Added declarative security (Link and Inheritance demands)
4810 for Minimal. Added [SupportsEventValidation] on class (2.0).
4811 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
4812 but will be shown as extra).
4813 * WebControl.cs: Added declarative security (Link and Inheritance
4814 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
4817 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4819 * TableStyle.cs: fixed typo that prevented restoring GridLines from
4822 * DataGrid.cs: the table does not get an auto ID. When restoring from
4823 viewstate, use all the saved columns, not just that data bound ones. Set
4824 the owner of the BoundColumns created. Save/restore columns.
4825 OnItemCreated happens after the item is initialized and the data item is
4826 set before the event and nullified after OnItemDataBound.
4827 Add the render_table to the Controls immediately, otherwise we might get
4828 errors from child controls such as "must be rendered inside a form".
4829 Keep the items created in the list waiting for them.
4830 The table uses the attributes from the DataGrid and ControlStyle.
4831 Raise OnItemCommand on all bubble events and don't propagate bubble
4832 event up in the hierarchy
4834 * TableCell.cs: it does not get an automatic ID.
4835 * BoundColumn.cs: FormatDataValue returns an empty string on null input
4836 (there was already a test for this).
4840 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4842 * DataGridColumnCollection.cs: track the view state in the newly added
4845 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4847 * DataGrid.cs: merge column styles too. Fixes bug #76106.
4848 * DataGridColumn.cs: new internal method to retrieve the styles without
4849 creating an instance for them.
4851 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
4853 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
4854 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
4855 StateBag.SetDirty (true).
4857 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
4859 * Menu.cs: Fixed parameter orders for CreateStyleRule.
4861 2005-09-13 Chris Toshok <toshok@ximian.com>
4863 * Style.cs: corcompare stuff.
4865 * RequiredFieldValidator.cs: more corcompare stuff.
4867 * CheckBoxList.cs: clean up some of the interface methods vs
4868 protected virtual 2.0 calls.
4870 * SubMenuStyle.cs: corcompare says this should implement
4871 ICustomTypeDescriptor... sooo, make it.
4873 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4875 * TableCell.cs: do the same as HyperLink and others in
4876 AddParsedSubobject so that adding a literal control does not remove the
4877 existing controls if any. Fixes bug #76078.
4879 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4881 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
4883 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4885 * ImageButton.cs: fix invalid cast exception.
4887 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4889 * ListItem.cs: throw in AddParsedSubObject if the object is not a
4891 * RadioButtonList.cs: implemented LoadPostData and
4892 RaisePostDataChangedEvent.
4894 2005-09-09 Chris Toshok <toshok@ximian.com>
4896 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
4897 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
4898 LoadPostData/RaisePostDataChangedEvent.
4900 2005-09-09 Chris Toshok <toshok@ximian.com>
4902 * FontInfo.cs (IsEmpty): new internal property, used by
4905 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
4908 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4910 * ListItemCollection.cs: remove obsoleted methods.
4911 * ListBox.cs: use IStateManager on the item collection.
4913 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
4915 * Use C# 1.0 style of delegate instantiating. Needed to compile
4916 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
4918 2005-09-07 Chris Toshok <toshok@ximian.com>
4920 * Calendar.cs (WriteDay): always add BackColor=Silver,
4921 ForeColor=White to selected day cells, before copying over the
4922 selectedDayStyle, if it exists.
4923 (WriteDays): fix nunit test - if the first day of the month falls
4924 on the first day of the week, go back one week (effectively adding
4925 a row of dates from the previous month.)
4926 (WriteTitle): don't copy the control style to the tableTitle,
4927 since it might have height specifications, which would make the
4928 title look rather off.
4930 2005-09-07 Chris Toshok <toshok@ximian.com>
4932 * ValidationSummary.cs (AddAttributesToRender): we only set
4933 display=none if there are no errors.
4935 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
4936 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
4938 2005-09-07 Chris Toshok <toshok@ximian.com>
4940 * ListControl.cs (SelectedIndex): add comment about how you'd
4941 think OnSelectedIndexChanged would be called.. and you'd be wrong.
4942 (Text): implement in terms of SelectedValue.
4943 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
4944 (LoadControlState): implement - this is where the selected index
4945 ArrayList gets stuffed in 2.0.
4946 (OnInit): call Page.RegisterRequiresControlState.
4947 (OnTextChanged): implement.
4948 (RenderContents): for now just chain up to base.RenderContents.
4949 (SaveControlState): save our control state properly.
4950 (GetSelectedIndices): split this out from SaveViewState to it can
4951 be used by both that and SaveControlState.
4952 (SaveViewState): mangle this function so it works in both 2.0 and
4954 (LoadViewState): same.
4956 2005-09-06 Chris Toshok <toshok@ximian.com>
4958 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
4959 we weren't assigned an ID.
4961 * ValidationSummary.cs (AddAttributesToRender): same.
4963 2005-09-06 Chris Toshok <toshok@ximian.com>
4965 * WebControl.cs: revert the last change.
4967 2005-09-06 Chris Toshok <toshok@ximian.com>
4969 * WebControl.cs (AddAttributesToRender): always render ClientID.
4971 * ValidationSummary.cs (Render): same.
4973 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
4976 2005-09-06 Chris Toshok <toshok@ximian.com>
4978 * ValidationSummary.cs (Render): only do the JS stuff when the
4979 validators on the page are uplevel.
4981 * BaseValidator.cs (Render): remove unnecessary comment.
4983 2005-09-05 Chris Toshok <toshok@ximian.com>
4985 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
4986 stored in the ViewState.
4988 2005-09-02 Chris Toshok <toshok@ximian.com>
4990 * Repeater.cs (GetData): change this slightly so the Repeater
4991 doesn't keep a ref to the return value of GetData.
4993 2005-09-01 Chris Toshok <toshok@ximian.com>
4995 * ListControl.cs (AppendDataBoundItems): implement (2.0)
4998 2005-09-01 Chris Toshok <toshok@ximian.com>
5000 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
5001 System.Web.UI.WebControls/ValidatedControlConverter.cs,
5002 System.Web.UI.WebControls/Xml.cs,
5003 System.Web.UI.WebControls/RegularExpressionValidator.cs,
5004 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
5005 System.Web.UI.WebControls/Menu.cs,
5006 System.Web.UI.WebControls/MailMessageEventArgs.cs,
5007 System.Web.UI.WebControls/MenuItemStyle.cs,
5008 System.Web.UI.WebControls/RangeValidator.cs,
5009 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
5010 System.Web.UI.WebControls/MenuItem.cs,
5011 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
5012 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
5013 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
5014 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
5015 System.Web.UI.WebControls/XmlBuilder.cs,
5016 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
5019 2005-09-01 Chris Toshok <toshok@ximian.com>
5021 * System.Web.UI.WebControls/Button.cs,
5022 System.Web.UI.WebControls/ButtonField.cs,
5023 System.Web.UI.WebControls/DataControlField.cs,
5024 System.Web.UI.WebControls/BaseCompareValidator.cs,
5025 System.Web.UI.WebControls/AutoGeneratedField.cs,
5026 System.Web.UI.WebControls/CustomValidator.cs,
5027 System.Web.UI.WebControls/Content.cs,
5028 System.Web.UI.WebControls/BoundField.cs,
5029 System.Web.UI.WebControls/AdRotator.cs,
5030 System.Web.UI.WebControls/ButtonColumn.cs,
5031 System.Web.UI.WebControls/CompareValidator.cs,
5032 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
5033 work. Stub things out, and add attributes.
5035 2005-09-01 Chris Toshok <toshok@ximian.com>
5037 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
5038 CommandField.cs, HyperLinkColumn.cs, Table.cs,
5039 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
5040 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
5041 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
5042 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
5043 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
5044 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
5045 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
5046 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
5047 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
5048 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
5049 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
5050 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
5051 TableItemStyle.cs: Add some WebCategory and WebSysDescription
5054 2005-09-01 Chris Toshok <toshok@ximian.com>
5056 * AccessDataSource.cs: corcompare work.
5058 * SqlDataSource.cs: same.
5060 2005-09-01 Miguel de Icaza <miguel@novell.com>
5062 * Various places: make sure that the DefaultValue matches the
5063 type. Thanks to Michael for pointing this out.
5065 In future audits, you might want to use the following awk command:
5067 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
5068 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
5069 print $0; looking = 0; } /public/ && looking { looking = 0; } '
5072 The above skips bools, strings and ints as those were fine as we
5073 set them. The bug was on the other ones.
5075 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5077 * Repeater.cs: fix the build.
5079 2005-08-31 Chris Toshok <toshok@ximian.com>
5081 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
5082 {Base}DataList, and also from debug spew garnered from some
5083 Repeater subclass tests on MS.
5084 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
5085 the IEnumerable by calling GetData().
5086 (DataBind): reset RequiresDataBinding to false (2.0).
5087 (DataMember): copy the set implementation from DataList, and add
5088 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
5089 (DataSource): more c&p.
5090 (DataSourceID); implement (2.0)
5091 (Initialized): implement (2.0)
5092 (IsBoundUsingDataSource): implement (2.0)
5093 (RequiresDataBinding): implement (2.0)
5094 (SelectArguments): implement (2.0)
5095 (CreateDataSourceSelectArguments): implement (2.0)
5096 (EnsureDataBound): implement (2.0)
5097 (GetData): implement.
5098 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
5100 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
5101 leave the MonoTODO. (2.0)
5102 (OnInit): call base.OnInit instead of throwing NIE, but leave the
5104 (OnLoad): implement.
5105 (OnPreRender): implement.
5106 (ConnectToDataSource): new method - look for the right control.
5108 2005-08-31 Chris Toshok <toshok@ximian.com>
5110 * XmlDataSourceView.cs: fix the scope of our select. Don't use
5111 call SelectNodes on the XmlDocument, not on
5112 XmlDocument.DocumentElement.
5114 2005-08-31 Chris Toshok <toshok@ximian.com>
5116 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
5117 (DoXPathSelect): put the xpath selection stuff here.
5118 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
5121 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
5122 select here, the view does it.
5124 2005-08-31 Jackson Harper <jackson@ximian.com>
5126 * DataList.cs: Remove some debugging code that was starting to bug
5129 2005-08-31 Chris Toshok <toshok@ximian.com>
5131 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
5132 create our Navigator by calling node.CreateNavigator().
5134 2005-08-31 Chris Toshok <toshok@ximian.com>
5136 * XmlDataSource.cs (GetXmlDataDocument): rename this to
5137 GetXmlDocument, and change the return value from XmlDataDocument
5139 (LoadXmlDataDocument): similar change.
5140 (Save): xmlDataDocument -> xmlDocument.
5141 (CanBeSaved): there's no ReadOnly attribute.
5142 (LoadViewState, SaveViewState, TrackViewState): nuke.
5143 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
5144 (CacheDuration): stub out with NIE.
5145 (CacheExpirationPolocy): same.
5146 (CacheKeyDependency): same.
5147 (EnableCaching): same.
5149 (Data, DataFile): xmlDataDocument -> xmlDocument.
5150 (Schema, SchemaFile): nuke.
5151 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
5153 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
5155 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
5156 Don't use the obsolete IsSet method.
5157 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
5158 * CheckBox.cs: Implement some 2.0 methods.
5159 * GridView.cs: Removed some "throw new NotImplementedException"
5161 2005-08-29 Chris Toshok <toshok@ximian.com>
5163 * TreeView.cs: Use the StateBag accessors Ben added, and implement
5164 SkipLinkText and Visible.
5166 2005-08-29 Chris Toshok <toshok@ximian.com>
5168 * TreeView.cs: fix typo in an attribute.
5170 2005-08-29 Jackson Harper <jackson@ximian.com>
5172 * PagedDataSource.cs: If it's not a list or collection we don't
5173 use a bounded enumerator.
5175 2005-08-29 Chris Toshok <toshok@ximian.com>
5177 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
5179 * CheckBox.cs: same.
5181 * BaseValidator.cs: same.
5183 * DropDownList.cs: same.
5185 * ValidationSummary.cs: same.
5187 2005-08-28 Chris Toshok <toshok@ximian.com>
5189 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
5191 2005-08-26 Chris Toshok <toshok@ximian.com>
5193 * TextBox.cs: implement ValidationGroup and CausesValidation
5196 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
5198 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
5201 2005-08-26 Chris Toshok <toshok@ximian.com>
5203 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
5205 * FontUnit.cs: add two 2.0 ctors, and the 2.0
5206 ToString(IFormatProvider) method.
5208 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
5210 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
5211 no items are present in the list.
5212 * RoleGroup.cs: Added missing attributes.
5213 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
5214 documented) methods.
5215 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
5216 must be done in the HtmlTextWriter (not in the TableStyle).
5218 2005-08-26 Chris Toshok <toshok@ximian.com>
5220 * Calendar.cs (UseAccessibleHeader): implement.
5221 (RaisePostBackEvent): some #ifdef ugliness to get this all working
5222 propertly between 1.x and 2.0
5223 (WriteDayHeader): if UseAccessibleHeader == true, render header
5224 cells as th's, not td's, and add abbr and scope attributes.
5226 2005-08-25 Chris Toshok <toshok@ximian.com>
5228 * Calendar.cs (Caption, CaptionAlign): implement these properties.
5229 (Render): if we have a non-empty caption, show it.
5230 (WriteCaption): new method, output the caption.
5232 2005-08-25 Chris Toshok <toshok@ximian.com>
5234 * Calendar.cs (Render): Copy the entire style from the Calendar to
5235 the Table, not just the font.
5236 (WriteDay): don't just write the link/text/etc. Create a
5237 LiteralControl as a child of the cell, before the call to
5238 OnDayRender, with its text set to the day number. After
5239 OnDayRender, set the literal's text to either the number again (if
5240 it's not selectable) or the full text of the js __doPostBack
5241 hyperlink (if it is.) Also, use cell.RenderControl here so we can
5242 render child controls with the id's listed properly (and arguably
5244 (ApplyTitleStyleCell): remove.
5245 (WriteTitle): apply the titleStyle to the enclosing table, not the
5246 table cell containing the month name. Also, copy from the
5247 Calendar's ControlStyle to populate tableTitle's style initially.
5248 We end up with more (superfluous) style attributes than MS, but
5249 it's better than having less.
5251 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5253 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
5256 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5258 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
5259 and RegisteredCssClass property
5261 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5263 * LoginView.cs: Fixed attributes.
5264 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
5265 an exception to allow pages to work on 2.x.
5267 2005-08-25 Chris Toshok <toshok@ximian.com>
5269 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
5271 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
5274 * HiddenField.cs: stub out this class and label everything
5277 2005-08-25 Jackson Harper <jackson@ximian.com>
5279 * DataGrid.cs: Disable the pager row if there no paging enabled
5282 2005-08-25 Chris Toshok <toshok@ximian.com>
5284 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
5287 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
5288 add a using statement.
5290 2005-08-25 Chris Toshok <toshok@ximian.com>
5292 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
5295 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
5298 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5300 * Login.cs: Added rendering and fixed parts of the authentication.
5301 Now using IStateManager to allow compilation in another assembly (e.g.
5302 to test the control under IIS). Needs more tests (error conditions)
5303 once we get a "real" Membership provider running.
5304 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
5307 2005-08-25 Chris Toshok <toshok@ximian.com>
5309 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
5311 2005-08-25 Chris Toshok <toshok@ximian.com>
5313 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
5314 calling base.Foo to get the standalone adrotator (1.0) tests to
5315 run without throwing exceptions.
5317 2005-08-25 Chris Toshok <toshok@ximian.com>
5319 * ValidationSummary.cs (ValidationGroup): implement.
5320 (Render): use Page.GetValidators in .net 2.0, so we can support
5321 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
5324 2005-08-25 Chris Toshok <toshok@ximian.com>
5326 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
5327 2.0 attribute modifiers, and revert back to "override".
5329 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
5330 2.0 attribute modifiers, and revert back to "override".
5331 (BorderStyle): same.
5332 (BorderWidth): same.
5334 * TextBox.cs (SaveViewState): implement naively, calling
5336 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
5337 modifiers, and revert back to "override".
5339 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5341 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
5342 Load ViewState for derived classes; no public LoadViewState override
5343 exists in those classes
5344 * Style.cs: Added 2.0 IsStyleEmpty method
5346 2005-08-25 Jackson Harper <jackson@ximian.com>
5348 * DataGrid.cs: The number of pages set in the pager is specified
5351 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5353 * LoginView.cs: New (2.0). Work in progress.
5355 2005-08-24 Chris Toshok <toshok@ximian.com>
5357 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
5358 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
5359 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
5360 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
5361 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
5362 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
5363 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
5364 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
5365 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
5366 Add MonoTODO's for all things that throw NotImplementException.
5368 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
5370 * RoleGroup.cs: New (2.0). Complete implementation.
5371 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
5373 2005-08-23 Chris Toshok <toshok@ximian.com>
5375 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
5376 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
5377 even though they were written for the 1.0 stuff.
5379 2005-08-23 Chris Toshok <toshok@ximian.com>
5381 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
5382 output. Our tests now pass on both mono and ms, with both 1.x and
5385 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
5387 * Login.cs: Throw exception if the specified provider doesn't exists.
5388 * LoginStatus.cs: Complete events.
5390 2005-08-22 Jackson Harper <jackson@ximian.com>
5392 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
5394 (InitializeNumericPager): Now that the pager actually renders
5395 properly I can see that I was computing it incorrectly.
5397 2005-08-22 Jackson Harper <jackson@ximian.com>
5399 * DataGrid.cs (RenderTable): Make sure the new table gets the
5401 (CreateColumnSet): Clear the data source columnbs before adding
5402 new ones regardless of whether or not a property descriptor was
5404 (InitializePager): pager_cell needs to be a member so it isn't
5405 created more then once per a render.
5406 (InitializeNumericPager): Compute start and end more
5408 - Link commands are 1 indexed.
5409 (CreateControlHierarchy): Clear the table before we begin
5411 - Revert patch that made adding the pagers conditional. This is
5412 incorrect, the pagers are always added. Only their visibility is
5413 affected by the pager style.
5414 - Save the entire count in the viewstate, not just the rendered
5415 count. So when paging is enabled the pager's count isn't broken by
5418 2005-08-22 Chris Toshok <toshok@ximian.com>
5420 * LinkButton.cs (ValidationGroup): implement.
5421 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
5422 pass ValidationGroup to Page.Validate.
5424 2005-08-22 Chris Toshok <toshok@ximian.com>
5426 * ImageButton.cs (ValidationGroup): implement.
5427 (IPostBackEventHandler.RaisePostBackEvent): if we cause
5428 validation, call Page.Validate properly (in both profiles).
5430 2005-08-22 Chris Toshok <toshok@ximian.com>
5432 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
5433 case, pass ValidationGroup to Page.Validate.
5434 (ValidationGroup): implement using ViewState.
5436 2005-08-22 Chris Toshok <toshok@ximian.com>
5438 * BaseValidator.cs (Text): 2.0 only. implement naively, just
5440 (OnInit): add 2.0 support for validation groups.
5443 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
5445 * LoginName.cs: New (2.0) web control.
5446 * LoginStatus.cs: New (2.0) web control.
5448 2005-08-19 Chris Toshok <toshok@ximian.com>
5450 * LinkButton.cs (ValidationGroup): implement getter/setter.
5451 (RaisePostBackEvent): implement naively, by c&p'ing the old
5452 implementation of IPostBackEventHandler.RaisePostBackEvent, but
5453 making use of the ValidationGroup in the call to Page.Validate.
5457 * Style.cs (LoadViewState): set our style flags for all the things
5458 we have flags for. Seems like the subclass flags should be
5459 handled in overridden LoadViewState methods, but none of the Style
5460 subclasses seem to override this method.
5462 2005-08-19 Chris Toshok <toshok@ximian.com>
5464 * TableStyle.cs (Merge, MergeWith): make these look a bit more
5465 like Copy/CopyFrom, with the styles checks instead of just
5468 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
5471 2005-08-19 Chris Toshok <toshok@ximian.com>
5473 * DataGrid.cs (InitializePager): don't unconditionally set
5474 pager_cell to the numeric pager (especially after setting it
5475 conditionally to the nextprev pager.)
5476 (InitializeNumericPager): the link buttons don't participate in
5478 (InitializeNextPrevPager): same.
5479 (CreateControlHierarchy): create the top/bottom pagers only if the
5480 PagerStyle says too.
5482 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
5484 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
5486 2005-08-18 Chris Toshok <toshok@ximian.com>
5488 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
5489 the start of this method so templates are created properly.
5491 2005-08-18 Dick Porter <dick@ximian.com>
5493 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
5494 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
5495 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
5496 BaseDataList.cs, DataList.cs, BulletedList.cs,
5497 DataBoundControl.cs, Login.cs, GridView.cs,
5498 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
5499 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
5500 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
5501 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
5502 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
5503 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
5504 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
5505 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
5508 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
5510 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
5512 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
5513 empty array of objects just to get the number of items.
5514 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
5515 but we're missing some bits from the class lib to complete all this...
5517 2005-08-17 Jackson Harper <jackson@ximian.com>
5519 * DataGrid.cs: Only create one pager and add it to both the top
5520 and bottom of the grid, this way all the id numbers stay the same
5521 and we save a bunch of cycles.
5523 2005-08-17 Jackson Harper <jackson@ximian.com>
5525 * DataGrid.cs: The top and bottom pagers are always created. Just
5526 the visibility is changed by the PagerStyle::Position.
5528 2005-08-17 Chris Toshok <toshok@ximian.com>
5530 * CompositeControl.cs (RecreateChildControls): implement naively -
5531 just call CreateChildControls. We might need to call
5532 Controls.Clear() as well, but for the time being, this is ok.
5534 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
5536 * BaseDataList.cs: Completed implementation for 2.0.
5538 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5540 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
5541 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
5543 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5545 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
5547 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
5548 Adjusted size and ordering of the ViewState (new element #0 is still
5549 unknown). Properly fixed the TagKey in 2.0.
5550 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
5551 all properties using enums.
5552 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
5553 * TableItemStyle.cs: Fixed attribute rendering to use style to render
5554 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
5556 2005-08-15 Jackson Harper <jackson@ximian.com>
5558 * EditCommandColumn.cs: Use a normal LinkButton.
5560 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5562 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
5563 viewstate (even if assigned to the default value).
5564 * TableRow.cs: Implement TableSection property (2.0). It has no effect
5565 on the rendering of the table row.
5567 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5569 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
5570 and removed [Bindable] attributes for 2.0.
5571 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
5572 attributes (for 2.0).
5573 * DataListCommandEventArgs.cs: Not sealed in 2.0.
5574 * DataListItemEventArgs.cs: Not sealed in 2.0.
5575 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
5576 attributes for URLs.
5577 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
5578 attributes for URLs.
5579 * Table.cs: Fixed [Editor] attribute for 2.0.
5580 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5581 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
5582 AssociatedHeaderCellID and it's [DefaultValue] attribute.
5583 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
5584 and Scope attributes.
5585 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
5586 on TableSection attribute.
5587 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5589 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
5591 * Image.cs: Fixed attributes for 2.0 profile.
5592 * Login.cs: Fixed some attributes and default values.
5593 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
5594 RaisePostBackEvent (TODO) in 2.0 profile.
5595 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
5596 and added AssociateHeaderCellID property (TODO).
5597 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5598 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
5599 page (if the device requires to breaks the table into multiple pages).
5600 This seems to be a "flag" class, the real work will be in Table.
5601 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
5602 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
5603 page (if the device requires to breaks the table into multiple pages).
5604 This seems to be a "flag" class, the real work will be in Table.
5605 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
5606 * TableRow.cs: Remove [Bindable (true)] from properties and add
5607 [Bindable (false)] and [Designer] on class. Added new TableSection
5609 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5610 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
5611 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
5612 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
5613 FillStyleAttributes method (2.0).
5615 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
5617 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
5618 attributes from existing controls.
5619 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
5620 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
5622 2005-08-12 Jackson Harper <jackson@ximian.com>
5624 * TableRow.cs: No AutoID for TableRows.
5626 2005-08-12 Jackson Harper <jackson@ximian.com>
5628 * DataGrid.cs (CreateRenderColumns): If we aren't using data
5629 binding grab the rendercols from the data source columns.
5630 (LoadViewState): Restore the bound columns when reloading the
5632 (InitializeNumericPager): Create elipsised pagers.
5633 (CreateItem): Don't set the item's ID.
5634 (CreateItem): Add the control to the table before it is databound
5635 so that it's value is saved in the viewstate.
5636 (CreateControlHierarchy): Create a fake data source when not using
5637 databinding. Don't add controls to the table as they are added in
5639 (PrepareControlHierarchy): Make footers and header non visible if
5640 they aren't enabled.
5642 2005-08-12 Chris Toshok <toshok@ximian.com>
5644 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
5645 docs says these methods/properties "ensure the child controls are
5646 created" -- so call EnsureChildControls() before invoking the base
5649 2005-08-12 Jackson Harper <jackson@ximian.com>
5651 * BoundColumn.cs: Set the controls text instead of adding a
5652 literal control. So it is saved in the controls viewstate.
5654 2005-08-11 Jackson Harper <jackson@ximian.com>
5656 * CheckBoxList.cs: Set the tabindex on the checkbox control and
5657 don't render it on the main table (Setting it to zero causes it to
5658 not be rendered). Also use the invariant culture on the id.
5660 2005-08-11 Dick Porter <dick@ximian.com>
5662 * CheckBox.cs: Let ViewState manage removals; apply styles and
5663 "style" attributes in a surrounding <span>. Fixes unit tests.
5665 2005-08-10 Chris Toshok <toshok@ximian.com>
5667 * Label.cs (LoadViewState): set the Text attribute from our
5668 ViewState (if it exists) to clear out any child controls. Fixes
5669 jsunit test label/label-child-control-postback.aspx.
5671 2005-08-10 Jackson Harper <jackson@ximian.com>
5673 * PagedDataSource.cs: Respect paging with all data source types.
5675 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
5677 * BaseDataList.cs: Changed Controls property from "virtual new"
5678 (2.0 doc) to "override" (monop) to fix the Visible bug (see
5679 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
5680 any controls (required due to change to Controls). Implemented
5681 DataBind(bool) for 2.0.
5682 * DataListItem.cs: Fix the multiple table when extractRows is used.
5683 Removed extra span tags by rendering contents (not control). Added
5684 support for IDataItemContainer (2.0).
5686 2005-08-08 Jackson Harper <jackson@ximian.com>
5688 * DataGrid.cs: Apply the styles to each item type.
5690 2005-08-08 Jackson Harper <jackson@ximian.com>
5692 * PagedDataSource.cs: If paging is not enabled keep enumerating to
5693 the end of the list.
5695 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
5697 * BaseDataList.cs: Remove old compatibility stuff.
5698 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
5699 * WebControl.cs: Always call CreateControlStyle to create the
5700 ControlStyle. Fix the exception for datalist-style-edit.aspx.
5702 2005-08-05 Jackson Harper <jackson@ximian.com>
5704 * DataGrid.cs: Don't make the current page index a link in the
5707 2005-08-05 Jackson Harper <jackson@ximian.com>
5709 * DataGrid.cs: Honour PagerPosition.
5711 2005-08-05 Jackson Harper <jackson@ximian.com>
5713 * PagedDataSource.cs: Round PageCount properly.
5715 2005-08-05 Dick Porter <dick@ximian.com>
5717 * CheckBox.cs: Shut corcompare up a bit more. Still need to
5718 figure out how to not use AddAttributesToRender to get it
5721 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
5723 * DataGridColumn.cs: Added the duplicate viewstate manipulation
5726 2005-08-05 Chris Toshok <toshok@ximian.com>
5728 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
5729 null when it comes to the format string.
5730 (FormatDataTextValue): same.
5732 2005-08-04 Chris Toshok <toshok@ximian.com>
5734 * BaseValidator.cs (Validate): only test a validator if it's both
5735 enabled and visible.
5737 2005-08-04 Chris Toshok <toshok@ximian.com>
5739 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
5742 2005-08-04 Jackson Harper <jackson@ximian.com>
5744 * DataGrid.cs: Add a new space control for each link. Also make
5745 the link's text 1 indexed. Don't add the space after the last
5748 2005-08-04 Ben Maurer <bmaurer@ximian.com>
5750 * LinkButton.cs: Fix up the test suite here.
5752 * Panel.cs: Fix up nowrap
5754 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5756 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
5757 * ListControl.cs: Clear item list before adding data (again)
5759 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
5761 * Calendar.cs: fixes issues with OnDayRender event and others
5763 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5765 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
5767 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
5768 if DataTextField is bound
5769 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
5770 two controls in edit mode, lets do the same
5772 2005-08-03 Jackson Harper <jackson@ximian.com>
5774 * BoundColumn.cs: Respek for the thisExpr when data binding.
5776 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5778 * EditCommandColumn.cs: No need to offer edit when in edit mode.
5781 2005-08-04 Dick Porter <dick@ximian.com>
5783 * DataGridColumn.cs: New implementation
5786 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
5788 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5790 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
5793 2005-08-03 Ben Maurer <bmaurer@ximian.com>
5795 * RepeatInfo.cs: Finally figured out how to use base control
5797 2005-08-03 Jackson Harper <jackson@ximian.com>
5799 * ButtonColumn.cs: Partial implementation.
5801 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5803 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
5806 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5808 * Calendar.cs: fixes Save/Load state
5810 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5812 * Calendar.cs: bug fixes
5814 2005-08-03 Jackson Harper <jackson@ximian.com>
5816 * DataGrid.cs: Merge the table style with the render table. Some
5817 initial work on the numeric pager. Remove some debugging code.
5819 2005-08-03 Jackson Harper <jackson@ximian.com>
5821 * BoundColumn.cs: Implement Initialize and InitializeCell. When
5822 Data is formated it uses the DataFormatString that was set at the
5823 time Initialize was called (or null if initialize was never
5826 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5828 * RadioButtonList.cs: bug fixes
5830 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5832 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
5833 AddAttributesToRender
5834 * RadioButtonList.cs: Implementation
5836 2005-08-01 Jackson Harper <jackson@ximian.com>
5838 * TableStyle.cs: Copy style bit when copying from another style.
5840 2005-08-01 Jackson Harper <jackson@ximian.com>
5842 * PagedDataSource.cs: Implement missing properties, use yield for
5843 the Enumerator methods. Only allow the enums to return one page at
5846 2005-08-01 Chris Toshok <toshok@ximian.com>
5848 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
5850 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5852 * WebControl.cs: Track enabled state across sessions
5854 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5856 * ListControl.cs(OnDatabinding): Value is equivalent to text if
5859 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
5861 * ImageButton.cs: fixes, complete missing parts
5863 2005-07-31 Ben Maurer <bmaurer@ximian.com>
5865 * TextBox.cs: Html encode for multiline text boxes
5867 * HyperLink.cs: Resolve images
5869 2005-07-30 Chris Toshok <toshok@ximian.com>
5871 * BaseValidator.cs: initial version of 2.0 properties
5872 ValidationGroup and SetFocusOnError.
5874 2005-07-30 Chris Toshok <toshok@ximian.com>
5876 * HyperLinkColumn.cs (InitializeCell): clean this up.
5878 2005-07-30 Chris Toshok <toshok@ximian.com>
5880 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
5881 DataBinder.FormatResult.
5882 (FormatDataTextValue): same.
5883 (Initialize): call base.Initialize.
5884 (ItemDataBinding): new function, get the text/navigateurl and set
5885 them on our HyperLink control.
5886 (InitializeCell): create a hyperlink control in the
5887 Item/EditItem/AlternatingItem case.
5889 2005-07-30 Ben Maurer <bmaurer@ximian.com>
5891 * RepeatInfo.cs: Handle 0 items situations correctly
5893 * HyperLink.cs: Resolve urls correctly
5895 * CheckBox.cs: use the correct ID for the label element.
5897 * Label.cs: Correct AddParsedSubObject impl. See FAQ
5899 2005-07-29 Chris Toshok <toshok@ximian.com>
5901 * BaseCompareValidator.cs (GetDateElementOrder): implement.
5903 2005-07-29 Chris Toshok <toshok@ximian.com>
5905 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
5906 #if'ed out version follows microsoft's docs on msdn, but doesn't
5907 match ms's behavior. The other matches their behavior but not
5908 their docs. we use the latter. go figure.
5909 (get_CutoffYear): implement using
5910 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
5912 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5915 - Name property now throws exception when set to null
5916 - Names now handles situation where our bit tells us we have
5917 a font, but it's not in the StateBag (null removal)
5918 * RangeValidator.cs: Removed unused vars
5920 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5922 * Label.cs: ClientID should be used rather than UniqueID to get
5925 2005-07-29 Chris Toshok <toshok@ximian.com>
5927 * BaseValidator.cs (Validatate): not sure if this is entirely
5928 correct (some fairly deep testing required), but setting Enabled =
5929 false has the effect of setting IsValid = true.
5931 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5933 * RadioButton.cs: The "remove from groupstate" isn't needed any
5934 more, now that statebag is correct.
5936 2005-07-29 Dick Porter <dick@ximian.com>
5938 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
5939 ViewState when it is null.
5941 * CheckBox.cs: Hide nonstandard API
5943 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
5945 * Calendar.cs: fixes exceptions, bug fixes, new features
5946 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
5947 * CalendarDay.cs: fixes default value
5949 2005-07-28 Ben Maurer <bmaurer@ximian.com>
5951 * CompositeControl.cs: Stub
5953 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5955 * EditCommandColumn.cs: Implemented
5957 2005-07-27 Chris Toshok <toshok@ximian.com>
5959 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
5961 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5963 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
5966 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5968 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
5969 for it's constructor, so remove it
5970 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
5972 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5974 * DataGridPagerStyle.cs: Implemented
5975 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
5976 * Style.cs: Added Styles enum values for DataGridPagerStyle
5978 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
5980 * Calendar.cs: get the styles right, honors more properties, fixes, fix
5983 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5985 * DataGridItem.cs: Implemented
5987 2005-07-26 Chris Toshok <toshok@ximian.com>
5989 * LinkButton.cs (AddParsedSubObject): reversed the order of
5990 Controls.Add() and Text = null
5991 (set_Text): call Controls.Clear()
5992 (RenderContents): use HasControls() for the if test instead of
5995 * HyperLink.cs (AddParsedSubObject): reversed the order of
5996 Controls.Add () and Text = null;
5998 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
6000 * DataGridItemCollection.cs: Implemented
6002 2005-07-26 Chris Toshok <toshok@ximian.com>
6004 * LinkButton.cs (AddParsedSubObject): copy implementation from
6006 (RenderContents): only call writer.Write(Text) if Text != "".
6007 Otherwise default to base.RenderContents.
6009 2005-07-26 Chris Toshok <toshok@ximian.com>
6011 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
6012 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
6013 (Page != null) around my last commit.
6015 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
6017 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
6018 Fixed use of literal strings, instead using Consts
6019 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
6020 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
6021 Panel.cs, Literal.cs: Added attributes
6022 * BaseValidator.cs: Added missing override
6024 2005-07-26 Chris Toshok <toshok@ximian.com>
6026 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
6027 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
6028 Page.VerifyRenderingInServerFormHere.
6030 2005-07-26 Chris Toshok <toshok@ximian.com>
6032 * BaseValidator.cs: remove some MonoTODO's about the client side
6035 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
6037 * Calendar.cs: selection of dates, state load, save, track, support
6038 for new properties, many fixes.
6040 2005-07-26 Miguel de Icaza <miguel@novell.com>
6042 * Style.cs: Temporary methods to help buliding .NET 2.x
6044 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6046 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
6048 * Xml.cs: Fixed base class, attributes
6049 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
6050 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
6051 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
6052 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
6053 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
6055 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6057 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
6060 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6062 * RepeatInfo.cs: If the repeater has one column, the separators
6063 are rendered on a different line
6065 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6067 * DataGridSortCommandEventArgs: Sealed class
6068 * ButtonColumn.cs, Calendar.cs: Added Attributes
6070 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6072 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
6073 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
6075 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
6077 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
6078 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
6080 2005-07-25 Chris Toshok <toshok@ximian.com>
6082 * ValidationSummary.cs (AddAttributesToRender): add client side
6084 (OnPreRender): set the "been here" flag.
6085 (Render): add client side support.
6087 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6089 * RepeatInfo.cs: Split the horiz and vertical cases, because this
6090 class has rules that are beyond strange. Continue working to make
6093 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6095 * RepeatInfo.cs: Misc fixes for my test suite.
6097 2005-07-25 Jackson Harper <jackson@ximian.com>
6099 * DataGrid.cs: Set the command name and args on the link buttons.
6101 2005-07-25 Jackson Harper <jackson@ximian.com>
6103 * DataGrid.cs: Lots o implementation.
6105 2005-07-25 Jackson Harper <jackson@ximian.com>
6107 * BoundColumn.cs: Partial implementation to get the DataGrid tests
6110 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
6112 * Button.cs: fixes events, adds attributes
6114 2005-07-23 Chris Toshok <toshok@ximian.com>
6116 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
6117 prop.GetValue results.
6118 (Render): fix the static non-uplevel case, so that we display text
6119 when there's an error.
6121 2005-07-22 Chris Toshok <toshok@ximian.com>
6123 * RegularExpressionValidator.cs (AddAttributesToRender): only
6124 output ValidationExpression if it's != null.
6126 2005-07-22 Chris Toshok <toshok@ximian.com>
6128 * BaseValidator.cs (AddAttributesToRender): fix up the Display
6129 rendering such it matches MS's output.
6130 (Render): stop using the huge complicated if's for each output
6131 stage and move to boolean flags, and fix the static-nonuplevel
6132 case, where a validator outputs as nothing but
6134 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
6135 * Calendar.cs: Initial implementation
6136 * CalendarSelectionMode.cs: fix enum order
6138 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
6140 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
6141 (or more?) specific cases - including correct support for separators.
6142 Added some (commented) debugging code.
6143 * HyperLink.cs: Only render href and target attributes if they're not
6144 empty. Add "border=0" when rendering <img> tag. Fix Target default
6147 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
6149 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
6151 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
6153 * Style.cs (CopyFrom): Reset our styles and don't set bits from
6154 target explicitly, properties will set them
6156 2005-07-22 Dick Porter <dick@ximian.com>
6159 * ButtonColumn.cs: Initial stubs
6161 2005-07-22 Dick Porter <dick@ximian.com>
6164 * CheckBox.cs: Add assembly attributes
6166 2005-07-22 Ben Maurer <bmaurer@ximian.com>
6168 * HyperLink.cs: Handle non-literal children.
6170 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6172 * Label.cs: SP1 stuff
6174 2005-07-21 Chris Toshok <toshok@ximian.com>
6176 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
6177 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
6178 stuff WebUIValidation.js uses, so we don't support it for uplevel
6181 2005-07-21 Chris Toshok <toshok@ximian.com>
6183 * BaseValidator.cs (DetermineRenderUplevel): include checks for
6184 the EcmaScriptVersion and W3CDomVersion.
6186 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6188 * BaseDataList.cs: Support IEnumerable.
6189 * DataList.cs: Fix alternate items.
6190 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
6191 controls and the Text property.
6193 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6195 * TextBoxMode.cs: Wrong ordering of enum...
6197 2005-07-21 Chris Toshok <toshok@ximian.com>
6199 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
6202 2005-07-21 Chris Toshok <toshok@ximian.com>
6204 * BaseValidator.cs (get_PropertiesValid): use our containing
6205 NamingContainer, not ourselves, to look up controls.
6206 (CheckControlValidationProperty): same.
6207 (GetControlRenderID): same.
6208 (GetControlValidationValue): same.
6209 (AddAttributesToRender): add the display style attribute if
6210 Display != Static, and add the value of IsValid if it's false.
6211 (DetermineRenderUplevel): use a try block around (Page.Request)
6212 since that can raise an exception.
6213 (OnPreRender): set pre_render_called, so we can consult it in
6215 (Render): complicate this method more to handle more of the
6216 Display/pre_render_called permutations.
6218 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
6220 * CustomValidator.cs: Initial implementation, still work in progress
6222 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6224 * DataList.cs: Fix rendering for special items (-1).
6226 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6228 * RepeatInfo.cs: Fix most of the tests.
6230 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6232 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
6233 Add a border=0 attribute if no style is defined.
6234 * TableCell.cs: Use HtmlTextWriterTag (not a string).
6235 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
6236 * TableRow.cs: Use HtmlTextWriterTag (not a string).
6238 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6240 * BaseDataList.cs: Fix attributes.
6241 * HorizontalAlign.cs: Fix attributes.
6242 * Image.cs: Fix attributes and enums checks.
6243 * Table.cs: Fix attributes an enums checks.
6244 * TableCell.cs: Fix attributes.
6245 * TableCellCollection.cs: Fix attributes.
6246 * TableItemStyle.cs: Fix attributes and enums checks.
6247 * TableRowCollection.cs: Fix attributes.
6248 * TableRow.cs: Fix attributes.
6249 * TableStyle.cs: Fix attributes and enums checks.
6250 * VerticalAlign.cs: Fix attributes.
6252 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6254 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
6255 * DataList.cs: Added rendering support when ExtractTemplatesRows
6256 property is true (but RepeatInfo needs to be fixed to see it works).
6257 * DataListItem.cs: Added rendering support when extractRows parameter
6258 is true (but RepeatInfo still needs to be fixed ;-)
6260 2005-07-21 Duncan Mak <duncan@novell.com>
6262 * HyperLinkColumn.cs: Initial implementation.
6263 Todo: Figure out Initialize and InitializeCell.
6265 2005-07-20 Chris Toshok <toshok@ximian.com>
6267 * BaseValidator.cs: don't use Page.FindControl, use this Control's
6268 FindControl, so it'll use the same naming container.
6270 2005-07-21 Duncan Mak <duncan@novell.com>
6272 * DataGridCommandEventArgs.cs:
6273 * DataGridPageChangedEventArgs.cs:
6274 * RepeaterCommandEventArgs.cs: Fixed visibility.
6276 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
6277 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
6279 2005-07-20 Chris Toshok <toshok@ximian.com>
6281 * Button.cs: hook up the client side validation stuff.
6283 * ImageButton.cs: same.
6285 * LinkButton.cs: same, although it's a little more complicated
6288 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6291 - Implemented RaisePostDataChangedEvent()
6292 - Spewing postback command if AutoPostBack is true
6294 2005-07-20 Chris Toshok <toshok@ximian.com>
6296 * BaseValidator.cs: another Page != null check when uplevel
6299 2005-07-20 Chris Toshok <toshok@ximian.com>
6301 * BaseValidator.cs: check Page != null when determining if we're
6302 rendering uplevel or not.
6304 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6306 * ListItemCollection.cs: Removed obsolete method that's no longer
6309 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6311 * DropDownList.cs: Oops. Forgot to implement LoadPostData
6312 * ListItemCollection.cs: Added convenience method to have faster
6315 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6318 - Automatically select the first item if none are selected
6319 - Throw exception if more than one item is selected
6321 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6323 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
6324 handled by RepeatInfo).
6326 2005-07-20 Jackson Harper <jackson@ximian.com>
6328 * DataGrid.cs: Store the data source created columns in a
6329 DataGridColumnCollection. This way they can be put in the
6330 view state more easily, and accessed without casting.
6332 2005-07-20 Chris Toshok <toshok@ximian.com>
6334 * BaseValidator.cs (AddAttributesToRender): render the client side
6335 attributes if we're in uplevel mode.
6336 (DetermineRenderUplevel): flesh out a bit - for now basically
6337 return true unless the control has it disabled.
6338 (OnInit): only add the validator to Page's list if there is, in
6340 (OnUnload): same for removal.
6341 (OnPreRender): hook up client scripting stuff here. Only the call
6342 to RegisterValidatorCommonScript is a for sure thing here, the
6343 registering of the submit statement and startup script should
6344 probably go elsewhere, but I don't know where.
6345 (RegisterValidatorCommonScript): register the <script
6346 src=".../WebUIValidation.js"> tag, if it's not already there.
6347 (RegisterValidatorDeclaration): add our span object to the
6348 Page_Validators JS array.
6349 (Render): always render the tags (although this is probably not
6350 right), and call RegisterValidatorDeclaration here.
6352 * BaseCompareValidator.cs (AddAttributesToRender): render the
6353 client side attributes if we're in uplevel mode.
6354 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
6355 call base.DetermineRenderUplevel for now.
6357 * RegularExpressionValidator.cs (AddAttributesToRender): render
6358 the client side attributes if we're in uplevel mode.
6360 * RequiredFieldValidator.cs (AddAttributesToRender): same.
6362 * CompareValidator.cs (AddAttributesToRender): same.
6364 2005-07-20 Jackson Harper <jackson@ximian.com>
6366 * DataGrid.cs: Save the data source created column set in the
6369 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6371 * DataList.cs: Fix events and properties exceptions. Give the right
6372 informations to RenderItem.
6374 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6376 * ValidationSummary.cs: Implemented rendering
6378 2005-07-20 Jackson Harper <jackson@ximian.com>
6380 * DataGrid.cs: column names are cached and only regenerated if useDataSource
6381 is set to true. Otherwise they are just fetched from the last set that
6382 was generated from the source.
6384 2005-07-20 Jackson Harper <jackson@ximian.com>
6386 * DataGrid.cs: Assign some properties of newly created BoundColumns.
6388 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6390 * DataList.cs: Fix viewstate ordering.
6392 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6394 * SelectedDatesCollection.cs: Apprarently, I don't write code well
6397 * Repeater.cs: Uh, actually add stuff to the items collection
6400 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6402 * BaseDataList.cs: EnsureChildControls on Controls property.
6403 * DataList.cs: Fix rendering and Controls/Items differences.
6404 * DataListItem.cs: Added rendering of controls.
6406 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6408 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
6410 2005-07-20 Jackson Harper <jackson@ximian.com>
6412 * DataGrid.cs: Add some of the collections. Implement
6415 2005-07-20 Jackson Harper <jackson@ximian.com>
6417 * PagedDataSource.cs: Implement GetItemProperties, this is
6418 needed for the datagrid.
6420 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6422 * DataGridColumnCollection.cs: New impl
6424 * TemplateColumn.cs: New impl
6426 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6428 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
6429 * DataList.cs: Work in progress... Added attributes, proper
6430 IRepeatInfoUser support and cool things stolen from other classes.
6431 * DataListCommandEventArgs.cs: Class is sealed.
6432 * DataListItem.cs: RenderItem is public.
6434 2005-07-19 Jackson Harper <jackson@ximian.com>
6436 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
6437 a viewstate object if all the viewstate stuff is null.
6439 2005-07-19 Jackson Harper <jackson@ximian.com>
6441 * DataGrid.cs: Implement style properties and viewstate
6442 saving/loading/tracking.
6444 2005-07-19 Chris Toshok <toshok@ximian.com>
6446 * BaseValidator.cs: more fixes from pdb.
6448 2005-07-19 Chris Toshok <toshok@ximian.com>
6450 * BaseValidator.cs: some test-driven fixes.
6452 2005-07-19 Chris Toshok <toshok@ximian.com>
6454 * BaseValidator.cs: Initial implementation.
6456 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6458 * Repeater.cs: Fix small typo.
6460 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
6462 * ValidationSummaryTest.cs: Started implementation
6463 * RangeValidator.cs: Implemented
6464 * ValidatedControlConverter.cs: Implemented
6465 * DropDownList.cs: Implemented
6467 2005-07-19 Jackson Harper <jackson@ximian.com>
6469 * DataGrid.cs: Implement bubble event.
6471 2005-07-19 Jackson Harper <jackson@ximian.com>
6473 * DataGrid.cs: New implementation. Just properties and events for
6476 2005-07-18 Chris Toshok <toshok@ximian.com>
6478 * BaseCompareValidator.cs: Initial implementation, with some NYI.
6480 2005-07-19 Ben Maurer <bmaurer@ximian.com>
6482 * FontUnit.cs: Corcompare fixes
6484 * UnitConverter.cs: Fix api diffs
6486 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6488 * ListControl.cs: Fix api differences
6490 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6492 * Table.cs: Fix indentation for caption. Simplify check when adding
6494 * TableRow.cs: Simplify check when adding controls.
6496 2005-07-18 Chris Toshok <toshok@ximian.com>
6498 * CompareValidator.cs: wtf, just use the base class's methods.
6500 2005-07-18 Chris Toshok <toshok@ximian.com>
6502 * CompareValidator.cs: do comparisons based on
6503 BaseCompareValidator.Type.
6505 2005-07-18 Chris Toshok <toshok@ximian.com>
6507 * CompareValidator.cs: initial implementation.
6509 2005-07-18 Chris Toshok <toshok@ximian.com>
6511 * RegularExpressionValidator.cs: initial implementation.
6513 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6515 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
6517 2005-07-18 Jackson Harper <jackson@ximian.com>
6519 * CheckBoxList.cs: Implement LoadPostBackData. Also register
6520 checkboxes for postback if they are checked so we can find
6521 out when they are unchecked. Copy the AutoPostBack variable
6522 to the to be rendered checkbox when rendering.
6524 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6526 * TextBox.cs: Finish this up.
6528 * AdRotator.cs: Fix issues in the test suite. Minor style
6531 * Repeater.cs: Fix a bug where the datasource is null and we do
6534 * WebColorConverter.cs: Optimize by not doing a concat on a
6537 2005-07-17 Ben Maurer <bmaurer@ximian.com>
6539 * ListItemCollection.cs: Multiple uses of equals rather than
6540 string.compare as below. Remove unreachable code warning.
6542 * WebColorConverter.cs (ConvertTo): Use the == operator on string
6543 rather than an invariant non-case ignoring compare. They are
6544 exactly the same thing. Use proper coding style in this method.
6546 * WebControl.cs: Return null when saving the view state if there
6547 is no state in any of the things we save. This creates a fairly
6548 large savings, because we can avoid saving anything about many
6549 levels of deaply nested controls.
6551 2005-07-15 Jackson Harper <jackson@ximian.com>
6553 * CheckBoxList.cs: Use the index as the ID, the rest of the
6554 id is built by being in the NamingContainer.
6556 2005-07-15 Jackson Harper <jackson@ximian.com>
6558 * ListControl.cs: Use enum instead of string. Saves a lookup.
6560 2005-07-15 Jackson Harper <jackson@ximian.com>
6562 * CheckBoxList.cs: FindControl always returns 'this' according
6565 2005-07-15 Jackson Harper <jackson@ximian.com>
6567 * CheckBoxList.cs: New impl.
6569 2005-07-15 Jackson Harper <jackson@ximian.com>
6571 * WebControl.cs: Use the ClientID when rendering a controls ID
6572 attribute so that naming containers are honoured.
6574 2005-07-15 Jackson Harper <jackson@ximian.com>
6576 * ListControl.cs: use the state manager interface for tracking
6579 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6581 * Repeater.cs (DoItem): Add the DataItem before we call user
6582 methods, as it seems to be there with msft.
6584 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
6586 * BaseDataList.cs: New. (mostly complete) implementation.
6587 * DataKeyCollection.cs: New. Implementation (complete).
6588 * DataList.cs: New. (mostly incomplete) implementation.
6589 * DataListItem.cs: New. (mostly complete) implementation.
6590 * DataListItemCollection.cs: New. Implementation (complete).
6592 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6594 * Repeater.cs (DoItem): We need to .Add the control *before* we
6595 data bind it so that the state gets tracked correctly. Fixes the
6598 2005-07-15 Jackson Harper <jackson@ximian.com>
6600 * ListControl.cs: Simplify comparison.
6602 2005-07-15 Jackson Harper <jackson@ximian.com>
6605 * Repeater.cs: Use new utility class for resolving data sources.
6607 2005-07-15 Jackson Harper <jackson@ximian.com>
6609 * ListControl.cs: Add attributes so the sub items get parsed
6610 properly. Remove old unneeded code for resolving lists.
6612 2005-07-15 Jackson Harper <jackson@ximian.com>
6614 * ListControl.cs: Use the DataSourceHelper so DataMembers are
6617 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6620 - Some optimizations
6621 * Don't use enum formatting stuff, it is 1) expensive 2) does
6622 allocations. Use a new method in HtmlControl to do the right
6624 * Don't use Enum.IsDefined but an explicit check.
6625 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
6626 - Use the correct coding style.
6628 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6630 * WebColorConverter.cs:
6631 - Alpha of 255 is only set if the hex number is exactly 6 digits
6632 - Ben didn't like the catch { throw; } (even though MS documents to
6634 - Use Invariant Culture for parsing (thanks, Ben)
6636 2005-07-14 Jackson Harper <jackson@ximian.com>
6638 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
6639 code-reuse-arific. Also use the IStateManager interface for loading
6640 data instead of the old internal method.
6642 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6644 * WebColorConverter.cs: Implemented
6646 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6648 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
6650 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6652 * Repeater.cs: Get it working
6654 2005-07-14 Jackson Harper <jackson@ximian.com>
6656 * ListControl.cs: Initial implementation of Databinding. Make sure
6657 that the ListItemCollection is created when we load its ViewState.
6659 2005-07-14 Jackson Harper <jackson@ximian.com>
6661 * ListControl.cs: Fix typo.
6663 2005-07-14 Jackson Harper <jackson@ximian.com>
6665 * ListControl.cs: New Implementation. Lacks databinding support.
6667 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6669 * Repeater.cs: The beginnings of this control
6671 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6673 * TargetConverter.cs: Implemented
6675 2005-07-14 Duncan Mak <duncan@novell.com>
6677 * PagedDataSource.cs: Initial implementation.
6679 Methods that need to be figured out:
6680 CopyTo, GetItemProperties, PageCount, IsLastPage.
6682 To complete: CollectionEnumerator, ListEnumerator.
6684 2005-07-13 Duncan Mak <duncan@novell.com>
6686 * RepeatDirection.cs:
6688 * ValidationCompareOperator.cs:
6689 * ValidationDataType.cs:
6690 * ValidationSummaryDisplayMode.cs:
6691 * ValidatorDisplay.cs: Added remaining enumerations.
6693 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6695 * FontNamesConverter.cs: Implemented
6697 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6699 * RepeaterItem.cs: Compile fix
6701 * RepeaterItemCollection.cs: New file
6703 * RepeaterItem.cs: get OnBubbleEvent right.
6705 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6707 * ListItemCollection.cs: Count can be derived from the array, which
6708 allows us to use a Pair instead of a Triplet and save some space
6710 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6712 * RepeaterItem.cs: Stub
6714 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6716 * ListItemCollection.cs: Implemented
6717 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
6719 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6721 * RepeatInfo.cs: Impl.
6723 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6725 * FirstDayOfWeek.cs: Added
6727 2005-07-13 Jackson Harper <jackson@ximian.com>
6729 * ListBox.cs: Some parameter checking.
6731 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6733 * Image.cs: Added support for DescriptionUrl as this property was
6734 added in Fx 1.1 SP1.
6736 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6738 * Style.cs (AddAttributesToRender): Don't render attributes if they
6739 contain only their default value
6741 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6743 * Table.cs: New. Initial re-implementation.
6744 * TableCell.cs: New. Initial re-implementation.
6745 * TableCellCollection.cs: New. Initial re-implementation.
6746 * TableHeaderCell.cs: New. Initial re-implementation.
6747 * TableItemStyle.cs: New. Initial re-implementation.
6748 * TableRow.cs: New. Initial re-implementation.
6749 * TableRowCollection.cs: New. Initial re-implementation.
6750 * TableStyle.cs: New. Initial re-implementation.
6752 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6754 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
6755 unit tests (for Style) and more tests in Table* classes.
6757 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6759 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
6760 however IsEmpty returns false if any of their properties are set.
6761 Looks ugly but it's compatible with MS implementation (feature and
6764 2005-07-13 Dick Porter <dick@ximian.com>
6766 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
6767 null Text properties from the ViewState, test for TextAlign being
6768 out of range. All to make tests pass on both mono and ms
6771 2005-07-13 Jackson Harper <jackson@ximian.com>
6773 * ListBox.cs: Use invariant culture when doing a ToString,
6774 set value to the item's value, not to its Text.
6776 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6778 * WebControl.cs (AddAttributesToRender): Added ID to rendered
6781 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6783 * Style.cs(MergeWith): Handle null styles
6785 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
6787 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
6788 the #if NET_2_0 on it.
6790 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6792 * Style.cs: Only render font elements if fontinfo object exists
6794 - Implemented SaveViewState()
6795 - Added loading of Style to LoadViewState
6796 - Implemented IAttributeAccessor methods
6798 2005-07-12 Jackson Harper <jackson@ximian.com>
6800 * ListBox.cs: Even track default values in the viewstate. Call
6801 base's RenderContents.
6803 2005-07-12 Jackson Harper <jackson@ximian.com>
6805 * ListBox.cs: New impl.
6807 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6810 - Implemented methods
6813 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6815 * ListItem.cs: New impl.
6817 2005-07-12 Duncan Mak <duncan@novell.com>
6819 * DayNameFormat.cs: Added.
6821 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6823 * WebControl.cs: Implemented properties
6825 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6827 * TextBox.cs: Passwords seem 1) not to be rendered to the client
6828 if set, 2) not kept in view state (for security reasons...)
6831 * Button.cs: Page.Validate () if needed. Gets the validator tests
6834 * TextBox.cs: Properties to get the validator stuff to work.
6836 2005-07-12 Miguel de Icaza <miguel@novell.com>
6838 * Unit.cs: If the units are pixels, then truncate the value.
6840 2005-07-12 Dick Porter <dick@ximian.com>
6842 * RadioButton.cs: New implementation
6844 * CheckBox.cs: Rearrange the attributes rendering to allow
6845 RadioButton to derive from this
6847 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6849 * TitleFormat.cs: Add attribute
6850 * TextBoxMode.cs: Add attribute
6851 * CalendarDay.cs: Initial implementation
6852 * ImageButton.cs: Initial implementation
6853 * CalendarSelectionMode.cs:Initial implementation
6855 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6857 * TextBoxMode.cs: simple enum
6858 * TitleFormat.cs: simple enum
6860 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6862 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
6864 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6866 * FontUnit.cs: Added TypeConverter attribute to class
6867 * FontUnitConverter.cs: Implemented
6869 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6872 * Button.cs: Bubble the Command event.
6874 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6877 - Clean up style (with my wonderful state bag hack!)
6878 - Fix a view state typo.
6879 - Use AddAttributesToRender
6880 - Don't add an extra <span>
6882 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6884 * Style.cs: Handle null constructor argument for bag
6886 2005-07-11 Dick Porter <dick@ximian.com>
6888 * CheckBox.cs: New implementation
6890 * RadioButton.cs: Initial stubbed version that just compiles
6892 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
6894 * Button.cs: Initial Button implementation
6896 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
6898 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
6900 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6902 * HorizontalAlign.cs: Typo in header.
6903 * VerticalAlign.cs: New. Required enum for TableRow control.
6905 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6907 * TextBox.cs: More work on this
6909 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6911 * GridLines.cs: New. Required enum for Table control.
6912 * HorizontalAlign.cs: New. Required enum for Table control.
6914 2005-07-09 Duncan Mak <duncan@novell.com>
6916 * CommandEventHandler.cs:
6917 * DataGridCommandEventHandler.cs:
6918 * DataGridItemEventHandler.cs:
6919 * DataGridPageChangedEventHandler.cs:
6920 * DataGridSortCommandEventHandler.cs:
6921 * DataListCommandEventHandler.cs:
6922 * DayRenderEventHandler.cs:
6923 * RepeaterCommandEventHandler.cs:
6924 * ServerValidateEventHandler.cs: Add delegates.
6927 * ListSelectionMode.cs:
6928 * NextPrevFormat.cs:
6930 * PagerPosition.cs: Add enums.
6932 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6934 * TextBox.cs: Add the work I did on this today. It's not complete
6935 yet, but its a start!
6937 2005-07-09 Duncan Mak <duncan@novell.com>
6939 * CommandEventArgs.cs:
6940 * DataGridCommandEventArgs.cs:
6941 * DataGridItemEventArgs.cs:
6942 * DataGridPageChangedEventArgs.cs:
6943 * DataGridSortCommandEventArgs.cs:
6944 * DataListCommandEventArgs.cs:
6945 * DataListItemEventArgs.cs:
6946 * DayRenderEventArgs.cs:
6947 * RepeaterCommandEventArgs.cs:
6948 * RepeaterItemEventArgs.cs:
6949 * ServerValidateEventArgs.cs: Implemented.
6951 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
6953 * Image.cs: New. Image class implementation.
6954 * ImageAlign.cs: New. ImageAlign enum definitions.
6956 2005-07-08 Jackson Harper <jackson@ximian.com>
6958 * Literal.cs: New implentation.
6959 * MonthChangedEventArgs.cs: new
6960 * MonthChangedEventHandler.cs: new
6962 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6964 * LinkButton.cs: Command impl
6966 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6968 * LinkButton.cs: Initial impl
6970 2005-07-08 Jackson Harper <jackson@ximian.com>
6972 * AdCreatedeventArgs.cs: New implementation.
6974 2005-07-08 Dick Porter <dick@ximian.com>
6977 * BorderStyle.cs: Added
6979 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6981 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
6983 2005-07-07 Miguel de Icaza <miguel@novell.com>
6985 * Xml.cs: New implementation. R00lz.
6987 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6989 * FontInfo.cs: Added and implemented.
6990 * Style.cs: Fixed behaviour discrepancies showed by tests
6992 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6994 * PlaceHolderControlBuilder.cs: new file
6996 * LabelControlBuilder.cs: New file
6998 * HyperLink.cs: use control builder; fix parsing stuff
7000 * HyperLinkControlBuilder.cs: new file
7002 * Panel.cs: misc fixes
7004 2005-07-07 Miguel de Icaza <miguel@novell.com>
7006 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
7008 * UnitConverter.cs: Add new file, learned from the
7009 System.Drawing.ColorConverter.
7011 2005-07-07 Ben Maurer <bmaurer@ximian.com>
7013 * PlaceHolder.cs: New file. Seems to do nothing
7015 * Label.cs: Use my new statebag trick to reduce typing
7017 * HyperLink.cs: New file
7019 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
7021 * Style.cs: Added and implemented.
7023 2005-07-06 Miguel de Icaza <miguel@novell.com>
7025 * FontUnit.cs: New file.
7027 * Unit.cs: New file.
7029 Added support for null and empty string constructors.
7031 2005-07-06 Ben Maurer <bmaurer@ximian.com>
7033 * Unit.cs: cctor not needed; static fields are 0 init'd by default
7035 * WebControl.cs: Kothari & Datye's book explains how these work.
7037 * IRepeatInfoUser.cs: Reimpl.
7039 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
7041 * WebControl.cs: Added stub
7043 2005-07-05 Miguel de Icaza <miguel@novell.com>
7045 * Label.cs: First control.
7047 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
7049 * DataControlField.cs: Ignore the ShowHeader property when
7050 building the control's content. It is the resposability of
7051 the field container to decide if the header should be shown
7054 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
7057 * ImageFieldMode.cs:
7058 * DynamicImageParameterMode.cs:
7059 * TableViewMode.cs: Removed.
7063 * TableRowSection.cs:
7064 * AutoCompleteType.cs:
7065 * DayNameFormat.cs: Track changes in 2.0 api.
7067 * StringArrayConverter.cs: This class is 2.0 only.
7069 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
7073 * DetailsView.cs: Bind the control after creating all child
7075 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
7076 the correct methods.
7077 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
7078 in this class. This is done in DataBoundControl. All this fixes
7081 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7083 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
7084 FindByText. Closes bug #74205.
7086 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7088 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
7089 1 when there's a datasource and 0 pages. Closes bug #73864.
7091 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
7098 * MenuItemTemplateContainer.cs:
7099 * DetailsView.cs: Track changes in the IDataItemContainer interface.
7101 * CommandField.cs: Added CausesValidation property. Set that
7102 property value to all buttons of the field.
7104 * SqlDataSourceView.cs:
7105 * CollectionDataSource.cs:
7106 * XmlDataSourceView.cs: Properly initialize the base class.
7108 * SiteMapDataSource.cs:
7109 * SiteMapHierarchicalDataSourceView.cs:
7110 * SiteMapNodeItem.cs:
7111 * SiteMapDataSourceView.cs:
7112 * SiteMapPath.cs: Mostly implemented.
7114 * HierarchicalDataBoundControl.cs: Always bind the control when the
7115 page is loaded for the first time.
7117 * TreeView.cs: Properly bind the control when loaded from a callback.
7119 2005-05-21 Ben Maurer <bmaurer@ximian.com>
7121 * BaseDataList.cs: Caption is in 1.1 too, though not
7122 documented. Gonz owes me [more] ice cream. Yummmmm.
7124 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7126 * BaseDataList.cs: implemented 2.0 Caption property.
7128 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
7130 * TreeView.cs: Always render the startup script. This fixes
7133 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
7135 * WizardStepBase.cs:
7136 * WizardStep.cs: Added missing attributes.
7137 * Wizard.cs: Implemented missing methods and properties. It can now
7138 be considered feature complete.
7140 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7142 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
7143 the method if the data source was en empty IEnumerator. Fixes
7146 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
7150 * Menu.cs: Implemented some new properties from beta 2.
7152 * DataControlButton.cs: Render the ControlStyle if it
7156 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
7157 It will now generate an object creation, instead of a Parse call.
7159 * GridViewCommandEventArgs.cs: Added missing property.
7160 * SubMenuStyleCollection.cs: This class is not sealed.
7161 * MultiView.cs: Set Visible=false to all views that are not
7162 shown. This ensures that it's view state is saved.
7164 * BaseDataBoundControl.cs:
7165 * GridViewDeletedEventArgs.cs: Minor api fixes.
7167 * FormViewDeleteEventArgs.cs:
7168 * DetailsViewDeletedEventArgs.cs:
7169 * ListControl.cs: Fix warnings.
7173 * HotSpotCollection.cs
7176 * RectangleHotSpot.cs
7177 * WizardStepCollection.cs : Implemented.
7181 * Wizard.cs: Initial implementation.
7183 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
7185 * DataControlField.cs:
7189 * DataControlCommands.cs:
7190 * DetailsView.cs: Use constants to identify commands.
7192 * SubMenuStyle.cs: Use Unit instead of int for padding.
7193 * SubMenuStyleCollection.cs: Implemented.
7196 * Menu.cs: Added some missing methods and properties.
7199 * DataGridPagerStyle.cs: Fixed default value attributes.
7200 * ListControl.cs: Implemented IEditableTextControl interface.
7202 * MenuItemBinding.cs: Added Selectable property.
7203 * CustomValidator.cs: removed interface.
7205 * MenuItem.cs: Added support for custom binding.
7206 * DropDownList.cs: Moved text properties to base class.
7208 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7210 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
7212 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7214 * Calendar.cs: when the day is active, modify the text of the literal
7215 control that holds the number, not the text of the TableCell. Also call
7216 OnDayRender before updating that text. Fixes bug #74718.
7218 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
7220 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
7222 * DataControlFieldHeaderCell.cs: Save Scope in view state.
7223 Added AbbreviatedText property.
7224 * AutoGeneratedField.cs: The constructor should actually be internal.
7225 * DataGridItem.cs: Added implemented interface in 2.0.
7226 * DataControlFieldCollection.cs: Implemented CloneFields and
7230 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7232 * StringArrayConverter.cs:
7233 * Calendar.cs: warnings.
7235 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
7237 * FormViewDeleteEventArgs.cs:
7238 * FormViewInsertEventArgs.cs:
7239 * FormViewUpdateEventArgs.cs:
7240 * FormViewDeletedEventArgs.cs:
7241 * FormViewUpdatedEventArgs.cs:
7242 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
7245 * IButtonControl.cs:
7246 * Button.cs: Removed SoftKey property.
7248 * CheckBox.cs: Don't try to load post back data if the control
7252 * AutoGeneratedField.cs:
7253 * DataControlField.cs:
7255 * ButtonFieldBase.cs:
7259 * ButtonField.cs: Don't bind fields in Insert state.
7260 Implemented CreateField and CopyProperties.
7263 * DetailsView.cs: Removed some unneeded interfaces. Don't
7264 generate the field rows if there are no items in the data source.
7265 Don't get the current keys until the whole control has been
7268 * DetailsViewInsertedEventArgs.cs:
7269 * DataBoundControl.cs:
7270 * ObjectDataSourceView.cs: Made some methods private.
7273 * Menu.cs: Changed some properties from int to Unit.
7275 * DataControlButton.cs: javascript prefix is needed when raising
7276 the postback event from a link.
7278 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
7279 The result was wrong when the total data source count was 0.
7281 * FormView.cs: Implemented.
7282 * FormViewRow.cs: Implemented.
7285 * Localize.cs: Fixed base interface.
7287 * BaseDataBoundControl.cs: In DataBind() call the base class
7288 DataBind method, so the binding context is properly set.
7290 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
7292 * DetailsView.cs: Added some null checks.
7293 * TemplateField.cs: Implemented support for two-way bindings.
7295 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
7297 * DetailsView.cs: Implemented support for Insert operation.
7298 Added header and footer templates. Added missing style
7300 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
7301 to get filter values. Other minor fixes.
7302 * CommandField.cs: Properly render the Insert and New buttons.
7303 * ObjectDataSource.cs: Update the parameter collections after
7304 the page is loaded. This will fire the ParameterChanged event
7306 * DataBoundControl.cs: The OnDataSourceViewChanged method
7307 is called when the view changes, not when the datasource
7310 * DetailsViewInsertedEventArgs.cs:
7311 * DetailsViewInsertEventArgs.cs: Implement Values property.
7314 * AutoGeneratedField.cs
7317 Take into account the Insert mode.
7319 * ParameterCollection.cs: Implemented UpdateValues and fixed
7320 GetValues (values can't be cached because can change).
7321 * Parameter.cs: Detect value changes in GetValue, and fire
7322 the change event if needed. Removed unused ParameterValue
7323 property. Other fixes.
7325 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
7327 * DetailsView.cs: Initial implementation.
7328 * ObjectDataSourceView.cs: Notify changes in the parameters.
7329 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
7330 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
7331 Implemented some properties.
7332 * GridView.cs: Added null check in SelectedValue. Don't return null
7333 for empty DataKeyNames list.
7334 * DetailsViewRowCollection.cs: Implemented.
7335 * DetailsViewRow.cs: Implemented.
7336 * ButtonFieldBase.cs: By default button field don't have headers.
7337 * BoundField.cs: Don't bind header fields.
7339 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
7341 * ButtonField.cs: Get data item properties using TypeDescriptor.
7342 Made OnDataBindField private.
7343 * ObjectDataSourceView.cs: Implemented support for Delete and
7344 Insert operations, support for filtering and sorting,
7345 conflict detection, etc. It's now complete.
7346 * ObjectDataSource.cs: Completed most of functionality. Only
7347 caching support is missing.
7348 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
7349 * TreeNode.cs: Get data item properties using TypeDescriptor.
7350 * PagerSettings.cs: Flush.
7351 * ObjectDataSourceFilteringEventArgs.cs: New event args.
7352 * GridView.cs: Get data item properties using TypeDescriptor
7353 and cache them. Properly set descending order in the sort
7354 expression. In UpdateRow, make sure we get the old values
7355 before the control is bound again.
7356 * ImageField.cs: Implemented.
7357 * AutoGeneratedField.cs: Initialize the field's sort
7358 expression in the constructor.
7359 * MenuItem.cs: Get data item properties using TypeDescriptor.
7360 * BoundField.cs: Get data item properties using TypeDescriptor.
7361 * CheckBoxField.cs: Added missing attributes.
7362 * TemplateField.cs: Implemented.
7364 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7367 * FontUnitConverter.cs: fixed ConvertTo to work with target
7368 InstanceDescriptor and value as a string.
7370 * Unit.cs: culture might be null.
7374 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
7376 * ButtonField.cs: Mostly implemented.
7377 * DataControlFieldHeaderCell.cs: Implemented.
7378 * ObjectDataSourceView.cs: Initial implementation.
7379 * DataControlButton.cs: Added support for real buttons.
7380 * Label.cs, DataControlField.cs: Flush.
7381 * ObjectDataSource.cs: Initial implementation.
7382 * HiddenField.cs: Added class stub.
7383 * GridView.cs: Load autogenerated field properties before
7384 creating the children, to make sure that column info is ready.
7385 * ControlParameter.cs: Implemented Evaluate method.
7386 * ImageField.cs: Added class stub.
7387 * BoundField.cs: Added HtmlEncode property.
7388 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
7390 * CheckBoxField.cs: Mostly implemented.
7391 * TemplateField.cs: Added class stub.
7392 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
7393 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
7394 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
7396 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
7398 * DataControlField.cs: Added missing InsertVisible property.
7399 * AutoGeneratedFieldProperties.cs: Implemented.
7400 * PagerSettings.cs: Minor fix.
7401 * GridView.cs: Implemented support for autogenerated fields, templates,
7402 accessible headers. Implemented paging using PagedDataSource.
7403 Implemented missing overridable methods.
7404 * AutoGeneratedField.cs: Initial implementation.
7405 * BoundField.cs: Added ReadOnly property.
7406 * PagedDataSource.cs: Implemented 2.0 api.
7407 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
7408 cell class to be used by accessible headers.
7409 * TableCell.cs: Removed unneded constructor. If the cell is bound to
7410 a template, call the default RenderContents method.
7412 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7414 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
7415 event when loading the view state. Fixes #73746.
7417 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7419 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
7421 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
7423 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
7425 * CommandField.cs: Mostly implemented.
7426 * Menu.cs: Use callback methods moved to ClientScriptManager.
7427 * DataControlButton.cs: Internal control used to implement buttons
7428 for navigating in data bound controls.
7429 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
7430 to render the column headers.
7431 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
7432 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
7433 Don't use Page.GetPostBackClientEvent
7434 since it is deprecated in 2.0.
7435 * GridView.cs: Implemented some several interfaces.
7436 Implemented support client sorting and page navigation (using callbacks).
7437 Implemented the autogenerated command column using the new CommandField
7439 * ButtonFieldBase.cs: Implemented.
7440 * GridView.js: New helper script to support client side sorting and
7441 paging in the grid view.
7443 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
7445 * DataKey.cs: Implemented.
7446 * XmlDataSourceView.cs: Implemented support for row pagging.
7447 * Table.cs: Fixed attribute value.
7448 * DataControlField.cs: Added support for sorting headers.
7449 * ChildTable.cs: Created.
7450 * ListControl.cs: Delay selection assignment, since control state
7451 is now loaded before view state.
7452 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
7453 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
7454 several missing properties.
7455 * PagerSettings.cs: Fully implemented.
7456 * BaseDataList.cs: Added null check.
7457 * GridView.cs: Implemented more functionality.
7458 * BoundField.cs: Added support for cell editing.
7459 * StringArrayConverter.cs: Implemented.
7460 * DataKeyArray.cs: Implemented.
7461 * BaseDataBoundControl.cs: Reset the requires binding flag before
7462 executing the query. This avoids recursive query calls.
7463 * GridViewRow.cs: Handler commands raised from row childs.
7465 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
7467 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
7468 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
7469 it is possible to query for properties fore each data item.
7470 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
7471 when loading its view state.
7472 * DataControlField.cs: Implement properties using a StateBag.
7473 * XmlDataSourcePropertyDescriptor.cs: Implemented.
7474 * PagerSettings.cs: Mostly implemented.
7475 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
7476 * DataBoundControl.cs: Added null check.
7477 * GridView.cs: Initial implementation.
7478 * CompositeDataBoundControl.cs: Implemented.
7479 * BoundField.cs: Initial implementation.
7480 * GridViewRowCollection.cs: Initial implementation.
7481 * DataControlFieldCollection.cs: Initial implementation.
7482 * DataControlFieldCell.cs: Fixed control tag.
7483 * GridViewRow: Initial implementation.
7484 * XmlDataSourceNodeDescriptor.cs: Implemented.
7486 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7488 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
7489 is zero, use the TagName no matter its value. Fixes bug #72415.
7491 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
7493 * Style.cs: Method name fix.
7494 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
7495 * BaseCompareValidator.cs: Method signature fix.
7496 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
7497 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
7498 * BulletedList.cs: Added missing method.
7499 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
7501 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
7503 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
7504 * RadioButton.cs: Added missing 2.0 methods.
7505 * ListItem.cs: Added Enabled property.
7506 * MailMessageEventArgs.cs: Use the correct message class.
7507 * ListControl.cs: Implemented missing properties and support for
7508 control state. Implemented base RenderContents method.
7509 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
7511 * BaseCompareValidator.cs: Implemented methods that support conditional
7512 use of the invariant culture.
7513 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
7514 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
7515 It takes a DbCommand instead of a IDbCommand.
7516 * GridViewSortEventArgs.cs: Added SortDirection property.
7517 * TextBox.cs, CheckBoxList.cs: Added protected version of
7518 IPostBackDataHandler methods.
7519 * RadioButtonList.cs: Added protected version of
7520 IPostBackDataHandler and IRepeatInfoUser methods.
7521 * Repeater.cs: Updated some method names.
7522 * DropDownList.cs: Added protected version of
7523 IPostBackDataHandler methods. Reuse RenderContents from base class.
7524 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
7525 * GridViewUpdatedEventArgs.cs: Fix typo.
7526 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
7527 Reuse RenderContents from base class.
7528 * BaseDataBoundControl.cs: Several fixes.
7529 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
7531 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7533 * CheckBoxList.cs: Fix build.
7535 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7537 * Button.cs: Use validation group when validating page.
7538 * XmlDataSourceView.cs: Implemented ExecuteSelect.
7539 * Menu.cs: Minor fix.
7540 * CheckBox.cs: Added 2.0 properties and methods.
7541 * BaseDataList.cs: Always databind the control if view state
7543 * DataList.cs: In 2.0, use control state to save the selected index.
7544 * DetailsViewUpdatedEventArgs.cs: Fix typo.
7545 * CustomValidator.cs: Implement IStaticTextControl interface.
7546 * CheckBoxList.cs: Added missing 2.0 methods.
7547 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
7549 * XmlDataSource.cs: Return childs of DocumentElement, not the root
7551 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
7552 Implemented 2.0 API.
7555 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
7557 * Button.cs: Implemented all missing 2.0 features.
7558 * Table.cs: Render the table caption, when specified.
7559 * Calendar.cs: Implemented most of missing 2.0 features.
7560 * TableCell.cs: Fixed attributes.
7562 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7564 * ControlPropertyNameConverter.cs: Added file.
7566 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7568 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
7569 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
7570 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
7571 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
7572 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
7573 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
7574 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
7575 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
7576 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
7577 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
7578 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
7579 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
7580 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
7581 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
7582 DataGridSortCommandEventArgs.cs, Repeater.cs,
7583 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
7584 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
7585 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
7586 CompareValidator.cs, HierarchicalDataBoundControl.cs,
7587 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
7588 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
7589 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
7590 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
7591 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
7592 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
7593 AdCreatedEventArgs.cs:
7595 General 2.0 API fixes: missing attributes, incorrect inheritance,
7596 missing sealed keywords, wrong signatures, etc.
7598 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
7600 * Table.cs: Added some 2.0 properties.
7601 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
7603 * BaseValidator.cs: Fix warning.
7604 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
7606 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
7608 * Menu.cs: Rendering fixes.
7610 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
7612 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
7613 ContentPlaceHolderBuilder.cs: Implemented.
7615 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7617 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
7618 attributes that are meant to be in the input tag in their place.
7620 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
7622 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
7623 generates invalid html).
7625 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
7627 * Menu.cs: Implemented most of missing properties. Added support for
7628 item templates. Implemented menu scrolling.
7629 * MenuItemBinding.cs: Implemented most of missing properties.
7630 * MenuItem.cs: Implemented most of missing properties.
7631 * Menu.js: Implemented scrolling and menu reposition into screen.
7632 * MenuItemTemplateContainer.cs: Implemented.
7633 * SubMenuStyle.cs: Implemented.
7635 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
7637 * Style.cs: Implemented RegisteredCssClass property. Added
7638 CopyTextStylesFrom method, which copies styles that only apply to text.
7639 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
7640 in the page stylesheet. Added support for ItemSpacing property.
7641 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
7643 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
7645 * Style.cs: Generate styles using a CssStyleCollection, so the code can
7646 be reused for the 2.0 FillStyleAttributes method.
7647 * Menu.cs: Implemented more properties and events. Rendering is very
7649 * MenuItem.cs: Added PopOutImageUrl property.
7650 * Menu.js: More work on submenu management.
7652 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
7654 * Menu.cs: Implemented basic rendering. Added some missing properties.
7655 * MenuItem.cs: Improved implementation of Depth.
7656 * Unit.cs: Added serializable attribute.
7657 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
7658 so it can be reused.
7659 * Menu.js: New script to support he Menu control.
7661 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
7663 * MenuEventArgs.cs: Changed to sealed.
7664 * TreeView.cs: Minor fix.
7665 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
7666 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
7667 MenuItemStyleCollection.cs: Initial Menu code.
7669 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
7671 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
7672 Implemented SetDirtyObject.
7673 * Style.cs: Implemented SetDirty().
7674 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
7675 * TreeNode.cs: Added missing attributes added support for
7676 PopulateOnDemand. Added some missing property bindings.
7677 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
7678 to newly added elements to make sure al new data is saved.
7679 * TreeView.js: Implemented support for client population of nodes.
7680 * TreeNodeStyle.cs: Added missing attributes.
7681 * TreeView.cs: Implemented support for PopulateNodesFromClient and
7682 PopulateOnDemand. Improved rendering.
7684 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
7686 * DataControlField.cs:
7687 * DataControlFieldCell.cs: Initial implementation.
7689 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
7691 * TreeNodeBindingCollection.cs: Implemented.
7692 * TreeNodeBinding.cs: Implemented.
7693 * TreeNode.cs: Added support for data binding.
7694 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
7695 TreeView_Default_NoExpand.gif: Moved to resources directory.
7696 * ListControl.cs: Fixed api.
7697 * XmlHierarchicalEnumerable.cs: Made internal.
7698 * DataBoundControl.cs: Modified api to match latest ms.net.
7699 * TreeView.js: New javascript file to support TreeView in the client.
7700 * XmlDataSource.cs: Added missing attributes.
7701 * HierarchicalDataBoundControl.cs: Mostly implemented.
7702 * BaseDataBoundControl.cs: Mostly implemented.
7703 * XmlHierarchyData.cs: Made internal.
7704 * TreeView.cs: Mostly implemented. The major missing feature is
7705 client side tree population.
7707 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
7710 * DataBountControl.cs:
7711 * Repeater.cs: Added SelectArguments property and updated.
7712 * SiteMapDataSourceView.cs:
7713 * SqlDataSourceView.cs:
7714 * XmlDataSourceView.cs: Removed extra method, which was there to
7715 keep things compiling.
7717 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
7719 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
7720 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
7721 TreeView.cs: Initial implementation.
7722 * DataBoundControl.cs: Set the correct base class.
7723 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
7724 * TreeNodeSelectAction.cs: Formatting.
7725 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
7726 TreeView_Default_NoExpand.gif: TreeView images.
7728 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
7730 * SqlDataSourceView.cs: Updated methods and added one property.
7732 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7734 * AccessDataSource.cs:
7735 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
7736 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7738 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
7739 * SqlDataSourceView.cs: Updated constructor.
7741 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7743 * AccessDataSourceView.cs: Added new class.
7745 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7747 * SqlDataSourceView.cs: Corrected exception handling in
7748 ExecuteSelect method.
7750 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
7752 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
7753 * SiteMapDataSourceView.cs: Minor fix.
7755 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7757 * SqlDataSourceView.cs: Updated ExecuteSelect method.
7759 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7761 * SqlDataSource.cs: Corrected Select method.
7763 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7765 * SqlDataSource.cs: Updated Select method definition.
7766 * SqlDataSourceStatusEventArgs.cs: Updated class.
7768 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
7770 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
7771 from DataSourceView.cs).
7773 2004-11-10 Raja R Harinath <rharinath@novell.com>
7775 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
7777 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
7779 * SqlDataSource.cs: Corrected method calls.
7780 * SqlDataSourceView.cs: Partial implementation of few methods.
7782 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7784 * ListItemCollection.cs: fixed bug when indexing changed elements in
7785 LoadViewState. Patch from Alois Bělaška.
7787 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
7789 * SiteMapDataSourceView.cs:
7790 * SqlDataSourceView.cs:
7791 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
7792 base class, DataSourceView. Changes are to keep things compiling.
7794 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
7796 * SiteMapDataSourceView.cs: Corrected class definition and updated.
7797 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
7800 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
7802 * AdRotator.cs: Updated.
7804 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
7806 * AccessDataSource.cs: Updated.
7808 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7810 * ValidatedControlConverter.cs: Updated.
7812 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7814 * AssociatedControlConverter.cs: Implemented.
7816 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7818 * ControlIDConverter.cs: Initial implementation.
7820 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7822 * IButtonControl.cs: Corrected property name.
7824 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7826 * ParameterCollection.cs: Updated.
7828 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7830 * Parameter.cs: Updated and completed implementation.
7832 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7834 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
7837 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7839 * AccessDataSource.cs: Initial implementation.
7841 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
7843 * DataControlRowState.cs:
7845 * TreeNodeTypes.cs: Added attribute.
7846 * DataControlRowType.cs:
7848 * SortDirection.cs: Corrected enumeration values.
7849 * TableRowSection.cs: Added new enumeration.
7850 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
7852 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7854 * TableStyle.cs: don't render empty 'rules' attribute (again).
7856 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
7858 * FormViewUpdatedEventArgs.cs: Spelling mistake.
7860 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
7862 * Literal.cs: Added new method Focus().
7864 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7866 * RadioButton.cs: fix GroupName when the control is inside a
7867 NamingContainer different from Page. Closes bug #65586.
7869 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
7871 * Localize.cs: Added new class.
7873 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
7875 * CompositeControl.cs : Completed
7876 * Login.cs : Initial implementation.
7878 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7880 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
7881 don't call MapPathSecure on the content itself.
7883 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
7884 document is checked at parse time and will be checked again at run time.
7888 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
7890 * AuthenticateEventHandler.cs:
7891 * CreateUserErrorEventArgs.cs:
7892 * CreateUserErrorEventHandler.cs:
7893 * DetailsViewCommandEventHandler.cs:
7894 * DetailsViewDeleteEventArgs.cs:
7895 * DetailsViewDeleteEventHandler.cs:
7896 * DetailsViewDeletedEventArgs.cs:
7897 * DetailsViewDeletedEventHandler.cs:
7898 * DetailsViewInsertEventArgs.cs:
7899 * DetailsViewInsertEventHandler.cs:
7900 * DetailsViewInsertedEventArgs.cs:
7901 * DetailsViewInsertedEventHandler.cs:
7902 * DetailsViewModeEventArgs.cs:
7903 * DetailsViewModeEventHandler.cs:
7904 * DetailsViewPageEventHandler.cs:
7905 * DetailsViewUpdateEventArgs.cs:
7906 * DetailsViewUpdateEventHandler.cs:
7907 * DetailsViewUpdatedEventArgs.cs:
7908 * DetailsViewUpdatedEventHandler.cs:
7909 * FormViewCommandEventHandler.cs:
7910 * FormViewDeleteEventArgs.cs:
7911 * FormViewDeleteEventHandler.cs:
7912 * FormViewDeletedEventArgs.cs:
7913 * FormViewDeletedEventHandler.cs:
7914 * FormViewInsertEventArgs.cs:
7915 * FormViewInsertEventHandler.cs:
7916 * FormViewInsertedEventArgs.cs:
7917 * FormViewInsertedEventHandler.cs:
7918 * FormViewModeEventHandler.cs:
7919 * FormViewPageEventHandler.cs:
7920 * FormViewUpdateEventArgs.cs:
7921 * FormViewUpdateEventHandler.cs:
7922 * FormViewUpdatedEventArgs.cs:
7923 * FormViewUpdatedEventHandler.cs:
7924 * GridViewCancelEditEventArgs.cs:
7925 * GridViewCancelEditEventHandler.cs:
7926 * GridViewCommandEventHandler.cs:
7927 * GridViewDeleteEventArgs.cs:
7928 * GridViewDeleteEventHandler.cs:
7929 * GridViewDeletedEventArgs.cs:
7930 * GridViewDeletedEventHandler.cs:
7931 * GridViewEditEventHandler.cs:
7932 * GridViewPageEventHandler.cs:
7933 * GridViewRowEventHandler.cs:
7934 * GridViewSelectEventHandler.cs:
7935 * GridViewSortEventArgs.cs:
7936 * GridViewSortEventHandler.cs:
7937 * GridViewUpdateEventArgs.cs:
7938 * GridViewUpdateEventHandler.cs:
7939 * GridViewUpdatedEventArgs.cs:
7940 * GridViewUpdatedEventHandler.cs:
7941 * ImageMapEventHandler.cs:
7942 * MailMessageEventHandler.cs:
7943 * MenuEventHandler.cs:
7944 * ObjectDataSourceDisposingEventHandler.cs:
7945 * ObjectDataSourceEventHandler.cs:
7946 * ObjectDataSourceMethodEventArgs.cs:
7947 * ObjectDataSourceMethodEventHandler.cs:
7948 * ObjectDataSourceSelectingEventArgs.cs:
7949 * ObjectDataSourceSelectingEventHandler.cs:
7950 * ObjectDataSourceStatusEventArgs.cs:
7951 * ObjectDataSourceStatusEventHandler.cs:
7952 * SendMailErrorEventHandler.cs:
7953 * SiteMapNodeItemEventHandler.cs:
7954 * SqlDataSourceSelectingEventArgs.cs:
7955 * SqlDataSourceSelectingEventHandler.cs:
7956 * TreeNodeEventHandler.cs:
7957 * WizardNavigationEventArgs.cs:
7958 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
7959 corrections and removing "sealed" access specifier from *EventHandler.cs
7961 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
7963 * Literal.cs: Added new attributes and property for .Net 2.0
7965 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
7967 * GridViewDeleteEventArgs.cs: Removed extra code.
7969 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
7971 * SendMailErrorEventArgs.cs:
7972 * SendMailErrorEventHandler.cs:
7973 * SiteMapNodeItemEventArgs.cs:
7974 * SiteMapNodeItemEventHandler.cs:
7975 * SqlDataSourceSelectingEventArgs.cs:
7976 * SqlDataSourceSelectingEventHandler.cs:
7977 * TreeNodeEventArgs.cs:
7978 * TreeNodeEventHandler.cs:
7979 * WizardNavigationEventArgs.cs:
7980 * WizardNavigationEventHandler.cs: Added new delegates.
7982 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7984 * ImageMapEventArgs.cs:
7985 * ImageMapEventHandler.cs:
7986 * MailMessageEventArgs.cs:
7987 * MailMessageEventHandler.cs:
7989 * MenuEventHandler.cs:
7990 * ObjectDataSourceDisposingEventArgs.cs:
7991 * ObjectDataSourceDisposingEventHandler.cs:
7992 * ObjectDataSourceEventArgs.cs:
7993 * ObjectDataSourceEventHandler.cs:
7994 * ObjectDataSourceMethodEventArgs.cs:
7995 * ObjectDataSourceMethodEventHandler.cs:
7996 * ObjectDataSourceSelectingEventArgs.cs:
7997 * ObjectDataSourceSelectingEventHandler.cs:
7998 * ObjectDataSourceStatusEventArgs.cs:
7999 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
8001 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
8003 * DetailsViewCommandEventArgs.cs:
8004 * FormViewCommandEventArgs.cs:
8005 * GridViewCommandEventArgs.cs: Corrected constructor.
8007 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
8009 * GridViewCancelEditEventArgs.cs:
8010 * GridViewCancelEditEventHandler.cs:
8011 * GridViewCommandEventArgs.cs:
8012 * GridViewCommandEventHandler.cs:
8013 * GridViewDeletedEventArgs.cs:
8014 * GridViewDeletedEventHandler.cs:
8015 * GridViewDeleteEventArgs.cs:
8016 * GridViewDeleteEventHandler.cs:
8017 * GridViewEditEventArgs.cs:
8018 * GridViewEditEventHandler.cs:
8019 * GridViewPageEventArgs.cs:
8020 * GridViewPageEventHandler.cs:
8021 * GridViewRowEventArgs.cs:
8022 * GridViewRowEventHandler.cs:
8023 * GridViewSelectEventArgs.cs:
8024 * GridViewSelectEventHandler.cs:
8025 * GridViewSortEventArgs.cs:
8026 * GridViewSortEventHandler.cs:
8027 * GridViewUpdatedEventArgs.cs:
8028 * GridViewUpdatedEventHandler.cs:
8029 * GridViewUpdateEventArgs.cs:
8030 * GridViewUpdateEventHandler.cs: Added new delegates.
8032 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
8034 * FormViewUpdatedEventArgs.cs: Corrected constructor.
8036 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
8038 * FormViewCommandEventArgs.cs: Corrected name of class.
8040 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8042 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
8045 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
8047 * FormViewCommandEventArgs.cs:
8048 * FormViewCommandEventHandler.cs:
8049 * FormViewDeletedEventArgs.cs:
8050 * FormViewDeletedEventHandler.cs:
8051 * FormViewDeleteEventArgs.cs:
8052 * FormViewDeleteEventHandler.cs:
8053 * FormViewInsertedEventArgs.cs:
8054 * FormViewInsertedEventHandler.cs:
8055 * FormViewInsertEventArgs.cs:
8056 * FormViewInsertEventHandler.cs:
8057 * FormViewModeEventArgs.cs:
8058 * FormViewModeEventHandler.cs:
8059 * FormViewPageEventArgs.cs:
8060 * FormViewPageEventHandler.cs:
8061 * FormViewUpdatedEventArgs.cs:
8062 * FormViewUpdatedEventHandler.cs:
8063 * FormViewUpdateEventArgs.cs:
8064 * FormViewUpdateEventHandler.cs: Added new delegates.
8066 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
8068 * DetailsViewCommandEventArgs.cs:
8069 * DetailsViewCommandEventHandler.cs:
8070 * DetailsViewDeletedEventArgs.cs:
8071 * DetailsViewDeletedEventHandler.cs:
8072 * DetailsViewDeleteEventArgs.cs:
8073 * DetailsViewDeleteEventHandler.cs:
8074 * DetailsViewInsertedEventArgs.cs:
8075 * DetailsViewInsertedEventHandler.cs:
8076 * DetailsViewInsertEventArgs.cs:
8077 * DetailsViewInsertEventHandler.cs:
8078 * DetailsViewModeEventArgs.cs:
8079 * DetailsViewModeEventHandler.cs:
8080 * DetailsViewPageEventArgs.cs:
8081 * DetailsViewPageEventHandler.cs:
8082 * DetailsViewUpdatedEventArgs.cs:
8083 * DetailsViewUpdatedEventHandler.cs:
8084 * DetailsViewUpdateEventArgs.cs:
8085 * DetailsViewUpdateEventHandler.cs: Added new delegates.
8087 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
8089 * AuthenticateEventArgs.cs:
8090 * AuthenticateEventHandler.cs:
8091 * CreateUserErrorEventArgs.cs:
8092 * CreateUserErrorEventHandler.cs: Added new delegates.
8094 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
8096 * IButtonControl.cs:
8097 * ICallbackContainer.cs:
8098 * ICompositeControlDesignerAccessor.cs:
8099 * IPostBackContainer.cs: Added new interfaces.
8101 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
8104 * AutoCompleteType.cs:
8105 * ContentDirection.cs:
8106 * DataControlCellType.cs:
8107 * DataControlRowState.cs:
8108 * DataControlRowType.cs:
8109 * DetailsViewMode.cs:
8110 * DynamicImageParameterMode.cs:
8113 * ImageFieldMode.cs:
8120 * SiteMapNodeItemType.cs:
8121 * SiteMapNodeType.cs:
8122 * SiteMapViewType.cs:
8124 * TableCaptionAlign.cs:
8125 * TableHeaderScope.cs:
8127 * TreeNodeSelectAction.cs:
8129 * TreeViewImageSet.cs:
8130 * WizardStepType.cs: Added enumerations
8132 2004-08-02 Duncan Mak <duncan@ximian.com>
8135 * LoginFailureAction.cs:
8136 * LoginTextLayout.cs: Added enumerations.
8138 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8140 * BaseValidator.cs: in Validate(), when the control is not visible or
8141 enabled, return inmediately after setting IsValid to true. Fixes bug
8144 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8146 * DataList.cs: s/HasChildren/HasControls()/.
8148 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8150 * DataList.cs: style.
8152 2004-07-27 Alon Gazit <along@mainsoft.com>
8153 * DataList.cs: Replaced foreach statement with for statement,
8154 in order to improve performence.
8156 2004-07-27 Alon Gazit <along@mainsoft.com>
8157 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
8159 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
8160 switch statements in order to improve performance.
8162 2004-06-10 Alon Gazit <along@mainsoft.com>
8163 * WebControl.cs: fixed LoadViewState().
8164 Creates new attributes state bag only when the current is null.
8166 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8168 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
8170 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8172 * Calendar.cs: set the title class attribute if we have it. Fixes bug
8175 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8177 * Style.cs: added SetBit.
8179 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8182 * CompareValidator.cs:
8185 * WebControl.cs: Added protected missing members and attributes.
8187 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8189 * TextBox.cs: don't save the Text if in ViewState if it's a password.
8190 Save it if the control is not visible or not enabled. Fixes bug #58497.
8192 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8194 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
8197 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
8199 * SqlDataSourceCommandEventArgs:
8200 * XmlDataSource.cs : removed temporary workarounds for CLS
8201 compliance as System.Data is now CLS compliant
8203 2004-05-06 Alon Gazit <along@mainsoft.com>
8204 * WebControl.cs: fixed LoadViewState() and SaveViewState().
8205 Before the change the Enabled property wasn't updated when a postback
8207 * ListControl.cs: fixed SelectedIndex property implementation.
8208 Prevents throwing ArgumentOutOfRangeException (that should not be
8209 thrown), when the list is empty.
8211 2004-04-28 Alon Gazit <along@mainsoft.com>
8212 * WebControl.cs: fixed LoadViewState().
8213 Always loading the saved attributes collection.
8215 2004-04-18 Alon Gazit <along@mainsoft.com>
8216 * Repeater.cs: fixed InstantiateItem() and DataSource property.
8217 The change in DataSource prevents throwing ArgumentException while
8218 setting property value to null.
8219 The change in InstantiateItem() prevents NullReferenceException.
8221 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
8223 * BaseValidator.cs: Store Display property in the correct ViewState
8224 property. Don't render anything if Display is ValidatorDisplay.None.
8226 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
8228 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
8229 since it is already a physical path. Fixes bug #55334.
8231 2004-02-13 Jackson Harper <jackson@ximian.com>
8233 * Calendar.cs: Match MS postback data. This allows sites that
8234 parse the postback data manually to work.
8236 2004-02-04 Alon Gazit <along@mainsoft.com>
8237 * EditCommandColumn.cs: fixed InitializeCell().
8238 The rendered LiteralControl should contain " " and not " ".
8240 2004-02-01 Alon Gazit <along@mainsoft.com>
8242 * DataGrid.cs: fixed a problem in the paging mechanism in the method
8244 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
8245 while clicking the "..." link in the second page.
8247 2004-01-28 Alon Gazit <along@mainsoft.com>
8249 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
8251 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8253 * Calendar.cs: when rendering days, add a LiteralControl containing the
8254 day before OnDayRender is called. Only generate the default links for
8255 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
8257 2004-01-21 Martin Baulig <martin@ximian.com>
8259 * XmlHierarchyData.cs: Make this compile with csc.
8261 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
8262 accessor since the base class doesn't have one.
8264 2004-01-18 Alon Gazit <along@mainsoft.com>
8266 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
8268 2004-01-18 Alon Gazit <along@mainsoft.com>
8270 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
8271 Property default value.
8272 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
8273 Property default value.
8275 2004-01-15 Alon Gazit <along@mainsoft.com>
8277 * RadioButtonList.cs: RepeatLayout property should affect the rendered
8280 2004-01-15 Alon Gazit <along@mainsoft.com>
8281 * FontInfo.cs: Add validation check to Size property.
8283 2004-01-07 Alon Gazit <along@mainsoft.com>
8284 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8285 merge the column's style to the cell's style and not to
8286 the item's(row) style.
8288 2004-01-04 Alon Gazit <along@mainsoft.com>
8289 * RangeValidator.cs: Fixed ControlPropertiesValid().
8291 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8293 * Xml.cs: mono-stylized and removed warnings.
8295 2004-1-1 Alon Gazit <along@mainsoft.com>
8296 * RadioButtonList.cs: update RenderItem() so that each RadioButton
8297 is enabled or disabled like the RadioButtonList.
8298 * CheckBoxList.cs: update RenderItem() so that each CheckBox
8299 is enabled or disabled like the CheckBoxList.
8301 2004-1-1 Alon Gazit <along@mainsoft.com>
8302 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8303 The Header or Footer Style shouldn't merge with the cells Style.
8305 2004-1-1 Alon Gazit <along@mainsoft.com>
8306 * DataGridColumn.cs: Headers and Footers are initialized
8307 with the relevant Style object.
8309 2003-12-30 Alon Gazit <along@mainsoft.com>
8310 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8311 DoHorizontalRendering().
8312 Current implementation produces few extra html tags.
8314 2003-12-29 Alon Gazit <along@mainsoft.com>
8316 * CheckBox.cs: change the implementation of LoadPostData.
8317 Currently, while the AutoPostBack property equals true ,
8318 it isn't possible to perform uncheck.
8320 2003-12-19 Jackson Harper <jackson@ximian.com>
8322 * TableCell.cs: Setting a cells text should clear its control
8323 collection as per la specification. This fixes bug #51825.
8325 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8327 * DataGridColumn.cs: stylized LoadViewState.
8328 * DataGridColumnCollection.cs: when TrackViewState is called, also
8329 call it on all the existing columns. Fixes bug #52334.
8331 2003-12-18 Alon Gazit <along@mainsoft.com>
8333 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
8336 2003-12-18 Alon Gazit <along@mainsoft.com>
8338 * TableStyle.cs: merge TableStyle properties when Style is empty.
8340 2003-12-16 Alon Gazit <along@mainsoft.com>
8342 * HyperLink.cs: Change Text property implementation. in MS when the Text
8343 property is set, all the controls in the HyperLink are being deleted.
8344 This fixes bug #52239.
8346 2003-12-15 Alon Gazit <along@mainsoft.com>
8347 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8348 DoHorizontalRendering().
8349 Both methods add additional empty table row in the head of each item
8350 table when the variable named isTable equals true (happenes with the
8351 default instantiation of RepeatInfo). These additional rows should be
8352 added when isTable equals false.
8353 This fixes bug #52225.
8355 2003-12-15 Alon Gazit <along@mainsoft.com>
8357 * RepeatInfo.cs: Fixed DoVerticalRendering() and
8358 DoHorizontalRendering().
8359 Both methods add to rendered Header a colspan attribute according to the
8360 rows count. after the change the colspan is added according to the
8363 2003-12-15 Alon Gazit <along@mainsoft.com>
8364 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
8365 In .NET if the checkbox is disabled ,its text appears disabled too.
8366 In Mono the text appears enabled. the fix is in Render().
8367 This fixes bug #52180.
8369 2003-12-15 Alon Gazit <along@mainsoft.com>
8370 * Repeater.cs: Change the implementation of CreateControlHierarchy().
8371 The current implementation renders extra Header and footer
8372 without Repeater.DataSource assign.
8373 This fixes bug #52179.
8375 2003-12-15 Alon Gazit <along@mainsoft.com>
8376 * DataGrid.cs: Change the implementation of the property
8377 BackImageUrl. The current implementation has no influence
8378 on the rendered Html.
8380 2003-12-15 Alon Gazit <along@mainsoft.com>
8381 * WebControl.cs: Change the implementation of the property
8382 Enabled. Before the change the WebControl also looked at
8383 parent.Enabled . fixed bug #52171.
8385 2003-12-11 Jackson Harper <jackson@ximian.com>
8387 * RepeatInfo.cs: When rendering vertically figure out how many
8388 colmns are not going to be filled in in the last row, and adjust
8389 things accordingly. This fixes bug #51863.
8391 2003-12-10 Alon Gazit <along@mainsoft.com>
8392 * TableRow.cs: Change the implementation of the properties
8393 HorizontalAlign and VerticalAlign. The current implementation
8394 has no influence on the rendered Html.
8396 2003-12-10 Alon Gazit <along@mainsoft.com>
8397 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
8398 property's set method.
8400 2003-12-09 Jackson Harper <jackson@ximian.com>
8402 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
8403 Increment counter when moving to start. Fixes bug #51926.
8405 2003-12-08 Jackson Harper <jackson@ximian.com>
8407 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
8408 Benjamin Jemlich. Fixes bug #51823.
8410 2003-12-07 Alon Gazit <along@mainsoft.com>
8411 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
8412 property is set to false. Fixes bug #58120.
8414 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8416 * TableItemStyle.cs: merge TableItemStyle properties when Style is
8417 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
8419 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8421 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
8424 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8426 * WebControl.cs: don't create the attributes when GetAttribute is
8429 2003-12-01 Jackson Harper <jackson@ximian.com>
8431 * WebControl.cs: Only allow access keys to be null or a single
8432 char. Patch by Alon Gazit <along@mainsoft.com>.
8434 2003-11-30 Jackson Harper <jackson@ximian.com>
8436 * CheckBoxList.cs: A checkbox will have null post data if it is
8437 unselected. This fixes bug #51516.
8439 2003-11-29 Jackson Harper <jackson@ximian.com>
8441 * DataGrid.cs: Display paging controls even when there is no
8442 data. Path by Mohammad DAMT. Fixes bug #51487.
8444 2003-11-29 Jackson Harper <jackson@ximian.com>
8446 * DataGrid.cs: Call TrackViewState when loading bound columns view
8447 state. So that their state is saved. This fixes bug #51424. Also
8450 2003-11-26 Jackson Harper <jackson@ximian.com>
8452 * BaseDataList.cs: Change && to || We will call that a typo so no
8453 one gets embarrased.
8455 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8457 * BaseDataList.cs: allow setting null as Datasource.
8459 * DataGrid.cs: keep autogenerated columns in the ViewState.
8461 Patches by Alon Gazit <along@mainsoft.com>.
8463 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8465 * SqlDataSource*: Implement almost everything. Data access is
8468 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8470 * Calendar.cs (SaveViewState):
8471 - We were allocating a 11 item array, we only used 10 items,
8472 so only allocate 10.
8473 - We only need to save the selected dates if there are any.
8474 * DataGrid.cs (SaveViewState):
8475 * DataGridColumn.cs (SaveViewState):
8476 * DataGridColumnCollection.cs (SaveViewState):
8477 - Only return the array if there is anything in it
8478 * Style.cs (SaveViewState):
8479 - Only save the bits if there were changes.
8480 * WebControl.cs (SaveViewState), (LoadViewState):
8481 - Don't save Enabled into the viewstate here, we already
8482 do it in the property. This just caused *EVERY* control
8483 to have a non-null state, taking up lots of extra room
8485 - The style will always be created with this control's
8486 viewstate, so the style will always return null for the
8487 viewstate. As such, we do not need to store it. We can
8488 also reduce the triplet to a pair because of this.
8490 2003-11-22 Jackson Harper <jackson@ximian.com>
8492 * ValidationSummary.cs: Fix number of messages and message array computation.
8494 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8496 * Xml.cs: Corrected attribute
8497 * XmlBuilder.cs: Added
8499 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8501 * Xml.cs: class status based fixes.
8503 2003-11-19 Jackson Harper <jackson@ximian.com>
8505 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
8507 2003-11-19 Jackson Harper <jackson@ximian.com>
8509 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
8510 teh applications base directory. This fixes bug #51092.
8512 2003-11-18 Todd Berman <tberman@gentoo.org>
8514 * ControlParameter.cs:
8515 * CookieParameter.cs:
8517 * QueryStringParameter.cs:
8518 * SessionParameter.cs: added public .ctor ()
8519 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
8520 and handling, as well as internal ParameterValue for easy access.
8521 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
8522 * ParameterCollection.cs: implementation redux.
8524 2003-11-18 Todd Berman <tberman@gentoo.org>
8526 * ParameterCollection.cs: Implemented
8527 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
8528 ToString () now matches asp.net
8530 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
8532 * ControlParameter.cs:
8533 * CookieParameter.cs:
8536 * QueryStringParameter.cs: New v2 files. Mostly
8537 implemented, still need a few methods.
8539 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8541 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
8542 Gazit <along@mainsoft.com>.
8544 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8546 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
8547 Patch by Alon Gazit <along@mainsoft.com>.
8549 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8551 * DataBoundControl.cs: Implement
8552 * ListControl.cs: inherit from the above.
8553 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
8555 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8560 * Repeater.cs: add v2 databinding stuff
8561 * XmlDataSource.cs: make it load the xml.
8563 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8566 * XmlDataSourceView.cs:
8567 * XmlHierarchicalDataSourceView.cs:
8568 * XmlHierarchicalEnumerable.cs:
8569 * XmlHierarchyData.cs: Implement
8571 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
8573 * SiteMapDataSourceView.cs: Implement.
8575 2003-11-07 Jackson Harper <jackson@ximian.com>
8577 * ImageButton.cs: This is a workaround for bug #49819. It appears
8578 that the .x and .y values are not being posted, and only the x
8579 value is being posted with the ctrl's id as the key.
8581 2003-11-07 Jackson Harper <jackson@ximian.com>
8583 * DataGrid.cs (CreateControlHierarchy): Current page index is
8584 alolowed to equal page count. This prevents an exception being
8585 thrown when both are zero.
8587 2003-11-06 Jackson Harper <jackson@ximian.com>
8589 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
8590 * BaseValidator.cs: Disable base control so the isValid flag is
8593 2003-11-03 Jackson Harper <jackson@ximian.com>
8595 * TemplateColumn.cs: Use the same renderer for selected items as
8596 normal items. This fixes bug #49744.
8598 2003-11-03 Jackson Harper <jackson@ximian.com>
8601 * WebControl.cs: Fix argument out of range exceptions on
8602 properties. Patch by Yaron Shkop.
8604 2003-11-03 Jackson Harper <jackson@ximian.com>
8606 * TemplateColumn.cs: If the item is selected but there is no
8607 editItemTemplate use the itemTemplate. This matches MS behvoir.
8609 2003-11-03 Jackson Harper <jackson@ximian.com>
8611 * Repeater.cs: Always set alternating items to the AlternatingItem
8612 type, when instantiating alternating items use the itemTemplate if
8613 the alternatingItem template is null. This matches MS behavoir and
8616 2003-11-03 Jackson Harper <jackson@ximian.com>
8618 * DataGridPagerStyle.cs: Name of view state attribute is
8619 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
8620 visibility is changed. Patch by Yaron Shkop.
8622 2003-11-03 Jackson Harper <jackson@ximian.com>
8624 * RepeatInfo.cs: When doing horizontal rendering use the repeat
8625 columns as the number of columns in a row. This fixes bug #49016.
8627 2003-11-03 Jackson Harper <jackson@ximian.com>
8629 * PagedDataSource.cs (PageCount): Return page count of 1 if there
8630 paging is disabled. Patch by Yaron Shkop.
8631 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
8632 * TableStyle.cs (AddAttributesToRender): Render border style
8633 collapse. Patch by Yaron Shkop.
8635 * TableItemStyle.cs:
8636 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
8637 the wrong type. Patch by Yaron Shkop.
8639 2003-11-03 Jackson Harper <jackson@ximian.com>
8641 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
8643 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
8646 * BulletedListDisplayMode.cs:
8647 * BulletedListEventHandler.cs:
8649 * BulletedListEventArgs.cs: V2 controls (yay!)
8651 2003-10-30 Jackson Harper <jackson@ximian.com>
8653 * Repeater.cs: Throw an exception if the datasource is set to
8654 something that does not implement either IListSource or
8655 IEnumerable. This fixes bug #50155.
8657 2003-10-30 Jackson Harper <jackson@ximian.com>
8659 * DataGridPagerStyle.cs: Do not allow page button counts to be set
8660 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
8662 2003-10-29 Jackson Harper <jackson@ximian.com>
8664 * ButtonColumn.cs: Format string and text to format were
8665 inversed. This fixes bug #50171.
8667 2003-10-29 Jackson Harper <jackson@ximian.com>
8669 * DataGridColumn.cs: If an item style is set apply it to the
8670 cell. This fixes bug #50173.
8672 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
8674 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
8675 old debugging value.
8677 2003-10-29 Jackson Harper <jackson@ximian.com>
8679 * PagedDataSource.cs:
8680 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
8681 end of the last page. Fixes bug #5085.
8683 2003-10-29 Jackson Harper <jackson@ximian.com>
8685 * CheckBox.cs: Do not change the status of a checkbox when there
8686 is no post data. This fixes bug #49091.
8687 * CheckBoxList.cs: Do not change the status of the checkboxes when
8688 there is no post data. This fixes bug #49093.
8690 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
8692 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
8693 RadioButton. Fixes #50132
8695 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8697 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
8698 paging from working. Fixes #48814.
8700 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8702 * DataGrid.cs: A few typos kept us from viewing datagrids
8703 that were based on customized collections.
8705 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
8707 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
8709 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
8711 * Calendar.cs: render the next month button so that aligns to the
8714 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8716 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
8717 was just changing && by || after the first Match.
8719 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8721 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
8722 Patch by Yaron Shkop.
8724 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8726 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
8727 that fixes bug #49744. Now the selection doesn't lose its data.
8729 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8731 * EditCommandColumn.cs: Implement; fix #49736
8733 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8735 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
8736 the forground color. bug #49738
8738 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8740 * Calendar.cs: fixed bug #49727.
8742 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
8744 * TableStyle.cs: fix #49740.
8746 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8748 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
8749 * ValidationSummary.cs: fixes bug #49669.
8751 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8753 * Calendar.cs: apply the calendar style to the new Table, not to itself.
8756 * CheckBox.cs: render the hidden fields if AutoPostBack.
8758 * Style.cs: don't render empty width/height. Small improvement in
8761 * Table.cs: fixed condition for border width.
8764 (CopyFrom): always call the base class to copy other attributes. Fixes
8765 bug #49408. Don't render empty 'rules' attribute.
8767 * WebControl.cs: track viewstate when enabled. Don't overwrite source
8768 control attributes in CopyBaseAttributes.
8770 * ChangeLog: fixed dates.
8773 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8775 * WebControl.cs : Attributes { get; } - Is Complete.
8776 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
8779 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8781 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
8782 : RegisterValidatorCommonScript()
8783 - More code, I need HELP!
8784 : RegisterValidatorDeclaration()
8785 - More code, I need HELP!
8787 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8789 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
8792 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8794 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
8795 ClearViewState only called when no items.
8797 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8799 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
8801 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8803 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
8805 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8807 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
8810 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8812 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
8815 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8817 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
8818 * WebControl.cs: fixed Enabled property and save it in ViewState.
8822 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8824 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
8826 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8828 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
8831 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8833 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
8834 <rich@velvetsea.net>.
8836 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8838 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
8839 Skripsky <juraj@hotfeet.ch>
8841 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8843 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
8844 fixes rendering of the end tag.
8846 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8848 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
8849 (Yaron Shkop). Closes bug #48060.
8851 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8853 * CheckBox.cs: in LoadPostData, only return
8854 true when the new data is different from the one we had. Fixed
8855 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
8858 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8860 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
8862 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8864 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
8865 of Enable in ViewState. Fixes bug #47865.
8867 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8869 * Style.cs: the MARKED bit is not send set in ViewState unless something
8870 is changed. Fixed TrackViewState condition.
8872 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
8873 because it uses the same ViewState as the control. Fixes bug #47725.
8875 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8877 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
8878 that fixes databinding when only DataTextField or DataNavigateUrlField
8881 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8883 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
8884 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
8885 values before assigning a data source and other issues.
8887 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8889 * CheckBox.cs: save viewstate when needed and correctly handle post
8890 data. Fixes bug #47462.
8892 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8894 * ButtonColumn.cs: Removed additional attributes
8895 * CheckBox.cs: Added attribute
8896 * DataGrid.cs: Added attributes
8897 * HyperLinkColumn.cs: Changed attributes, added lamespec
8898 * Style.cs: Removed attributes
8899 * TextBox.cs: Added/ removed attributes
8901 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8903 * AdRotator.cs: Added all attributes
8904 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
8905 * BaseValidator.cs: Added all attributes
8906 * BoundColumn.cs: Added all attributes
8907 * Button.cs: Added all attributes
8908 * ButtonColumn.cs: Added all attributes, added lamespec
8909 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
8910 * CheckBox.cs: Added all attributes
8911 * CheckBoxList.cs: Added all attributes
8912 * CompareValidator.cs: Added all attributes
8913 * CustomValidator.cs: Added all attributes
8914 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
8915 * DataGridColumn.cs: Added all attributes
8916 * DataGridColumnCollection.cs: Added all attributes
8917 * DataGridPagerStyle.cs: Added all attributes
8918 * DataGridTableInternal.cs: Made DataGridTableInternal internal
8919 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
8920 * DropDownList.cs: Added all attributes
8921 * FontInfo.cs: Added all attributes
8922 * HyperLink.cs: Added all attributes
8923 * HyperLinkColumn.cs: Added all attributes
8924 * Image.cs: Added all attributes
8925 * ImageButton.cs: Added all attributes
8926 * Label.cs: Added all attributes
8927 * LinkButton.cs: Added all attributes
8928 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
8929 * ListControl.cs: Added all attributes
8930 * ListItem.cs: Added all attributes
8931 * ListItemCollection.cs: Added attribute
8932 * Literal.cs: Added all attributes
8933 * Panel.cs: Added all attributes
8934 * RadioButton.cs: Added all attributes
8935 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
8936 * RangeValidator.cs: Added all attributes
8937 * RegularExpressionValidator.cs: Added all attributes
8938 * Repeater.cs: Added all attributes
8940 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8942 * RequiredFieldValidator.cs: Added all attributes
8943 * Style.cs: Added all attributes
8944 * Table.cs: Added all attributes
8945 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
8946 * TableCellCollection.cs: Added attribute
8947 * TableRow.cs: Added all attributes
8948 * TableRowCollection: Added attribute
8949 * TableStyle.cs: Added all attributes, improved error messages
8950 * TemplateColumn.cs: Added all attributes
8951 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
8952 * ValidationSummary.cs: Added all attributes
8953 * WebControl.cs: Added all attributes
8954 * Xml.cs: Added all attributes
8956 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8958 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
8959 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
8961 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8963 * CheckBoxList.cs: fixes bug reported on the list about the state of
8964 the CheckButtons not being preserved across posts.
8966 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8968 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
8970 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8972 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
8974 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8976 * ListControl.cs: save viewstate data when any of the 3 values is not
8977 null. Fixed condition to save selection indices. Closes bug #45493.
8979 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8981 * DataGrid.cs: fixed bug #43823.
8983 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8985 * DataGrid.cs: fixed delegate type for SortCommand.
8987 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8989 * DataGridColumnCollection.cs: added missing return in RemoveAt.
8991 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8993 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
8994 Don't save ViewState is the number of columns is 0.
8996 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8998 * DataGrid.cs: get the right item Type for the property we're reading
8999 fromt the data source.
9001 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9004 * TextBox.cs: added control builder attribute.
9006 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9008 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
9010 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
9012 * Unit.cs: Called the correct method to get the Numeric locale for the
9015 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9017 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
9018 correctly the header of the column.
9020 * DataGridTableInternal.cs: don't assign a default ID to this control.
9022 * LinkButton.cs: raise bubble event in OnCommand.
9024 * TableCellCollection.cs: fixed the index returned by Add.
9026 * TableRowCollection.cs: ditto.
9028 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9030 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
9032 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9034 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
9035 for reporting the bug and providing the fix.
9037 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9039 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
9040 CreateColumnSet. Set the owner of the column when auto generated.
9041 In PrepareControlHierarchyForItem, fixed for loop bound.
9043 * LinkButtonInternal.cs: fixed infinite recursion bug.
9047 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
9049 * Xml.cs: a few fixes.
9051 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9053 * DataList.cs: handle the exception when adding new keys to
9056 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9058 * BaseDataList.cs: what can I say for this one? I spent so many time
9059 until I finally found this that I'm gonna miss this f....g bug... ;-).
9060 Farewell. Now we can get events from image buttons inside Data*.
9062 * DataList.cs: now the value stored in ViewState for item count is
9065 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9067 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
9069 * DataGridColumn.cs: added SetOwner method.
9070 * DataGridColumnCollection.cs: set the owner of the column when added.
9072 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9074 * BoundColumn.cs: typo.
9075 * DataGrid.cs: use 'as' instead of casting. Typo.
9076 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
9079 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9081 * HyperLink.cs: fixes bug #36336.
9083 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9085 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
9087 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9089 * BaseValidator.cs: return an empty string in GetControlValidationValue
9090 when GetValue returned null.
9092 * CompareValidator.cs: fixed EvaluateIsValid.
9094 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
9096 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9098 * Xml.cs: use MapPathSecure to get the path of the document.
9100 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9102 * DataList.cs: fixed header & footer.
9104 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9106 * DataList.cs: for header and footer don't use data source.
9107 Instantiate in the DataListItem, not in the DataList.
9108 databind-template.aspx works now.
9110 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9113 (Render): call RenderContents (), not base.RenderContents ().
9115 * DataList.cs: style.
9117 But I still haven't found what i'm looking for....
9119 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9121 * Calendar.cs: fixed loading/saving selected dates.
9122 * SelectedDatesCollection.cs: added internal function to get the
9123 underlying ArrayList.
9125 Calendar navigation works again. Selecting dates too.
9127 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9129 * DataList.cs: added a few attributes and fixed infinite recursion.
9131 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9133 * ListItemCollection.cs: fixed LoadViewState.
9135 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9137 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
9138 Commented out some code until it works.
9140 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
9142 * BaseCompareValidator.cs - Fixed operator bug in
9143 Compare(string, string, ...)
9144 * CompareValidator.cs - EvaluateIsValid() : Implemented.
9146 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9148 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
9150 - All Properties : Now make use of ViewState.
9152 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9154 * BaseValidator.cs - Uncomment NotImplementedException.
9156 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9158 * BaseValidator.cs - Minor changes in TODO comments.
9160 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9162 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
9163 the NotImplementedException being thrown.
9164 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
9165 * DataGridLinkButton.cs - Added new class (private) : Implemented.
9166 * DataGrid.cs - InitializePager(DataGridItem, int,
9167 PagedDataSource) : Implemented.
9169 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9171 * DataList.cs - PrepareControlHierarchy() : Implemented.
9173 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9175 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
9176 - GetItem(ListItemType, int) : Removed TODO.
9177 - CreateControlHierarchy(bool) : Implemented.
9178 - CreateItem(int, ListItemType) : Implemented.
9179 - CreateItem(int, ListItemType,
9180 bool, object) : Implemented.
9181 - InitializeItem(DataItem) : Implemented.
9182 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
9183 The ViewState["_!ItemCount"],
9184 ViewState["_!DataSource_ItemCount"]
9185 are shared by DataList and DataGrid, and hence
9186 should share the same name.
9187 - ResolveDataSource(object, string)
9188 : Removed. Use System.Web.UI.Utils.DataSourceHelper
9189 ::GetResolvedDataSource(object, string).
9192 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9194 * DataGrid.cs: fixed compilation
9196 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
9198 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
9199 * DataGrid.cs - CreateControlHierarchy(bool)
9200 : working towards completion.
9201 - ResolveDataSource(object, string)
9202 : stubbed new method
9204 : stubbed new method
9205 Well. It's almost done.
9206 * DataGridTableInternal.cs
9207 - Added new internal class.
9209 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
9211 * DataSourceInternal.cs - Added new class (internal).
9213 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9216 * HorizontalAlign.cs:
9218 * VerticalAlign.cs: fixes based on class status page.
9220 * HorizontalAlignConverter.cs: implemented.
9221 * VerticalAlignConverter.cs: implemented.
9223 * FontUnitConverter.cs: implemented GetStandardValues ().
9225 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
9227 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9229 * DataGrid.cs - AutoCreateColumns: Bug fixes.
9231 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9233 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
9235 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9237 * DataGrid.cs - Working on the undocumented protected
9238 method CreateColumnSet. AutoCreateColumns method
9239 stubbed. Left CreateControlHierarchy for the time
9240 being, looks like I'm going insane. ;-)
9242 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9244 * Button.cs - Steffen's OnCommand bug fix.
9246 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
9248 * DataGrid.cs - Added protected method (skeleton)
9249 CreateColumnSet(PagedDataSource, bool)
9250 Still trying to know how will it be used
9253 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9255 * PagedDataSource.cs: fixed compilation.
9257 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
9259 * DataGrid.cs - Added private method
9260 CreatePagedDataSource
9262 CreateControlHierarchy(bool)
9263 * PagedDataSource.cs - Bug fixed.
9264 CurrentPageIndex is writable.
9266 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9268 * DataGrid.cs: fixed typo.
9269 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
9271 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9273 * DataGridColumn.cs - Added internal methods to get the
9274 various styles (needed in DataGrid.cs)
9275 * DataGrid.cs - Completed the method
9276 PrepareControlHierarchy()
9278 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9280 * DataGrid.cs - Wokring on PrepareControlHierarchy()
9281 - Added private method
9282 PrepareControlHierarchyForItem()
9284 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
9286 * DataGrid.cs - Completed method
9287 OnBubbleEvent(object, EventArgs)
9289 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9291 * Xml.cs: implemented document/transform load.
9293 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9295 * Calendar.cs: added myself to the list of authors.
9296 * DropDownList.cs: fixed a few properties.
9297 * ListControl.cs: fixed SelectedIndex.
9299 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9301 * Calendar.cs: lots of fixes. Render days. Still left to persist
9302 selected days when changing month.
9304 * Unit.cs: fixed Percentage and Pixel.
9306 * WebControl.cs: a few properties are now using ControlStyle instead
9307 of ViewState to persist.
9309 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9311 * BaseValidator.cs: it works now.
9312 * DataGridColumn.cs: added attribute and made it abstract.
9313 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
9315 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9317 * TextBox.cs: default for Wrap is true.
9318 (OnPreRender): don't save Text if there are no listeners on TextChanged.
9320 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9326 (LoadViewState): fixed.
9328 * ListItemCollection.cs:
9329 (TrackViewState): use items instead of 'this' in foreach.
9332 (LoadViewState): more checking of parameters.
9334 * WebControl.cs: implemented LoadViewState and SaveViewState.
9337 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9339 * ListItem.cs: there was no code to unset the flags!!!
9341 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9343 * FontUnit.cs: use a hashtable for mapping size name to value.
9344 * HyperLink.cs: fixed a bug and a typo.
9345 * Unit.cs: some fixes to internal constructor.
9347 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9349 * ListControl.cs: fixed a couple of range checks.
9350 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
9351 an HtmlForm (p.e., Label).
9353 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9363 * HyperLinkColumn.cs:
9372 * RadioButtonList.cs:
9376 * WebControl.cs: removed attributes added by mistake (i used
9377 GetCustomAttributes (true), d'oh!).
9379 * DataListItem.cs: implemented RenderItem.
9381 * Repeater.cs: implemented CreateItem and InitializeItem.
9383 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9385 * BaseDataList.cs: a couple of fiex and added attributes.
9386 * DataGrid.cs: little fixes.
9388 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9397 * RadioButtonList.cs:
9400 * Xml.cs: forgot to add using System.ComponentModel.
9402 * BaseValidator.cs: use explicitly
9403 System.ComponentModel.AttributeCollection as there is another class
9404 with the same name under System.Web.UI.
9406 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9425 * RadioButtonList.cs:
9430 * Xml.cs: added/fixed all attributes used by xsp.
9432 * BaseValidator.cs: some fixes.
9434 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9437 (AddAttributesToRender): correctly default to border=1.
9439 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9442 (LoadAdFile): make the dictionary null after every iteration.
9446 * ListItem.cs: fixed warnings.
9448 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
9450 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
9452 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9454 * DataGridColumn.cs:
9455 * DataGridPagerStyle.cs:
9462 * ListItemCollection.cs:
9464 * ServerValidateEventArgs.cs:
9468 * Xml.cs: more class status page based changes.
9470 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9473 (.ctor): fixed to render the correct tag.
9474 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
9476 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9479 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
9480 WebControl derived classes should be rendered inside a HtmlForm.
9482 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9484 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
9487 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9489 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9490 * RepeatInfo.cs: implemented DoHorizontalRendering.
9492 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9494 * System.Web.UI.WebControls/Repeater.cs:
9496 (OnDataBinding): fixed stack overflow.
9498 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9500 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9501 * RepeatInfo.cs: implemented DoHorizontalRendering.
9503 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9506 (CopyBaseAttributes): copy Attributes and don't throw exception.
9508 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9510 * ListBox.cs: mono-stylized.
9511 (AddAttributesToRender): call parent class method.
9513 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9515 * Style.cs: fixed IsEmpty and Width.
9517 * Table.cs: mono-stylized.
9518 (TableRowControlCollection.AddAt): fixed.
9519 (AddAttributesToRender): fixed.
9521 * TableCell.cs: mono-stylized.
9522 (.ctor): use PreventAutoID.
9523 (AddAttributesToRender): fixed.
9524 (AddParsedSubObject): fixed.
9526 * TableRow.cs: mono-stylized. Added
9527 ParseChildren attribute.
9530 (get_GridLine): fixed.
9532 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9534 * Panel.cs: fixed stack overflow.
9535 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
9536 and SingleConverter.
9538 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9540 * RadioButton.cs: mono-stylized and some little fixes.
9542 * TextBox.cs: mono-stylized.
9543 (MaxLength): fixed typo.
9545 (AddAttributesToRender): don't render the text between the tags for
9546 SingleLine, use value attribute for it. Don't render the text for
9549 (OnPreRender): don't throw exception and call base.OnPreRender.
9551 (Render): for MultiLine, render the text between the opening and
9552 closing tags encoded as HTML.
9554 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9557 (AddAttributesToRender): fixer another stack overflow.
9560 (TagName): modified to use TagKey instead of tagKey as the property
9563 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9565 * LinkButton.cs: mono-stylized.
9566 (AddParsedSubObject):
9567 (RenderControls): little fixes.
9570 (AddAttributesToRender): fixed usage of IEnumerator.
9572 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9574 * Literal.cs: beautified.
9576 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9578 * Label.cs: beautified and fixed a couple of 'classic' bugs.
9580 * WebControl.cs: use Span as default tag when no other provided in
9581 constructor. That is what MS renders.
9583 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9586 (AddAttributesToRender): fixed (classic) stack overflow.
9588 * CheckBox.cs: mono-stylized.
9589 (AutoPostBack): fixed stack overflow.
9590 (Render): fixed alignment issues. Also set the For attribute always
9593 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9595 * AdRotator.cs: GetData does not work as it should, but now it returns
9596 useful data (only the first ad in the file). Set the NavigateUrl
9597 property in the hyperlink if available.
9599 * HyperLink.cs: fixed constructor and a couple of stack overflows.
9601 * Image.cs: added an attribute and fixed stack overflow.
9604 (RenderBeginTag): fixed.
9605 (TagName): don't call Enum.IsDefined twice.
9607 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9609 * WebControl.cs: added attributes PersistChildrenAttribute and
9610 ParseChildrenAttribute.
9612 2002-05-24 Duncan Mak <duncan@ximian.com>
9614 * DataGridItem.cs (SetItemType): Changed function signature to
9617 * ListItemCollection.cs (this): Changes the visibility level of
9620 * Repeater.cs (OnItemCommand):
9622 (OnItemDataBound): Added necessary casts.
9624 2002-05-07 Duncan Mak <duncan@ximian.com>
9626 * Button.cs (AddAttributesToRender):
9627 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
9628 GetClientValidatedEvent method.
9630 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
9632 * Removed extra methods, corrected access modifiers to several
9635 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
9637 * <SeveralFiles>.cs - Added some attributes
9638 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
9639 methods. Will complete them later. Right now, busy with
9640 the attributes part.
9641 * RepeaterItem.cs - Completed.
9643 Oh God! Mercy! I will die applying attributes. I look at the missing
9644 part in the class-status - daemon! Kyrie eleison!
9646 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
9650 * AdRotator.cs - Added definition for Font.
9651 * BaseCompareValidator.cs - Added definition for Controls.
9652 * Calendar.cs - SelectMonthText definition corrected.
9653 * DataList.cs - Added definition for SeparatorTemplate.
9654 * BorderStyle.cs - Namespace correction. It belongs not to UI,
9655 but to UI.WebControls.
9657 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
9659 Finally, I have made it. Today I did a second build for the
9660 System.Web assembly. It compiled 195 classes today.
9661 I am waiting eagerly for the runtime to come up so that the objects
9662 may be tested to their last levels. Several of the methods are still
9663 under the tag of "TODO" throwing NotImplementedException. Well, I
9664 hope to remove them soon, but how far is this soon - even I don't
9665 know, though I am happy to make the build a success even before
9666 the vacations to come.
9668 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
9670 Yesterday and today I tried to do some building of the aseembly,
9671 but was dumped with uncoutably infinite errors. ;-)
9672 I have put the copies of the recent errors on my home page, want
9673 to have a look at them? See:
9674 http://mastergaurav.virtualave.net/mono/
9675 I don't know what to do with these errors. Oh! The buggy me! How
9676 will I overcome myself. Hopefully, by when my vacations over, I
9677 should have made a repository where the build will not fail.
9679 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
9681 I am now going to do a build that will include the
9682 System.Web.UI.WebControls namespace. Hoping that I will make it
9683 soon. My exams are coming near and I have to pack up soon.
9686 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
9689 And with this, ie, today's work, all the objects mentioned in the
9690 namespace appear in the implementation. But it may not be worth
9691 trying to go for a build because of dependence of several of the
9692 internal methods that may clash with already available assembly
9695 Also, the classes lack possible attributes, like those informing
9696 about child-controls etc. But I have to first create the attribute
9697 classes before I attach the attributes to the classes.
9699 * CustomValidator.cs - Completed. In process realized that
9700 I have to complete / rejuvinate BaseValidator class.
9701 * BaseValidator.cs - Complete rejuvination. Completed 80%
9702 of the job. All that is left is Render(HtmlTextWriter),
9703 DetermineRenderUplevel(), RegisterValidatorCommonScript()
9704 RegisterValidatorDeclaration()
9705 * DataGridPagerStyle.cs - Completed. That adds one more missle
9707 * DataKeyCollection.cs - Completed. Petty small.
9708 * Repeater.cs - Work started off. This is a quite
9710 * DataGridItemEventArgs.cs,
9711 * DataGridShortCommandEventArgs.cs,
9712 * DataListItemEventArgs.cs,
9713 * MonthChangedEventArgs.cs,
9714 * RepeaterItemEventArgs.cs,
9715 * ServerValidateEventArgs.cs,
9716 * DataGridPageChangedEventArgs.cs
9717 - Damn, I marked them "*", while they
9719 * Repeater.cs - Done all except for an undocumented
9720 method CreateControlHierarchy(bool). Though the method
9721 is quite clear by its name, but it will take some time
9722 for me to come with some material to flush in.
9724 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
9726 * SelectedDatesCollection.cs - Completed.
9727 * PagedDataSource.cs - Completed. Pathetically nice class.
9728 * RegularExpressionValidator.cs
9729 - Completed. Ridiculously small and
9730 annoyinglyc crazy-driving class, basically the method
9732 * RangeValidator.cs - Completed.
9733 * DataGridColumn.cs - Completed.
9734 * EditCommandColumn.cs - All is complete except for the
9735 InitializeCell(TableCell, int, ListItemType) method.
9736 * DataListItem.cs - All done except for a longish method
9737 RenderItem(HtmlTextWriter, bool, bool)
9739 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
9741 * RepeaterItemCollection.cs - Completed.
9742 I love *Collection classes. I am planning to make a
9743 program that will generate a *Collection class. It's so
9744 simple and the same. ;-)
9745 * DataGridColumnCollection.cs - Completed.
9746 ... except probably for *ColumnCollection classes, where
9747 you have to put in some more effort. Still, these class
9748 generation can be automated.
9749 * DataListItemCollection.cs - Completed.
9750 See, how easily, in less than a quarter of a minute, I
9751 completed this class - manually. Copy-Paste/Cut-Replace.
9753 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
9755 * DataGrid.cs - Following methods implemented:
9756 TrackViewState(), LoadViewState(object), SaveViewState(),
9757 On* -- The event raisers.
9758 OnBubbleEvent(object, EventArgs) is still incomplete.
9759 * DataGridItem.cs - Initial Implementation
9760 * DataGridItemCollection.cs - Completed.
9762 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
9764 * DataGrid.cs - Initial Implementation. Worked
9765 primarily with some properties.
9767 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
9769 * ListBox.cs - Completed. Implemented
9770 LoadPostData(string, NameValueCollection)
9771 * RequiredFieldValidator.cs - Completed. Pretty simple class.
9773 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
9775 * ListBox.cs - Implemented the following:
9776 RaisePostDataChangedEvent()
9778 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
9780 * ListBox.cs - Supports the following properties:
9781 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
9784 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
9785 RenderContents(HtmlTextWriter)
9788 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
9790 * TargetConverter.cs - Completed
9791 * TemplateColumn.cs - Completed
9792 * DataList.cs - Corrected the get-er methods for the
9793 *Style objects. Corrected the get/set-er methods for ViewState
9795 Addded support for properties:
9796 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
9797 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
9798 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
9799 SeparatorStyle, SeparatorItemTemplate.
9801 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
9802 ItemCreated, ItemDataBound, UpdateCommand.
9804 CreateControlStyle(), LoadViewState(object),
9805 SaveViewState(), TrackViewState
9807 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
9808 OnEditCommand, OnItemCommand, OnItemCreated,
9809 OnItemDataBound, OnUpdateCommand
9810 Added dummy methods for some undocumented methods:
9811 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
9812 CreateItem(int, ListItemType, bool, object),
9813 PrepareControlHierarchy(), InitializeItem(DataListItem)
9814 * ListBox.cs - Started working.
9818 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
9820 * RepeaterInfo.cs - Initial Implementation. Done all
9821 except for RepeatDirection.Vertical
9822 * TableStyle.cs - Completed
9824 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
9826 * DropDownList.cs - Completed
9827 * ListItemCollection.cs - Added method FindByValueInternal to
9828 assist in the derived classes.
9829 Discovered bug in FindByValue. Removed
9830 * UnitConverter.cs - Completed
9831 * PlaceHolder.cs - What can be simpler than this?
9832 * PlaceHolderControlBuilder.cs
9833 - Uh! Damn cool one.
9834 * RadioButtonList.cs - Initial Implementation. All is done
9835 except for the implementation of
9836 method IRepeatInfoUser.RenderItem(...)
9837 * ValidatedControlConverter.cs
9838 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
9839 * ValidationSummary.cs - Initial Implementation.
9840 * WebColorConverter.cs - Initial Implementation
9842 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9844 * FontNamesConverter.cs - Completed
9845 * FontUnitConverter.cs - Partial Implementation
9846 * ListItemControlBuilder.cs - Completed
9848 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9850 * TextBox.cs - All done except *Render* methods
9851 * TextBoxControlBuilder.cs - Completed
9852 * Xml.cs - Partial Implementation
9854 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
9856 * RadioButton.cs - Completed
9857 * TextBox.cs - Partial Implementation
9859 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
9861 * Panel.cs - Completed
9862 * TableItemStyle.cs - Completed
9864 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
9866 * TableCellCollection.cs - Completed
9867 * TableRowCollection.cs - Completed
9868 * TableHeaderCell.cs - Completed
9869 * TableRow.cs - Completed
9871 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
9873 * TableCellControlBuilder.cs - Completed
9874 * Table.cs - Completed
9875 * TableCell.cs - Completed
9877 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
9879 * CheckBoxList.cs - Completed
9880 * ButtonColumn.cs - Completed
9881 * Button.cs - Completed
9883 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
9885 * HyperLink.cs - Completed
9886 * Image.cs - Completed
9887 * ImageButton.cs - Completed
9888 * Label.cs - Completed
9889 * LabelControlBuilder.cs - Completed
9890 * LinkButton.cs - Completed
9891 * LinkButtonControlBuilder.cs - Completed
9892 * Literal.cs - Completed
9893 * LieteralControlBuilder.cs - Completed
9894 * FontUnit.cs - Completed
9897 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
9899 * Calendar.cs - Completed the functions of Render*,
9900 ViewStates (Track/View/Save),
9902 Left: RenderAllDays (partially)
9904 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
9906 * Calendar.cs - Added some more functions
9907 * Style.cs - Completed
9908 * ListItem.cs - Completed
9909 * ListItemCollection.cs - Completed
9911 Made the first successful build of System.Web.dll that included
9912 System.Web.UI.WebControls!
9914 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
9916 FontInfo.cs - Complete revamp. Completed
9918 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
9920 ListItemCollection.cs - Completed
9921 ListItem.cs - Initial Implementation
9922 Style.cs - Initial Implementation
9924 Right now I am in a total mood to do a successful build. Creating so many
9925 classes, completing classes in System.Web System.Web.UI namespaces.
9927 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
9929 TODO - Properly added
9930 CheckBox.cs - Completed
9931 BaseDataList.cs - Completed
9932 DayRenderEventArgs.cs - Completed
9933 RepeaterItem.cs - Initial implementation
9935 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
9937 BaseCompareValidator.cs - Completed
9938 AdRotator.cs - Completed
9940 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
9942 CommandEventArgs.cs - Completed
9943 DataGridCommandEventArgs.cs - Completed
9944 RepeaterCommandEventArgs.cs - Completed
9945 DataListCommandEventArgs.cs - Completed
9946 CompareValidator.cs - Partial Implementation
9948 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
9950 CheckBoxList.cs - Partial Implementation.
9953 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
9955 ListControl.cs - Completed
9957 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
9959 CheckBox.cs - Completed
9960 ListControl.cs - Initial Implementation
9961 CheckBoxList.cs - Started with it, but first needed
9962 ListControl. Left it.
9964 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
9966 CalendarDay.cs - Making a note that this
9967 has been implemented
9968 Calendar.cs - Making a note that have made some changes.
9969 Unimplmented functions throw
9970 NotImplementedException
9971 CheckBox.cs - Can now "Render" and "LoadPostData"
9974 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
9975 WebControl.cs - Total Revamp, Partial Implementation
9976 AdRotator.cs - Able to load files
9977 AdCreatedEventArgs.cs - Implemented
9979 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
9980 Calendar.cs - Initial Implementation
9981 ButtonColumn.cs - Initial Implementation
9982 Button.cs - Initial Implementation
9983 BoundColumn.cs - Initial Implementation
9984 BaseCompareValidator.cs - Minor Changes
9985 DataList.cs, BaseValidator.cs, BaseDataList.cs
9986 - Added more functions, other changes
9988 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
9989 WebControl.cs - Initial Implementation
9990 DataList.cs - Initial Implementation
9991 BaseValidator.cs - Initial Implementation
9992 BaseDataList.cs - Initial Implementation
9994 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
9996 AdCreatedEventArgs.cs - Initial Implementation
9997 AdCratedEventHandler.cs - Implemented
9998 AdRotator.cs - Initial Implementation
9999 BorderStyle.cs - Implemented
10000 ButtonColumnStyle.cs - Implemented
10001 CalendarSelectionMode.cs - Implemented
10002 DayNameFormat.cs - Implemented
10003 FirstDayOfWeek - Implemented
10004 FontInfo.cs - Partial Implementation
10005 FontSize.cs - Implemented
10006 GridLines.cs - Implemented
10007 HorizontalAlign.cs - Implemented
10008 HyperLink.cs - Initial Implementation
10009 ImageAlign.cs - Implemented
10010 IRepeatInfoUser.cs - Implemented
10011 ListItemType.cs - Implemented
10012 ListSelectionMode.cs - Implemented
10013 NextPrevFormat.cs - Implemented
10014 PagerMode.cs - Implemented
10015 PagerPosition.cs - Implemented
10016 RepeatDirection.cs - Implemented
10017 RepeatLayout.cs - Implemented
10018 TextAlign.cs - Implemented
10019 TextBoxMode.cs - Implemented
10020 TitleFormat.cs - Implemented
10021 UnitType.cs - Implemented
10022 ValidationCompareOperator.cs
10024 ValidationDataType.cs - Implemented
10025 ValidationSummaryDisplayMode.cs
10027 ValidatorDisplay.cs - Implemented
10028 VerticalAlign.cs - Implemented
10032 i/ File Created 2001-11-13