1 2010-07-13 Marek Habersack <mhabersack@novell.com>
3 * ListBox.cs, CheckBoxList.cs, ListControl.cs: VerifyMultiSelect
4 is not part of the official API. MultiSelect capability validation
5 is performed using an internal virtual method MultiSelectOk ().
7 * BaseDataList.cs: OnPagePreLoad is not part of the official API
9 * BaseDataBoundControl.cs, BaseDataList.cs, DataListItem.cs,
10 ValidationSummary.cs: implemented 4.0 SupportsDisabledAttribute
13 * Wizard.cs: wizard table doesn't contain any instances of
14 HtmlAnchor or Image controls. Moved rendering of the skip link
15 anchor to the TableCellNamingContainer class, which does that in
16 RenderChildren by directly writing to the passed writer. Fixes 4.0
17 rendering and all the failing Wizard tests.
19 2010-07-08 Marek Habersack <mhabersack@novell.com>
21 * CheckBoxList.cs: RepeatLayout property update for new values of
22 the RepeatLayout enum in 4.0
24 * TreeView.cs: in 4.0, checkbox renders the value of the current
25 node's ToolTip, if anything, and not Text.
27 * RepeatLayout.cs: added two new members, UnorderedList and
30 * ImageMap.cs: implemented missing Enabled property (2.0+)
31 RaisePostBackEvent must be protected and virtual (2.0+)
32 NavigateUrl is ignored if the control is disabled (4.0)
34 2010-07-07 Marek Habersack <mhabersack@novell.com>
36 * TreeView.cs: 4.0 rendering changes.
37 When using registered CSS classes, the node style must use them in
40 2010-07-06 Marek Habersack <mhabersack@novell.com>
42 * HyperLink.cs: the associated image is not rendered using the
45 2010-07-02 Marek Habersack <mhabersack@novell.com>
47 * Menu.cs: 4.0 API updates.
49 * GridView.cs: implemented 4.0 properties -
50 SortedAscendingCellStyle, SortedAscendingHeaderStyle,
51 SortedDescendingCellStyle, SortedDescendingHeaderStyle,
52 ClientIDRowSuffix, ClientIDRowSuffixDataKeys, ShowHeaderWhenEmpty
53 along with associated rendering changes.
55 * DetailsView.cs, FormView.cs, GridView.cs: 4.0 API changes -
56 renamed ShowPage to SetPageIndex and made it public.
57 Added 4.0 interfaces to inheritance list and implemented them.
59 * DataKeyArray.cs: added internal constructor which accepts IList
60 instead of ArrayList. Changed the 'keys' field type to IList.
62 * ContainedTable.cs: the 'id' attribute must be rendered last.
64 * CheckBox.cs, CheckBoxList.cs, SiteMapPath.cs, Table.cs,
65 TableStyle.cs, TextBox.cs, WebControl.cs: 4.0 rendering changes.
67 * Calendar.cs, CompositeControl.cs, DropDownList.cs, HyperLink.cs,
68 Image.cs, ImageButton.cs, Label.cs, LinkButton.cs, LoginName.cs,
69 Panel.cs, Table.cs, TableCell.cs, TableRow.cs:
70 added new 4.0 property, SupportsDisabledAttribute.
72 2010-06-21 Marek Habersack <mhabersack@novell.com>
74 * BaseValidator.cs, BulletedList.cs, Calendar.cs, CheckBox.cs,
75 CheckBoxList.cs, DataGrid.cs, DropDownList.cs, GridView.cs,
76 HyperLink.cs, ImageButton.cs, LinkButton.cs, ListBox.cs,
77 ListControl.cs, Menu.cs, RadioButton.cs, RadioButtonList.cs,
78 RepeatInfo.cs, Repeater.cs, TextBox.cs, TreeView.cs,
79 ValidationSummary.cs, WebControl.cs: use WebControl.IsEnabled
80 instead of Enabled wherever necessary.
82 2010-06-16 Marek Habersack <mhabersack@novell.com>
84 * FormView.cs: row values must be retrieved with inclusion of
85 keys. Fixes bug #607722
87 2010-06-03 Marek Habersack <mhabersack@novell.com>
89 * Parameter.cs, ControlParameter.cs, SessionParameter.cs,
90 CookieParameter.cs, FormParameter.cs, ProfileParameter.cs,
91 QueryStringParameter.cs: Evaluate is 'protected internal virtual'
94 * RouteParameter.cs: implemented.
96 2010-04-28 Marek Habersack <mhabersack@novell.com>
98 * CheckBoxList.cs: do not modify list item status in LoadPostData
99 when the list control is disabled.
100 If an item is selected and it was unchecked by the user, deselect
101 it. Fixes bug #600415
103 2010-04-13 Marek Habersack <mhabersack@novell.com>
105 * GridView.cs: make sure Header and Footer visibility are set when
106 binding the data. Fixes bug #595567
108 * ImageField.cs, CheckBoxField.cs: OnDataBindField must expect
109 sender to be something else than DataControlFieldCell. Fixes bug
112 2010-04-07 Marek Habersack <mhabersack@novell.com>
114 * FormParameter.cs, CookieParameter.cs, ProfileParameter.cs,
115 QueryStringParameter.cs, SessionParameter.cs: implemented
116 constructor overloads which take DbType as one of the arguments.
118 2010-04-01 Marek Habersack <mhabersack@novell.com>
120 * FormView.cs: do not show the pager if PagerSettings.Visible is
121 false. Fixes bug #578863
123 2010-03-29 Marek Habersack <mhabersack@novell.com>
125 * GridView.cs: main table must be created and added to the
126 controls collection before any OnRowCreated event is fired.
128 2010-03-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
130 * TreeView.cs: use enums instead of strings for attributes.
132 2010-03-06 Marek Habersack <mhabersack@novell.com>
134 * XmlDataSource.cs: reload document when one of Data, DataFile,
135 Transform or TransformFile properties is set. Fixes bug
136 #585968. Fix based on patch from Jeffrey Alvarez
137 <kuritsu@gmail.com>, thanks.
139 2010-02-19 Marek Habersack <mhabersack@novell.com>
141 * SqlDataSource.cs: call base.OnInit in OnInit. Fixes bug #572781
143 2010-02-18 Marek Habersack <mhabersack@novell.com>
145 * ListItemCollection.cs: ItemsEnabled and associated code removed
146 - there's no need to alter ListItem's Enabled property when
149 * ListControl.cs: SaveViewState doesn't set the items collection's
150 ItemsEnabled property as it was removed from ListItemCollection
152 * CheckBoxList.cs: LoadPostData never unselects any item. A better
154 RenderItem renders items as disabled when Enabled is false, but if
155 Enabled is true, item is rendered according to the value of its
156 own Enabled property. Fixes bug #578770
158 * TreeView.cs: RegisterStyle must copy CssClass in addition to
159 other style properties. Fixes bug #580692
161 2010-01-18 Marek Habersack <mhabersack@novell.com>
163 * Parameter.cs: added missing 3.5 APIs - constructors taking
164 DbType as one of the parameters, ConvertDbTypeToTypeCode,
165 ConvertTypeCodeToDbType and GetDatabaseType. Fixes bug #567850
167 2010-01-15 Marek Habersack <mhabersack@novell.com>
169 * ChangePassword.cs: BaseChangePasswordContainer forwards
170 EnsureChildControls call to its owner, so that finding controls in
171 the container works correctly.
173 2009-11-30 Marek Habersack <mhabersack@novell.com>
175 * WebControl.cs: HasAttributes made available as internal for 1.1
176 Avoid calling the Attributes getter many times in
178 If TrackViewState is called and attributes state bag already
179 exists, mark all items in the latter as dirty.
181 * CheckBox.cs, Button.cs, ImageButton.cs, LinkButton.cs: do not
182 create the Attributes collection if not necessary.
184 2009-11-16 Marek Habersack <mhabersack@novell.com>
186 * TreeNodeCollection.cs: whenever a node is added, let the owner
189 * TreeNode.cs: added internal property HadChildrenBeforePopulating
190 which is used to let TreeView know about an error condition where
191 a populate-on-demand node contains children added outside the
192 OnTreeNodePopulate event
194 * TreeView.cs: if a node has any child nodes and PopulatOnDemand
195 is set, throw an exception from RenderNode. This is the behavior
198 2009-11-13 Marek Habersack <mhabersack@novell.com>
200 * TableRowCollection.cs: added .NET compatibility NREX throws to
202 Whenever a row is added/removed, its Container property is
203 set. Fixes bug #551666
205 * TableRow.cs: introduced an internal property, Container, which
206 is set by TableRowCollection whenever this row is added/removed
207 to/from the collection. This allows the row to notify the
208 collectio and, in consequence, collection owner that TableSection
209 has been set and thead/tbody/tfoot elements need to be
210 generated. Fixes bug #551666
212 2009-11-10 Marek Habersack <mhabersack@novell.com>
214 * PasswordRecovery.cs:
215 {Question,Success,UserName}TemplateContainer must all be populated
216 the first time the property is accessed, so that calling
217 FindControl on the container returns valid and expected
218 results. If the associated template is not defined, though,
219 populating is postponed till CreateChildControls is called -
220 that's where default, empty, template will be created. This is
221 required to fix YetAnotherForum's password recovery control.
222 Mail template used in SendPasswordByMail must match the one used
223 in .NET (it has to end with a newline) as YAF parses the message
224 to retrieve user name and password and breaks if the last line
225 doesn't end with a newline character.
227 2009-10-30 Marek Habersack <mhabersack@novell.com>
229 * PasswordRecovery.cs: mail message replacements should include <%
230 Password %> and <% UserName %> and matching should be
231 case-insensitive. Fixes bug #545370
233 2009-10-28 Marek Habersack <mhabersack@novell.com>
235 * ListControl.cs: OnDataBinding must call base implementation
236 before performing the binding, so that DataSource can be assigned
237 from within the handler.
239 2009-10-13 Marek Safar <marek.safar@novell.com>
241 * WebColorConverter.cs: Delegate ConvertFrom to
242 ColorTranslator.FromHtml, it is correctly implemented and knows
245 2009-10-13 Marek Habersack <mhabersack@novell.com>
247 * WebColorConverter.cs: don't use a dictionary to check for valid
248 color names, use Color.IsKnownColor instead. Update for bug
250 Added more CSS2 color name mappings.
252 2009-10-12 Marek Habersack <mhabersack@novell.com>
254 * WebColorConverter.cs: when converting from color name, check if
255 the returned color's name is a member of the
256 System.Drawing.KnownColor enumeration to test for error condition,
257 as some colors might be #000000. Preserve the old error check as a
259 Map "captiontext" and "background" color names to
260 "ActiveCaptionText" and "Desktop", respectively, before passing
261 them to Color.FromName (). Fixes bug #546173
263 2009-10-02 Marek Habersack <mhabersack@novell.com>
265 * GridView.cs: added two 3.5 properties - SelectedPersistedDataKey
266 and IPersistedSelector.DataKey.
268 * BaseDataBoundControl.cs: slight optimizations to FindDataSource
270 2009-09-28 Marek Habersack <mhabersack@novell.com>
272 * DataBoundControl.cs: Initialize sets RequiresDataBinding
273 properly, only when we're not data-bound already, when we aren't
274 in postback or when we are in postback, but with viewstate
275 enabled. Fixes bug #542076
277 2009-09-01 Marek Habersack <mhabersack@novell.com>
279 * ObjectDataSourceView.cs: ExecuteSelect must call
280 QueryTotalRowCount after executing the select method (that's what
283 2009-08-25 Marek Habersack <mhabersack@novell.com>
285 * WebColorConverter.cs: inform the user that the might need to
286 check if libgdiplus is installed when parsing a color name
287 fails. Fixes bug #533749
289 2009-08-21 Marek Habersack <mhabersack@novell.com>
291 * Menu.cs: separator image is rendered next to the item in
292 horizontal layout and is preceeded by 3px spacer (unless
293 itemSpacing is set) to make output match .NET. Fixes bug #474716
295 * TreeNodeCollection.cs: {Save,Load}ViewState now store/load the
296 type of the node, if node is a of a custom type. Fixes bug #475997
298 2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
300 * Parameter.cs: add new DbType property.
302 2009-06-16 Marek Habersack <mhabersack@novell.com>
304 * IPersistedSelector.cs: removed AspNetHostingPermission
305 attributes from the 4.0 profile.
307 * IDataBoundControl.cs, IDataBoundItemControl.cs,
308 IDataBoundListControl.cs, IFieldControl.cs: added
310 * DetailsView.cs: control implements 4.0 IDataBoundItemControl
313 * DataBoundControl.cs: implemented 4.0 property DataSourceObject
314 (internal for 2.0) and made the InternalPerformDataBinding method
315 internal for the 4.0 profile.
317 2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
319 * ContentControlBuilderInternal.cs: detect missing
320 ContentPlaceHolderID attribute when parsing instead of throwing a
323 2009-05-29 Marek Habersack <mhabersack@novell.com>
325 * ListItem.cs: when tracking view state is turned on after
326 attributes have been set, make sure that the associated state bag
327 begins tracking state and that all of its existing items are
328 marked as dirty. Do the same after loading view state. Fixes bug
331 2009-04-29 Marek Habersack <mhabersack@novell.com>
333 * DataBoundControl.cs: added InternalGetDataSource method, used by
336 2009-04-28 Marek Habersack <mhabersack@novell.com>
338 * GridView.cs: implemented ColumnsGenerator and enabled its use in
341 * DetailsView.cs: implemented the RowsGenerator property and
342 enabled its use in CreateFieldSet.
344 2009-04-07 Marek Habersack <mhabersack@novell.com>
346 * TreeView.js: removed nodeText parameter from the JS calls.
348 * TreeView.cs: encode | characters into U+007C, so that
349 RaiseCallbackEvent doesn't get confused.
350 Removed nodeText parameter from the JS calls.
352 2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
354 * TreeNode.cs: reset the path data for all child nodes too.
355 * TreeView.cs: HtmlAttribute encode the node text. When rebuilding the
356 node tree, set the correct index for the nodes so that the Path is
359 2009-04-06 Marek Habersack <mhabersack@novell.com>
361 * TreeView.js: TreeView_ToggleExpand now takes more parameters - a
362 full definition of treeview's node contents.
363 Added new function, TreeView_PopulateNode, which partially takes
364 over role of the PopulateNode function generated in
365 TreeView.OnPreRender (see below). Fixes bug #492307
367 * TreeView.cs: RaiseCallbackEvent needs to recreate the event
368 target's parental tree all the way from the root to the node and
369 populate only the leaf (requested) node. This avoids calling the
370 TreeNodePopulate handler more times than needed. Fixes bug #492307
371 OnPreRender: moved the script code to constants and the script
372 body is now generated using StringBuilder instead of a series of
374 GetClientExpandEvent: adjusted code for new TreeView JavaScript
377 2009-03-17 Marek Habersack <mhabersack@novell.com>
379 * Unit.cs: introduced a field to tell the difference between empty
380 (as in Unit.Empty) and 0px units.
382 2009-03-06 Marek Habersack <mhabersack@novell.com>
384 * WebControl.cs: if savedState is not an instance of Pair in
385 LoadViewState, do not attempt to load from it.
387 2009-02-10 Marek Habersack <mhabersack@novell.com>
389 * ImageButton.cs: AddAttributesToRender renders the onclick
390 attribute only if any of the following is true:
391 - OnClientClick is not empty
392 - Validation is enabled for the control
393 - PostBackUrl is used
394 PostBackOptions now indicate that control requires the javascript
395 protocol for the handler.
396 RaisePostBackEvent passes String.Empty as the argument.
399 2009-02-09 Marek Habersack <mhabersack@novell.com>
401 * ObjectDataSourceView.cs: ExecuteSelect returns a single-item
402 array of objects containing the result, if the result isn't one of
403 DataSet, DataTable or IEnumerable. Fixes bug #471767
405 2009-02-06 Marek Habersack <mhabersack@novell.com>
407 * Style.cs: if CssClass is null, return String.Empty. Fixes bug
409 Added a range check to the BorderStyle property.
411 2009-02-05 Marek Habersack <mhabersack@novell.com>
413 * Login.cs: check the value of DisplayRememberMe when creating
414 the child controls. Fixes #468359
416 2009-01-20 Marek Habersack <mhabersack@novell.com>
418 * Substitution.cs: added. Fixes bug #467460
420 2009-01-13 Marek Habersack <mhabersack@novell.com>
422 * XmlBuilder.cs: updates related to ControlBuilder cleanup.
424 2008-12-01 Marek Habersack <mhabersack@novell.com>
426 * Style.cs: WriteStyleAttributes must not use the fontinfo field
427 directly, it has to be done via the Font property. Fixes bug
430 2008-11-15 Marek Habersack <mhabersack@novell.com>
432 * ContentPlaceHolder.cs, Content.cs, FormViewPagerRow.cs,
433 ChangePassword.cs, DetailsViewPagerRow.cs: implements
434 INonBindingContainer interface.
436 * Wizard.cs: implement INonBindingContainer interface for several
437 private/internal classes.
439 2008-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
441 * ImageButton.cs: clicking an image causes a postback.
444 2008-10-24 Marek Habersack <mhabersack@novell.com>
446 * CheckBox.cs: register for event validation in Render ().
448 2008-10-21 Marek Habersack <mhabersack@novell.com>
450 * XmlDataSource.cs: DataFile may be an URL.
452 2008-10-17 Marek Habersack <mhabersack@novell.com>
454 * ImageMap.cs: added the SupportsEventValidation attribute to the
456 Validate the event in RaisePostBackEvent ().
457 Register for event validation in Render ().
459 * DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().
461 * TextBox.cs: validate the event in LoadPostData ().
462 Register for event validation in AddAttributesToRender ().
464 * HiddenField.cs: validate the event in RaisePostDataChangedEvent.
465 Register for event validation in Render ().
467 * RadioButton.cs: validate the event in LoadPostData ().
468 Register for event validation in InternalAddAttributesToRender.
470 * CheckBox.cs, RadioButtonList.cs: validate the event in
471 RaisePostDataChangedEvent.
473 * Menu.cs: added the SupportsEventValidation attribute to the
475 Validate the event in RaisePostBackEvent ().
476 Register for event validation in GetClientEvent ().
478 * DetailsView.cs, GridView.cs: validate the event in
479 RaisePostBackEvent ().
480 Register for validation in GetCallbackScript () and in OnPreRender
482 * Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
483 ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().
485 2008-10-14 Marek Habersack <mhabersack@novell.com>
487 * CompositeDataBoundControl.cs: renamed the itemcount ViewState
488 item from "_ItemCount" to "_!ItemCount" for .NET
489 compatibility. This item is accessed and used by some commercial
492 * DataBoundControl.cs: OnPagePreLoad must force databinding also
493 when the request is not a postback.
495 2008-10-13 Marek Habersack <mhabersack@novell.com>
497 * Table.cs, TableRowCollection.cs, TableRow.cs: render table
498 sections when necessary. Fixes bug #434555
500 2008-10-08 Marek Habersack <mhabersack@novell.com>
502 * ControlParameter.cs: Evaluate calls DataBinder.Eval to do the
503 evaluation now. This makes it support complex expressions.
505 2008-09-30 Sebastien Pouliot <sebastien@ximian.com>
507 * RoleGroupCollection.cs: Fix recursive calls (wrong target)
508 [Found using Gendarme's BadRecursiveInvocationRule]
510 2008-09-28 Sebastien Pouliot <sebastien@ximian.com>
512 * XmlDataSource.cs: Make sure the result of the multiplication is a
513 long (not an integer casted into a long since it could overflow).
514 [Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
516 2008-09-17 Juraj Skripsky <js@hotfeet.ch>
518 * RadioButton.cs (ValueAttribute, LoadPostData): Fixes bug #426959.
520 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
522 * IPersistedSelector.cs : new in 3.5 SP1.
524 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
526 * DataBoundControlMode.cs : new 3.5 SP1 type.
528 2008-08-25 Marek Habersack <mhabersack@novell.com>
530 * DataBoundControl.cs: set RequiresDataBinding to true in
531 Initialize only if not in a postback, if not data bound and if the
532 view state is enabled. Fixes bug #398318
533 UpdateViewData removes the OnDataSourceViewChanged handler before
534 connecting to the datasource and restores it before returning to
536 OnLoad gets the data source before initialization, to avoid
537 premature OnDataSourceViewChanged triggers. Fixes bug #398318
538 Do not reconnect to the data source if we already have a valid one.
540 2008-08-18 Marek Habersack <mhabersack@novell.com>
542 * Unit.cs: rewrote the unit parser in a slightly slower, but more
543 correct, way. Fixes bug #417502
545 2008-07-28 Marek Habersack <mhabersack@novell.com>
547 * TreeView.cs: when TreeView is displaying a site map and there is
548 no node selected by the user, select the node corresponding to the
549 current page, if any.
551 2008-07-24 Marek Habersack <mhabersack@novell.com>
553 * DataGrid.cs: removed the private class TableID and moved its
554 code to ChildTable.cs (see below). 2.0 instantiates teh ChildTable
555 with the owner parameter now. Fixes bug #400377
557 * ChildTable.cs: refactoring - moved code from TableID previously
558 defined in DataGrid.cs to here and made the class available under
559 different names for both 1.x and 2.x profiles. Fixes bug #400377
561 * MailDefinition.cs: look for the mail body file in the correct
562 path. Patch from Jackson Harper <jaharper@novell.com>,
563 thanks! Fixes bug #408699
565 * PasswordRecovery.cs: do not ask password recovery question if
566 it's disabled. Patch from Jackson Harper <jaharper@novell.com>,
567 thanks! Fixes bug #408696
569 2008-07-16 Marek Habersack <mhabersack@novell.com>
571 * XmlDataSource.cs: check if Page isn't null before stringifying
572 it in GetDataKey (), fixes bug #409492
574 2008-07-13 Roei Erez <roeie@mainsoft.com>
576 * GridView.cs: When the RowDataBound event is invoked, the value
577 of GridView1.DataKeys should contains all the keys up untill the
578 current row, and not be empty.
579 I only changed the order of the user event invocation and the addition
582 2008-07-13 Roei Erez <roeie@mainsoft.com>
584 * TreeView.cs: In case of multiple tree node bingings, select
585 The first one and not the last one.
587 2008-07-10 Roei Erez <roeie@mainsoft.com>
589 * HyperlinkField.cs: Changed behavior of HyperLinkField bound field key
590 to be case insensitive.
592 2008-07-03 Marek Habersack <mhabersack@novell.com>
594 * CheckBox.cs: do not render the language="javascript" attribute
597 2008-07-02 Marek Habersack <mhabersack@novell.com>
599 * GridView.cs: minor optimizations (removed a foreach loop,
600 replaced calls to Array.Length with a variable containing the
603 2008-06-30 Marek Habersack <mhabersack@novell.com>
605 * ObjectDataSourceView.cs, Menu.cs, DataList.cs,
606 CustomValidator.cs: hush the warnings
608 2008-06-10 Noam Lampert <noaml@mainsoft.com>
610 * ListItemCollection.cs: Provide viewstate for dirty collection even if it is empty.
612 2008-05-30 Marek Habersack <mhabersack@novell.com>
614 * BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
615 DataControlFieldCollection.cs, DataControlField.cs,
616 PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
617 event accessors (to avoid locks).
619 2008-05-18 Marek Habersack <mhabersack@novell.com>
621 * HierarchicalDataBoundControl.cs: Modified GetData method to check if
622 DataSource implements IHierarchicalEnumerable and if so constructs and
623 returns a new instance of ReadOnlyDataSourceView. This provides functional
624 compatibility with the Microsoft.NET framework. Fixes bug
625 #395209. Patch contributed by James Fitzsimons
626 <james.fitzsimons@gmail.com>, thanks!
628 2008-05-06 Marek Habersack <mhabersack@novell.com>
630 * Calendar.cs: do not create dateInfo in the constructor - culture
631 might be not set yet at this point. Fixes bug #323566
632 Added a private property, DateInfo, which creates the dateInfo
635 2008-05-05 Sebastien Pouliot <sebastien@ximian.com>
637 * BulletedList.cs: Avoid calling ToString on a string.
638 * ButtonField.cs: Throw, not just create, the exceptions.
639 * HyperLinkField.cs: Throw, not just create, the exceptions.
640 * ImageField.cs: Throw, not just create, the exception. Avoid calling
641 ToString on a string.
642 * ListControl.cs: Avoid calling ToString on a string.
643 [All issues were found using Gendarme]
645 2008-04-30 Marek Habersack <mhabersack@novell.com>
647 * SiteMapDataSource.cs: when no starting node is found, return
648 null instead of Provider.RootNode. Fixes bug #323994
650 2008-04-24 Marek Habersack <mhabersack@novell.com>
652 * SqlDataSource.cs: raise the DataSourceChangedEvent when setting
653 ConnectionString, ProviderName or DataSourceMode properties only
654 when the new value differs from the old one. Fixes bug #359392
656 2008-04-16 Marek Habersack <mhabersack@novell.com>
658 * ObjectDataSourceView.cs: ExecuteSelect should return an empty
659 aray when no data has been retrieved from the specified source
660 type. Fixes bug #380106
662 2008-04-15 Marek Habersack <mhabersack@novell.com>
664 * MailDefinition.cs: dispose of streams the way it should
667 2008-04-10 Marek Habersack <mhabersack@novell.com>
669 * RadioButton.cs: adjust 'name' and 'value' attribute values to
670 match MS.NET. Fixes bug #378024
672 * CheckBoxList.cs: set the Selected property to the value in POST
673 data only if the item in question was enabled before postback
674 occurred. Fixes bug #377703
676 * ListControl.cs: make sure the owned items' Enabled property is
677 set to the same value what ListControl's. Fixes bug #377703
679 * ListItemCollection.cs: fixed SetDirty to store the index of the
680 last dirtied item properly. Fixes bug #377703
681 For the 2.0 profile, set the ListItem instances Enabled property
682 to the value of the owning ListControl (internal ItemsEnabled
683 property was added to make it possible). Fixes bug #377703
685 2008-04-08 Dean Brettle <dean@brettle.com>
687 * DataBoundControl.cs (InternalPerformDataBinding),
688 HierarchicalDataBoundControl.cs (InternalPerformDataBinding),
689 WebControl.cs (Render): fixed cast errors when a ControlAdapter
690 that wasn't of the type corresponding to the control was used.
692 2008-04-03 Marek Habersack <mhabersack@novell.com>
694 * DataList.cs: use the value of SelectedIndex, not selectedIndex,
695 to return the key value in the SelectedValue property. Fixes bug
696 #376519. Patch from Sergey Kuleshov <svyatogor@gmail.com>, thanks!
698 2008-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
700 * AutoGeneratedField.cs, CheckBoxField.cs: fixed OnDataBindField,
701 should hide checkbox only if DataItem is not defined
703 2008-03-09 Dean Brettle <dean@brettle.com>
705 * DetailsView.cs, ListControl.cs, DataBoundControl.cs,
706 FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs:
707 added support for using ControlAdapters when present.
709 * WebControl.cs: fixed implementation of IsEnabled to match
712 * Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of
713 RenderMenuItem() if an adapter is present. MenuAdapter.RenderItem()
714 calls back to new Menu.RenderItem() internal method which calls
715 RenderMenuItem() with the appropriate parameters.
717 2008-02-25 Igor Zelmanovich <igorz@mainsoft.com>
720 at Update and Delete use not read only coppies of dictionaries
721 in event argumens, that allows user to change them before corresponding
722 DataSource's method is called.
724 2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>
726 * Login.cs: render id attribute of root element correctly.
728 2008-02-18 Marek Habersack <mhabersack@novell.com>
730 * FormView.cs: the ItemCreated must be fired before data is bound
731 to the FormView. Fixes bug #360434
733 2008-02-07 Igor Zelmanovich <igorz@mainsoft.com>
735 * Login.cs: render id attribute of root element correctly.
737 2008-02-05 Marek Habersack <mhabersack@novell.com>
739 * FileUpload.cs: make sure FileContent always returns the input
740 stream positioned at the beginning. Fixes bug #356846
742 2008-01-31 Igor Zelmanovich <igorz@mainsoft.com>
744 * Calendar.cs: resolve Next/Prev. month link date correctly.
746 2008-01-29 Igor Zelmanovich <igorz@mainsoft.com>
748 * TreeView.cs: add XPFileExplorer icon set.
750 2008-01-28 Igor Zelmanovich <igorz@mainsoft.com>
752 * Menu.js: dynamic nodes are positioned after hover style of
753 parent node is applied.
755 2008-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
757 * DataSourceCacheManager.cs: fixed GetKeyFromParameters, incase more
758 than one datasource using the same object with the same select method
760 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
762 * ValidationSummary.cs:
763 refactoring: If page contents instance of IScriptManager, it calls
764 it's API instead Page.ClientScript.
766 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
768 * Menu.cs: fixed rendering.
770 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
773 manage history state on "MovePrevious" action.
775 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
778 resolve BulletImageUrl,
779 register for event validation.
781 2008-01-13 Igor Zelmanovich <igorz@mainsoft.com>
785 upgrade client side script due to changes in webform.js.
787 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
789 * BaseCompareValidator.cs:
791 * CompareValidator.cs:
792 * CustomValidator.cs:
794 * RegularExpressionValidator.cs:
795 * RequiredFieldValidator.cs:
796 refactoring: If page contents instance of IScriptManager, validators call
797 it's API instead Page.ClientScript.
799 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
804 for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
805 in GetPostBackOptions.
807 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
809 * DetailsView.cs: render invisible rows correct.
811 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
813 * DataControlField.cs: prevent infinite recursion
815 2008-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
817 * DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding
820 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
822 * DataSourceCacheManager.cs: fixed SetCachedObject, fixed
825 2007-12-24 Igor Zelmanovich <igorz@mainsoft.com>
827 * TreeView.cs: revert changes from r91230
829 2007-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
831 * ListControl.cs: fixed Load/SaveViewState, removed selected indices
833 * ListItem.cs: fixed Load/SaveViewState, added selected state storing
834 * ListItemCollection.cs: fixed Load/SaveViewState, added flag to not
835 rebuild the collection if was'nt changed
837 2007-12-13 Marek Habersack <mhabersack@novell.com>
839 * Menu.cs, TreeView.cs: optimize use of String.Format in
841 Speed optimization - use String.Concat instead of String.Format in
844 * GridView.cs, DetailsView.cs: optimize use of String.Format in
847 * CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
848 WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
849 ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
850 optimization - use String.Concat instead of String.Format in some cases.
852 2007-12-13 Vladimir Krasnov <vladimirk@mainsoft.com>
854 * Menu.cs: fixed rendering without head tag on page
856 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
858 * Calendar.cs: performance optimizations:
859 BuildLink fixed, StringBuilder used.
860 TodaysDate DateTime.Today call cahced.
862 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
864 * Unit.cs: performance optimization: ToString fixed, string.Concat used
865 instead of string.Format
867 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
869 * Style.cs: performance optimization: suppress finalizer added
871 2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>
875 evaluate bound value using ThisExpession ("!") properly
877 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
879 * WebControl.cs: enabled state restored properly.
881 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
884 refactoring for NET_2_0:
885 Text is removed from view state in case of need at SaveViewState phase.
887 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
890 SelectedValue/SelectedIndex is set during DataBinding always.
892 2007-11-06 Marek Habersack <mhabersack@novell.com>
894 * DataGrid.cs: add RenderTable before the DataGridItems, so that
895 numbering of children is the same what on MS.NET.
896 If there are any data items, require a postback script.
899 * ChildTable.cs: removed DOS EOLs.
901 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
904 does not perform authentication if Page.IsValid returns false;
905 the fix makes control works with disabled client side validation.
907 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
910 state of DataList.Items are restored correct on PostBack
911 such Items.Count and ItemType.
913 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
916 validator is rendered correct if EnabledClientClient is false.
918 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
920 * Image.cs: fixed management state of Enabled property.
921 * WebControl.cs: refactoring in management state of Enabled property.
923 2007-10-23 Marek Habersack <mhabersack@novell.com>
925 * ListBox.cs, Table.cs: use Render{Begin,End}Tag
926 instead of the Write* counterparts when rendering contents.
928 2007-10-18 Marek Habersack <mhabersack@novell.com>
930 * Menu.js: a workaround for an IE bug. IE recalculates element's
931 offsetWidth when the element's _height_ is set - which in case of
932 elements with overflowing content results in a value that's just
933 slightly smaller than the client window width. In effect, a long
934 submenu will also be very wide, which isn't desirable. Fixes bug
937 2007-10-15 Marek Habersack <mhabersack@novell.com>
939 * ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
942 * BulletedList.cs: html encode the item text. Fixes bug #333550.
944 2007-10-01 Marek Habersack <mhabersack@novell.com>
946 * ListItem.cs: make HasAttributes available for the 1.1 profile as
949 * DropDownList.cs: render custom ListItem attributes in the 1.1
950 profile. Fixes bug #326288
952 2007-09-27 Marek Habersack <mhabersack@novell.com>
954 * Button.cs: added missing OnPreRender method.
956 2007-09-25 Marek Habersack <mhabersack@novell.com>
958 * WebControl.cs: added an internal method, BuildScriptAttribute,
959 which merges the specified JavaScript code in an attribute, with
960 the value of that attribute specified by the user.
962 * CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
963 preserve user-specified attribute value, if present.
965 * ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
966 after doing its job. AutoPostBack handling makes sure to preserve
967 user-specified attribute value, if present. Fixes bug #327816.
969 2007-09-21 Marek Habersack <mhabersack@novell.com>
971 * ListItem.cs: don't save StateBag in the control state - the
972 class is not serializable and therefore ObjectStateFormatter
973 cannot convert it. Instead have the sb object save its own state
974 and store the returned value. Fixes bug #326288.
976 2007-09-20 Marek Habersack <mhabersack@novell.com>
978 * LoginView.cs: implemented RoleGroups support. Fixes bug
981 2007-09-19 Marek Habersack <mhabersack@novell.com>
983 * GridView.cs: copy attributes from GridView to the child table,
984 as this is where the rendering takes place. Fixes bug #326309.
986 2007-09-18 Marek Habersack <mhabersack@novell.com>
988 * Calendar.cs: correctly apply day cell style. Fixes bug #315903
990 2007-09-17 Marek Habersack <mhabersack@novell.com>
992 * Calendar.cs: style attribute value must be enclosed in quotes.
994 * TableStyle.cs: do not capitalize the align styles. Fixes bug
997 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
999 * ListControl.cs: partially restored r85314
1000 whenever a property that can affect data binding
1001 is set, make sure to set RequiresDataBinding.
1003 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
1005 * DataBoundControl.cs: fixed DataBind flow:
1006 prevent double binding when not necessary.
1009 2007-08-31 Marek Habersack <mhabersack@novell.com>
1011 * GridView.cs: instead of not adding hidden fields to the rows,
1012 mark the cells they would contain as invisible. Fixes bug #82615.
1014 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1018 make Menu work in multi form environment.
1020 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1022 * ListControl.cs: fixed selected items state management.
1024 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1026 * BaseCompareValidator.cs:
1028 * CompareValidator.cs:
1029 * CustomValidator.cs:
1030 * RangeValidator.cs:
1031 * RegularExpressionValidator.cs:
1032 * RequiredFieldValidator.cs:
1033 all Validators use RegisterExpandoAttribute for
1034 not XHTML compliant attributes.
1036 2007-08-23 Igor Zelmanovich <igorz@mainsoft.com>
1038 * Panel.cs: client script consider MultiForm environment.
1040 2007-08-21 Marek Habersack <mhabersack@novell.com>
1042 * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
1045 2007-08-20 Marek Habersack <mhabersack@novell.com>
1047 * ContentPlaceHolderBuilder.cs: store place holder id in the
1048 parser's internal place holder id list for later reference. Fixes
1051 2007-08-19 Vladimir Krasnov <vladimirk@mainsoft.com>
1053 * BoundField.cs: FormatDataValue, refactored multiple use of ToString
1055 2007-08-14 Marek Habersack <mhabersack@novell.com>
1057 * ObjectDataSourceView.cs: remove unused variable.
1059 * ChangePassword.cs: remove unused variable.
1060 The change password button id changed to
1061 "ChangePasswordPushButton", the cancel button id changed to
1062 "CancelPushButton". The change makes the generated ids the same
1063 what on MS.NET. Fixes bug #82418.
1065 * RoleGroupCollection.cs: OnValidate shouldn't be overridden.
1067 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1069 * ParameterCollection.cs: fixed IndexOfString, should use ordinal
1072 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1074 * Menu.cs: performance refactoring, used AddAttribute overload without
1075 encoding on known attribute values, optimized DynamicMenu rendering
1077 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1079 * TreeView.cs: refactoring, used AddAttribute overload without encoding
1080 on known attribute values,
1081 used Page.ClientScript.GetWebResourceUrl call instead of
1082 AssemblyResourceLoader.GetResourceUrl
1084 2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
1086 * AccessDataSource.cs: does not subscribed on view changed event.
1087 * ObjectDataSource.cs: fixed state management.
1088 * SqlDataSource.cs: fixed state management.
1090 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1093 DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs,
1094 RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs,
1095 TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs,
1096 BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs,
1097 RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs,
1098 ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs,
1099 TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs:
1100 refactoring, used AddAttribute overload without encoding on known attribute
1103 2007-08-01 Igor Zelmanovich <igorz@mainsoft.com>
1105 * DropDownList.cs: fixed onchange attibute.
1107 2007-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
1109 * ListItemCollection.cs: fixed LoadViewState, items restored from
1110 viewstate were not saved, fixes bug #82192
1112 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1114 * BaseValidator.cs: All client scripts are rendered
1115 according IsMultiForm property.
1117 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1119 * TreeView.cs: refactoring:
1121 used ClientScriptManager.GetCallbackEventReference API instead calling
1122 WebForm_DoCallback explicit.
1124 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1126 * BaseValidator.cs: for NET_2_0: fixed client side validation.
1127 validation is performed in WebForm_DoPostback,
1128 and there is no need to do it twice in ValidatorOnSubmit.
1130 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1132 * Calendar.cs: fixed: correct 'id' attribute is rendered.
1134 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
1136 * ListItemCollection.cs: optimized SetDirty method
1138 2007-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1142 * ListItemCollection.cs: controls based on ListControl should not save
1143 view state before than TrackViewState called
1145 2007-07-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1147 * WebControl.cs: fixed AddDisplayStyleAttribute, returns if
1148 ControlStyle is not created
1150 2007-07-02 Marek Habersack <mhabersack@novell.com>
1152 * WebControl.cs: Revert r80368, as it wasn't the correct
1153 fix. Fixes bug #81945.
1155 * ListControl.cs: if there are no items in the collection, do not
1156 return an empty ArrayList from GetSelectedIndicesInternal. Fixes
1157 bug #81945 and properly fixes bug #78533.
1159 * ListItemCollection.cs: if there are no items in collection,
1162 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1165 the Pager is created but unvisible for only one page.
1166 the Patch submitted by Dumitru Ban [dban@dako.ro]
1168 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1173 does not requires data binding if any ITemplate property is set.
1175 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1177 * CheckBox.cs: fixed Render, HasAttributes called instead
1180 2007-06-24 Igor Zelmanovich <igorz@mainsoft.com>
1182 * GridView.cs: fixed AllowPaging feature:
1183 When the AllowPaging is true the GridView control should automatically
1184 hide the pager row when the data source contains fewer than 2 records.
1185 patch Patch submitted by Dumitru Ban [dban@dako.ro]
1187 2007-06-20 Marek Habersack <mhabersack@novell.com>
1189 * WebControl.cs: if savedState is a Triplet, take the actual state
1190 data from savedState.First. Also make sure that the data is a
1191 Pair. Fixes bug #78533.
1193 * DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
1194 to keep private entries.
1195 * XmlDataSource.cs: as above
1197 2007-05-31 Vladimir Krasnov <vladimirk@mainsoft.com>
1199 * BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed
1200 to ClientScriptManager
1202 2007-05-29 Igor Zelmanovich <igorz@mainsoft.com>
1204 * ObjectDataSourceView.cs:
1205 * SiteMapDataSource.cs:
1207 * SqlDataSourceView.cs:
1208 DataSourceChanged and DataSourceViewChanged are raised in right case, when
1209 different properties changed their value.
1211 2007-05-27 Igor Zelmanovich <igorz@mainsoft.com>
1213 * ObjectDataSourceView.cs: fixed SelectMethod and SelectCountMethod properties:
1214 when changed, DataSourceViewChanged event is raised.
1216 * SqlDataSourceView: fixed SelectCommand property:
1217 when changed, DataSourceViewChanged event is raised.
1219 2007-05-25 Marek Habersack <mhabersack@novell.com>
1221 * ObjectDataSourceView.cs: CreateDataObject must pay attention to
1222 TypeConverter attributes on the property being converted.
1224 2007-05-24 Igor Zelmanovich <igorz@mainsoft.com>
1226 * Menu.cs: fixed: alt attribute is rendered as well.
1228 2007-05-16 Marek Habersack <mhabersack@novell.com>
1230 * CompareValidator.cs: formatting changes
1232 2007-05-15 Marek Habersack <mhabersack@novell.com>
1234 * ObjectDataSourceView.cs: refactoring - use
1235 HttpApplication.LoadType to look up types.
1237 2007-05-10 Marek Habersack <mhabersack@novell.com>
1239 * Table.cs: render rows, not controls
1241 * HyperLink.cs: RenderContents must check if the render method
1242 delegate is present and, if yes, call the base RenderContents.
1244 * LinkButton.cs: as above.
1246 * Label.cs: as above.
1248 * TableCell.cs: as above.
1249 This change makes the HeaderTemplate in the Wizard control work.
1251 * Wizard.cs: if a next/previous step handler modifies
1252 ActiveStepIndex do not, respectively, increase/decrease the
1253 current step, but use whatever was set in the handler.
1255 2007-05-09 Marek Habersack <mhabersack@novell.com>
1257 * TreeNodeStyleCollection.cs: do not set font's underline flag to
1258 false, set it to its own value instead.
1260 * TreeView.cs: if level style exists and has ChildNodesPadding
1261 set, it takes precedence over the node style setting (if any).
1263 2007-05-08 Marek Habersack <mhabersack@novell.com>
1265 * TreeView.cs: children padding is rendered only before and after
1266 the children are rendered, not between them. Also, render padding
1267 only if there are any nodes to follow the current one.
1269 2007-05-07 Marek Habersack <mhabersack@novell.com>
1271 * Wizard.cs: additional checks to see whether the wizard needs to
1272 move to a next step or not. Fixes bug #81532. Patch sent by Mike
1273 Morano <mmorano@mikeandwan.us>, thanks!
1275 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1277 * FormView.cs: fixed:
1278 avoid NullReferenceException when used EditTemplate w/o binding
1279 directive such Eval or Bind.
1281 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1283 * MenuItem.cs: fixed:
1284 when 'Value' property is not set, value of 'Text' property is used
1285 instead and vice versa.
1287 2007-05-06 Igor Zelmanovich <igorz@mainsoft.com>
1289 * TreeNode.cs: fixed:
1290 when 'Value' property is not set, value of 'Text' property is used
1291 instead and vice versa.
1293 2007-05-04 Marek Habersack <mhabersack@novell.com>
1295 * AdRotator.cs: use the new GetPhysicalFilePath method to look up
1296 the physical path of the ad file.
1298 2007-05-03 Marek Habersack <mhabersack@novell.com>
1300 * TreeView.cs: honor ChildNodesPadding of the NodeStyle.
1302 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1304 * ControlPropertyNameConverter.css:
1305 * FontUnitConverter.cs:
1307 * ValidatedControlConverter.cs:
1310 2007-05-03 Marek Habersack <mhabersack@novell.com>
1312 * TreeNode.cs: correct version of the fix in r76488. Nodes
1313 retrieved from a navigation data source which have empty URL will
1316 * TreeView.cs: revert r76488, it wasn't entirely correct. I need
1317 to investigate the special cases it solved a bit more.
1319 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
1321 * SqlDataSourceView.cs:
1322 make CancelSelectOnNullParameter property works.
1324 2007-05-01 Marek Habersack <mhabersack@novell.com>
1326 * BaseValidator.cs: do not use User-Agent directly, we must take
1327 ClientTarget into account.
1329 2007-04-30 Marek Habersack <mhabersack@novell.com>
1331 * TreeView.cs: bring rendering closer to the MS.NET rendering.
1333 * SqlDataSource.cs: do not catch the exception if ProviderName is
1334 not null or empty (as per docs and what MS.NET does).
1336 2007-04-19 Igor Zelmanovich <igorz@mainsoft.com>
1338 * ChangePassword.cs:
1339 does not accept invalid new password.
1341 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1345 added MonoLimitation attributes
1347 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1349 * BaseValidator.cs: for TARGET_J2EE:
1350 used Page.Request.Browser to determine RenderUplevel
1352 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1355 when databound with AutoGenerateColumns = true,
1356 data source enumerator created only once.
1358 2007-04-18 Marek Habersack <mhabersack@novell.com>
1360 * SiteMapDataSource.cs: query the site map for the current node
1361 when configured to use it as the start point. Fixes bug #81376,
1362 patch from Mike Morano <mmorano@mikeandwan.us>.
1364 * Calendar.cs: change year/month format to be culture aware. Fix
1365 for bug #81390. Patch submitted by Atsushi Enomoto
1366 <atsushi@ximian.com>
1368 2007-04-17 Daniel Nauck <dna@mono-project.de>
1370 * PasswordRecovery.cs: fixed typo (AnswerLabel.Text).
1372 2007-04-17 Marek Habersack <mhabersack@novell.com>
1374 * BaseValidator.cs: use the new uplevel browser detection code.
1376 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1378 * SqlDataSourceView.cs: fixed: InitializeParameters:
1379 restored flow, broken in r75137.
1381 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1383 * Menu.cs: popup menu is posed correctly if menu is placed within
1384 container with position=relative
1386 2007-04-12 Marek Habersack <mhabersack@novell.com>
1388 * LoginView.cs: do not call CreateChildControls directly from the
1389 IsAuthenticated setter since that would destroy the controls the
1390 user might've configured from their Page_PreRender method.
1391 Do not use IsAuthenticated in CreateChildControls since that
1392 prevents the _correct_ template from being instantiated before the
1393 control is transferred to the user's OnPreRender handler. Fixes
1396 2007-04-11 Marek Habersack <mhabersack@novell.com>
1398 * ImageButton.cs: implement the Enable property and do not
1399 register for post back if the control isn't enabled.
1401 2007-04-06 Marek Habersack <mhabersack@novell.com>
1403 * GridView.cs: don't render invisible fields. Fixes bug #80061.
1405 * DetailsView.cs: don't render invisible fields.
1407 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1409 * Menu.cs: resolve selected MenuItem if bounded with SiteMapeDataSource.
1411 2007-04-05 Marek Habersack <mhabersack@novell.com>
1413 * BaseDataBoundControl.cs: restore the LAMESPEC note and code it
1414 describes - tests show this is what's happening on MS.NET as
1417 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1420 * BaseDataBoundControl.cs:
1421 Break recursion when the property is set from within the OnSelect handler
1422 in user's code. fixes bug #81175.
1424 2007-04-05 Marek Habersack <mhabersack@novell.com>
1426 * SiteMapDataSource.cs: fix GetStartNode for situations when the
1427 current URL is not defined in the sitemap file. Fixes bug
1428 #81314. Patch from Mike Morano <mmorano@mikeandwan.us>.
1430 2007-04-03 Marek Habersack <mhabersack@novell.com>
1432 * BaseDataBoundControl.cs: adjust for lame specs on MSDN.
1434 2007-04-02 Gert Driesen <drieseng@users.sourceforge.net>
1436 * MenuItem.cs: Use INavigateUIData.Description as ToolTip. Fixed line
1439 2007-03-29 Adar Wesley <adarw@mainsoft.com>
1441 * ObjectDataSourceView.cs: fixed events so they are raized at the
1442 right times. Added many tests to verify the correct time.
1443 * SqlDataSourceView.cs: fixed events so they are raized at the right
1444 times. Added many tests to verify the correct time.
1446 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1450 avoid Exception if HierarchicalDataSourceView.Select() returns null.
1452 2007-03-22 Igor Zelmanovich <igorz@mainsoft.com>
1454 * ObjectDataSource.cs:
1455 * ObjectDataSourceView.cs:
1457 * SqlDataSourceView.cs:
1458 fixed flow: changes in Insert/Update/DeleteParameters does not
1459 cause DataSourceViewChanged event.
1461 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1463 * BaseDataBoundControl.cs: fix as per MSDN - the property is set
1464 only if data binding doesn't occur.
1466 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1468 * GridView.cs: fixed: PageIndex considers PageCount.
1470 2007-03-20 Marek Habersack <mhabersack@novell.com>
1472 * DataBoundControl.cs: avoid endless recursion here. Fixes bug #81175
1474 * LoginStatus.cs: render login/logout controls with the CssClass
1475 set from the parent control. Fixes bug #81196
1477 2007-03-19 Igor Zelmanovich <igorz@mainsoft.com>
1479 * DataGrid.cs: fixed Save/Load view state, applying styles.
1481 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
1483 * Style.cs: optimization: used CssStyleCollection .ctor w/o parameters.
1485 2007-03-09 Marek Habersack <mhabersack@novell.com>
1487 * Login.cs: Make command name comparison case-insensitive in
1488 OnBubbleEvent. Patch from Mike Morano <mmorano@mikeandwan.us>
1490 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1492 * DataGrid.cs: fixed:
1493 Auto-generated columns are restored properly on postback from view state.
1495 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1498 when AddAttributesToRender(System.Web.UI.HtmlTextWriter, WebControl)
1499 is called, WebControl parameter is passed as argument to
1500 FillStyleAttributes (CssStyleCollection, IUrlResolutionService) method.
1502 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1506 fixed applying styles if ExtractTemplateRows=true.
1508 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1510 * DropDownList.cs: in 2.0 first item is rendered with selected attribute
1511 is Enabled=false and no selected items.
1513 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1515 * CheckBoxList.cs: in 2.0 access key attribute is rendered in 'input' tags.
1517 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1523 * RadioButtonList.cs:
1524 fixed: list controls consider ListItem.Attributes property on render.
1526 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1528 * CheckBox.cs: fixed: 'span' tag is not rendered if all attributes
1529 are rendered in 'input' tag.
1531 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1535 used "ONLY_1_1" instead "!NET_2_0"
1537 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1539 * BaseDataBoundControl.cs:
1540 * DataBoundControl.cs:
1541 * HierarchicalDataBoundControl.cs:
1542 refactoring: DataBoundControl and HierarchicalDataBoundControl use internal
1543 method in BaseDataBoundControl to find a data source control.
1545 2007-03-05 Marek Habersack <mhabersack@novell.com>
1547 * Unit.cs: Support parsing of units in the form ".9em" etc.
1549 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1551 * TemplateColumn.cs: fixed: if ItemTemplate is null, " " is rendered.
1553 2007-03-05 Marek Habersack <mhabersack@novell.com>
1555 * BaseValidator.cs: make validators work correctly with
1556 ListItems. Patch from Daniel Nauck <dna@informatik.uni-kiel.de>
1558 2007-03-04 Marek Habersack <mhabersack@novell.com>
1560 * HierarchicalDataBoundControl.cs: Use the method described below
1561 to get the data source named in DataSourceID.
1563 * BaseDataBoundControl.cs: add an internal method to find a data
1564 source control within all the naming containers above a given
1565 control. The method makes it possible to find controls that reside
1568 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1570 * Repeater.cs: fixed: data-binding flow for 2.0 features.
1572 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1575 * ParameterCollection.cs:
1576 fixed GetValue/s and UpdateValue/s.
1578 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1580 * TreeNodeCollection.cs:
1581 fixed Save/Load viewstate.
1583 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1585 * MenuItemCollection.cs:
1586 fixed Save/Load viewstate.
1588 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1590 * CreateUserWizard.cs:
1592 fixed CausesValidaion and ValidationGroup for navigation buttons.
1594 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1598 fixed LoadPostData to restore checked state for node's checkboxes.
1600 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1602 * TreeNodeCollection.cs: 'dirty' flag is assigned if 'marked' only
1604 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1606 * BaseDataBoundControl.cs: setting DataSource to null does not
1607 call ValidateDataSource.
1608 * HierarchicalDataBoundControl.cs: ValidateDataSource does not
1609 throw exception if argument is null.
1611 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1613 * WebControl.cs: implemented IsEnabled and HasAttributes.
1615 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1617 * BaseDataList.cs: fixed: data-binding flow for 2.0 features.
1619 2007-02-27 Marek Habersack <grendello@gmail.com>
1621 * FileUpload.cs: HasFile is true only if PostedFile is not null
1622 and it actually has an associated file.
1624 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1626 * LoginView.cs: fixed:
1627 ViewChanging and ViewChanged are fired.
1628 optimized Save/Load control state.
1630 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1632 * CreateUserWizard.cs: fixed: does not attempt to send email if
1633 MailDefinition is not defined.
1635 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1638 considers FormsAuthentication.ReturnUrl only if is placed in
1639 the login page defined in web.config.
1641 2007-02-23 Marek Habersack <grendello@gmail.com>
1643 * ObjectDataSourceView.cs: Fix saving/restoring the view state.
1645 * CreateUserWizard.cs: support for sending mail when a new user is
1646 created. Patch from dban@dako.ro.
1648 2007-02-22 Marek Habersack <grendello@gmail.com>
1650 * LoginStatus.cs: Handle OnLoggedOut properly. Patch from
1653 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1655 * ObjectDataSourceView.cs: fixed ViewState behavior to match MS. Added relevant tests.
1657 2007-02-20 Gert Driesen <drieseng@users.sourceforge.net>
1659 * Calendar.cs: Fixed bug #80881 by using Thread's CurrentCulture
1660 instead of CurrentUICulture for DateFormatInfo.
1662 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1664 * SqlDataSource.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1665 * SqlDataSourceView.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1667 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
1669 * ChangePassword.cs: fixed:
1670 ChangePasswordContainer and SuccessContainer cannot be BindingContainer.
1672 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1674 * SqlDataSourceView.cs: Fixed parameter merging logic and some bug fixing.
1677 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
1682 implemented Form.SubmitDisabledControls feature.
1684 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1686 * GridView.cs: IsBindableType for decimal returns true.
1688 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1690 * Menu.js: client script: support IE6.
1692 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1694 * Menu.cs: fixed: considers item.ToolTip, render image inside 'a' tag.
1696 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
1698 * Button.cs, ImageButton.cs, LinkButton.cs: Hanlding of PostbackOptions for
1699 TARGET_J2EE is now centralized in ClientScriptManager.
1700 * TreeView.cs, DetailsView.cs, GridView.cs, TreeView.js, DetailsView.js,
1701 GridView.js: Added a field to the controls JavaScript 'data' object. The
1702 form is initialized to the page 'theForm'. This is used for J2EE portlets
1705 2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1708 first step is recognized as 'finish' if only two steps
1709 and last step is 'complete'
1711 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1713 * BaseValidator: ControlPropertiesValid is called on PreRender
1714 * CompareValidator.cs:
1715 * RangeValidator.cs: fixed ControlPropertiesValid, EvaluateIsValid.
1717 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1719 * BaseCompareValidator.cs: fixed: support for type=Currency on client side.
1721 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1723 * ParameterCollection.cs: fixed IndexOfString, this indexer should be
1726 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
1728 * TreeView.js: refactoring:
1729 removed TreeView_ErrorCallback, used TreeView_PopulateCallback instead.
1731 2007-02-13 Adar Wesley <adarw@mainsoft.com>
1733 * ObjectDataSourceView.cs: fixed parameter merging and added more tests
1735 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1737 * Literal.cs: implemented 2.0 feature - Mode.
1739 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1741 * ViewCollection.cs: fixed public API.
1743 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1745 * RepeaterItem.cs: implemented IDataItemContainer interface.
1747 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1749 * TreeNodeStyle.cs: fixed public API.
1751 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1753 * MenuItemStyle.cs: fixed public API.
1755 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1758 * DayRenderEventArgs.cs:
1759 implemented 2.0 feature - SelectUrl.
1761 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1763 * GridViewRowCollection.cs: implemented IsReadOnly property.
1765 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1767 * BaseValidator.cs: implemented SetFocusOnError feature.
1769 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1771 * Wizard.cs: refactoring:
1772 used ContainedTable for ID attribute is rendered properly.
1774 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1776 * CreateUserWizard.cs:
1780 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1782 * DataList.cs: fixed: OnBubbleEvent() will return true if event is handled
1784 2007-02-09 Gert Driesen <drieseng@users.sourceforge.net>
1786 * FontUnit.cs: Fixed ToString () to use current locale.
1788 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1790 * BaseValidator.cs: fixed render, works in static mode properly
1791 * CreateUserWizard.cs: fixed display mode for validators.
1793 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1797 implemented FormViewPagerRow class
1799 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1802 header and footer visibility is set at creation.
1804 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1806 * FormView.cs: fixed:
1807 header and footer are not created with empty row.
1809 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1811 * FormView.cs: fixed:
1812 works properly with not ICollection data source.
1814 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1816 * DetailsView.cs: fixed:
1817 PageIndex, CreateChildControls,
1818 works properly with not ICollection data source.
1820 2007-02-06 Eyal Alaluf <eyala@mainsoft.com>
1822 * Menu.cs ImageMap.cs Panel.cs TreeView.cs: Ensure that the NavigateUrl
1823 property is rendered as a RenderURL for J2EE portlets.
1825 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1827 * BaseValidator.cs: refactored RegisterValidatorCommonScript to use
1828 RegisterClientScriptInclude instead of RegisterClientScriptBlock
1830 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1832 * DataBoundControl.cs:
1835 PerformDataBinding is called with RequiresDataBinding was set false
1837 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1840 fixed validation flow.
1842 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1845 fixed validation flow.
1847 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1849 * CustomValidator.cs:
1850 ValidateEmptyText is considered on client side.
1852 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1857 * DataControlButton.cs:
1858 * DataControlField.cs:
1861 Internal classes are used in databound controls for buttons
1862 are derived from right types. It allows to have access to them by casting
1863 to public types. This trick is used in one of starter kits of MS.
1865 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1867 * Panel.cs: fixed: reverted r71441.
1868 * TreeView.cs: used internal RegisterWebFormClientScript API
1869 to cause the relevant script be included.
1871 2007-02-01 Adar Wesley <adarw@mainsoft.com>
1873 * FormView.cs: fixed events ModeChanging and ModeChanged
1874 to be raized in all relevant situations.
1876 2007-02-01 Igor Zelmanovich <igorz@mainsoft.com>
1878 * ValidationSammary.cs: fixed:
1879 control is rendered even if there is no validators on the page.
1880 important if the page contain a client side script that refer to the
1881 id of the validation summary div.
1883 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1888 * RadioButtonList.cs:
1889 EnsureDataBound is called when PostData is processed to restore
1890 'state' of control if EnableViewState is false
1892 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1894 * GridView.cs: fixed:
1895 RowDataBound is fired for PagerRow.
1896 Styles are applied using MergeWith instead CopyFrom
1897 to allow using custom styles for rows in code-behind.
1899 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1901 * GridView.cs: fixed: RowCommand event is fired properly.
1903 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1905 * GridView.cs: fixed: created rows are added in table after initialization.
1908 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1910 * Panel.cs: fixed 'background-image' attribute.
1912 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1914 * BaseDataBoundControl.cs:
1915 * DataBoundControl.cs:
1916 fixed DataBinding flow: RequiresDataBinding is set to false in
1918 * HierarchicalDataBoundControl.cs: implemented MarkAsDataBound().
1920 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1924 fixed DataBinding flow for Insert mode.
1926 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1929 does not RegisterRequiresPostBack if is not enabled.
1931 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1935 fixed PopulateOnDemand: used UniqueID to call WebForms_DoCallBack().
1937 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
1939 * MultyView.cs: OnActiveViewChanged is called.
1941 2007-01-29 Vladimir Krasnov <vladimirk@mainsoft.com>
1943 * Panel.cs: fixed AddAttributesToRender for 2.0, text align should be
1946 2007-01-29 Adar Wesley <adarw@mainsoft.com>
1948 * EditCommandColumn.cs: implemented CausesValidation and
1949 ValidationGroup and coresponding tests.
1950 * DataGrid.cs: fixed generated table to be compatible with MS 2.0
1952 2007-01-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1954 * WebControl.cs: added internal method AddDisplayStyleAttribute for
1955 display:inline-block style attribute
1958 * CheckBox.cs: added call to AddDisplayStyleAttribute on rendering
1960 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
1962 * TreeView.js: Used WebForm_GetFormFromCtrl to lookup the form.
1964 2007-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1966 * TextBox.cs: implemented AutoCompleteType property, fixed
1967 AddAttributesToRender
1969 2007-01-24 Ilya Kharmatsky <ilya -at- decode-systems.com>
1971 * DetailsView.cs: fixed problems with rendering of control, when
1972 empty data source is provided. Respective tests are provided
1973 in DetailsViewTest.cs
1975 2007-01-21 Konstantin Triger <kostat@mainsoft.com>
1977 * TreeView.js, DetailsView.js, Menu.js, GridView.js:
1978 suppress exception if eval() fails.
1980 2007-01-20 Miguel de Icaza <miguel@novell.com>
1982 * DataControlFieldCollection.cs (RemoveAt): remove unused
1985 * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
1988 * RadioButton.cs (RaisePostDataChangedEvent): This method was not
1989 used in 1.0, so put the whole method in 2.0
1991 2007-01-18 Adar Wesley <adarw@mainsoft.com>
1993 * Xml.cs: added support for XPathNavigator, fixed DocumentContent
1994 to be compatible with MS 2.0, implemented EnableTheming, implemented
1995 SkinID, fixed Focus behavior.
1997 2007-01-18 Vladimir Krasnov <vladimirk@mainsoft.com>
1999 * Menu.js, Menu.js: added null reference checking for every getTree or
2002 2007-01-18 Adar Wesley <adarw@mainsoft.com>
2004 * SiteMapDataSource.cs: implemented logic of GetStartNode when
2005 StartingNodeOffset is positive.
2007 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
2009 * BaseValidator.cs: ToString the validating property value or
2010 if null return an empty string.
2012 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2014 * TreeView.cs: fixed RegisterStyle, style names should be without
2015 leading underscore. fixed RenderNode, node icons should be taken also
2018 2007-01-17 Adar Wesley <adarw@mainsoft.com>
2020 * Repeater.cs: refactored GetData to return data both from DataSource
2021 and DataSrouceID, Implemented EnableTheming, updated initialization of
2022 DataBinding according to the pattern of BaseDataBoundControl, fixed
2023 SelectArguments implementation to call the virtual
2024 CreateDataSourceSelectArguments method.
2026 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
2028 * GridView.cs: don't force creating rows collection when SelectedIndex
2029 changes; EnsureDatabound on select.
2031 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2033 * TreeNode.cs: fixed Bind, fixed Value updating
2035 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2037 * DataList.cs: fixed OnBubbleEvent, added SelectedIndex updating
2039 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2041 * DetailsView.cs: fixed CreateChildControls, PageIndex cannot be less
2044 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2046 * DetailsView.cs: fixed CreateChildControls, PageIndex should be less
2047 or equal to PageCount
2049 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2051 * Menu.cs: added z-index attribute to popup div's.
2053 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2055 * FileUpload.cs: fixed FileName property, should return filename
2056 without full path on client side
2058 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
2063 Implemented the protected net_2_0 method 'VerifyMultiSelect' with
2064 proper overloading in derived types.
2066 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2069 considers INavigateUIData.NavigateUrl when bound.
2071 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2073 * CompleteWizardStep.cs
2074 * CreateUserWizard.cs
2075 * CreateUserWizardStep.cs
2076 * TemplatedWizardStep.cs
2078 make the design complied to .NET
2079 build all possible controls at once and manage render by Visible property
2081 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
2082 * Button.cs, HyperLink.cs, DataGrid.cs, ImageButton.cs, LinkButton.cs,
2083 PagedDataSource.cs: Added J2EE Portal support for TARGET_J2EE.
2085 2007-01-14 Ilya Kharmatsky <ilyak-at-mainsoft.com>
2086 * BaseCompareValidator
2088 Added support for CultureInvariantValues property, which should be
2089 counted in new 2.0 methods such as - Compare, Convert etc. The code
2090 has been changed in such way, that the old - 1.1 method implementation
2091 could use the new methods defined for 2.0 version.
2093 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2095 * XmlDataSource.cs: refactored to use cached collection.
2096 * SqlDataSource.cs: refactored to use cached collection;
2097 don't throw exception on 'DefaultView'.
2098 * ObjectDataSource.cs: refactored to use cached collection.
2100 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2102 * ObjectDataSourceView.cs: consider parameter names and
2103 DataObjectMethodAttribute during method resolution.
2105 2007-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2107 * SqlDataSourceView.cs: fixed OnUpdating, OnInserting call with
2108 SqlDataSourceCommandEventArgs
2110 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2112 * ObjectDataSourceView.cs: use case unsensitive comparer for
2113 parameters collection.
2115 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2117 * LoginStatus.cs: fixed: not causes page validation.
2119 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2121 * CreateUserWizard.cs: fixed: resolves ErrorMessage control correct.
2122 * CreateUserWizardStep.cs:
2124 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2126 * TreeView.cs: fixed: SelectedNode, CheckedNodes.
2128 * TreeNodeCollection.cs:
2130 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2132 * GridView.cs: fixed: header and footer does not appear in no items.
2133 * CompositeDataBoundControl.cs:
2135 2007-01-09 Konstantin Triger <kostat@mainsoft.com>
2137 * AdRotator.cs: Backport the fix for AdRotator AbsoluteUri to 1.1.
2139 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2141 * GridView.cs: fixed: SelectedDataKey.
2143 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2147 implemented 2.0 features.
2149 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2151 * SqlDataSourceView.cs: fixed parameters init for ExecuteUpdate
2153 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2155 * DataSourceCacheManager.cs:
2156 * ObjectDataSource.cs:
2158 fixed: cache considers parameters values changes.
2160 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2162 * DetailsView.cs: fixed DeleteItem, excluded keys for new values
2163 * SqlDataSourceView.cs: fixed ExecuteDelete, check cancel in
2166 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2168 * GridView.cs: fixed: show all rows when AllowPaging=false
2170 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2172 * SqlDataSourceView.cs: fixed CreateDbParameter, used DBNull for value=null.
2174 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2176 * ButtonField.cs: fixed: consider its CausesValidation property.
2178 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2180 * GridView.cs: fixed:
2181 ReadOnly property is false for AutoGeneratedColumn if field is DataKey.
2182 causesValidation parameter is considered properly in UpdateRow.
2183 OldValues contains readonly fields values
2185 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2187 * SqlDataSourceView.cs: fixed InitializeParameters, added
2188 ParameterPrefix when check that param is already in collection
2190 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2192 * AdRotator.cs: fixed: considers absolute uri such html://......
2194 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2196 * SqlDataSourceView.cs: fixed insert, delete, update methods, added
2197 calls to OnDataSourceViewChanged
2199 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2201 * added ProfileParameter.cs
2203 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2205 * Label.cs: fixed: according MSDN OnPreRender is not overridden.
2207 2007-01-04 Adar Wesley <adarw@mainsoft.com>
2209 * ImageButton.cs: implemented GenerateEmptyAlternateText
2211 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2213 * FormView.cs: fixed data binding flow considers Insert mode.
2215 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2217 * DataBoundControl.cs: fixed Init flow.
2219 2007-01-4 Adar Wesley <adarw@mainsoft.com>
2221 * RadioButtonList.cs: Implemented properties of IRepeatInfoUser as public virtual
2223 2007-01-03 Marek Habersack <grendello@gmail.com>
2225 * ObjectDataSourceView.cs: Look for unqualified type also in the top-level assemblies.
2227 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2229 * FormView.cs: fixed PageIndex property.
2231 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2233 * ListControl.cs: fixed SelectedValue and SelectedIndex properties.
2234 set accessor works differently in 2.0.
2236 2007-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
2238 * SqlDataSourceView.cs,ObjectDataSourceView.cs: fixed parameter merge
2239 when values and old values are null
2241 2006-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2243 * ListControl.cs: reverted r70112, fixed in r70319.
2245 2007-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2247 * DetailsView.cs: fixed CreateAutoGeneratedRows.
2249 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2251 * AutoGeneratedField.cs: is editable in Insest mode.
2252 * BoundField.cs: is editable in Insest mode.
2253 * CheckBoxField.cs: is editable in Insest mode.
2254 * DetailsView.cs: fixed DataBinding flow.
2256 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2258 * BaseDataBoundControl.cs:
2259 * CompositeDataBoundControl.cs: fixed DataBinding flow.
2261 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2263 * LinkButton.cs: show the validation summary when client validation
2264 and linkbuttons are used. Patch by Juraj Skripsky.
2266 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2268 * TextBox.cs: consider ToolTip property
2270 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2272 * ContainedTable.cs:
2273 * DataControlButton.cs:
2274 * DetailsView.cs: fixed EnablePagingCallbacks
2277 * GridView.js: fixed EnableSortingAndPagingCallbacks
2279 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2282 ResolveClientUrl used with LineImagesFolder, ExpandImageUrl,
2283 CollapseImageUrl and NoExpandImageUrl properties.
2285 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2287 * SqlDataSource.cs: Added parameters update on OnInit
2289 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2291 * LoginView.cs: fixed rendering LoggedInTemplate even after user
2294 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2299 control's behavior depends on using DataSource or DataSourceID
2300 property for binding
2302 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2304 * CommandField.cs: fixed:
2305 when ShowEditButton=false Update/Cancel button doesn't appear.
2306 when ShowInsertButton=false Insert/Cancel button doesn't appear.
2308 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2310 * Login.cs: fixed AuthenticateUser, should redirect to ReturnUrl when
2312 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2314 * Parameter.cs: fixed ConvertValue to coorect handle TypeCode.Empty
2315 * ObjectDataSourceView.cs: fixed MergeParameterValues,
2316 call Parameter.ConvertValue
2317 fixed ConvertParameter to hanlde TypeCode.Empty
2318 * SqlDataSourceView.cs: fixed InitializeParameters,
2319 call Parameter.ConvertValue
2320 fixed ParameterPrefix property
2321 fixed CreateDbParameter, added usege of ParameterPrefix
2323 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2325 * ListControl.cs: fixed: when is used with DataSourceID data bind is not
2326 perfomed on PostBack because Items collection is restored from View state.
2328 2006-12-26 Igor Zelmanovich <igorz@mainsoft.com>
2330 * DataGridPagerStyle.cs:
2335 * TableItemStyle.cs:
2340 fixed: Load/Save viewstate of WebControl does not call Load/Save viewstate
2341 for it's ControlStyle, but the shared ViewState is used to manage style's
2344 2006-12-21 Igor Zelmanovich <igorz@mainsoft.com>
2346 * CompleteWizardStep.cs:
2347 * CreateUserWizard.cs:
2348 * CreateUserWizardStep.cs:
2349 * TemplatedWizardStep.cs:
2351 fixed: CreateUserWizard works properly in advanced scenarios
2352 such being used with additional steps or/and with custom templates.
2353 Styles are aplied properly.
2355 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
2357 * SqlDataSourceView.cs: fixed InitializeParameters, parameters order
2358 parameters case insensetive search
2359 * ObjectDataSourceView.cs: fixed MergeParameterValues, parameters
2360 case insensetive search
2362 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2364 * Menu.cs: fixed: ResolveClientUrl used with src and href attributes
2366 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2370 TreeNodeCollapsed is not raised for leaf node.
2372 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2374 * DataGrid.cs, RepeatInfo.cs: fixed accessibility features
2376 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2378 * Calendar.cs: support DayNameFormat.Shortest
2380 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2382 * HiddenField.cs: implemented
2384 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2386 * FormView.cs: fixed: FillRowDataKey
2387 * DetailsView.cs: fixed: FillRowDataKey
2389 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2391 * TreeView.cs: fixed: ResolveClientUrl used with ImageUrl and NavigateUrl
2393 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2395 * Login.cs: refactored rendering, fixed OnAuthenticate event
2397 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2399 * GridView.cs: fixed: Update works not only for EditRow
2401 * CompositeDataBoundControl.cs:
2403 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2405 * RadioButton.cs: fixed:
2406 When GroupName is not defined UniqueID is used instead for name attribute.
2407 CheckedChanged is raised only when control is checked.
2409 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2411 * Menu.cs: fixed: rendering.
2413 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2415 * Menu.cs: fixed: rendering.
2417 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2422 fixed rendering for 2.0
2424 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2426 * DetaisView.cs: fixed: rendering.
2427 * DataControlButton.cs:
2430 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2432 * FormView.cs: fixed: avoid empty row rendering.
2434 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2436 * AdRotator.cs: fixed:
2437 MSDN: The ImageUrl and NavigateUrl attributes can be a full URL, a
2438 root-relative path, or a relative path. If you use a root-relative path,
2439 the path is relative to the same Web site. If you use a relative path,
2440 the path is relative to the directory that contains the advertisement file.
2442 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2444 * BaseCompareValidator.cs: fixed: support for type=Date on client side.
2446 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2448 * TreeView.cs: fixed: support for event validation.
2450 2006-12-04 Igor Zelmanovich <igorz@mainsoft.com>
2452 * DataGridPagerStyle.cs: chenged values of DataGridPagerStyles flags.
2454 2006-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2456 * CreateUserWizard.cs: implement GeneratePassword based on Membership.
2458 2006-11-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2460 * Wizard.cs: fixed GetStepType method that returned wrong type if the
2461 last step type is Complete.
2462 fixed ProcessEvent method, corrected FinishButtonClick behavior
2464 2006-11-26 Marek Habersack <grendello@gmail.com>
2466 * Calendar.cs: Fixed event validation registration. Now it
2467 registers all the arguments that can be passed by this control to
2470 2006-11-25 Marek Habersack <grendello@gmail.com>
2472 * FileUpload.cs: Implementation of SaveAs
2474 * TreeView.cs: A few optimizations for empty style collections.
2476 * Menu.cs: A few optimizations for empty style collections.
2478 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2480 * BoundField.cs: fixed: GetDesignTimeValue()
2482 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2484 * SiteMapDataSource.cs: fixed: GetViewNames()
2486 2006-11-23 Vladimir Krasnov <vladimirk@mainsoft.com>
2488 * ChangePassword.cs: implemented functionality
2489 * MailDefinition.cs: implemented CreateMailMessage method
2490 * PasswordRecovery.cs: implemented functionality
2492 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2494 * CircleHotSpot.cs: fixed:
2495 setting Radius with value <0 throws ArgumentOutOfRangeException.
2497 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2499 * CookieParameter.cs: fixed Evaluate method.
2501 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2503 * Parameter.cs: fixed Evaluate, ToString methods.
2504 * QueryStringParameter.cs: fixed Evaluate method.
2505 * SessionParameter.cs: fixed Evaluate method.
2507 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2509 * ImageMap.cs: fixed rendering.
2511 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2513 * HotSpot.cs: fixed: AccessKey and HotSpotMode
2514 throw ArgumentOutOfRangeException.
2516 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2518 * ControlParameter.cs: fixed: Evaluate method
2519 throws exceptions correctly.
2521 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2523 * CheckBox.cs: fixed: new 2.0 features such
2524 LabelAttributes and InputAttributes.
2526 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2528 * GridView.cs: fixed: header, footer and empty rows are databound.
2530 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2532 * Style.cs: added internal helper method RemoveTextStyles.
2534 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2536 * Button.cs: fixed: support for event validation.
2537 * CheckBox.cs: fixed: support for event validation.
2538 * FormView.cs: fixed: support for event validation.
2539 * ImageButton.cs: fixed: support for event validation.
2540 * ListBox.cs: fixed: support for event validation.
2541 * TextBox.cs: fixed: support for event validation.
2543 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2545 * DropDownList.cs: fixed: support for event validation.
2547 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2549 * LinkButton.cs: optimized: support for event validation.
2550 * DataControlButton.cs: Added support for event validation.
2551 * DetailsView.cs: fixed: RowIndex for DetailsViewRow.
2553 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2555 * LinkButton.cs: Added support for event validation.
2557 2006-11-17 Marek Habersack <grendello@gmail.com>
2559 * ImageButton.cs: Added support for event validation.
2561 * ListBox.cs: Added support for event validation.
2563 * Calendar.cs: Added support for event validation.
2565 * DropDownList.cs: Added support for event validation.
2567 * FormView.cs: Added support for event validation.
2569 * RadioButtonList.cs: Added support for event validation.
2571 * TextBox.cs: Added support for event validation.
2573 * BulletedList.cs: Added support for event validation.
2575 * CheckBox.cs: Added support for event validation.
2577 * Button.cs: Added support for event validation.
2579 2006-11-16 Igor Zelmanovich <igorz@mainsoft.com>
2581 * CreateUserWizard.cs: fixed: ActiveStepIndex property.
2583 2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>
2585 * ListControl.cs: fixed: DataBinding for 2.0, for 1.x - refactoring only.
2587 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2589 * GridView.cs: fixed: Rows property, DataBinding flow.
2590 * DataBoundControl.cs:
2591 * BaseDataBoundControl.cs:
2593 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2595 * CompositeDataBoundControl.cs: fixed:
2596 DataBind call Controls.Clear().
2598 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
2600 * CompositeDataBoundControl.cs: fixed:
2601 DataBind sets ChildControlsCreated=true.
2603 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2605 * Login.cs: fixed CreateChildControls, throws exception if needed
2607 * LoginView.cs: fixed CreateChildControls, check templates for null
2609 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2611 * Wizard.cs: fixed ActiveStepIndex property, fixed SideBar button
2612 rendering, fixed history updating
2613 * WizardStepCollection.cs: fixed implemented interfaces
2615 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2617 * XmlDataSource.cs: CacheKeyDependency fixed
2619 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
2621 * DetailsView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2623 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2625 * DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.
2627 2006-11-09 Vladimir Krasnov <vladimirk@mainsoft.com>
2629 * ParameterCollection.cs: fixed SetDirtyObject method
2630 * ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState
2631 utilization for control's properties, implemented caching
2632 * SqlDataSource.cs, SqlDataSourceView.cs: implemented caching
2634 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2636 * GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2638 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2640 * DataBoundControl.cs: fixed:
2641 ConfirmInitState method s called by
2642 the DataBoundControl class in its OnLoad method.
2644 2006-11-06 Igor Zelmanovich <igorz@mainsoft.com>
2646 * FormView.cs: fixed: DataBinding flow.
2648 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2650 * CustomValidator.cs: implemented ValidateEmptyText fixture.
2652 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2654 * BaseCompareValidator.cs: fixed: CultureInvariantValues, Type properties.
2656 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2658 * Menu.cs: fixed: RenderEndTag.
2659 Dynamic menu is rendered when StaticDisplayLevels=1
2661 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2663 * GridView.cs: fixed: UpdateRow, DeleteRow, RowCreated.
2665 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2667 * FormView.cs: fixed: UpdateItem, DeleteItem.
2669 2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>
2671 * DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.
2673 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2675 * RadioButtonList.cs: fixed: has no html output when Items.Count=0.
2677 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2679 * ListControl.cs: fixed: setting SelectedVolue for 2.0.
2681 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2683 * DataBoundControl: fixed: ValidateDataSource allows null as dataSource.
2685 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2687 * ListControl.cs: fixed: assigning SelectedIndex with too hight value.
2689 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2691 * ListControl.cs: fixed: DataBinding for 2.0.
2692 for 1.x refactoring only.
2694 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2696 * ChangePassword.cs: new class was implemented.
2698 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2700 * EmbeddedMailObject.cs: new class was implemented.
2701 * EmbeddedMailObjectsCollection.cs: new class was implemented.
2702 * MailDefinition.cs: new class was implemented.
2704 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2706 * PagerSettings.cs: fixed: CreatePagerControl.
2708 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2710 * CommandField.cs: fixed:
2711 considers CaseValidation, ValidationGroup, ButtonType.
2712 * DataControlButton.cs: refactoring:
2714 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2716 * DetailsView.cs: implemented: GetCallbackScript method.
2718 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2720 * FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2722 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2724 * FormFiew.cs: fixed: UpdateItem, InsertItem.
2726 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2728 * FormFiew.cs: fixed: PageIndex, rendering.
2730 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2732 * DropDownList.cs: fixed: rendering "name" attribute".
2734 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2736 * GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2737 * DataControlButton.cs:
2738 * CommandField.cs: CausesValidation feature must be implemented other way
2740 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2742 * CompositeDataBoundControl.cs: fixed: CreateChildControls flow.
2744 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2746 * FormView.cs: fixed: OnBubbleEvent returns true when event is handled.
2748 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2750 * DetailsView.cs: fixed: OnBubbleEvent works properly.
2752 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2754 * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
2756 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2758 * DetailsView.cs: fixed: CurrentMode property.
2760 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2762 * DetailsView.cs: fixed: current state are not changed during paging.
2764 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2766 * DetailsView.cs: fixed:
2767 in Insert mode Select not invoked from DataSource
2769 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
2771 * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
2773 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2775 * FormView.cs: fixed: CreateDataSourceSelectArguments method.
2776 (corresponding test does not work because bug in ObjectDataSourceView)
2778 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2780 * DataBoundControl.cs: fixed: DataBind calls
2781 CreateDataSourceSelectArguments() and stores result in SelectArguments
2783 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2787 fixed: EnablePagingCallbacks feature.
2788 when postback is invoked after callback control state is restored
2791 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2793 * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
2795 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2797 * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
2798 (corresponding test does not work because bug in ObjectDataSourceView)
2800 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2802 * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
2803 when postback is invoked after callback control state is restored
2806 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2808 * GridView.cs: fixed: Sorting feature.
2809 When sorting EditIndex and PageIndex are reseted
2811 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2813 * GridView.cs: fixed: Sorting feature.
2814 CreateDataSourceSelectArguments considers SortExpression and SortDirection.
2815 (corresponding test does not work because bug in ObjectDataSourceView)
2817 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2819 * GridView.cs: fixed:
2820 CreateDataSourceSelectArguments works according to MSDN.
2821 (corresponding test does not work because bug in ObjectDataSourceView)
2823 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2825 * ObjectDataSourceView.cs: fixed:
2826 CanRetrieveTotalRowCount returns true if EnablePaging = false
2828 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
2830 * DataBoundControl.cs: fixed: DataBind flow
2831 CreateDataSourceSelectArguments() is called
2832 each time as DataBind() is called
2834 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2836 * BoundField.cs: implemented ValidateSupportsCallback().
2838 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2840 * CommandField.cs: ValidateSupportsCallback(): exception's message.
2842 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2844 * FormView.cs: fixed: CurrentMode property.
2846 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2852 reverted r66222, problem solved in r66283: command buttons inherit ForeColor
2854 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2856 * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
2859 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2861 * HyperLink.cs: don't render the img tag 'by hand' but use an Image
2862 instead, which takes care of the 0/0px case. Also set the ToolTip
2863 property. Fixes bug #79585.
2865 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2867 * DetailsView.cs: optimization for previous patch
2869 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2871 * FormView.cs: optimization for previous patch
2873 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2876 * DetailsViewRow.cs:
2877 implemented PrepareControlHierarchy()
2878 styles are applied correct
2880 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2883 implemented PrepareControlHierarchy()
2884 styles are applied correct
2886 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2889 * DataControlButton.cs:
2890 * DataControlField.cs:
2891 implemented PrepareControlHierarchy()
2892 styles are applied correct
2893 command buttons inherit ForeColor
2895 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2897 * WebControl.cs: fixed: CreateControlStyle()
2899 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2905 corrected pager rendering: Color style applied to A tag,
2906 Input type="image" used if ImageUrl is not empty.
2908 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2910 * GridView.cs: corrected rendering
2911 * ContainedTable.cs: added new helper class
2913 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2915 * FormView.cs: fixed:
2916 in Insert mode Select not invoked from DataSource
2918 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2920 * FormView.cs: fixed:
2921 Pager is not shown when page count < 1
2922 in Edit mode use EmptyDataTemplate if there is no DataItem
2923 when page changed FormView stays in current state.
2925 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
2927 * FormView.cs: fixed: OnBubbleEvent works properly
2929 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
2931 * DataBoundControl.cs: fixed: DataBind flow
2932 GetData return "empty" DataSourceView when no DataSource and DataSourceID
2933 was assigned to cause PerformDataBinding be called.
2935 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2937 * DataList.cs: use ExtractTemplateRows to determine if the style is
2938 applied to the Table in a template or to its rows. Fixes bug #78058.
2940 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2942 * ListBox.cs: if the list is not enabled, don't require a postback.
2945 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2947 * HyperLink.cs: don't output the nabvigate url if disabled.
2948 * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
2949 the link URL if disabled.
2952 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2954 * RadioButtonList.cs:
2955 make it to consider CausesValidation and ValidationGroup properties
2957 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2960 make it to consider CausesValidation and ValidationGroup properties
2962 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2965 Page.Validate() is called when CausesValidation=true
2967 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2970 make onclick attribute to consider ValidationGroup property.
2972 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2975 make rendering of the href attribute to consider ValidationGroup property.
2976 Page.Validate() is called when CausesValidation=true
2978 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2981 make rendering of the onchange attribute to consider ValidationGroup
2983 Page.Validate() is called when CausesValidation=true
2985 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2988 make rendering of the onclick attribute to consider ValidationGroup property
2989 Page.Validate() is called when CausesValidation=true
2991 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2994 VewState saving and restoring rolled back to 1.1 implementation
2995 (fixed corresponding test), corrected public interface (there are no
2996 overriden methods SaveControlState, LoadControlState and OnInit),
2997 implemented CausesValidation and ValidationGroup properties.
2999 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3002 make rendering of the onclick attribute to consider ValidationGroup property
3003 Page.Validate() is called when CausesValidation=true
3005 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3008 implemented: RaisePostBackEvent,
3009 refactoring: GetPostBackOptions used to build onclick client event
3011 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3013 * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
3015 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3017 * BaseValidator.cs: implemented ValidationGroup feature on client side
3018 * ValidationSummary.cs:
3020 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
3022 * TreeView.cs: corrected rendering
3025 2006-09-11 Konstantin Triger <kostat@mainsoft.com>
3027 * Login.cs: ensure the urls are correctly resolved.
3029 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3031 * TreeView.cs: corrected rendering: styles are applied correct
3035 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3037 * TreeView.cs: corrected rendering: HoverNodeStyle works
3041 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3043 * TreeNodeStyle.cs: fixed: ViewState restored properly
3045 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3049 * TableItemStyle.cs:
3050 * DataGridPagerStyle.cs:
3051 refactoring: makes Style class more flexible for inheriting and reuse
3053 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3055 * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked
3056 state restored correct on PostBack.
3059 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3061 * ObjectDataSourceView.cs: correctly find the type when it is not in the
3062 executing assembly. Fixes bug #78321. Patch by Marek Habersack.
3064 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3066 * ControlParameter.cs: fix search for controls so that they use their
3067 NamingContainer, not the Page. Patch by Marek Habersack that fixes
3070 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3072 * Login.cs: fix problem with the login control and master pages.
3073 Patch by Marek Habersack that fixes bug #78219.
3075 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3077 * TreeView.cs: fixed: populating nodes.
3080 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3082 * TreeNode.cs: fixed: ToggleExpandState.
3084 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
3086 * SqlDataSourceView.cs: return DataView from ExecuteSelect when
3087 DataSourceMode is DataSet.
3089 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3091 * TreeView.cs: fixed: populating nodes flow.
3092 * TreeNodeCollection.cs
3095 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3097 * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.
3099 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3101 * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.
3103 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3105 * TreeView.cs: fixed: when specified value is not one of
3106 the TreeNodeTypes values exception is threw.
3108 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3110 * TreeView.cs: fixed: when specified image set is not one of
3111 the TreeViewImageSet values exception is threw.
3113 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
3115 * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.
3117 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
3119 * Style.cs: implemented SetBit().
3121 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3123 * CompareValidator.cs: fixed controltocompare attribute.
3125 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3128 when login attempt was not successful FailureText is shown.
3130 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3132 * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage
3133 is formatted correct.
3135 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3137 * CreateUserWizard.cs:
3138 * CompleteWizardStep.cs:
3139 * CreateUserWizardStep.cs:
3141 fixed: ContinueButtonClick occurs when the user clicks
3142 the Continue button in the final user account creation step.
3143 ContinueDestinationPageUrl - redirected after clicking
3144 the Continue button on the success page.
3146 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3148 * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
3149 insted internal DataControlButton.
3151 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3153 * Button.cs: implemented GetPostBackOptions + refactoring
3155 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3157 * ImageButton.cs: implemented 2.0 features
3158 OnClientClick attached to onclick attribute.
3159 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3160 generate onclick attribute.
3162 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3164 * LinkButton.cs: typo fix
3166 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3168 * Button.cs: refactoring
3170 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3172 * LinkButton.cs: implemented 2.0 features
3173 OnClientClick attached to onclick attribute.
3174 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3177 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
3179 * Button.cs: implemented 2.0 features
3181 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
3183 * Menu.cs: refactoring
3186 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3188 * TreeView.cs: fixed data binding
3190 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3192 * TreeNodeBinding.cs: fixed ToString method
3194 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3196 * MenuItem.cs: typo fix
3198 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3200 * CreateUserWizardStep.cs: fixed validators message display
3202 2006-08-25 Kornél Pál <kornelpal@gmail.com>
3204 * FileUpload.cs: Use assembly name constants.
3206 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3208 * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
3209 always creates ExtractTemplateValuesMethod delegate
3211 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
3213 * TreeNodeBinding.cs: corrected public interface
3216 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3218 * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
3219 case, but there are many others.
3221 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3223 * Menu.cs: corrected rendering of static and dynamic items
3226 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3230 fixed: AddAttributesToRender method calls FillStyleAttributes,
3231 text styles applied correct.
3233 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3236 fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
3237 refactoring: Name and Names properties has same source in bag.
3239 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3241 * Style.cs: restored r63894: for 1.x is refactoring only
3243 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3246 fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
3247 added ClearDefaults method for 2.0.
3249 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3251 * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
3254 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3256 * SubMenuStyle.cs: fixed:
3257 Unit.ToString() already include unit (e.g. "3px")
3259 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3262 * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
3263 submitted for review and it only added tests for the 2.0 profile.
3265 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3267 * FormView.cs: added explicit implementation of
3268 IDataItemContainer.DataItemIndex, as documented
3270 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
3273 When style is registered with StyleSheet AddAttributesToRender method
3274 adds class attribute but not style to writer
3276 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
3279 OnBubleEvent works properly - controls like Button, LinkButton nested into template
3280 can raise MenuItemClick event,
3281 ViewState of Items saved and restored properly.
3283 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
3285 * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
3288 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
3290 * Menu.cs: fixed databinding feature:
3291 ensure that items initialization occurs only once
3293 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
3295 * Menu.cs, MenuItem.cs: fixed databinding feature
3297 2006-08-09 Robert Jordan <robertj@gmx.net>
3299 * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
3300 replace ResolveUrl with ResolveClientUrl to match MS.NET's
3301 behaviour. Fixes bug #77539.
3303 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
3305 * HierarchicalDataBoundControl.cs: fixed DataBind flow
3307 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3313 * WebControl.cs: fixed ParseChildren attribute to be compliant
3316 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3318 * MultiView.cs: fixed: EnableTheming property
3320 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3324 * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
3326 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3328 * Style.cs: fixed restoring FontInfo from ViewState
3330 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3332 * XmlDataSource.cs: implemented caching functionality
3334 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3336 * PagerSettings.cs: Fixed the pager range calculation formula. The old
3337 one didn't work with more than 20 pages. Patch by Marek Habersack that
3340 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3342 * FormView.cs: fixes to make Render more similar to dotnet.
3344 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
3346 * Wizard.cs: fixed return value of OnBubbleEvent
3348 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3350 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
3351 handle null result of GetData().
3353 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3355 * FormView.cs: use TableStyle for ControlStyle.
3357 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3359 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
3361 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3363 * FormView.cs: init DataKeys and fix null reference.
3365 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3367 * TreeView.cs: several changes to improve compatibility with MS.
3368 Patch by Marek Habersack that fixes bug #77551.
3370 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3372 * Style.cs: output the text-decoration value even when it is 'none'.
3373 Patch by Marek Habersack that fixes bug #78968.
3375 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3377 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
3380 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3382 * DetailsViewRowCollection.cs: returns this in SyncRoot.
3384 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3386 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
3389 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3391 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
3393 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3395 * AutoGeneratedField.cs: fix the internal constructor according to test
3396 DetailsView_CreateAutoGenerateRow.
3398 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
3400 * XmlDataSource.cs: implemented XSLT, removed properties from
3402 * XmlDataSourceView.cs: fixed default xpath
3404 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
3406 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
3408 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
3410 * Wizard.cs: fixed ActiveStep property
3411 fixed templated side bar
3413 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3415 * ImageField.cs: fix null reference bug.
3417 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3419 * DetailsView.cs: init DataKey property with empty collection.
3420 * DataKey.cs: fix unexpected exception bug.
3421 * DataControlField.cs: override ToString according to MSDN.
3423 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3425 * DetailsView.cs: create table style in CreateControlStyle.
3427 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3429 * DetailsView.cs: don't throw the exception which .Net does not throw.
3431 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3433 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
3434 to match .Net; fix PageCount to match record count.
3436 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3438 * Menu.cs: fixed properties default values, fixed rendering
3441 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3443 * Wizard.cs: implemented SkipLinkText, TagKey
3444 fixed rendering bugs, fixed templated button bar rendering
3445 fixed side bar rendering
3446 * WizardStepBase.cs: fixed Name property
3448 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3450 * DetailsView.cs: fix the regressions, caused by the previous commit.
3452 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3454 * DetailsView.cs: correct handling the different default values of
3455 DetailsView.CellSpacing and Table.CellSpacing.
3457 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3459 * DetailsView.cs: create a pager row when needed.
3461 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3465 * PagedDataSource.cs:
3468 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
3469 support it. The GridView control will no longer throw an exception when
3470 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
3472 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3474 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
3475 Rows with empty collection; call EnsureChildControls from get Row;
3476 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
3477 implemented IPostBackContainer.GetPostBackOptions.
3479 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3481 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
3482 and FooterText are empty, to match .NET. Otherwise we have NullReference
3485 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3487 * DetailsView.cs: Render fix.
3489 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3491 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
3494 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3496 * DetailsView.cs: NullReferenceException fix
3498 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3500 * PagerSettings.cs: implemented PropertyGhanged event
3502 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3504 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
3505 with .Net; don't throw NotImplemented when base class implementation
3508 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3510 * DetailsViewPagerRow.cs: add a stub for this class
3512 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3514 * GridView: fixed DataKeyNames property, moved to ControlState
3515 fixed PageCount property, initial PageCount ahould be zero
3516 fixed SelectedDataKey, should throw exception if not initialized
3517 fixed CreateColumns, wrong order of columns
3518 fixed CreateControlStyle,
3519 fixed InitializePager, no columnspan attrib on only one column
3520 fixed LoadControlState, SaveControlState added DataKeyNames
3521 fixed Render, RenderGrid should render within div tag
3522 implemented GetPostBackOptions
3523 * DataControlButton.cs: fixed Render, fixed style for img button
3525 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3527 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
3530 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3532 * CommandField.cs: fixed ValidateSupportsCallback
3534 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3536 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
3537 affect the flow yet.
3539 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3541 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
3543 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3545 * WebControl.cs: fix for AddAttributesToRender - add display
3546 style when appropriate
3548 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3550 * CommandField.cs: fixed InitializeCell, wrong order of command
3552 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
3553 should be rendered as label
3554 * BoundField.cs: empty null value should be rendered as nbsp
3555 * GridViewRowCollection.cs: fixed SyncRoot
3557 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3559 * SiteMapPath.cs: create Literal instead of Label according to the
3560 MSDN and test SiteMapPath_InitializeItem.
3562 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3564 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
3565 * Image.cs: in 2.0 there is no border attribute, but border-width
3568 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3570 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
3572 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3574 * DataList.cs: correctly initialize editable items when there's an
3575 EditItemTemplate. Patch by Jarosław Pawlak.
3577 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
3579 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
3582 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3584 * BulletedList.cs: fixed Render, RenderBulletText, various properties
3585 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
3588 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3590 * MultiView.cs: 'initied' state variable was changed to views count in
3591 the views collection.
3593 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3595 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
3596 checkbox should have tooltip
3597 * HyperLinkField.cs: fixed InitializeCell, should create link control
3598 only in data cell (not in header or footer), initialization of
3600 * ImageField.cs: fixed InitializeDataCell, initialization of
3603 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3605 * MultiView.cs: removed exception throwing from ActiveViewIndex
3607 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
3609 * DataControlFieldCollection.cs: added OnClearComplete override;
3610 refactor to eliminate null reference exception.
3612 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3614 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
3615 * View.cs: fixed Visible property
3617 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
3619 * ImageField.cs: fixing .net compliancy.
3621 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
3623 * SiteMapPath.cs: fix the default PathSeparator value.
3625 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3627 * GridView.cs: always create Header/Fotter rows, but render only when
3628 ShowHeader/Footer is true. Compute Header/Footer rows from rows
3630 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
3631 add ToolTip and Text to the created CheckBox,
3632 wrap exception thrown in OnDataBindField in httpException.
3634 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3636 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
3638 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3640 * DataControlField.cs: correct handling empty header/footer text.
3641 * TemplateField.cs: correct initialization according to
3642 DataControlRowState.
3644 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
3646 * Wizard.cs: added functionality for Templated WizardStep
3647 and CreateUserWizard
3648 * added CompleteWizardStep.cs, CreateUserWizard.cs,
3649 CreateUserWizardStep.cs, TemplatedWizardStep.cs
3651 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3653 * AutoGeneratedField.cs: correcting default dataType.
3655 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3657 * DataControlField.cs: fixed Initialize, should always return false
3659 2006-07-03 Lluis Sanchez <lluis@novell.com>
3661 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
3663 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3665 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
3666 setting RequiresDataBinding in OnLoad event.
3667 * GridView.cs: DataBind rows before other control can access the data.
3668 * BoundField.cs: add unique ID to control for postback parameters.
3670 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3672 * WebControl.cs: fix typo in EnableTheming.
3674 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
3676 * MenuItemCollection.cs: save items if the collection is dirty.
3677 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
3678 Add item to collection before binding to let the state be correctly tracked.
3679 * Menu.cs: Add item to collection before binding to let the state be correctly
3682 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
3684 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
3685 test against with "^...$" if necessary. MS.NET does this too.
3687 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
3689 * WizardStepCollection.cs: Fixed Add methods to initialize
3690 WizardStep.Wizard property
3691 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
3692 Fixed GetStepType, if only one step present, it should be FinishStep
3693 Fixed styles of tables for more accurate rendering, fixed Wizard
3696 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
3698 * FormView.cs: instantiate correct template when the bounding data source is
3701 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
3703 * FormView.cs: disabling setting out of range FormView.PageIndex.
3705 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
3707 * FileUpload.cs: added
3709 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
3711 * FormView.cs: handle CssClass attribute
3713 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3715 * Button.cs: do something in PostBackUrl.
3716 * Repeater.cs: when creating the RepeaterItemCollection, initialize
3717 'items' if it hasn't been done yet. Fixes bug #78417.
3719 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
3721 * BaseDataList.cs: added ConnectToDataSource method that called from
3722 OnLoad, fixed GetData method
3723 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
3726 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
3728 * Menu.cs: add CssStyle value to the rendered class attribute
3730 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
3732 * Calendar.cs: Make sure WebControls.Enabled is respected.
3733 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
3734 to 12:00am as MS.NET does the same.
3737 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3739 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
3740 DataSourceViewChanged, looks for a datasource in its parent control
3741 fixed GetData method, should not get data if datasource is null
3743 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
3745 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
3747 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3749 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
3751 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3753 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
3755 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3757 * DataList.cs: Fixed LoadViewState method
3759 2006-05-04 Lluis Sanchez <lluis@novell.com>
3761 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
3763 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3765 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
3767 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3769 * FormView.cs: fix FormView.PageCount after data binding.
3771 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3773 * CheckBox.cs: certain attributes have to be rendered in the input tag,
3774 not the <span>. Fixes bug #71251.
3776 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3778 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
3781 ensure rebinding when FormView.PageIndex is called.
3782 and bind to the correct PageIndex.
3784 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3786 * MenuItem.cs: when binding to IHierarchyData, check whether
3787 it implements INavigateUIData and retrieve NavigateUrl.
3788 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
3790 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
3791 Provide basic CreateChildControls implementation by ensuring the control is bound.
3792 Ensure the child controls are created when the postback event is raised.
3793 Provide default implementation for SkipLinkText to let the default functionality to work.
3795 2006-04-11 Lluis Sanchez <lluis@novell.com>
3797 * TreeNodeBinding.cs: Added HasPropertyValue property
3798 to check if some properties have a value in the
3800 * TreeNode.cs: Lazily get the dataPath. Instead of getting
3801 bound properties when they are requested, get all of
3802 them when the node is bound and store their values in
3803 the state bag. In this way it won't be necessary to
3804 query every time the datasource to get the values.
3805 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
3806 * TreeView.cs: Call base in OnInit(). Bind nodes after
3807 adding them to the list, to properly keep track of
3808 changes. Don't databind in postbacks.
3810 2006-04-11 Chris Toshok <toshok@ximian.com>
3812 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
3814 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3816 * BaseDataList.cs: Fix searching control by DataSourceID.
3817 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
3820 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3822 * Login.cs: Added LayoutTemplate property support.
3823 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
3824 DataBind: correctly bind child controls.
3825 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
3827 2006-03-29 Robert Jordan <robertj@gmx.net>
3829 * DataGrid.cs: if custom paging is enabled the persisted item count
3830 must be the count of the rendered items, otherwise paging from the
3831 last to a previous page won't work correctly. Fixes bug #77556.
3833 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
3835 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
3836 when rendering disabled list control
3838 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3840 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
3842 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
3844 * FontInfo.cs: Implemented ShouldSerializeNames
3846 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3848 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
3850 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3852 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
3854 in PrepareControlHierarchy fixed style applying to AlternatingItem
3856 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
3858 * DataList.cs: fixed RepeatColumns property, added value validation
3859 in PrepareControlHierarchy method fixed style applying for
3860 AlternatingItem, EditItem and Separator item
3861 fixed RenderContents method, if no items exist, no nned to
3862 render emty table strructure.
3864 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3866 * CompareValidator.cs: when searching for the control to compare, use
3867 NamingContainer instead of Page. Fixes bug #77793.
3869 2006-03-15 Chris Toshok <toshok@ximian.com>
3871 * SiteMapPath.cs (InitializeItem): in the Current and Root node
3872 cases, apply the NodeTemplate if it exists and there isn't a
3873 CurrentNodeTemplate or RootNodeTemplate, respectively.
3875 2006-03-15 Chris Toshok <toshok@ximian.com>
3877 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
3879 * SiteMapDataSource.cs (StartingNodeOffset): new property.
3880 (GetStartNode): add code to handle StartNodeOffset < 0.
3882 * CompositeControl.cs
3883 (ICompositeControlDesignerAccessor.RecreateChildControls): just
3884 call the non-iface method.
3886 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
3887 traverse up the naming container tree looking for our datasource
3888 if we're bound using a DataSourceID. This fixes things in the
3889 sitemap1 test, which uses a mixture of templates and
3890 ContentPlaceholders with the sitemapdatasource and sitemappath at
3891 different levels in the naming container tree (let along the
3894 * SiteMapPath.cs (DataBind): implement this by chaining up to
3895 base.DataBind, then by looping over our children, emitting
3896 OnItemDataBound for each SiteMapNodeItem.
3897 (AddAttributesToRender): remove.
3898 (CreateChildControls): call DataBind as the final step here.. I
3899 have, of course, no idea if this is right.
3900 (CreateControlHierarchy): don't databind our children here, as
3901 they need to be in the Controls collection before we do.
3902 (RenderContents): render our accessibility/screenreader stuff
3903 here, if SkipLinkText != "".
3905 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
3907 * DataGridPagerStyle.cs: fixed PrevPageText property
3909 2006-03-13 Chris Toshok <toshok@ximian.com>
3911 * BaseCompareValidator.cs (Convert): make the
3912 ValidationDataType.String case a bit more compact.
3914 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3917 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
3918 Patch by Hubert Fongarnand.
3920 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3922 * FontInfo.cs: fixed CopyFrom, this method should not reset the
3923 received fontinfo if it is the same instance
3924 fixed ToString, corrected output where only font size specified
3926 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3928 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
3929 if it not set but the border has width
3930 fixes in CopyFrom, MergeWith correct unit compare when it has zero
3933 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3935 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
3936 properties of custom class
3937 fixed InitializeNumericPager, pager numbers should be a Label control
3938 fixed CreateControlHierarchy, corrected dataset index of items if
3941 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
3943 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
3945 fixed CreateControlStyle to set correct cellspacing of table style
3946 fixed InitializeItem to correct applying template to selected and
3949 2006-03-08 Chris Toshok <toshok@ximian.com>
3951 * SiteMapNodeType.cs: nuke.
3953 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
3954 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
3955 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
3956 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
3957 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
3958 ValidationCompareOperator.cs, ValidationDataType.cs,
3959 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
3960 [Serializable] in 2.0.
3962 * DayNameFormat.cs: add "Shortest".
3964 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3966 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
3969 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3971 * TextBox.cs: fixed missing value validations, fixed rendering
3972 of empty value attribute
3974 2006-03-07 Chris Toshok <toshok@ximian.com>
3976 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
3977 by chaining up to base.EnableTheming.
3979 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
3981 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
3983 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
3985 * RadioButton.cs: added ValueAttribute property to store the button
3987 * RadioButtonList.cs: fixed tab index when rendering.
3989 2006-03-02 Chris Toshok <toshok@ximian.com>
3991 * WebControl.cs (SkinID): implement setter/getter, and have them
3992 just chain up to base.SkinID.
3994 2006-02-27 Chris Toshok <toshok@ximian.com>
3996 * SqlDataSource.cs: track change to DataSourceControl's protected
3999 * AccessDataSource.cs: same.
4001 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
4003 * ListControl.cs: fixed SelectedIndex property, fixed selection
4004 reset on incorrect value
4006 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
4008 * TableStyle.cs: fixed AddAttributesToRender function, style
4009 BorderCollapse:Collapse was added if table's CellSpacing is zero
4011 2006-02-23 Chris Toshok <toshok@ximian.com>
4013 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
4014 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
4015 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
4016 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
4017 ImageButton.cs, ImageField.cs, Literal.cs,
4018 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
4020 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
4021 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
4022 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
4023 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
4024 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
4025 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
4026 errors. most were caused by a property/method being virtual when
4027 it shouldn't be, or vice versa.
4029 2006-02-22 Chris Toshok <toshok@ximian.com>
4031 * ObjectDataSource.cs: corcompare work.
4033 2006-02-22 Chris Toshok <toshok@ximian.com>
4035 * ParameterCollection.cs: add an EditorAttribute to the class.
4037 * Parameter.cs: cleanup, fix the Value property, and implement the
4040 * SqlDataSourceView.cs: clean things up a bit, and add handling
4043 2006-02-22 Chris Toshok <toshok@ximian.com>
4045 * SqlDataSourceFilteringEventArgs.cs: formatting.
4047 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
4048 both the property and ctor arg.
4050 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
4051 not CommandEventArgs. Also, cast the return value of
4052 oleCommand.ExecuteReader.
4054 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
4056 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
4057 (GetPhysicalDataFilePath): implement, again naively. this is
4058 where the NRE is generated when we access ConnectionString in a
4060 (ConnectionString): dynamically generate this based on our
4062 (DataFile): clear the ConnectionString in the setter so we'll
4064 (ProviderName): use base.ProviderName in the getter, not
4065 this.ProviderName, so we don't recurse infinitely.
4067 * SqlDataSourceView.cs: start reworking this class.
4069 * SqlDataSource.cs (GetDbProviderFactory): implement this,
4070 following the MS docs on the matter (if ProviderName is null/"",
4071 return SqlClientFactory.Instance.)
4072 (GetDbProviderFactoryInternal): add an internal method for use by
4074 (TrackViewState): don't invoke View.TrackViewState unless we have
4076 (Selecting): change event handler type to match MS.
4077 (Filtering): add missing event.
4078 (View): call CreateDataSourceView, don't just create an
4081 2006-02-21 Chris Toshok <toshok@ximian.com>
4083 * BoundField.cs: ues the ViewState.Get* pattern with default
4084 instead of the explicit ViewState lookup + null check, and fix the
4085 scope of InitializeDataCell.
4087 * ButtonField.cs: ues the ViewState.Get* pattern with default
4088 instead of the explicit ViewState lookup + null check.
4090 * CommandField.cs: same.
4092 * CheckBox.cs: same.
4094 * AutoGeneratedFieldProperties.cs: same.
4096 * BaseDataList.cs: same.
4098 * CircleHotSpot.cs: same.
4100 * BulletedList.cs: same.
4102 * DataBoundControl.cs: same.
4104 * CookieParameter.cs: same.
4106 * ControlParameter.cs: same.
4108 * CustomValidator.cs: same.
4110 * ButtonFieldBase.cs: same.
4112 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
4114 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
4116 * BaseValidator.cs: same, and clean up the getter/setter formatting.
4118 * CompareValidator.cs: same.
4120 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4122 * ListControl.cs: fixed DataSource property, to throw
4123 ArgumentException on incorrect value
4125 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4127 * Image.cs: fixed missing border="0" attribute, when image has style,
4128 but border width is not specified.
4130 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4132 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
4133 correct the "disabled" attribute in CheckBoxList
4134 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
4135 attribute in CheckBoxList
4137 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4139 * CheckBox.cs: fixed Render function, removed rendering of empty
4140 <span> element if ControlStyleCreated but it's empty.
4141 fixed "disabled" attribute, it should be placed into span element
4143 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4145 * BoundColumn.cs: fixed InitializeCell function, if DataField is
4146 null or empty string, the cell should not be bound.
4148 2006-02-08 Chris Toshok <toshok@ximian.com>
4150 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
4151 AppendDataBoundItems != false. Also, split all the databinding
4152 logic out to DoDataBinding, which we call from here only if
4154 (DoDataBinding): new function. actually perform the binding.
4155 (PerformDataBinding): implement.
4156 (PerformSelect): chain up to base class.
4158 2006-02-07 Chris Toshok <toshok@ximian.com>
4160 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
4162 * Content.cs: use ContentControlBuilderInternal, and add a bunch
4163 of unused (for now) EventHandler's here.
4165 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
4168 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4170 * ListControl.cs: bound checking for Items when loading the control
4171 state, as the number might have been changed on the fly. Patch by
4174 2006-01-22 Chris Toshok <toshok@ximian.com>
4176 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
4178 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
4179 the intended comparison right and quiet mcs.
4181 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4183 * Button.cs: Add semicolon after client script if does not exist.
4185 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4187 * Button.cs: preserve user logic when adding client validation.
4189 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4191 * BaseValidator.cs: fixing visibility bahavior
4193 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4195 * RangeValidator.cs: allow empty data from the control. Patch from Marek
4196 Habersack that fixes bug #77239.
4198 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4200 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
4201 by Cyrille Colin. Closes bug #77184.
4203 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
4205 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
4206 compilation pass with csc 1.1.
4208 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4210 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
4212 2005-12-07 Chris Toshok <toshok@ximian.com>
4214 * BaseValidator.cs: in the uplevel rendering case, don't render
4215 the text if the validator's Display attribute is "None". Should
4218 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4220 * RadioButton.cs: if the 'value' attribute is set explicitly (as
4221 RadioButtonList does now), use that as the 'name' attribute.
4222 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
4227 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4229 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
4230 the 'name' attribute when not aligninng to the right.
4231 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
4232 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
4234 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4236 * DataGrid.cs: clear the control collection on every call to
4237 CreateControlHierarchy. Fixes bug #76732.
4239 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4241 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
4243 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4245 * CheckBox.cs: use the NameAttribute property for setting 'name'.
4246 * RadioButton.cs: get a UniqueID based identifier for 'name'.
4249 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4251 * LinkButton.cs: don't output any javascript when the linkbutton is
4252 disabled. Fixes bug #76713.
4254 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4256 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
4257 UseAccesibleHeader property is true. Patch by Robert Jordan.
4259 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4261 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
4262 control to validate. Fixes bug #76641.
4264 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4266 * BoundColumn.cs: when the column is readonly and we're in edit mode,
4267 keep it as a TextBox. Fixes bug #76714.
4269 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4271 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
4272 enabled. Fixes bug #76608.
4274 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4276 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
4277 the logic to Render and make it render the ID, which fixes bug #76596.
4279 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4281 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
4283 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4285 * Literal.cs: allow LiteralControl as child, but instead of adding it
4286 to the control collection, it just gets the Text out of it.
4288 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4290 * PagedDataSource.cs: fix range when we're at the last page.
4291 * DataGrid.cs: only need to keep the item count in the viewstate.
4294 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4296 * ListControl.cs: made GetSelectedIndices() internal.
4297 * ListBox.cs: html-encode the item text. Fixed single and multiple
4298 selection handling. All the tests pass now. Closes bug #76478.
4300 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4302 * ListControl.cs: throw when the selected value is not in the
4303 items collection. Fixes bug #76415.
4305 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4307 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
4308 throw a nullref, so we have to do it by ourselves here to make
4311 * BaseValidator.cs: render the text of the error message even if
4312 we set IsValid programatically. Don't use 'valid' directly, as
4317 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4319 * CustomValidator.cs: an empty ControlToValidate is valid.
4321 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
4323 * RequiredFieldValidator.cs: Added missing permissions.
4325 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4327 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
4328 Now the items get the attributes from the styles in datalist. Add the
4329 separators after each item, not before. GetItemStyle returns the actual
4330 item style, not the styles in the datalist. Fixes bug #76384 and all
4333 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4335 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
4338 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4340 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
4343 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
4345 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
4346 inheritance demands.
4347 * FontUnit.cs: Structs are sealed so there's no need for inheritance
4349 * Unit.cs: Structs are sealed so there's no need for inheritance
4352 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4354 * PagedDataSource.cs: fix the upper bound for collection and ilist
4357 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4359 * DataGrid.cs: change the ListItemType for the item selected, set
4360 SelectedIndex before calling OnSelectedIndexChanged and set the selected
4361 item type correctly when creating the columns. Fixes bug #76334.
4364 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
4365 selecting the row, the button keep the regular link color.
4367 * DataGridColumn.cs: made the class internal.
4369 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4371 * DataGrid.cs: fix breakaga of alternating item style in one of my
4374 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4376 * Calendar.cs: remove Console.
4377 * ListBox.cs: the name is the UniqueID, not the ClientID.
4378 * WebControl.cs: Attributes is case insensitive.
4380 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4382 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
4383 UniqueID without appending a ".x" or ".y". Fixes several issues in
4384 mojoPortal. Thanks to Joe Audetter for his patience.
4386 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4388 * ButtonColumn.cs: it was lacking databinding, so copied most of it
4391 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4393 * FontInfo.cs: removed useless ctor.
4394 * Style.cs: keep here some commented out debugging code.
4395 * DataGrid.cs: the Items property does not create a new arraylist if
4396 the items_list was already initialized. Add case for Separator.
4397 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
4398 in the header columns has a special ForeColor handling.
4400 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4402 * DataGrid.cs: PageCount must persist in ViewState too and returns the
4403 number of pages in the paged data source once we set that. Fix checks
4404 for visibility of the pager: no more 2 pagers when custom paging is
4407 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4409 * ImageButton.cs: fix a bug reported on the list. We were triggering the
4410 command event on every POST. And the 'name' attribute was not being
4411 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
4412 and we couldn't find the values.
4414 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4416 * DataGrid.cs: fix the links for the numeric pager.
4418 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4420 * DataGrid.cs: when paging is enable, the actual number of items is not
4421 the number of items rendered before the postback, but that number times
4422 the number of pages. Now we store the page count in the viewstate. Also,
4423 as the number might be big, don't allocate an array of objects to fake
4424 the collection for the PagedDataSource, but use the new NCollection
4425 class instead, which provides cheap (memory wise) enumerator for an
4426 arbitrary number of items. Thanks to "Adriano" for the test case.
4428 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4430 * Xml.cs: the show must go on. Removed a few NotImplemented.
4432 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4434 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
4435 existing code in 1.1 (or viceversa). RenderContents() does nothing.
4437 * DataGrid.cs: changed autoid api.
4439 * EditCommandColumn.cs: only 'Update' causes validation.
4441 * TableCell.cs: changed autoid api. RenderContents checks the number
4442 of controls to decide what to do, not the value of Text in the
4445 * TableRow.cs: changed autoid api.
4447 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
4448 event. When we get an EditItem, we need a TextBox to be created and
4449 this one will be the one that gets the event. Changed
4450 ItemDataBinding to deal with a TextBox too.
4452 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4454 * PagedDataSource.cs: fix IsLastPage. All tests pass.
4455 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
4456 need to keep the old one in a field. Now all tests pass here too.
4458 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4460 * PagedDataSource.cs: don't use the properties when they just return a
4461 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
4462 before ICollection (otherwise, an IList will always fall under the
4463 ICollection case). The enumerator for lists will be empty if 'start'
4464 is beyond the list size. All existing tests pass, but one in
4465 DataGridTest that fails because of some problem with the paging.
4467 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4469 * Style.cs: fix the 2.0 build.
4471 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4473 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
4474 instead write the style attributes directly to the HtmlTextWriter.
4476 * CheckBox.cs: adapted to new API.
4478 * DataGrid.cs: handle null data sources. Fixed the contions that make
4479 the table to be added to the Controls collection.
4481 * Calendar.cs: the table needed an ID and the attributes from the
4482 parent. Also don't create the ControlStyleCollection if it has not
4483 already been created.
4485 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4487 * DataGrid.cs: handle null data sources. Fixed the contions that make
4488 the table to be added to the Controls collection.
4490 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4492 * Calendar.cs: TrackViewState should be called upon creation, not on
4493 every get_XXX call. Cleanup.
4495 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4497 * DataGrid.cs: fix another test. The ID of the table generated by the
4498 datagrid is set to the one on the datagrid if no one set the ID for the
4501 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4503 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
4506 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4508 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
4509 converted to string as X{1,2}-.*. All FontUnitTests pass now.
4510 * Unit.cs: throw a format exception when there's not number or minus
4511 sign in the first non-whitespace character.
4513 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4515 * ListControl.cs: SelectedIndex/SelectedValue can be set before
4516 DataBinding () is called on the control, so we have to keep this values
4517 around and use them after the data is read. If both properties are
4518 used, they must refer to the same item.
4520 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4522 * DataList.cs: fill in the data keys from BaseDataList so that the
4523 events can see them. Only assign DataItem when using data binding and
4524 nullify it after all events are raised.
4526 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4528 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
4531 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4533 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
4535 * DataGrid.cs: Fix TagKey (table) for 2.0.
4536 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
4537 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
4539 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
4541 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
4542 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
4544 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
4546 * TreeView.cs: Added declarative security (Link and Inheritance
4547 demands) for Minimal.
4548 * XmlDataSource.cs: Added declarative security (Link and Inheritance
4549 demands) for Minimal.
4551 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4553 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
4554 Inheritance demands) for Minimal.
4555 * Label.cs: Added declarative security (Link and Inheritance demands)
4557 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
4558 * ListItemCollection.cs: Added declarative security (LinkDemands) for
4560 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
4561 2.0, Inheritance demands) for Minimal.
4562 * PagedDataSource.cs: Added declarative security (LinkDemands) for
4564 * Panel.cs: Added declarative security (Link and Inheritance demands)
4566 * Repeater.cs: Added declarative security (Link and Inheritance
4567 demands) for Minimal.
4568 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
4569 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
4571 * TargetConverter.cs: Added declarative security (Link and Inheritance
4572 demands) for Minimal.
4573 * Unit.cs: Added, but only for 1.x, declarative security (Link and
4574 Inheritance demands) for Minimal.
4575 * ValidatedControlConverter.cs: Added declarative security (Link and
4576 Inheritance demands) for Minimal.
4577 * WebColorConverter.cs: Added declarative security (Link and
4578 Inheritance demands) for Minimal.
4579 * Xml.cs: Added declarative security (Link and Inheritance demands)
4581 * ValidationSummary.cs: Added declarative security (Link and
4582 Inheritance demands) for Minimal.
4584 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4586 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
4588 2005-09-22 Ben Maurer <bmaurer@ximian.com>
4590 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
4591 it took O(height) time, not O(1).
4593 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4595 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
4597 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4599 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
4600 2.0, Inheritance demands) for Minimal.
4601 * BaseCompareValidator.cs: Added declarative security (Link and
4602 Inheritance demands) for Minimal.
4603 * BaseDataBoundControl.cs: Added declarative security (Link and
4604 Inheritance demands) for Minimal.
4605 * BaseValidator.cs: Added declarative security (Link and Inheritance
4606 demands) for Minimal.
4607 * BoundColumn.cs: Added declarative security (Link and Inheritance
4608 demands) for Minimal.
4609 * ButtonColumn.cs: Added declarative security (Link and Inheritance
4610 demands) for Minimal.
4611 * CalendarDay.cs: Added declarative security (Link and Inheritance
4612 demands) for Minimal.
4613 * CheckBoxList.cs: Added declarative security (Link and Inheritance
4614 demands) for Minimal.
4615 * CompareValidator.cs: Added declarative security (Link and
4616 Inheritance demands) for Minimal.
4617 * CustomValidator.cs: Added declarative security (Link and Inheritance
4618 demands) for Minimal.
4619 * DataBoundControl.cs: Added declarative security (Link and
4620 Inheritance demands) for Minimal.
4621 * DataGridItemCollection.cs: Added declarative security (Link and
4622 Inheritance demands) for Minimal.
4623 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
4625 * DataListItemCollection.cs: Added declarative security (LinkDemands)
4627 * DataListItem.cs: Added declarative security (Link and Inheritance
4628 demands) for Minimal.
4629 * FontNamesConverter.cs: Added declarative security (Link and
4630 Inheritance demands) for Minimal.
4631 * HyperLink.cs: Added declarative security (Link and Inheritance
4632 demands) for Minimal.
4633 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
4634 demands) for Minimal.
4635 * Image.cs: Added declarative security (Link and Inheritance demands)
4638 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4640 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
4642 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
4643 a data source, first try reflection, then componentmodel. If we get
4644 an enumerator, keep it around, as MS only calls GetEnumerator once.
4645 Throw an exception if no columns can be created from the given data
4646 source. Tested with DbDataRecord, DataTable, ArrayList and
4647 ICustomTypeDescriptor.
4649 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
4651 * AccessDataSource.cs: Added declarative security (Link and Inheritance
4652 demands) for Minimal. Added [ToolboxBitmap] on class.
4653 * AdRotator.cs: Added declarative security (Link and Inheritance
4654 demands) for Minimal. Removed extra Page and ViewState properties.
4655 * BulletedList.cs: Added declarative security (Link and Inheritance
4656 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4657 * Button.cs: Added declarative security (Link and Inheritance demands)
4658 for Minimal. Added [SupportsEventValidation] on class (2.0).
4659 * Calendar.cs: Added declarative security (Link and Inheritance
4660 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4661 * CheckBox.cs: Added declarative security (Link and Inheritance
4662 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4663 * CompositeControl.cs: Added declarative security (Link and Inheritance
4664 demands) for Minimal. Added new protected RecreateChildControls method.
4665 * DataControlCommands.cs: Added declarative security (LinkDemands) for
4666 Minimal. Added private ctor.
4667 * DataGrid.cs: Added declarative security (Link and Inheritance
4668 demands) for Minimal. Fixed properties for 2.0 (mostly removing
4669 [Bindable]). Added override for TagKey property.
4670 * DataGridColumn.cs: Added declarative security (Link and Inheritance
4671 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
4672 * DataGridItem.cs: Added declarative security (Link and Inheritance
4673 demands) for Minimal. Added IDataItemContainer interface for 2.0.
4674 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
4675 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
4676 * DataList.cs: Removed [Load|Save]ControlState methods.
4677 * DropDownList.cs: Added declarative security (Link and Inheritance
4678 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4679 * EditCommandColumn.cs: Added declarative security (Link and
4680 Inheritance demands) for Minimal. Added missing attributes,
4681 [DefaultValue] and [Localize] for 2.0.
4682 * FontInfo.cs: Added declarative security (Link and Inheritance
4683 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
4685 * Login.cs: Added declarative security (Link and Inheritance demands)
4686 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
4687 * ImageButton.cs: Added declarative security (Link and Inheritance
4688 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4689 * LinkButton.cs: Added declarative security (Link and Inheritance
4690 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4691 * ListBox.cs: Added declarative security (Link and Inheritance demands)
4692 for Minimal. Added [SupportsEventValidation] on class (2.0).
4693 * Literal.cs: Added declarative security (Link and Inheritance demands)
4694 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
4695 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
4696 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
4697 but will be shown as extra).
4698 * RadioButton.cs: Added declarative security (Link and Inheritance
4699 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4700 * RadioButtonList.cs: Added declarative security (Link and Inheritance
4701 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4702 * RangeValidator.cs: Added declarative security (Link and Inheritance
4703 demands) for Minimal. Added missing [Themeable] attributes.
4704 * RegularExpressionValidator.cs: Added declarative security (Link and
4705 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
4707 * RoleGroupCollection.cs: Added declarative security (Link and
4708 Inheritance demands) for Minimal. Fixed base class (changed in RC).
4709 Re-implemented CopyTo. Removed some methods.
4710 * Style.cs: Added declarative security (Link and Inheritance demands)
4711 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
4712 is now public in 2.0.
4713 * Table.cs: Added declarative security (Link and Inheritance demands)
4714 for Minimal. Added [SupportsEventValidation] on class (2.0).
4715 * TableCell.cs: Fixed PersistenceMode for 2.0.
4716 * TextBox.cs: Added declarative security (Link and Inheritance demands)
4717 for Minimal. Added [SupportsEventValidation] on class (2.0).
4718 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
4719 but will be shown as extra).
4720 * WebControl.cs: Added declarative security (Link and Inheritance
4721 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
4724 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4726 * TableStyle.cs: fixed typo that prevented restoring GridLines from
4729 * DataGrid.cs: the table does not get an auto ID. When restoring from
4730 viewstate, use all the saved columns, not just that data bound ones. Set
4731 the owner of the BoundColumns created. Save/restore columns.
4732 OnItemCreated happens after the item is initialized and the data item is
4733 set before the event and nullified after OnItemDataBound.
4734 Add the render_table to the Controls immediately, otherwise we might get
4735 errors from child controls such as "must be rendered inside a form".
4736 Keep the items created in the list waiting for them.
4737 The table uses the attributes from the DataGrid and ControlStyle.
4738 Raise OnItemCommand on all bubble events and don't propagate bubble
4739 event up in the hierarchy
4741 * TableCell.cs: it does not get an automatic ID.
4742 * BoundColumn.cs: FormatDataValue returns an empty string on null input
4743 (there was already a test for this).
4747 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4749 * DataGridColumnCollection.cs: track the view state in the newly added
4752 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4754 * DataGrid.cs: merge column styles too. Fixes bug #76106.
4755 * DataGridColumn.cs: new internal method to retrieve the styles without
4756 creating an instance for them.
4758 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
4760 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
4761 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
4762 StateBag.SetDirty (true).
4764 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
4766 * Menu.cs: Fixed parameter orders for CreateStyleRule.
4768 2005-09-13 Chris Toshok <toshok@ximian.com>
4770 * Style.cs: corcompare stuff.
4772 * RequiredFieldValidator.cs: more corcompare stuff.
4774 * CheckBoxList.cs: clean up some of the interface methods vs
4775 protected virtual 2.0 calls.
4777 * SubMenuStyle.cs: corcompare says this should implement
4778 ICustomTypeDescriptor... sooo, make it.
4780 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4782 * TableCell.cs: do the same as HyperLink and others in
4783 AddParsedSubobject so that adding a literal control does not remove the
4784 existing controls if any. Fixes bug #76078.
4786 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4788 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
4790 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4792 * ImageButton.cs: fix invalid cast exception.
4794 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4796 * ListItem.cs: throw in AddParsedSubObject if the object is not a
4798 * RadioButtonList.cs: implemented LoadPostData and
4799 RaisePostDataChangedEvent.
4801 2005-09-09 Chris Toshok <toshok@ximian.com>
4803 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
4804 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
4805 LoadPostData/RaisePostDataChangedEvent.
4807 2005-09-09 Chris Toshok <toshok@ximian.com>
4809 * FontInfo.cs (IsEmpty): new internal property, used by
4812 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
4815 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4817 * ListItemCollection.cs: remove obsoleted methods.
4818 * ListBox.cs: use IStateManager on the item collection.
4820 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
4822 * Use C# 1.0 style of delegate instantiating. Needed to compile
4823 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
4825 2005-09-07 Chris Toshok <toshok@ximian.com>
4827 * Calendar.cs (WriteDay): always add BackColor=Silver,
4828 ForeColor=White to selected day cells, before copying over the
4829 selectedDayStyle, if it exists.
4830 (WriteDays): fix nunit test - if the first day of the month falls
4831 on the first day of the week, go back one week (effectively adding
4832 a row of dates from the previous month.)
4833 (WriteTitle): don't copy the control style to the tableTitle,
4834 since it might have height specifications, which would make the
4835 title look rather off.
4837 2005-09-07 Chris Toshok <toshok@ximian.com>
4839 * ValidationSummary.cs (AddAttributesToRender): we only set
4840 display=none if there are no errors.
4842 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
4843 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
4845 2005-09-07 Chris Toshok <toshok@ximian.com>
4847 * ListControl.cs (SelectedIndex): add comment about how you'd
4848 think OnSelectedIndexChanged would be called.. and you'd be wrong.
4849 (Text): implement in terms of SelectedValue.
4850 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
4851 (LoadControlState): implement - this is where the selected index
4852 ArrayList gets stuffed in 2.0.
4853 (OnInit): call Page.RegisterRequiresControlState.
4854 (OnTextChanged): implement.
4855 (RenderContents): for now just chain up to base.RenderContents.
4856 (SaveControlState): save our control state properly.
4857 (GetSelectedIndices): split this out from SaveViewState to it can
4858 be used by both that and SaveControlState.
4859 (SaveViewState): mangle this function so it works in both 2.0 and
4861 (LoadViewState): same.
4863 2005-09-06 Chris Toshok <toshok@ximian.com>
4865 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
4866 we weren't assigned an ID.
4868 * ValidationSummary.cs (AddAttributesToRender): same.
4870 2005-09-06 Chris Toshok <toshok@ximian.com>
4872 * WebControl.cs: revert the last change.
4874 2005-09-06 Chris Toshok <toshok@ximian.com>
4876 * WebControl.cs (AddAttributesToRender): always render ClientID.
4878 * ValidationSummary.cs (Render): same.
4880 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
4883 2005-09-06 Chris Toshok <toshok@ximian.com>
4885 * ValidationSummary.cs (Render): only do the JS stuff when the
4886 validators on the page are uplevel.
4888 * BaseValidator.cs (Render): remove unnecessary comment.
4890 2005-09-05 Chris Toshok <toshok@ximian.com>
4892 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
4893 stored in the ViewState.
4895 2005-09-02 Chris Toshok <toshok@ximian.com>
4897 * Repeater.cs (GetData): change this slightly so the Repeater
4898 doesn't keep a ref to the return value of GetData.
4900 2005-09-01 Chris Toshok <toshok@ximian.com>
4902 * ListControl.cs (AppendDataBoundItems): implement (2.0)
4905 2005-09-01 Chris Toshok <toshok@ximian.com>
4907 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
4908 System.Web.UI.WebControls/ValidatedControlConverter.cs,
4909 System.Web.UI.WebControls/Xml.cs,
4910 System.Web.UI.WebControls/RegularExpressionValidator.cs,
4911 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
4912 System.Web.UI.WebControls/Menu.cs,
4913 System.Web.UI.WebControls/MailMessageEventArgs.cs,
4914 System.Web.UI.WebControls/MenuItemStyle.cs,
4915 System.Web.UI.WebControls/RangeValidator.cs,
4916 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
4917 System.Web.UI.WebControls/MenuItem.cs,
4918 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
4919 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
4920 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
4921 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
4922 System.Web.UI.WebControls/XmlBuilder.cs,
4923 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
4926 2005-09-01 Chris Toshok <toshok@ximian.com>
4928 * System.Web.UI.WebControls/Button.cs,
4929 System.Web.UI.WebControls/ButtonField.cs,
4930 System.Web.UI.WebControls/DataControlField.cs,
4931 System.Web.UI.WebControls/BaseCompareValidator.cs,
4932 System.Web.UI.WebControls/AutoGeneratedField.cs,
4933 System.Web.UI.WebControls/CustomValidator.cs,
4934 System.Web.UI.WebControls/Content.cs,
4935 System.Web.UI.WebControls/BoundField.cs,
4936 System.Web.UI.WebControls/AdRotator.cs,
4937 System.Web.UI.WebControls/ButtonColumn.cs,
4938 System.Web.UI.WebControls/CompareValidator.cs,
4939 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
4940 work. Stub things out, and add attributes.
4942 2005-09-01 Chris Toshok <toshok@ximian.com>
4944 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
4945 CommandField.cs, HyperLinkColumn.cs, Table.cs,
4946 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
4947 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
4948 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
4949 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
4950 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
4951 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
4952 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
4953 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
4954 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
4955 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
4956 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
4957 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
4958 TableItemStyle.cs: Add some WebCategory and WebSysDescription
4961 2005-09-01 Chris Toshok <toshok@ximian.com>
4963 * AccessDataSource.cs: corcompare work.
4965 * SqlDataSource.cs: same.
4967 2005-09-01 Miguel de Icaza <miguel@novell.com>
4969 * Various places: make sure that the DefaultValue matches the
4970 type. Thanks to Michael for pointing this out.
4972 In future audits, you might want to use the following awk command:
4974 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
4975 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
4976 print $0; looking = 0; } /public/ && looking { looking = 0; } '
4979 The above skips bools, strings and ints as those were fine as we
4980 set them. The bug was on the other ones.
4982 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4984 * Repeater.cs: fix the build.
4986 2005-08-31 Chris Toshok <toshok@ximian.com>
4988 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
4989 {Base}DataList, and also from debug spew garnered from some
4990 Repeater subclass tests on MS.
4991 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
4992 the IEnumerable by calling GetData().
4993 (DataBind): reset RequiresDataBinding to false (2.0).
4994 (DataMember): copy the set implementation from DataList, and add
4995 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
4996 (DataSource): more c&p.
4997 (DataSourceID); implement (2.0)
4998 (Initialized): implement (2.0)
4999 (IsBoundUsingDataSource): implement (2.0)
5000 (RequiresDataBinding): implement (2.0)
5001 (SelectArguments): implement (2.0)
5002 (CreateDataSourceSelectArguments): implement (2.0)
5003 (EnsureDataBound): implement (2.0)
5004 (GetData): implement.
5005 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
5007 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
5008 leave the MonoTODO. (2.0)
5009 (OnInit): call base.OnInit instead of throwing NIE, but leave the
5011 (OnLoad): implement.
5012 (OnPreRender): implement.
5013 (ConnectToDataSource): new method - look for the right control.
5015 2005-08-31 Chris Toshok <toshok@ximian.com>
5017 * XmlDataSourceView.cs: fix the scope of our select. Don't use
5018 call SelectNodes on the XmlDocument, not on
5019 XmlDocument.DocumentElement.
5021 2005-08-31 Chris Toshok <toshok@ximian.com>
5023 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
5024 (DoXPathSelect): put the xpath selection stuff here.
5025 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
5028 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
5029 select here, the view does it.
5031 2005-08-31 Jackson Harper <jackson@ximian.com>
5033 * DataList.cs: Remove some debugging code that was starting to bug
5036 2005-08-31 Chris Toshok <toshok@ximian.com>
5038 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
5039 create our Navigator by calling node.CreateNavigator().
5041 2005-08-31 Chris Toshok <toshok@ximian.com>
5043 * XmlDataSource.cs (GetXmlDataDocument): rename this to
5044 GetXmlDocument, and change the return value from XmlDataDocument
5046 (LoadXmlDataDocument): similar change.
5047 (Save): xmlDataDocument -> xmlDocument.
5048 (CanBeSaved): there's no ReadOnly attribute.
5049 (LoadViewState, SaveViewState, TrackViewState): nuke.
5050 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
5051 (CacheDuration): stub out with NIE.
5052 (CacheExpirationPolocy): same.
5053 (CacheKeyDependency): same.
5054 (EnableCaching): same.
5056 (Data, DataFile): xmlDataDocument -> xmlDocument.
5057 (Schema, SchemaFile): nuke.
5058 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
5060 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
5062 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
5063 Don't use the obsolete IsSet method.
5064 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
5065 * CheckBox.cs: Implement some 2.0 methods.
5066 * GridView.cs: Removed some "throw new NotImplementedException"
5068 2005-08-29 Chris Toshok <toshok@ximian.com>
5070 * TreeView.cs: Use the StateBag accessors Ben added, and implement
5071 SkipLinkText and Visible.
5073 2005-08-29 Chris Toshok <toshok@ximian.com>
5075 * TreeView.cs: fix typo in an attribute.
5077 2005-08-29 Jackson Harper <jackson@ximian.com>
5079 * PagedDataSource.cs: If it's not a list or collection we don't
5080 use a bounded enumerator.
5082 2005-08-29 Chris Toshok <toshok@ximian.com>
5084 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
5086 * CheckBox.cs: same.
5088 * BaseValidator.cs: same.
5090 * DropDownList.cs: same.
5092 * ValidationSummary.cs: same.
5094 2005-08-28 Chris Toshok <toshok@ximian.com>
5096 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
5098 2005-08-26 Chris Toshok <toshok@ximian.com>
5100 * TextBox.cs: implement ValidationGroup and CausesValidation
5103 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
5105 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
5108 2005-08-26 Chris Toshok <toshok@ximian.com>
5110 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
5112 * FontUnit.cs: add two 2.0 ctors, and the 2.0
5113 ToString(IFormatProvider) method.
5115 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
5117 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
5118 no items are present in the list.
5119 * RoleGroup.cs: Added missing attributes.
5120 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
5121 documented) methods.
5122 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
5123 must be done in the HtmlTextWriter (not in the TableStyle).
5125 2005-08-26 Chris Toshok <toshok@ximian.com>
5127 * Calendar.cs (UseAccessibleHeader): implement.
5128 (RaisePostBackEvent): some #ifdef ugliness to get this all working
5129 propertly between 1.x and 2.0
5130 (WriteDayHeader): if UseAccessibleHeader == true, render header
5131 cells as th's, not td's, and add abbr and scope attributes.
5133 2005-08-25 Chris Toshok <toshok@ximian.com>
5135 * Calendar.cs (Caption, CaptionAlign): implement these properties.
5136 (Render): if we have a non-empty caption, show it.
5137 (WriteCaption): new method, output the caption.
5139 2005-08-25 Chris Toshok <toshok@ximian.com>
5141 * Calendar.cs (Render): Copy the entire style from the Calendar to
5142 the Table, not just the font.
5143 (WriteDay): don't just write the link/text/etc. Create a
5144 LiteralControl as a child of the cell, before the call to
5145 OnDayRender, with its text set to the day number. After
5146 OnDayRender, set the literal's text to either the number again (if
5147 it's not selectable) or the full text of the js __doPostBack
5148 hyperlink (if it is.) Also, use cell.RenderControl here so we can
5149 render child controls with the id's listed properly (and arguably
5151 (ApplyTitleStyleCell): remove.
5152 (WriteTitle): apply the titleStyle to the enclosing table, not the
5153 table cell containing the month name. Also, copy from the
5154 Calendar's ControlStyle to populate tableTitle's style initially.
5155 We end up with more (superfluous) style attributes than MS, but
5156 it's better than having less.
5158 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5160 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
5163 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5165 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
5166 and RegisteredCssClass property
5168 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5170 * LoginView.cs: Fixed attributes.
5171 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
5172 an exception to allow pages to work on 2.x.
5174 2005-08-25 Chris Toshok <toshok@ximian.com>
5176 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
5178 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
5181 * HiddenField.cs: stub out this class and label everything
5184 2005-08-25 Jackson Harper <jackson@ximian.com>
5186 * DataGrid.cs: Disable the pager row if there no paging enabled
5189 2005-08-25 Chris Toshok <toshok@ximian.com>
5191 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
5194 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
5195 add a using statement.
5197 2005-08-25 Chris Toshok <toshok@ximian.com>
5199 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
5202 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
5205 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5207 * Login.cs: Added rendering and fixed parts of the authentication.
5208 Now using IStateManager to allow compilation in another assembly (e.g.
5209 to test the control under IIS). Needs more tests (error conditions)
5210 once we get a "real" Membership provider running.
5211 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
5214 2005-08-25 Chris Toshok <toshok@ximian.com>
5216 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
5218 2005-08-25 Chris Toshok <toshok@ximian.com>
5220 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
5221 calling base.Foo to get the standalone adrotator (1.0) tests to
5222 run without throwing exceptions.
5224 2005-08-25 Chris Toshok <toshok@ximian.com>
5226 * ValidationSummary.cs (ValidationGroup): implement.
5227 (Render): use Page.GetValidators in .net 2.0, so we can support
5228 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
5231 2005-08-25 Chris Toshok <toshok@ximian.com>
5233 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
5234 2.0 attribute modifiers, and revert back to "override".
5236 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
5237 2.0 attribute modifiers, and revert back to "override".
5238 (BorderStyle): same.
5239 (BorderWidth): same.
5241 * TextBox.cs (SaveViewState): implement naively, calling
5243 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
5244 modifiers, and revert back to "override".
5246 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5248 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
5249 Load ViewState for derived classes; no public LoadViewState override
5250 exists in those classes
5251 * Style.cs: Added 2.0 IsStyleEmpty method
5253 2005-08-25 Jackson Harper <jackson@ximian.com>
5255 * DataGrid.cs: The number of pages set in the pager is specified
5258 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5260 * LoginView.cs: New (2.0). Work in progress.
5262 2005-08-24 Chris Toshok <toshok@ximian.com>
5264 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
5265 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
5266 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
5267 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
5268 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
5269 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
5270 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
5271 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
5272 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
5273 Add MonoTODO's for all things that throw NotImplementException.
5275 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
5277 * RoleGroup.cs: New (2.0). Complete implementation.
5278 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
5280 2005-08-23 Chris Toshok <toshok@ximian.com>
5282 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
5283 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
5284 even though they were written for the 1.0 stuff.
5286 2005-08-23 Chris Toshok <toshok@ximian.com>
5288 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
5289 output. Our tests now pass on both mono and ms, with both 1.x and
5292 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
5294 * Login.cs: Throw exception if the specified provider doesn't exists.
5295 * LoginStatus.cs: Complete events.
5297 2005-08-22 Jackson Harper <jackson@ximian.com>
5299 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
5301 (InitializeNumericPager): Now that the pager actually renders
5302 properly I can see that I was computing it incorrectly.
5304 2005-08-22 Jackson Harper <jackson@ximian.com>
5306 * DataGrid.cs (RenderTable): Make sure the new table gets the
5308 (CreateColumnSet): Clear the data source columnbs before adding
5309 new ones regardless of whether or not a property descriptor was
5311 (InitializePager): pager_cell needs to be a member so it isn't
5312 created more then once per a render.
5313 (InitializeNumericPager): Compute start and end more
5315 - Link commands are 1 indexed.
5316 (CreateControlHierarchy): Clear the table before we begin
5318 - Revert patch that made adding the pagers conditional. This is
5319 incorrect, the pagers are always added. Only their visibility is
5320 affected by the pager style.
5321 - Save the entire count in the viewstate, not just the rendered
5322 count. So when paging is enabled the pager's count isn't broken by
5325 2005-08-22 Chris Toshok <toshok@ximian.com>
5327 * LinkButton.cs (ValidationGroup): implement.
5328 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
5329 pass ValidationGroup to Page.Validate.
5331 2005-08-22 Chris Toshok <toshok@ximian.com>
5333 * ImageButton.cs (ValidationGroup): implement.
5334 (IPostBackEventHandler.RaisePostBackEvent): if we cause
5335 validation, call Page.Validate properly (in both profiles).
5337 2005-08-22 Chris Toshok <toshok@ximian.com>
5339 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
5340 case, pass ValidationGroup to Page.Validate.
5341 (ValidationGroup): implement using ViewState.
5343 2005-08-22 Chris Toshok <toshok@ximian.com>
5345 * BaseValidator.cs (Text): 2.0 only. implement naively, just
5347 (OnInit): add 2.0 support for validation groups.
5350 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
5352 * LoginName.cs: New (2.0) web control.
5353 * LoginStatus.cs: New (2.0) web control.
5355 2005-08-19 Chris Toshok <toshok@ximian.com>
5357 * LinkButton.cs (ValidationGroup): implement getter/setter.
5358 (RaisePostBackEvent): implement naively, by c&p'ing the old
5359 implementation of IPostBackEventHandler.RaisePostBackEvent, but
5360 making use of the ValidationGroup in the call to Page.Validate.
5364 * Style.cs (LoadViewState): set our style flags for all the things
5365 we have flags for. Seems like the subclass flags should be
5366 handled in overridden LoadViewState methods, but none of the Style
5367 subclasses seem to override this method.
5369 2005-08-19 Chris Toshok <toshok@ximian.com>
5371 * TableStyle.cs (Merge, MergeWith): make these look a bit more
5372 like Copy/CopyFrom, with the styles checks instead of just
5375 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
5378 2005-08-19 Chris Toshok <toshok@ximian.com>
5380 * DataGrid.cs (InitializePager): don't unconditionally set
5381 pager_cell to the numeric pager (especially after setting it
5382 conditionally to the nextprev pager.)
5383 (InitializeNumericPager): the link buttons don't participate in
5385 (InitializeNextPrevPager): same.
5386 (CreateControlHierarchy): create the top/bottom pagers only if the
5387 PagerStyle says too.
5389 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
5391 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
5393 2005-08-18 Chris Toshok <toshok@ximian.com>
5395 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
5396 the start of this method so templates are created properly.
5398 2005-08-18 Dick Porter <dick@ximian.com>
5400 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
5401 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
5402 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
5403 BaseDataList.cs, DataList.cs, BulletedList.cs,
5404 DataBoundControl.cs, Login.cs, GridView.cs,
5405 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
5406 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
5407 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
5408 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
5409 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
5410 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
5411 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
5412 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
5415 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
5417 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
5419 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
5420 empty array of objects just to get the number of items.
5421 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
5422 but we're missing some bits from the class lib to complete all this...
5424 2005-08-17 Jackson Harper <jackson@ximian.com>
5426 * DataGrid.cs: Only create one pager and add it to both the top
5427 and bottom of the grid, this way all the id numbers stay the same
5428 and we save a bunch of cycles.
5430 2005-08-17 Jackson Harper <jackson@ximian.com>
5432 * DataGrid.cs: The top and bottom pagers are always created. Just
5433 the visibility is changed by the PagerStyle::Position.
5435 2005-08-17 Chris Toshok <toshok@ximian.com>
5437 * CompositeControl.cs (RecreateChildControls): implement naively -
5438 just call CreateChildControls. We might need to call
5439 Controls.Clear() as well, but for the time being, this is ok.
5441 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
5443 * BaseDataList.cs: Completed implementation for 2.0.
5445 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5447 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
5448 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
5450 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5452 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
5454 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
5455 Adjusted size and ordering of the ViewState (new element #0 is still
5456 unknown). Properly fixed the TagKey in 2.0.
5457 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
5458 all properties using enums.
5459 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
5460 * TableItemStyle.cs: Fixed attribute rendering to use style to render
5461 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
5463 2005-08-15 Jackson Harper <jackson@ximian.com>
5465 * EditCommandColumn.cs: Use a normal LinkButton.
5467 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5469 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
5470 viewstate (even if assigned to the default value).
5471 * TableRow.cs: Implement TableSection property (2.0). It has no effect
5472 on the rendering of the table row.
5474 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5476 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
5477 and removed [Bindable] attributes for 2.0.
5478 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
5479 attributes (for 2.0).
5480 * DataListCommandEventArgs.cs: Not sealed in 2.0.
5481 * DataListItemEventArgs.cs: Not sealed in 2.0.
5482 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
5483 attributes for URLs.
5484 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
5485 attributes for URLs.
5486 * Table.cs: Fixed [Editor] attribute for 2.0.
5487 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5488 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
5489 AssociatedHeaderCellID and it's [DefaultValue] attribute.
5490 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
5491 and Scope attributes.
5492 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
5493 on TableSection attribute.
5494 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5496 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
5498 * Image.cs: Fixed attributes for 2.0 profile.
5499 * Login.cs: Fixed some attributes and default values.
5500 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
5501 RaisePostBackEvent (TODO) in 2.0 profile.
5502 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
5503 and added AssociateHeaderCellID property (TODO).
5504 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5505 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
5506 page (if the device requires to breaks the table into multiple pages).
5507 This seems to be a "flag" class, the real work will be in Table.
5508 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
5509 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
5510 page (if the device requires to breaks the table into multiple pages).
5511 This seems to be a "flag" class, the real work will be in Table.
5512 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
5513 * TableRow.cs: Remove [Bindable (true)] from properties and add
5514 [Bindable (false)] and [Designer] on class. Added new TableSection
5516 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5517 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
5518 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
5519 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
5520 FillStyleAttributes method (2.0).
5522 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
5524 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
5525 attributes from existing controls.
5526 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
5527 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
5529 2005-08-12 Jackson Harper <jackson@ximian.com>
5531 * TableRow.cs: No AutoID for TableRows.
5533 2005-08-12 Jackson Harper <jackson@ximian.com>
5535 * DataGrid.cs (CreateRenderColumns): If we aren't using data
5536 binding grab the rendercols from the data source columns.
5537 (LoadViewState): Restore the bound columns when reloading the
5539 (InitializeNumericPager): Create elipsised pagers.
5540 (CreateItem): Don't set the item's ID.
5541 (CreateItem): Add the control to the table before it is databound
5542 so that it's value is saved in the viewstate.
5543 (CreateControlHierarchy): Create a fake data source when not using
5544 databinding. Don't add controls to the table as they are added in
5546 (PrepareControlHierarchy): Make footers and header non visible if
5547 they aren't enabled.
5549 2005-08-12 Chris Toshok <toshok@ximian.com>
5551 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
5552 docs says these methods/properties "ensure the child controls are
5553 created" -- so call EnsureChildControls() before invoking the base
5556 2005-08-12 Jackson Harper <jackson@ximian.com>
5558 * BoundColumn.cs: Set the controls text instead of adding a
5559 literal control. So it is saved in the controls viewstate.
5561 2005-08-11 Jackson Harper <jackson@ximian.com>
5563 * CheckBoxList.cs: Set the tabindex on the checkbox control and
5564 don't render it on the main table (Setting it to zero causes it to
5565 not be rendered). Also use the invariant culture on the id.
5567 2005-08-11 Dick Porter <dick@ximian.com>
5569 * CheckBox.cs: Let ViewState manage removals; apply styles and
5570 "style" attributes in a surrounding <span>. Fixes unit tests.
5572 2005-08-10 Chris Toshok <toshok@ximian.com>
5574 * Label.cs (LoadViewState): set the Text attribute from our
5575 ViewState (if it exists) to clear out any child controls. Fixes
5576 jsunit test label/label-child-control-postback.aspx.
5578 2005-08-10 Jackson Harper <jackson@ximian.com>
5580 * PagedDataSource.cs: Respect paging with all data source types.
5582 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
5584 * BaseDataList.cs: Changed Controls property from "virtual new"
5585 (2.0 doc) to "override" (monop) to fix the Visible bug (see
5586 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
5587 any controls (required due to change to Controls). Implemented
5588 DataBind(bool) for 2.0.
5589 * DataListItem.cs: Fix the multiple table when extractRows is used.
5590 Removed extra span tags by rendering contents (not control). Added
5591 support for IDataItemContainer (2.0).
5593 2005-08-08 Jackson Harper <jackson@ximian.com>
5595 * DataGrid.cs: Apply the styles to each item type.
5597 2005-08-08 Jackson Harper <jackson@ximian.com>
5599 * PagedDataSource.cs: If paging is not enabled keep enumerating to
5600 the end of the list.
5602 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
5604 * BaseDataList.cs: Remove old compatibility stuff.
5605 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
5606 * WebControl.cs: Always call CreateControlStyle to create the
5607 ControlStyle. Fix the exception for datalist-style-edit.aspx.
5609 2005-08-05 Jackson Harper <jackson@ximian.com>
5611 * DataGrid.cs: Don't make the current page index a link in the
5614 2005-08-05 Jackson Harper <jackson@ximian.com>
5616 * DataGrid.cs: Honour PagerPosition.
5618 2005-08-05 Jackson Harper <jackson@ximian.com>
5620 * PagedDataSource.cs: Round PageCount properly.
5622 2005-08-05 Dick Porter <dick@ximian.com>
5624 * CheckBox.cs: Shut corcompare up a bit more. Still need to
5625 figure out how to not use AddAttributesToRender to get it
5628 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
5630 * DataGridColumn.cs: Added the duplicate viewstate manipulation
5633 2005-08-05 Chris Toshok <toshok@ximian.com>
5635 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
5636 null when it comes to the format string.
5637 (FormatDataTextValue): same.
5639 2005-08-04 Chris Toshok <toshok@ximian.com>
5641 * BaseValidator.cs (Validate): only test a validator if it's both
5642 enabled and visible.
5644 2005-08-04 Chris Toshok <toshok@ximian.com>
5646 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
5649 2005-08-04 Jackson Harper <jackson@ximian.com>
5651 * DataGrid.cs: Add a new space control for each link. Also make
5652 the link's text 1 indexed. Don't add the space after the last
5655 2005-08-04 Ben Maurer <bmaurer@ximian.com>
5657 * LinkButton.cs: Fix up the test suite here.
5659 * Panel.cs: Fix up nowrap
5661 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5663 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
5664 * ListControl.cs: Clear item list before adding data (again)
5666 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
5668 * Calendar.cs: fixes issues with OnDayRender event and others
5670 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5672 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
5674 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
5675 if DataTextField is bound
5676 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
5677 two controls in edit mode, lets do the same
5679 2005-08-03 Jackson Harper <jackson@ximian.com>
5681 * BoundColumn.cs: Respek for the thisExpr when data binding.
5683 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5685 * EditCommandColumn.cs: No need to offer edit when in edit mode.
5688 2005-08-04 Dick Porter <dick@ximian.com>
5690 * DataGridColumn.cs: New implementation
5693 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
5695 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5697 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
5700 2005-08-03 Ben Maurer <bmaurer@ximian.com>
5702 * RepeatInfo.cs: Finally figured out how to use base control
5704 2005-08-03 Jackson Harper <jackson@ximian.com>
5706 * ButtonColumn.cs: Partial implementation.
5708 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5710 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
5713 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5715 * Calendar.cs: fixes Save/Load state
5717 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5719 * Calendar.cs: bug fixes
5721 2005-08-03 Jackson Harper <jackson@ximian.com>
5723 * DataGrid.cs: Merge the table style with the render table. Some
5724 initial work on the numeric pager. Remove some debugging code.
5726 2005-08-03 Jackson Harper <jackson@ximian.com>
5728 * BoundColumn.cs: Implement Initialize and InitializeCell. When
5729 Data is formated it uses the DataFormatString that was set at the
5730 time Initialize was called (or null if initialize was never
5733 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5735 * RadioButtonList.cs: bug fixes
5737 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5739 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
5740 AddAttributesToRender
5741 * RadioButtonList.cs: Implementation
5743 2005-08-01 Jackson Harper <jackson@ximian.com>
5745 * TableStyle.cs: Copy style bit when copying from another style.
5747 2005-08-01 Jackson Harper <jackson@ximian.com>
5749 * PagedDataSource.cs: Implement missing properties, use yield for
5750 the Enumerator methods. Only allow the enums to return one page at
5753 2005-08-01 Chris Toshok <toshok@ximian.com>
5755 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
5757 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5759 * WebControl.cs: Track enabled state across sessions
5761 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5763 * ListControl.cs(OnDatabinding): Value is equivalent to text if
5766 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
5768 * ImageButton.cs: fixes, complete missing parts
5770 2005-07-31 Ben Maurer <bmaurer@ximian.com>
5772 * TextBox.cs: Html encode for multiline text boxes
5774 * HyperLink.cs: Resolve images
5776 2005-07-30 Chris Toshok <toshok@ximian.com>
5778 * BaseValidator.cs: initial version of 2.0 properties
5779 ValidationGroup and SetFocusOnError.
5781 2005-07-30 Chris Toshok <toshok@ximian.com>
5783 * HyperLinkColumn.cs (InitializeCell): clean this up.
5785 2005-07-30 Chris Toshok <toshok@ximian.com>
5787 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
5788 DataBinder.FormatResult.
5789 (FormatDataTextValue): same.
5790 (Initialize): call base.Initialize.
5791 (ItemDataBinding): new function, get the text/navigateurl and set
5792 them on our HyperLink control.
5793 (InitializeCell): create a hyperlink control in the
5794 Item/EditItem/AlternatingItem case.
5796 2005-07-30 Ben Maurer <bmaurer@ximian.com>
5798 * RepeatInfo.cs: Handle 0 items situations correctly
5800 * HyperLink.cs: Resolve urls correctly
5802 * CheckBox.cs: use the correct ID for the label element.
5804 * Label.cs: Correct AddParsedSubObject impl. See FAQ
5806 2005-07-29 Chris Toshok <toshok@ximian.com>
5808 * BaseCompareValidator.cs (GetDateElementOrder): implement.
5810 2005-07-29 Chris Toshok <toshok@ximian.com>
5812 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
5813 #if'ed out version follows microsoft's docs on msdn, but doesn't
5814 match ms's behavior. The other matches their behavior but not
5815 their docs. we use the latter. go figure.
5816 (get_CutoffYear): implement using
5817 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
5819 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5822 - Name property now throws exception when set to null
5823 - Names now handles situation where our bit tells us we have
5824 a font, but it's not in the StateBag (null removal)
5825 * RangeValidator.cs: Removed unused vars
5827 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5829 * Label.cs: ClientID should be used rather than UniqueID to get
5832 2005-07-29 Chris Toshok <toshok@ximian.com>
5834 * BaseValidator.cs (Validatate): not sure if this is entirely
5835 correct (some fairly deep testing required), but setting Enabled =
5836 false has the effect of setting IsValid = true.
5838 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5840 * RadioButton.cs: The "remove from groupstate" isn't needed any
5841 more, now that statebag is correct.
5843 2005-07-29 Dick Porter <dick@ximian.com>
5845 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
5846 ViewState when it is null.
5848 * CheckBox.cs: Hide nonstandard API
5850 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
5852 * Calendar.cs: fixes exceptions, bug fixes, new features
5853 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
5854 * CalendarDay.cs: fixes default value
5856 2005-07-28 Ben Maurer <bmaurer@ximian.com>
5858 * CompositeControl.cs: Stub
5860 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5862 * EditCommandColumn.cs: Implemented
5864 2005-07-27 Chris Toshok <toshok@ximian.com>
5866 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
5868 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5870 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
5873 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5875 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
5876 for it's constructor, so remove it
5877 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
5879 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5881 * DataGridPagerStyle.cs: Implemented
5882 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
5883 * Style.cs: Added Styles enum values for DataGridPagerStyle
5885 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
5887 * Calendar.cs: get the styles right, honors more properties, fixes, fix
5890 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5892 * DataGridItem.cs: Implemented
5894 2005-07-26 Chris Toshok <toshok@ximian.com>
5896 * LinkButton.cs (AddParsedSubObject): reversed the order of
5897 Controls.Add() and Text = null
5898 (set_Text): call Controls.Clear()
5899 (RenderContents): use HasControls() for the if test instead of
5902 * HyperLink.cs (AddParsedSubObject): reversed the order of
5903 Controls.Add () and Text = null;
5905 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5907 * DataGridItemCollection.cs: Implemented
5909 2005-07-26 Chris Toshok <toshok@ximian.com>
5911 * LinkButton.cs (AddParsedSubObject): copy implementation from
5913 (RenderContents): only call writer.Write(Text) if Text != "".
5914 Otherwise default to base.RenderContents.
5916 2005-07-26 Chris Toshok <toshok@ximian.com>
5918 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5919 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
5920 (Page != null) around my last commit.
5922 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5924 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
5925 Fixed use of literal strings, instead using Consts
5926 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
5927 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
5928 Panel.cs, Literal.cs: Added attributes
5929 * BaseValidator.cs: Added missing override
5931 2005-07-26 Chris Toshok <toshok@ximian.com>
5933 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5934 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
5935 Page.VerifyRenderingInServerFormHere.
5937 2005-07-26 Chris Toshok <toshok@ximian.com>
5939 * BaseValidator.cs: remove some MonoTODO's about the client side
5942 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
5944 * Calendar.cs: selection of dates, state load, save, track, support
5945 for new properties, many fixes.
5947 2005-07-26 Miguel de Icaza <miguel@novell.com>
5949 * Style.cs: Temporary methods to help buliding .NET 2.x
5951 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5953 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
5955 * Xml.cs: Fixed base class, attributes
5956 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
5957 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
5958 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
5959 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
5960 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
5962 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5964 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
5967 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5969 * RepeatInfo.cs: If the repeater has one column, the separators
5970 are rendered on a different line
5972 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5974 * DataGridSortCommandEventArgs: Sealed class
5975 * ButtonColumn.cs, Calendar.cs: Added Attributes
5977 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5979 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
5980 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
5982 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5984 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
5985 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
5987 2005-07-25 Chris Toshok <toshok@ximian.com>
5989 * ValidationSummary.cs (AddAttributesToRender): add client side
5991 (OnPreRender): set the "been here" flag.
5992 (Render): add client side support.
5994 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5996 * RepeatInfo.cs: Split the horiz and vertical cases, because this
5997 class has rules that are beyond strange. Continue working to make
6000 2005-07-25 Ben Maurer <bmaurer@ximian.com>
6002 * RepeatInfo.cs: Misc fixes for my test suite.
6004 2005-07-25 Jackson Harper <jackson@ximian.com>
6006 * DataGrid.cs: Set the command name and args on the link buttons.
6008 2005-07-25 Jackson Harper <jackson@ximian.com>
6010 * DataGrid.cs: Lots o implementation.
6012 2005-07-25 Jackson Harper <jackson@ximian.com>
6014 * BoundColumn.cs: Partial implementation to get the DataGrid tests
6017 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
6019 * Button.cs: fixes events, adds attributes
6021 2005-07-23 Chris Toshok <toshok@ximian.com>
6023 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
6024 prop.GetValue results.
6025 (Render): fix the static non-uplevel case, so that we display text
6026 when there's an error.
6028 2005-07-22 Chris Toshok <toshok@ximian.com>
6030 * RegularExpressionValidator.cs (AddAttributesToRender): only
6031 output ValidationExpression if it's != null.
6033 2005-07-22 Chris Toshok <toshok@ximian.com>
6035 * BaseValidator.cs (AddAttributesToRender): fix up the Display
6036 rendering such it matches MS's output.
6037 (Render): stop using the huge complicated if's for each output
6038 stage and move to boolean flags, and fix the static-nonuplevel
6039 case, where a validator outputs as nothing but
6041 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
6042 * Calendar.cs: Initial implementation
6043 * CalendarSelectionMode.cs: fix enum order
6045 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
6047 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
6048 (or more?) specific cases - including correct support for separators.
6049 Added some (commented) debugging code.
6050 * HyperLink.cs: Only render href and target attributes if they're not
6051 empty. Add "border=0" when rendering <img> tag. Fix Target default
6054 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
6056 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
6058 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
6060 * Style.cs (CopyFrom): Reset our styles and don't set bits from
6061 target explicitly, properties will set them
6063 2005-07-22 Dick Porter <dick@ximian.com>
6066 * ButtonColumn.cs: Initial stubs
6068 2005-07-22 Dick Porter <dick@ximian.com>
6071 * CheckBox.cs: Add assembly attributes
6073 2005-07-22 Ben Maurer <bmaurer@ximian.com>
6075 * HyperLink.cs: Handle non-literal children.
6077 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6079 * Label.cs: SP1 stuff
6081 2005-07-21 Chris Toshok <toshok@ximian.com>
6083 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
6084 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
6085 stuff WebUIValidation.js uses, so we don't support it for uplevel
6088 2005-07-21 Chris Toshok <toshok@ximian.com>
6090 * BaseValidator.cs (DetermineRenderUplevel): include checks for
6091 the EcmaScriptVersion and W3CDomVersion.
6093 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6095 * BaseDataList.cs: Support IEnumerable.
6096 * DataList.cs: Fix alternate items.
6097 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
6098 controls and the Text property.
6100 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6102 * TextBoxMode.cs: Wrong ordering of enum...
6104 2005-07-21 Chris Toshok <toshok@ximian.com>
6106 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
6109 2005-07-21 Chris Toshok <toshok@ximian.com>
6111 * BaseValidator.cs (get_PropertiesValid): use our containing
6112 NamingContainer, not ourselves, to look up controls.
6113 (CheckControlValidationProperty): same.
6114 (GetControlRenderID): same.
6115 (GetControlValidationValue): same.
6116 (AddAttributesToRender): add the display style attribute if
6117 Display != Static, and add the value of IsValid if it's false.
6118 (DetermineRenderUplevel): use a try block around (Page.Request)
6119 since that can raise an exception.
6120 (OnPreRender): set pre_render_called, so we can consult it in
6122 (Render): complicate this method more to handle more of the
6123 Display/pre_render_called permutations.
6125 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
6127 * CustomValidator.cs: Initial implementation, still work in progress
6129 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6131 * DataList.cs: Fix rendering for special items (-1).
6133 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6135 * RepeatInfo.cs: Fix most of the tests.
6137 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6139 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
6140 Add a border=0 attribute if no style is defined.
6141 * TableCell.cs: Use HtmlTextWriterTag (not a string).
6142 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
6143 * TableRow.cs: Use HtmlTextWriterTag (not a string).
6145 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6147 * BaseDataList.cs: Fix attributes.
6148 * HorizontalAlign.cs: Fix attributes.
6149 * Image.cs: Fix attributes and enums checks.
6150 * Table.cs: Fix attributes an enums checks.
6151 * TableCell.cs: Fix attributes.
6152 * TableCellCollection.cs: Fix attributes.
6153 * TableItemStyle.cs: Fix attributes and enums checks.
6154 * TableRowCollection.cs: Fix attributes.
6155 * TableRow.cs: Fix attributes.
6156 * TableStyle.cs: Fix attributes and enums checks.
6157 * VerticalAlign.cs: Fix attributes.
6159 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6161 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
6162 * DataList.cs: Added rendering support when ExtractTemplatesRows
6163 property is true (but RepeatInfo needs to be fixed to see it works).
6164 * DataListItem.cs: Added rendering support when extractRows parameter
6165 is true (but RepeatInfo still needs to be fixed ;-)
6167 2005-07-21 Duncan Mak <duncan@novell.com>
6169 * HyperLinkColumn.cs: Initial implementation.
6170 Todo: Figure out Initialize and InitializeCell.
6172 2005-07-20 Chris Toshok <toshok@ximian.com>
6174 * BaseValidator.cs: don't use Page.FindControl, use this Control's
6175 FindControl, so it'll use the same naming container.
6177 2005-07-21 Duncan Mak <duncan@novell.com>
6179 * DataGridCommandEventArgs.cs:
6180 * DataGridPageChangedEventArgs.cs:
6181 * RepeaterCommandEventArgs.cs: Fixed visibility.
6183 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
6184 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
6186 2005-07-20 Chris Toshok <toshok@ximian.com>
6188 * Button.cs: hook up the client side validation stuff.
6190 * ImageButton.cs: same.
6192 * LinkButton.cs: same, although it's a little more complicated
6195 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6198 - Implemented RaisePostDataChangedEvent()
6199 - Spewing postback command if AutoPostBack is true
6201 2005-07-20 Chris Toshok <toshok@ximian.com>
6203 * BaseValidator.cs: another Page != null check when uplevel
6206 2005-07-20 Chris Toshok <toshok@ximian.com>
6208 * BaseValidator.cs: check Page != null when determining if we're
6209 rendering uplevel or not.
6211 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6213 * ListItemCollection.cs: Removed obsolete method that's no longer
6216 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6218 * DropDownList.cs: Oops. Forgot to implement LoadPostData
6219 * ListItemCollection.cs: Added convenience method to have faster
6222 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6225 - Automatically select the first item if none are selected
6226 - Throw exception if more than one item is selected
6228 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6230 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
6231 handled by RepeatInfo).
6233 2005-07-20 Jackson Harper <jackson@ximian.com>
6235 * DataGrid.cs: Store the data source created columns in a
6236 DataGridColumnCollection. This way they can be put in the
6237 view state more easily, and accessed without casting.
6239 2005-07-20 Chris Toshok <toshok@ximian.com>
6241 * BaseValidator.cs (AddAttributesToRender): render the client side
6242 attributes if we're in uplevel mode.
6243 (DetermineRenderUplevel): flesh out a bit - for now basically
6244 return true unless the control has it disabled.
6245 (OnInit): only add the validator to Page's list if there is, in
6247 (OnUnload): same for removal.
6248 (OnPreRender): hook up client scripting stuff here. Only the call
6249 to RegisterValidatorCommonScript is a for sure thing here, the
6250 registering of the submit statement and startup script should
6251 probably go elsewhere, but I don't know where.
6252 (RegisterValidatorCommonScript): register the <script
6253 src=".../WebUIValidation.js"> tag, if it's not already there.
6254 (RegisterValidatorDeclaration): add our span object to the
6255 Page_Validators JS array.
6256 (Render): always render the tags (although this is probably not
6257 right), and call RegisterValidatorDeclaration here.
6259 * BaseCompareValidator.cs (AddAttributesToRender): render the
6260 client side attributes if we're in uplevel mode.
6261 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
6262 call base.DetermineRenderUplevel for now.
6264 * RegularExpressionValidator.cs (AddAttributesToRender): render
6265 the client side attributes if we're in uplevel mode.
6267 * RequiredFieldValidator.cs (AddAttributesToRender): same.
6269 * CompareValidator.cs (AddAttributesToRender): same.
6271 2005-07-20 Jackson Harper <jackson@ximian.com>
6273 * DataGrid.cs: Save the data source created column set in the
6276 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6278 * DataList.cs: Fix events and properties exceptions. Give the right
6279 informations to RenderItem.
6281 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6283 * ValidationSummary.cs: Implemented rendering
6285 2005-07-20 Jackson Harper <jackson@ximian.com>
6287 * DataGrid.cs: column names are cached and only regenerated if useDataSource
6288 is set to true. Otherwise they are just fetched from the last set that
6289 was generated from the source.
6291 2005-07-20 Jackson Harper <jackson@ximian.com>
6293 * DataGrid.cs: Assign some properties of newly created BoundColumns.
6295 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6297 * DataList.cs: Fix viewstate ordering.
6299 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6301 * SelectedDatesCollection.cs: Apprarently, I don't write code well
6304 * Repeater.cs: Uh, actually add stuff to the items collection
6307 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6309 * BaseDataList.cs: EnsureChildControls on Controls property.
6310 * DataList.cs: Fix rendering and Controls/Items differences.
6311 * DataListItem.cs: Added rendering of controls.
6313 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6315 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
6317 2005-07-20 Jackson Harper <jackson@ximian.com>
6319 * DataGrid.cs: Add some of the collections. Implement
6322 2005-07-20 Jackson Harper <jackson@ximian.com>
6324 * PagedDataSource.cs: Implement GetItemProperties, this is
6325 needed for the datagrid.
6327 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6329 * DataGridColumnCollection.cs: New impl
6331 * TemplateColumn.cs: New impl
6333 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6335 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
6336 * DataList.cs: Work in progress... Added attributes, proper
6337 IRepeatInfoUser support and cool things stolen from other classes.
6338 * DataListCommandEventArgs.cs: Class is sealed.
6339 * DataListItem.cs: RenderItem is public.
6341 2005-07-19 Jackson Harper <jackson@ximian.com>
6343 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
6344 a viewstate object if all the viewstate stuff is null.
6346 2005-07-19 Jackson Harper <jackson@ximian.com>
6348 * DataGrid.cs: Implement style properties and viewstate
6349 saving/loading/tracking.
6351 2005-07-19 Chris Toshok <toshok@ximian.com>
6353 * BaseValidator.cs: more fixes from pdb.
6355 2005-07-19 Chris Toshok <toshok@ximian.com>
6357 * BaseValidator.cs: some test-driven fixes.
6359 2005-07-19 Chris Toshok <toshok@ximian.com>
6361 * BaseValidator.cs: Initial implementation.
6363 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6365 * Repeater.cs: Fix small typo.
6367 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
6369 * ValidationSummaryTest.cs: Started implementation
6370 * RangeValidator.cs: Implemented
6371 * ValidatedControlConverter.cs: Implemented
6372 * DropDownList.cs: Implemented
6374 2005-07-19 Jackson Harper <jackson@ximian.com>
6376 * DataGrid.cs: Implement bubble event.
6378 2005-07-19 Jackson Harper <jackson@ximian.com>
6380 * DataGrid.cs: New implementation. Just properties and events for
6383 2005-07-18 Chris Toshok <toshok@ximian.com>
6385 * BaseCompareValidator.cs: Initial implementation, with some NYI.
6387 2005-07-19 Ben Maurer <bmaurer@ximian.com>
6389 * FontUnit.cs: Corcompare fixes
6391 * UnitConverter.cs: Fix api diffs
6393 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6395 * ListControl.cs: Fix api differences
6397 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6399 * Table.cs: Fix indentation for caption. Simplify check when adding
6401 * TableRow.cs: Simplify check when adding controls.
6403 2005-07-18 Chris Toshok <toshok@ximian.com>
6405 * CompareValidator.cs: wtf, just use the base class's methods.
6407 2005-07-18 Chris Toshok <toshok@ximian.com>
6409 * CompareValidator.cs: do comparisons based on
6410 BaseCompareValidator.Type.
6412 2005-07-18 Chris Toshok <toshok@ximian.com>
6414 * CompareValidator.cs: initial implementation.
6416 2005-07-18 Chris Toshok <toshok@ximian.com>
6418 * RegularExpressionValidator.cs: initial implementation.
6420 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6422 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
6424 2005-07-18 Jackson Harper <jackson@ximian.com>
6426 * CheckBoxList.cs: Implement LoadPostBackData. Also register
6427 checkboxes for postback if they are checked so we can find
6428 out when they are unchecked. Copy the AutoPostBack variable
6429 to the to be rendered checkbox when rendering.
6431 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6433 * TextBox.cs: Finish this up.
6435 * AdRotator.cs: Fix issues in the test suite. Minor style
6438 * Repeater.cs: Fix a bug where the datasource is null and we do
6441 * WebColorConverter.cs: Optimize by not doing a concat on a
6444 2005-07-17 Ben Maurer <bmaurer@ximian.com>
6446 * ListItemCollection.cs: Multiple uses of equals rather than
6447 string.compare as below. Remove unreachable code warning.
6449 * WebColorConverter.cs (ConvertTo): Use the == operator on string
6450 rather than an invariant non-case ignoring compare. They are
6451 exactly the same thing. Use proper coding style in this method.
6453 * WebControl.cs: Return null when saving the view state if there
6454 is no state in any of the things we save. This creates a fairly
6455 large savings, because we can avoid saving anything about many
6456 levels of deaply nested controls.
6458 2005-07-15 Jackson Harper <jackson@ximian.com>
6460 * CheckBoxList.cs: Use the index as the ID, the rest of the
6461 id is built by being in the NamingContainer.
6463 2005-07-15 Jackson Harper <jackson@ximian.com>
6465 * ListControl.cs: Use enum instead of string. Saves a lookup.
6467 2005-07-15 Jackson Harper <jackson@ximian.com>
6469 * CheckBoxList.cs: FindControl always returns 'this' according
6472 2005-07-15 Jackson Harper <jackson@ximian.com>
6474 * CheckBoxList.cs: New impl.
6476 2005-07-15 Jackson Harper <jackson@ximian.com>
6478 * WebControl.cs: Use the ClientID when rendering a controls ID
6479 attribute so that naming containers are honoured.
6481 2005-07-15 Jackson Harper <jackson@ximian.com>
6483 * ListControl.cs: use the state manager interface for tracking
6486 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6488 * Repeater.cs (DoItem): Add the DataItem before we call user
6489 methods, as it seems to be there with msft.
6491 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
6493 * BaseDataList.cs: New. (mostly complete) implementation.
6494 * DataKeyCollection.cs: New. Implementation (complete).
6495 * DataList.cs: New. (mostly incomplete) implementation.
6496 * DataListItem.cs: New. (mostly complete) implementation.
6497 * DataListItemCollection.cs: New. Implementation (complete).
6499 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6501 * Repeater.cs (DoItem): We need to .Add the control *before* we
6502 data bind it so that the state gets tracked correctly. Fixes the
6505 2005-07-15 Jackson Harper <jackson@ximian.com>
6507 * ListControl.cs: Simplify comparison.
6509 2005-07-15 Jackson Harper <jackson@ximian.com>
6512 * Repeater.cs: Use new utility class for resolving data sources.
6514 2005-07-15 Jackson Harper <jackson@ximian.com>
6516 * ListControl.cs: Add attributes so the sub items get parsed
6517 properly. Remove old unneeded code for resolving lists.
6519 2005-07-15 Jackson Harper <jackson@ximian.com>
6521 * ListControl.cs: Use the DataSourceHelper so DataMembers are
6524 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6527 - Some optimizations
6528 * Don't use enum formatting stuff, it is 1) expensive 2) does
6529 allocations. Use a new method in HtmlControl to do the right
6531 * Don't use Enum.IsDefined but an explicit check.
6532 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
6533 - Use the correct coding style.
6535 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6537 * WebColorConverter.cs:
6538 - Alpha of 255 is only set if the hex number is exactly 6 digits
6539 - Ben didn't like the catch { throw; } (even though MS documents to
6541 - Use Invariant Culture for parsing (thanks, Ben)
6543 2005-07-14 Jackson Harper <jackson@ximian.com>
6545 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
6546 code-reuse-arific. Also use the IStateManager interface for loading
6547 data instead of the old internal method.
6549 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6551 * WebColorConverter.cs: Implemented
6553 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6555 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
6557 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6559 * Repeater.cs: Get it working
6561 2005-07-14 Jackson Harper <jackson@ximian.com>
6563 * ListControl.cs: Initial implementation of Databinding. Make sure
6564 that the ListItemCollection is created when we load its ViewState.
6566 2005-07-14 Jackson Harper <jackson@ximian.com>
6568 * ListControl.cs: Fix typo.
6570 2005-07-14 Jackson Harper <jackson@ximian.com>
6572 * ListControl.cs: New Implementation. Lacks databinding support.
6574 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6576 * Repeater.cs: The beginnings of this control
6578 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6580 * TargetConverter.cs: Implemented
6582 2005-07-14 Duncan Mak <duncan@novell.com>
6584 * PagedDataSource.cs: Initial implementation.
6586 Methods that need to be figured out:
6587 CopyTo, GetItemProperties, PageCount, IsLastPage.
6589 To complete: CollectionEnumerator, ListEnumerator.
6591 2005-07-13 Duncan Mak <duncan@novell.com>
6593 * RepeatDirection.cs:
6595 * ValidationCompareOperator.cs:
6596 * ValidationDataType.cs:
6597 * ValidationSummaryDisplayMode.cs:
6598 * ValidatorDisplay.cs: Added remaining enumerations.
6600 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6602 * FontNamesConverter.cs: Implemented
6604 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6606 * RepeaterItem.cs: Compile fix
6608 * RepeaterItemCollection.cs: New file
6610 * RepeaterItem.cs: get OnBubbleEvent right.
6612 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6614 * ListItemCollection.cs: Count can be derived from the array, which
6615 allows us to use a Pair instead of a Triplet and save some space
6617 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6619 * RepeaterItem.cs: Stub
6621 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6623 * ListItemCollection.cs: Implemented
6624 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
6626 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6628 * RepeatInfo.cs: Impl.
6630 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6632 * FirstDayOfWeek.cs: Added
6634 2005-07-13 Jackson Harper <jackson@ximian.com>
6636 * ListBox.cs: Some parameter checking.
6638 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6640 * Image.cs: Added support for DescriptionUrl as this property was
6641 added in Fx 1.1 SP1.
6643 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6645 * Style.cs (AddAttributesToRender): Don't render attributes if they
6646 contain only their default value
6648 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6650 * Table.cs: New. Initial re-implementation.
6651 * TableCell.cs: New. Initial re-implementation.
6652 * TableCellCollection.cs: New. Initial re-implementation.
6653 * TableHeaderCell.cs: New. Initial re-implementation.
6654 * TableItemStyle.cs: New. Initial re-implementation.
6655 * TableRow.cs: New. Initial re-implementation.
6656 * TableRowCollection.cs: New. Initial re-implementation.
6657 * TableStyle.cs: New. Initial re-implementation.
6659 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6661 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
6662 unit tests (for Style) and more tests in Table* classes.
6664 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6666 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
6667 however IsEmpty returns false if any of their properties are set.
6668 Looks ugly but it's compatible with MS implementation (feature and
6671 2005-07-13 Dick Porter <dick@ximian.com>
6673 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
6674 null Text properties from the ViewState, test for TextAlign being
6675 out of range. All to make tests pass on both mono and ms
6678 2005-07-13 Jackson Harper <jackson@ximian.com>
6680 * ListBox.cs: Use invariant culture when doing a ToString,
6681 set value to the item's value, not to its Text.
6683 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6685 * WebControl.cs (AddAttributesToRender): Added ID to rendered
6688 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6690 * Style.cs(MergeWith): Handle null styles
6692 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
6694 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
6695 the #if NET_2_0 on it.
6697 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6699 * Style.cs: Only render font elements if fontinfo object exists
6701 - Implemented SaveViewState()
6702 - Added loading of Style to LoadViewState
6703 - Implemented IAttributeAccessor methods
6705 2005-07-12 Jackson Harper <jackson@ximian.com>
6707 * ListBox.cs: Even track default values in the viewstate. Call
6708 base's RenderContents.
6710 2005-07-12 Jackson Harper <jackson@ximian.com>
6712 * ListBox.cs: New impl.
6714 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6717 - Implemented methods
6720 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6722 * ListItem.cs: New impl.
6724 2005-07-12 Duncan Mak <duncan@novell.com>
6726 * DayNameFormat.cs: Added.
6728 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6730 * WebControl.cs: Implemented properties
6732 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6734 * TextBox.cs: Passwords seem 1) not to be rendered to the client
6735 if set, 2) not kept in view state (for security reasons...)
6738 * Button.cs: Page.Validate () if needed. Gets the validator tests
6741 * TextBox.cs: Properties to get the validator stuff to work.
6743 2005-07-12 Miguel de Icaza <miguel@novell.com>
6745 * Unit.cs: If the units are pixels, then truncate the value.
6747 2005-07-12 Dick Porter <dick@ximian.com>
6749 * RadioButton.cs: New implementation
6751 * CheckBox.cs: Rearrange the attributes rendering to allow
6752 RadioButton to derive from this
6754 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6756 * TitleFormat.cs: Add attribute
6757 * TextBoxMode.cs: Add attribute
6758 * CalendarDay.cs: Initial implementation
6759 * ImageButton.cs: Initial implementation
6760 * CalendarSelectionMode.cs:Initial implementation
6762 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6764 * TextBoxMode.cs: simple enum
6765 * TitleFormat.cs: simple enum
6767 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6769 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
6771 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6773 * FontUnit.cs: Added TypeConverter attribute to class
6774 * FontUnitConverter.cs: Implemented
6776 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6779 * Button.cs: Bubble the Command event.
6781 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6784 - Clean up style (with my wonderful state bag hack!)
6785 - Fix a view state typo.
6786 - Use AddAttributesToRender
6787 - Don't add an extra <span>
6789 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6791 * Style.cs: Handle null constructor argument for bag
6793 2005-07-11 Dick Porter <dick@ximian.com>
6795 * CheckBox.cs: New implementation
6797 * RadioButton.cs: Initial stubbed version that just compiles
6799 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
6801 * Button.cs: Initial Button implementation
6803 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
6805 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
6807 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6809 * HorizontalAlign.cs: Typo in header.
6810 * VerticalAlign.cs: New. Required enum for TableRow control.
6812 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6814 * TextBox.cs: More work on this
6816 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6818 * GridLines.cs: New. Required enum for Table control.
6819 * HorizontalAlign.cs: New. Required enum for Table control.
6821 2005-07-09 Duncan Mak <duncan@novell.com>
6823 * CommandEventHandler.cs:
6824 * DataGridCommandEventHandler.cs:
6825 * DataGridItemEventHandler.cs:
6826 * DataGridPageChangedEventHandler.cs:
6827 * DataGridSortCommandEventHandler.cs:
6828 * DataListCommandEventHandler.cs:
6829 * DayRenderEventHandler.cs:
6830 * RepeaterCommandEventHandler.cs:
6831 * ServerValidateEventHandler.cs: Add delegates.
6834 * ListSelectionMode.cs:
6835 * NextPrevFormat.cs:
6837 * PagerPosition.cs: Add enums.
6839 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6841 * TextBox.cs: Add the work I did on this today. It's not complete
6842 yet, but its a start!
6844 2005-07-09 Duncan Mak <duncan@novell.com>
6846 * CommandEventArgs.cs:
6847 * DataGridCommandEventArgs.cs:
6848 * DataGridItemEventArgs.cs:
6849 * DataGridPageChangedEventArgs.cs:
6850 * DataGridSortCommandEventArgs.cs:
6851 * DataListCommandEventArgs.cs:
6852 * DataListItemEventArgs.cs:
6853 * DayRenderEventArgs.cs:
6854 * RepeaterCommandEventArgs.cs:
6855 * RepeaterItemEventArgs.cs:
6856 * ServerValidateEventArgs.cs: Implemented.
6858 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
6860 * Image.cs: New. Image class implementation.
6861 * ImageAlign.cs: New. ImageAlign enum definitions.
6863 2005-07-08 Jackson Harper <jackson@ximian.com>
6865 * Literal.cs: New implentation.
6866 * MonthChangedEventArgs.cs: new
6867 * MonthChangedEventHandler.cs: new
6869 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6871 * LinkButton.cs: Command impl
6873 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6875 * LinkButton.cs: Initial impl
6877 2005-07-08 Jackson Harper <jackson@ximian.com>
6879 * AdCreatedeventArgs.cs: New implementation.
6881 2005-07-08 Dick Porter <dick@ximian.com>
6884 * BorderStyle.cs: Added
6886 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6888 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
6890 2005-07-07 Miguel de Icaza <miguel@novell.com>
6892 * Xml.cs: New implementation. R00lz.
6894 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6896 * FontInfo.cs: Added and implemented.
6897 * Style.cs: Fixed behaviour discrepancies showed by tests
6899 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6901 * PlaceHolderControlBuilder.cs: new file
6903 * LabelControlBuilder.cs: New file
6905 * HyperLink.cs: use control builder; fix parsing stuff
6907 * HyperLinkControlBuilder.cs: new file
6909 * Panel.cs: misc fixes
6911 2005-07-07 Miguel de Icaza <miguel@novell.com>
6913 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
6915 * UnitConverter.cs: Add new file, learned from the
6916 System.Drawing.ColorConverter.
6918 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6920 * PlaceHolder.cs: New file. Seems to do nothing
6922 * Label.cs: Use my new statebag trick to reduce typing
6924 * HyperLink.cs: New file
6926 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6928 * Style.cs: Added and implemented.
6930 2005-07-06 Miguel de Icaza <miguel@novell.com>
6932 * FontUnit.cs: New file.
6934 * Unit.cs: New file.
6936 Added support for null and empty string constructors.
6938 2005-07-06 Ben Maurer <bmaurer@ximian.com>
6940 * Unit.cs: cctor not needed; static fields are 0 init'd by default
6942 * WebControl.cs: Kothari & Datye's book explains how these work.
6944 * IRepeatInfoUser.cs: Reimpl.
6946 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6948 * WebControl.cs: Added stub
6950 2005-07-05 Miguel de Icaza <miguel@novell.com>
6952 * Label.cs: First control.
6954 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
6956 * DataControlField.cs: Ignore the ShowHeader property when
6957 building the control's content. It is the resposability of
6958 the field container to decide if the header should be shown
6961 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
6964 * ImageFieldMode.cs:
6965 * DynamicImageParameterMode.cs:
6966 * TableViewMode.cs: Removed.
6970 * TableRowSection.cs:
6971 * AutoCompleteType.cs:
6972 * DayNameFormat.cs: Track changes in 2.0 api.
6974 * StringArrayConverter.cs: This class is 2.0 only.
6976 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
6980 * DetailsView.cs: Bind the control after creating all child
6982 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
6983 the correct methods.
6984 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
6985 in this class. This is done in DataBoundControl. All this fixes
6988 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6990 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
6991 FindByText. Closes bug #74205.
6993 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6995 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
6996 1 when there's a datasource and 0 pages. Closes bug #73864.
6998 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
7005 * MenuItemTemplateContainer.cs:
7006 * DetailsView.cs: Track changes in the IDataItemContainer interface.
7008 * CommandField.cs: Added CausesValidation property. Set that
7009 property value to all buttons of the field.
7011 * SqlDataSourceView.cs:
7012 * CollectionDataSource.cs:
7013 * XmlDataSourceView.cs: Properly initialize the base class.
7015 * SiteMapDataSource.cs:
7016 * SiteMapHierarchicalDataSourceView.cs:
7017 * SiteMapNodeItem.cs:
7018 * SiteMapDataSourceView.cs:
7019 * SiteMapPath.cs: Mostly implemented.
7021 * HierarchicalDataBoundControl.cs: Always bind the control when the
7022 page is loaded for the first time.
7024 * TreeView.cs: Properly bind the control when loaded from a callback.
7026 2005-05-21 Ben Maurer <bmaurer@ximian.com>
7028 * BaseDataList.cs: Caption is in 1.1 too, though not
7029 documented. Gonz owes me [more] ice cream. Yummmmm.
7031 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7033 * BaseDataList.cs: implemented 2.0 Caption property.
7035 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
7037 * TreeView.cs: Always render the startup script. This fixes
7040 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
7042 * WizardStepBase.cs:
7043 * WizardStep.cs: Added missing attributes.
7044 * Wizard.cs: Implemented missing methods and properties. It can now
7045 be considered feature complete.
7047 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7049 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
7050 the method if the data source was en empty IEnumerator. Fixes
7053 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
7057 * Menu.cs: Implemented some new properties from beta 2.
7059 * DataControlButton.cs: Render the ControlStyle if it
7063 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
7064 It will now generate an object creation, instead of a Parse call.
7066 * GridViewCommandEventArgs.cs: Added missing property.
7067 * SubMenuStyleCollection.cs: This class is not sealed.
7068 * MultiView.cs: Set Visible=false to all views that are not
7069 shown. This ensures that it's view state is saved.
7071 * BaseDataBoundControl.cs:
7072 * GridViewDeletedEventArgs.cs: Minor api fixes.
7074 * FormViewDeleteEventArgs.cs:
7075 * DetailsViewDeletedEventArgs.cs:
7076 * ListControl.cs: Fix warnings.
7080 * HotSpotCollection.cs
7083 * RectangleHotSpot.cs
7084 * WizardStepCollection.cs : Implemented.
7088 * Wizard.cs: Initial implementation.
7090 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
7092 * DataControlField.cs:
7096 * DataControlCommands.cs:
7097 * DetailsView.cs: Use constants to identify commands.
7099 * SubMenuStyle.cs: Use Unit instead of int for padding.
7100 * SubMenuStyleCollection.cs: Implemented.
7103 * Menu.cs: Added some missing methods and properties.
7106 * DataGridPagerStyle.cs: Fixed default value attributes.
7107 * ListControl.cs: Implemented IEditableTextControl interface.
7109 * MenuItemBinding.cs: Added Selectable property.
7110 * CustomValidator.cs: removed interface.
7112 * MenuItem.cs: Added support for custom binding.
7113 * DropDownList.cs: Moved text properties to base class.
7115 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7117 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
7119 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7121 * Calendar.cs: when the day is active, modify the text of the literal
7122 control that holds the number, not the text of the TableCell. Also call
7123 OnDayRender before updating that text. Fixes bug #74718.
7125 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
7127 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
7129 * DataControlFieldHeaderCell.cs: Save Scope in view state.
7130 Added AbbreviatedText property.
7131 * AutoGeneratedField.cs: The constructor should actually be internal.
7132 * DataGridItem.cs: Added implemented interface in 2.0.
7133 * DataControlFieldCollection.cs: Implemented CloneFields and
7137 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7139 * StringArrayConverter.cs:
7140 * Calendar.cs: warnings.
7142 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
7144 * FormViewDeleteEventArgs.cs:
7145 * FormViewInsertEventArgs.cs:
7146 * FormViewUpdateEventArgs.cs:
7147 * FormViewDeletedEventArgs.cs:
7148 * FormViewUpdatedEventArgs.cs:
7149 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
7152 * IButtonControl.cs:
7153 * Button.cs: Removed SoftKey property.
7155 * CheckBox.cs: Don't try to load post back data if the control
7159 * AutoGeneratedField.cs:
7160 * DataControlField.cs:
7162 * ButtonFieldBase.cs:
7166 * ButtonField.cs: Don't bind fields in Insert state.
7167 Implemented CreateField and CopyProperties.
7170 * DetailsView.cs: Removed some unneeded interfaces. Don't
7171 generate the field rows if there are no items in the data source.
7172 Don't get the current keys until the whole control has been
7175 * DetailsViewInsertedEventArgs.cs:
7176 * DataBoundControl.cs:
7177 * ObjectDataSourceView.cs: Made some methods private.
7180 * Menu.cs: Changed some properties from int to Unit.
7182 * DataControlButton.cs: javascript prefix is needed when raising
7183 the postback event from a link.
7185 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
7186 The result was wrong when the total data source count was 0.
7188 * FormView.cs: Implemented.
7189 * FormViewRow.cs: Implemented.
7192 * Localize.cs: Fixed base interface.
7194 * BaseDataBoundControl.cs: In DataBind() call the base class
7195 DataBind method, so the binding context is properly set.
7197 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
7199 * DetailsView.cs: Added some null checks.
7200 * TemplateField.cs: Implemented support for two-way bindings.
7202 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
7204 * DetailsView.cs: Implemented support for Insert operation.
7205 Added header and footer templates. Added missing style
7207 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
7208 to get filter values. Other minor fixes.
7209 * CommandField.cs: Properly render the Insert and New buttons.
7210 * ObjectDataSource.cs: Update the parameter collections after
7211 the page is loaded. This will fire the ParameterChanged event
7213 * DataBoundControl.cs: The OnDataSourceViewChanged method
7214 is called when the view changes, not when the datasource
7217 * DetailsViewInsertedEventArgs.cs:
7218 * DetailsViewInsertEventArgs.cs: Implement Values property.
7221 * AutoGeneratedField.cs
7224 Take into account the Insert mode.
7226 * ParameterCollection.cs: Implemented UpdateValues and fixed
7227 GetValues (values can't be cached because can change).
7228 * Parameter.cs: Detect value changes in GetValue, and fire
7229 the change event if needed. Removed unused ParameterValue
7230 property. Other fixes.
7232 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
7234 * DetailsView.cs: Initial implementation.
7235 * ObjectDataSourceView.cs: Notify changes in the parameters.
7236 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
7237 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
7238 Implemented some properties.
7239 * GridView.cs: Added null check in SelectedValue. Don't return null
7240 for empty DataKeyNames list.
7241 * DetailsViewRowCollection.cs: Implemented.
7242 * DetailsViewRow.cs: Implemented.
7243 * ButtonFieldBase.cs: By default button field don't have headers.
7244 * BoundField.cs: Don't bind header fields.
7246 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
7248 * ButtonField.cs: Get data item properties using TypeDescriptor.
7249 Made OnDataBindField private.
7250 * ObjectDataSourceView.cs: Implemented support for Delete and
7251 Insert operations, support for filtering and sorting,
7252 conflict detection, etc. It's now complete.
7253 * ObjectDataSource.cs: Completed most of functionality. Only
7254 caching support is missing.
7255 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
7256 * TreeNode.cs: Get data item properties using TypeDescriptor.
7257 * PagerSettings.cs: Flush.
7258 * ObjectDataSourceFilteringEventArgs.cs: New event args.
7259 * GridView.cs: Get data item properties using TypeDescriptor
7260 and cache them. Properly set descending order in the sort
7261 expression. In UpdateRow, make sure we get the old values
7262 before the control is bound again.
7263 * ImageField.cs: Implemented.
7264 * AutoGeneratedField.cs: Initialize the field's sort
7265 expression in the constructor.
7266 * MenuItem.cs: Get data item properties using TypeDescriptor.
7267 * BoundField.cs: Get data item properties using TypeDescriptor.
7268 * CheckBoxField.cs: Added missing attributes.
7269 * TemplateField.cs: Implemented.
7271 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7274 * FontUnitConverter.cs: fixed ConvertTo to work with target
7275 InstanceDescriptor and value as a string.
7277 * Unit.cs: culture might be null.
7281 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
7283 * ButtonField.cs: Mostly implemented.
7284 * DataControlFieldHeaderCell.cs: Implemented.
7285 * ObjectDataSourceView.cs: Initial implementation.
7286 * DataControlButton.cs: Added support for real buttons.
7287 * Label.cs, DataControlField.cs: Flush.
7288 * ObjectDataSource.cs: Initial implementation.
7289 * HiddenField.cs: Added class stub.
7290 * GridView.cs: Load autogenerated field properties before
7291 creating the children, to make sure that column info is ready.
7292 * ControlParameter.cs: Implemented Evaluate method.
7293 * ImageField.cs: Added class stub.
7294 * BoundField.cs: Added HtmlEncode property.
7295 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
7297 * CheckBoxField.cs: Mostly implemented.
7298 * TemplateField.cs: Added class stub.
7299 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
7300 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
7301 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
7303 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
7305 * DataControlField.cs: Added missing InsertVisible property.
7306 * AutoGeneratedFieldProperties.cs: Implemented.
7307 * PagerSettings.cs: Minor fix.
7308 * GridView.cs: Implemented support for autogenerated fields, templates,
7309 accessible headers. Implemented paging using PagedDataSource.
7310 Implemented missing overridable methods.
7311 * AutoGeneratedField.cs: Initial implementation.
7312 * BoundField.cs: Added ReadOnly property.
7313 * PagedDataSource.cs: Implemented 2.0 api.
7314 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
7315 cell class to be used by accessible headers.
7316 * TableCell.cs: Removed unneded constructor. If the cell is bound to
7317 a template, call the default RenderContents method.
7319 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7321 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
7322 event when loading the view state. Fixes #73746.
7324 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7326 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
7328 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
7330 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
7332 * CommandField.cs: Mostly implemented.
7333 * Menu.cs: Use callback methods moved to ClientScriptManager.
7334 * DataControlButton.cs: Internal control used to implement buttons
7335 for navigating in data bound controls.
7336 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
7337 to render the column headers.
7338 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
7339 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
7340 Don't use Page.GetPostBackClientEvent
7341 since it is deprecated in 2.0.
7342 * GridView.cs: Implemented some several interfaces.
7343 Implemented support client sorting and page navigation (using callbacks).
7344 Implemented the autogenerated command column using the new CommandField
7346 * ButtonFieldBase.cs: Implemented.
7347 * GridView.js: New helper script to support client side sorting and
7348 paging in the grid view.
7350 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
7352 * DataKey.cs: Implemented.
7353 * XmlDataSourceView.cs: Implemented support for row pagging.
7354 * Table.cs: Fixed attribute value.
7355 * DataControlField.cs: Added support for sorting headers.
7356 * ChildTable.cs: Created.
7357 * ListControl.cs: Delay selection assignment, since control state
7358 is now loaded before view state.
7359 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
7360 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
7361 several missing properties.
7362 * PagerSettings.cs: Fully implemented.
7363 * BaseDataList.cs: Added null check.
7364 * GridView.cs: Implemented more functionality.
7365 * BoundField.cs: Added support for cell editing.
7366 * StringArrayConverter.cs: Implemented.
7367 * DataKeyArray.cs: Implemented.
7368 * BaseDataBoundControl.cs: Reset the requires binding flag before
7369 executing the query. This avoids recursive query calls.
7370 * GridViewRow.cs: Handler commands raised from row childs.
7372 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
7374 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
7375 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
7376 it is possible to query for properties fore each data item.
7377 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
7378 when loading its view state.
7379 * DataControlField.cs: Implement properties using a StateBag.
7380 * XmlDataSourcePropertyDescriptor.cs: Implemented.
7381 * PagerSettings.cs: Mostly implemented.
7382 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
7383 * DataBoundControl.cs: Added null check.
7384 * GridView.cs: Initial implementation.
7385 * CompositeDataBoundControl.cs: Implemented.
7386 * BoundField.cs: Initial implementation.
7387 * GridViewRowCollection.cs: Initial implementation.
7388 * DataControlFieldCollection.cs: Initial implementation.
7389 * DataControlFieldCell.cs: Fixed control tag.
7390 * GridViewRow: Initial implementation.
7391 * XmlDataSourceNodeDescriptor.cs: Implemented.
7393 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7395 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
7396 is zero, use the TagName no matter its value. Fixes bug #72415.
7398 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
7400 * Style.cs: Method name fix.
7401 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
7402 * BaseCompareValidator.cs: Method signature fix.
7403 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
7404 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
7405 * BulletedList.cs: Added missing method.
7406 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
7408 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
7410 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
7411 * RadioButton.cs: Added missing 2.0 methods.
7412 * ListItem.cs: Added Enabled property.
7413 * MailMessageEventArgs.cs: Use the correct message class.
7414 * ListControl.cs: Implemented missing properties and support for
7415 control state. Implemented base RenderContents method.
7416 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
7418 * BaseCompareValidator.cs: Implemented methods that support conditional
7419 use of the invariant culture.
7420 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
7421 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
7422 It takes a DbCommand instead of a IDbCommand.
7423 * GridViewSortEventArgs.cs: Added SortDirection property.
7424 * TextBox.cs, CheckBoxList.cs: Added protected version of
7425 IPostBackDataHandler methods.
7426 * RadioButtonList.cs: Added protected version of
7427 IPostBackDataHandler and IRepeatInfoUser methods.
7428 * Repeater.cs: Updated some method names.
7429 * DropDownList.cs: Added protected version of
7430 IPostBackDataHandler methods. Reuse RenderContents from base class.
7431 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
7432 * GridViewUpdatedEventArgs.cs: Fix typo.
7433 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
7434 Reuse RenderContents from base class.
7435 * BaseDataBoundControl.cs: Several fixes.
7436 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
7438 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7440 * CheckBoxList.cs: Fix build.
7442 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7444 * Button.cs: Use validation group when validating page.
7445 * XmlDataSourceView.cs: Implemented ExecuteSelect.
7446 * Menu.cs: Minor fix.
7447 * CheckBox.cs: Added 2.0 properties and methods.
7448 * BaseDataList.cs: Always databind the control if view state
7450 * DataList.cs: In 2.0, use control state to save the selected index.
7451 * DetailsViewUpdatedEventArgs.cs: Fix typo.
7452 * CustomValidator.cs: Implement IStaticTextControl interface.
7453 * CheckBoxList.cs: Added missing 2.0 methods.
7454 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
7456 * XmlDataSource.cs: Return childs of DocumentElement, not the root
7458 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
7459 Implemented 2.0 API.
7462 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
7464 * Button.cs: Implemented all missing 2.0 features.
7465 * Table.cs: Render the table caption, when specified.
7466 * Calendar.cs: Implemented most of missing 2.0 features.
7467 * TableCell.cs: Fixed attributes.
7469 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7471 * ControlPropertyNameConverter.cs: Added file.
7473 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7475 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
7476 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
7477 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
7478 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
7479 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
7480 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
7481 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
7482 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
7483 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
7484 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
7485 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
7486 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
7487 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
7488 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
7489 DataGridSortCommandEventArgs.cs, Repeater.cs,
7490 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
7491 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
7492 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
7493 CompareValidator.cs, HierarchicalDataBoundControl.cs,
7494 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
7495 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
7496 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
7497 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
7498 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
7499 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
7500 AdCreatedEventArgs.cs:
7502 General 2.0 API fixes: missing attributes, incorrect inheritance,
7503 missing sealed keywords, wrong signatures, etc.
7505 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
7507 * Table.cs: Added some 2.0 properties.
7508 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
7510 * BaseValidator.cs: Fix warning.
7511 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
7513 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
7515 * Menu.cs: Rendering fixes.
7517 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
7519 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
7520 ContentPlaceHolderBuilder.cs: Implemented.
7522 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7524 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
7525 attributes that are meant to be in the input tag in their place.
7527 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
7529 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
7530 generates invalid html).
7532 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
7534 * Menu.cs: Implemented most of missing properties. Added support for
7535 item templates. Implemented menu scrolling.
7536 * MenuItemBinding.cs: Implemented most of missing properties.
7537 * MenuItem.cs: Implemented most of missing properties.
7538 * Menu.js: Implemented scrolling and menu reposition into screen.
7539 * MenuItemTemplateContainer.cs: Implemented.
7540 * SubMenuStyle.cs: Implemented.
7542 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
7544 * Style.cs: Implemented RegisteredCssClass property. Added
7545 CopyTextStylesFrom method, which copies styles that only apply to text.
7546 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
7547 in the page stylesheet. Added support for ItemSpacing property.
7548 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
7550 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
7552 * Style.cs: Generate styles using a CssStyleCollection, so the code can
7553 be reused for the 2.0 FillStyleAttributes method.
7554 * Menu.cs: Implemented more properties and events. Rendering is very
7556 * MenuItem.cs: Added PopOutImageUrl property.
7557 * Menu.js: More work on submenu management.
7559 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
7561 * Menu.cs: Implemented basic rendering. Added some missing properties.
7562 * MenuItem.cs: Improved implementation of Depth.
7563 * Unit.cs: Added serializable attribute.
7564 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
7565 so it can be reused.
7566 * Menu.js: New script to support he Menu control.
7568 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
7570 * MenuEventArgs.cs: Changed to sealed.
7571 * TreeView.cs: Minor fix.
7572 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
7573 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
7574 MenuItemStyleCollection.cs: Initial Menu code.
7576 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
7578 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
7579 Implemented SetDirtyObject.
7580 * Style.cs: Implemented SetDirty().
7581 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
7582 * TreeNode.cs: Added missing attributes added support for
7583 PopulateOnDemand. Added some missing property bindings.
7584 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
7585 to newly added elements to make sure al new data is saved.
7586 * TreeView.js: Implemented support for client population of nodes.
7587 * TreeNodeStyle.cs: Added missing attributes.
7588 * TreeView.cs: Implemented support for PopulateNodesFromClient and
7589 PopulateOnDemand. Improved rendering.
7591 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
7593 * DataControlField.cs:
7594 * DataControlFieldCell.cs: Initial implementation.
7596 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
7598 * TreeNodeBindingCollection.cs: Implemented.
7599 * TreeNodeBinding.cs: Implemented.
7600 * TreeNode.cs: Added support for data binding.
7601 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
7602 TreeView_Default_NoExpand.gif: Moved to resources directory.
7603 * ListControl.cs: Fixed api.
7604 * XmlHierarchicalEnumerable.cs: Made internal.
7605 * DataBoundControl.cs: Modified api to match latest ms.net.
7606 * TreeView.js: New javascript file to support TreeView in the client.
7607 * XmlDataSource.cs: Added missing attributes.
7608 * HierarchicalDataBoundControl.cs: Mostly implemented.
7609 * BaseDataBoundControl.cs: Mostly implemented.
7610 * XmlHierarchyData.cs: Made internal.
7611 * TreeView.cs: Mostly implemented. The major missing feature is
7612 client side tree population.
7614 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
7617 * DataBountControl.cs:
7618 * Repeater.cs: Added SelectArguments property and updated.
7619 * SiteMapDataSourceView.cs:
7620 * SqlDataSourceView.cs:
7621 * XmlDataSourceView.cs: Removed extra method, which was there to
7622 keep things compiling.
7624 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
7626 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
7627 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
7628 TreeView.cs: Initial implementation.
7629 * DataBoundControl.cs: Set the correct base class.
7630 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
7631 * TreeNodeSelectAction.cs: Formatting.
7632 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
7633 TreeView_Default_NoExpand.gif: TreeView images.
7635 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
7637 * SqlDataSourceView.cs: Updated methods and added one property.
7639 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7641 * AccessDataSource.cs:
7642 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
7643 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7645 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
7646 * SqlDataSourceView.cs: Updated constructor.
7648 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7650 * AccessDataSourceView.cs: Added new class.
7652 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7654 * SqlDataSourceView.cs: Corrected exception handling in
7655 ExecuteSelect method.
7657 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
7659 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
7660 * SiteMapDataSourceView.cs: Minor fix.
7662 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7664 * SqlDataSourceView.cs: Updated ExecuteSelect method.
7666 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7668 * SqlDataSource.cs: Corrected Select method.
7670 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7672 * SqlDataSource.cs: Updated Select method definition.
7673 * SqlDataSourceStatusEventArgs.cs: Updated class.
7675 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
7677 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
7678 from DataSourceView.cs).
7680 2004-11-10 Raja R Harinath <rharinath@novell.com>
7682 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
7684 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
7686 * SqlDataSource.cs: Corrected method calls.
7687 * SqlDataSourceView.cs: Partial implementation of few methods.
7689 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7691 * ListItemCollection.cs: fixed bug when indexing changed elements in
7692 LoadViewState. Patch from Alois Bělaška.
7694 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
7696 * SiteMapDataSourceView.cs:
7697 * SqlDataSourceView.cs:
7698 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
7699 base class, DataSourceView. Changes are to keep things compiling.
7701 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
7703 * SiteMapDataSourceView.cs: Corrected class definition and updated.
7704 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
7707 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
7709 * AdRotator.cs: Updated.
7711 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
7713 * AccessDataSource.cs: Updated.
7715 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7717 * ValidatedControlConverter.cs: Updated.
7719 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7721 * AssociatedControlConverter.cs: Implemented.
7723 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7725 * ControlIDConverter.cs: Initial implementation.
7727 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7729 * IButtonControl.cs: Corrected property name.
7731 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7733 * ParameterCollection.cs: Updated.
7735 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7737 * Parameter.cs: Updated and completed implementation.
7739 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7741 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
7744 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7746 * AccessDataSource.cs: Initial implementation.
7748 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
7750 * DataControlRowState.cs:
7752 * TreeNodeTypes.cs: Added attribute.
7753 * DataControlRowType.cs:
7755 * SortDirection.cs: Corrected enumeration values.
7756 * TableRowSection.cs: Added new enumeration.
7757 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
7759 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7761 * TableStyle.cs: don't render empty 'rules' attribute (again).
7763 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
7765 * FormViewUpdatedEventArgs.cs: Spelling mistake.
7767 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
7769 * Literal.cs: Added new method Focus().
7771 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7773 * RadioButton.cs: fix GroupName when the control is inside a
7774 NamingContainer different from Page. Closes bug #65586.
7776 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
7778 * Localize.cs: Added new class.
7780 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
7782 * CompositeControl.cs : Completed
7783 * Login.cs : Initial implementation.
7785 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7787 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
7788 don't call MapPathSecure on the content itself.
7790 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
7791 document is checked at parse time and will be checked again at run time.
7795 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
7797 * AuthenticateEventHandler.cs:
7798 * CreateUserErrorEventArgs.cs:
7799 * CreateUserErrorEventHandler.cs:
7800 * DetailsViewCommandEventHandler.cs:
7801 * DetailsViewDeleteEventArgs.cs:
7802 * DetailsViewDeleteEventHandler.cs:
7803 * DetailsViewDeletedEventArgs.cs:
7804 * DetailsViewDeletedEventHandler.cs:
7805 * DetailsViewInsertEventArgs.cs:
7806 * DetailsViewInsertEventHandler.cs:
7807 * DetailsViewInsertedEventArgs.cs:
7808 * DetailsViewInsertedEventHandler.cs:
7809 * DetailsViewModeEventArgs.cs:
7810 * DetailsViewModeEventHandler.cs:
7811 * DetailsViewPageEventHandler.cs:
7812 * DetailsViewUpdateEventArgs.cs:
7813 * DetailsViewUpdateEventHandler.cs:
7814 * DetailsViewUpdatedEventArgs.cs:
7815 * DetailsViewUpdatedEventHandler.cs:
7816 * FormViewCommandEventHandler.cs:
7817 * FormViewDeleteEventArgs.cs:
7818 * FormViewDeleteEventHandler.cs:
7819 * FormViewDeletedEventArgs.cs:
7820 * FormViewDeletedEventHandler.cs:
7821 * FormViewInsertEventArgs.cs:
7822 * FormViewInsertEventHandler.cs:
7823 * FormViewInsertedEventArgs.cs:
7824 * FormViewInsertedEventHandler.cs:
7825 * FormViewModeEventHandler.cs:
7826 * FormViewPageEventHandler.cs:
7827 * FormViewUpdateEventArgs.cs:
7828 * FormViewUpdateEventHandler.cs:
7829 * FormViewUpdatedEventArgs.cs:
7830 * FormViewUpdatedEventHandler.cs:
7831 * GridViewCancelEditEventArgs.cs:
7832 * GridViewCancelEditEventHandler.cs:
7833 * GridViewCommandEventHandler.cs:
7834 * GridViewDeleteEventArgs.cs:
7835 * GridViewDeleteEventHandler.cs:
7836 * GridViewDeletedEventArgs.cs:
7837 * GridViewDeletedEventHandler.cs:
7838 * GridViewEditEventHandler.cs:
7839 * GridViewPageEventHandler.cs:
7840 * GridViewRowEventHandler.cs:
7841 * GridViewSelectEventHandler.cs:
7842 * GridViewSortEventArgs.cs:
7843 * GridViewSortEventHandler.cs:
7844 * GridViewUpdateEventArgs.cs:
7845 * GridViewUpdateEventHandler.cs:
7846 * GridViewUpdatedEventArgs.cs:
7847 * GridViewUpdatedEventHandler.cs:
7848 * ImageMapEventHandler.cs:
7849 * MailMessageEventHandler.cs:
7850 * MenuEventHandler.cs:
7851 * ObjectDataSourceDisposingEventHandler.cs:
7852 * ObjectDataSourceEventHandler.cs:
7853 * ObjectDataSourceMethodEventArgs.cs:
7854 * ObjectDataSourceMethodEventHandler.cs:
7855 * ObjectDataSourceSelectingEventArgs.cs:
7856 * ObjectDataSourceSelectingEventHandler.cs:
7857 * ObjectDataSourceStatusEventArgs.cs:
7858 * ObjectDataSourceStatusEventHandler.cs:
7859 * SendMailErrorEventHandler.cs:
7860 * SiteMapNodeItemEventHandler.cs:
7861 * SqlDataSourceSelectingEventArgs.cs:
7862 * SqlDataSourceSelectingEventHandler.cs:
7863 * TreeNodeEventHandler.cs:
7864 * WizardNavigationEventArgs.cs:
7865 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
7866 corrections and removing "sealed" access specifier from *EventHandler.cs
7868 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
7870 * Literal.cs: Added new attributes and property for .Net 2.0
7872 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
7874 * GridViewDeleteEventArgs.cs: Removed extra code.
7876 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
7878 * SendMailErrorEventArgs.cs:
7879 * SendMailErrorEventHandler.cs:
7880 * SiteMapNodeItemEventArgs.cs:
7881 * SiteMapNodeItemEventHandler.cs:
7882 * SqlDataSourceSelectingEventArgs.cs:
7883 * SqlDataSourceSelectingEventHandler.cs:
7884 * TreeNodeEventArgs.cs:
7885 * TreeNodeEventHandler.cs:
7886 * WizardNavigationEventArgs.cs:
7887 * WizardNavigationEventHandler.cs: Added new delegates.
7889 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7891 * ImageMapEventArgs.cs:
7892 * ImageMapEventHandler.cs:
7893 * MailMessageEventArgs.cs:
7894 * MailMessageEventHandler.cs:
7896 * MenuEventHandler.cs:
7897 * ObjectDataSourceDisposingEventArgs.cs:
7898 * ObjectDataSourceDisposingEventHandler.cs:
7899 * ObjectDataSourceEventArgs.cs:
7900 * ObjectDataSourceEventHandler.cs:
7901 * ObjectDataSourceMethodEventArgs.cs:
7902 * ObjectDataSourceMethodEventHandler.cs:
7903 * ObjectDataSourceSelectingEventArgs.cs:
7904 * ObjectDataSourceSelectingEventHandler.cs:
7905 * ObjectDataSourceStatusEventArgs.cs:
7906 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
7908 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7910 * DetailsViewCommandEventArgs.cs:
7911 * FormViewCommandEventArgs.cs:
7912 * GridViewCommandEventArgs.cs: Corrected constructor.
7914 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7916 * GridViewCancelEditEventArgs.cs:
7917 * GridViewCancelEditEventHandler.cs:
7918 * GridViewCommandEventArgs.cs:
7919 * GridViewCommandEventHandler.cs:
7920 * GridViewDeletedEventArgs.cs:
7921 * GridViewDeletedEventHandler.cs:
7922 * GridViewDeleteEventArgs.cs:
7923 * GridViewDeleteEventHandler.cs:
7924 * GridViewEditEventArgs.cs:
7925 * GridViewEditEventHandler.cs:
7926 * GridViewPageEventArgs.cs:
7927 * GridViewPageEventHandler.cs:
7928 * GridViewRowEventArgs.cs:
7929 * GridViewRowEventHandler.cs:
7930 * GridViewSelectEventArgs.cs:
7931 * GridViewSelectEventHandler.cs:
7932 * GridViewSortEventArgs.cs:
7933 * GridViewSortEventHandler.cs:
7934 * GridViewUpdatedEventArgs.cs:
7935 * GridViewUpdatedEventHandler.cs:
7936 * GridViewUpdateEventArgs.cs:
7937 * GridViewUpdateEventHandler.cs: Added new delegates.
7939 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7941 * FormViewUpdatedEventArgs.cs: Corrected constructor.
7943 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7945 * FormViewCommandEventArgs.cs: Corrected name of class.
7947 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7949 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
7952 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7954 * FormViewCommandEventArgs.cs:
7955 * FormViewCommandEventHandler.cs:
7956 * FormViewDeletedEventArgs.cs:
7957 * FormViewDeletedEventHandler.cs:
7958 * FormViewDeleteEventArgs.cs:
7959 * FormViewDeleteEventHandler.cs:
7960 * FormViewInsertedEventArgs.cs:
7961 * FormViewInsertedEventHandler.cs:
7962 * FormViewInsertEventArgs.cs:
7963 * FormViewInsertEventHandler.cs:
7964 * FormViewModeEventArgs.cs:
7965 * FormViewModeEventHandler.cs:
7966 * FormViewPageEventArgs.cs:
7967 * FormViewPageEventHandler.cs:
7968 * FormViewUpdatedEventArgs.cs:
7969 * FormViewUpdatedEventHandler.cs:
7970 * FormViewUpdateEventArgs.cs:
7971 * FormViewUpdateEventHandler.cs: Added new delegates.
7973 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7975 * DetailsViewCommandEventArgs.cs:
7976 * DetailsViewCommandEventHandler.cs:
7977 * DetailsViewDeletedEventArgs.cs:
7978 * DetailsViewDeletedEventHandler.cs:
7979 * DetailsViewDeleteEventArgs.cs:
7980 * DetailsViewDeleteEventHandler.cs:
7981 * DetailsViewInsertedEventArgs.cs:
7982 * DetailsViewInsertedEventHandler.cs:
7983 * DetailsViewInsertEventArgs.cs:
7984 * DetailsViewInsertEventHandler.cs:
7985 * DetailsViewModeEventArgs.cs:
7986 * DetailsViewModeEventHandler.cs:
7987 * DetailsViewPageEventArgs.cs:
7988 * DetailsViewPageEventHandler.cs:
7989 * DetailsViewUpdatedEventArgs.cs:
7990 * DetailsViewUpdatedEventHandler.cs:
7991 * DetailsViewUpdateEventArgs.cs:
7992 * DetailsViewUpdateEventHandler.cs: Added new delegates.
7994 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
7996 * AuthenticateEventArgs.cs:
7997 * AuthenticateEventHandler.cs:
7998 * CreateUserErrorEventArgs.cs:
7999 * CreateUserErrorEventHandler.cs: Added new delegates.
8001 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
8003 * IButtonControl.cs:
8004 * ICallbackContainer.cs:
8005 * ICompositeControlDesignerAccessor.cs:
8006 * IPostBackContainer.cs: Added new interfaces.
8008 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
8011 * AutoCompleteType.cs:
8012 * ContentDirection.cs:
8013 * DataControlCellType.cs:
8014 * DataControlRowState.cs:
8015 * DataControlRowType.cs:
8016 * DetailsViewMode.cs:
8017 * DynamicImageParameterMode.cs:
8020 * ImageFieldMode.cs:
8027 * SiteMapNodeItemType.cs:
8028 * SiteMapNodeType.cs:
8029 * SiteMapViewType.cs:
8031 * TableCaptionAlign.cs:
8032 * TableHeaderScope.cs:
8034 * TreeNodeSelectAction.cs:
8036 * TreeViewImageSet.cs:
8037 * WizardStepType.cs: Added enumerations
8039 2004-08-02 Duncan Mak <duncan@ximian.com>
8042 * LoginFailureAction.cs:
8043 * LoginTextLayout.cs: Added enumerations.
8045 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8047 * BaseValidator.cs: in Validate(), when the control is not visible or
8048 enabled, return inmediately after setting IsValid to true. Fixes bug
8051 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8053 * DataList.cs: s/HasChildren/HasControls()/.
8055 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8057 * DataList.cs: style.
8059 2004-07-27 Alon Gazit <along@mainsoft.com>
8060 * DataList.cs: Replaced foreach statement with for statement,
8061 in order to improve performence.
8063 2004-07-27 Alon Gazit <along@mainsoft.com>
8064 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
8066 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
8067 switch statements in order to improve performance.
8069 2004-06-10 Alon Gazit <along@mainsoft.com>
8070 * WebControl.cs: fixed LoadViewState().
8071 Creates new attributes state bag only when the current is null.
8073 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8075 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
8077 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8079 * Calendar.cs: set the title class attribute if we have it. Fixes bug
8082 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8084 * Style.cs: added SetBit.
8086 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8089 * CompareValidator.cs:
8092 * WebControl.cs: Added protected missing members and attributes.
8094 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8096 * TextBox.cs: don't save the Text if in ViewState if it's a password.
8097 Save it if the control is not visible or not enabled. Fixes bug #58497.
8099 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8101 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
8104 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
8106 * SqlDataSourceCommandEventArgs:
8107 * XmlDataSource.cs : removed temporary workarounds for CLS
8108 compliance as System.Data is now CLS compliant
8110 2004-05-06 Alon Gazit <along@mainsoft.com>
8111 * WebControl.cs: fixed LoadViewState() and SaveViewState().
8112 Before the change the Enabled property wasn't updated when a postback
8114 * ListControl.cs: fixed SelectedIndex property implementation.
8115 Prevents throwing ArgumentOutOfRangeException (that should not be
8116 thrown), when the list is empty.
8118 2004-04-28 Alon Gazit <along@mainsoft.com>
8119 * WebControl.cs: fixed LoadViewState().
8120 Always loading the saved attributes collection.
8122 2004-04-18 Alon Gazit <along@mainsoft.com>
8123 * Repeater.cs: fixed InstantiateItem() and DataSource property.
8124 The change in DataSource prevents throwing ArgumentException while
8125 setting property value to null.
8126 The change in InstantiateItem() prevents NullReferenceException.
8128 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
8130 * BaseValidator.cs: Store Display property in the correct ViewState
8131 property. Don't render anything if Display is ValidatorDisplay.None.
8133 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
8135 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
8136 since it is already a physical path. Fixes bug #55334.
8138 2004-02-13 Jackson Harper <jackson@ximian.com>
8140 * Calendar.cs: Match MS postback data. This allows sites that
8141 parse the postback data manually to work.
8143 2004-02-04 Alon Gazit <along@mainsoft.com>
8144 * EditCommandColumn.cs: fixed InitializeCell().
8145 The rendered LiteralControl should contain " " and not " ".
8147 2004-02-01 Alon Gazit <along@mainsoft.com>
8149 * DataGrid.cs: fixed a problem in the paging mechanism in the method
8151 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
8152 while clicking the "..." link in the second page.
8154 2004-01-28 Alon Gazit <along@mainsoft.com>
8156 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
8158 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8160 * Calendar.cs: when rendering days, add a LiteralControl containing the
8161 day before OnDayRender is called. Only generate the default links for
8162 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
8164 2004-01-21 Martin Baulig <martin@ximian.com>
8166 * XmlHierarchyData.cs: Make this compile with csc.
8168 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
8169 accessor since the base class doesn't have one.
8171 2004-01-18 Alon Gazit <along@mainsoft.com>
8173 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
8175 2004-01-18 Alon Gazit <along@mainsoft.com>
8177 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
8178 Property default value.
8179 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
8180 Property default value.
8182 2004-01-15 Alon Gazit <along@mainsoft.com>
8184 * RadioButtonList.cs: RepeatLayout property should affect the rendered
8187 2004-01-15 Alon Gazit <along@mainsoft.com>
8188 * FontInfo.cs: Add validation check to Size property.
8190 2004-01-07 Alon Gazit <along@mainsoft.com>
8191 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8192 merge the column's style to the cell's style and not to
8193 the item's(row) style.
8195 2004-01-04 Alon Gazit <along@mainsoft.com>
8196 * RangeValidator.cs: Fixed ControlPropertiesValid().
8198 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8200 * Xml.cs: mono-stylized and removed warnings.
8202 2004-1-1 Alon Gazit <along@mainsoft.com>
8203 * RadioButtonList.cs: update RenderItem() so that each RadioButton
8204 is enabled or disabled like the RadioButtonList.
8205 * CheckBoxList.cs: update RenderItem() so that each CheckBox
8206 is enabled or disabled like the CheckBoxList.
8208 2004-1-1 Alon Gazit <along@mainsoft.com>
8209 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8210 The Header or Footer Style shouldn't merge with the cells Style.
8212 2004-1-1 Alon Gazit <along@mainsoft.com>
8213 * DataGridColumn.cs: Headers and Footers are initialized
8214 with the relevant Style object.
8216 2003-12-30 Alon Gazit <along@mainsoft.com>
8217 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8218 DoHorizontalRendering().
8219 Current implementation produces few extra html tags.
8221 2003-12-29 Alon Gazit <along@mainsoft.com>
8223 * CheckBox.cs: change the implementation of LoadPostData.
8224 Currently, while the AutoPostBack property equals true ,
8225 it isn't possible to perform uncheck.
8227 2003-12-19 Jackson Harper <jackson@ximian.com>
8229 * TableCell.cs: Setting a cells text should clear its control
8230 collection as per la specification. This fixes bug #51825.
8232 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8234 * DataGridColumn.cs: stylized LoadViewState.
8235 * DataGridColumnCollection.cs: when TrackViewState is called, also
8236 call it on all the existing columns. Fixes bug #52334.
8238 2003-12-18 Alon Gazit <along@mainsoft.com>
8240 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
8243 2003-12-18 Alon Gazit <along@mainsoft.com>
8245 * TableStyle.cs: merge TableStyle properties when Style is empty.
8247 2003-12-16 Alon Gazit <along@mainsoft.com>
8249 * HyperLink.cs: Change Text property implementation. in MS when the Text
8250 property is set, all the controls in the HyperLink are being deleted.
8251 This fixes bug #52239.
8253 2003-12-15 Alon Gazit <along@mainsoft.com>
8254 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8255 DoHorizontalRendering().
8256 Both methods add additional empty table row in the head of each item
8257 table when the variable named isTable equals true (happenes with the
8258 default instantiation of RepeatInfo). These additional rows should be
8259 added when isTable equals false.
8260 This fixes bug #52225.
8262 2003-12-15 Alon Gazit <along@mainsoft.com>
8264 * RepeatInfo.cs: Fixed DoVerticalRendering() and
8265 DoHorizontalRendering().
8266 Both methods add to rendered Header a colspan attribute according to the
8267 rows count. after the change the colspan is added according to the
8270 2003-12-15 Alon Gazit <along@mainsoft.com>
8271 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
8272 In .NET if the checkbox is disabled ,its text appears disabled too.
8273 In Mono the text appears enabled. the fix is in Render().
8274 This fixes bug #52180.
8276 2003-12-15 Alon Gazit <along@mainsoft.com>
8277 * Repeater.cs: Change the implementation of CreateControlHierarchy().
8278 The current implementation renders extra Header and footer
8279 without Repeater.DataSource assign.
8280 This fixes bug #52179.
8282 2003-12-15 Alon Gazit <along@mainsoft.com>
8283 * DataGrid.cs: Change the implementation of the property
8284 BackImageUrl. The current implementation has no influence
8285 on the rendered Html.
8287 2003-12-15 Alon Gazit <along@mainsoft.com>
8288 * WebControl.cs: Change the implementation of the property
8289 Enabled. Before the change the WebControl also looked at
8290 parent.Enabled . fixed bug #52171.
8292 2003-12-11 Jackson Harper <jackson@ximian.com>
8294 * RepeatInfo.cs: When rendering vertically figure out how many
8295 colmns are not going to be filled in in the last row, and adjust
8296 things accordingly. This fixes bug #51863.
8298 2003-12-10 Alon Gazit <along@mainsoft.com>
8299 * TableRow.cs: Change the implementation of the properties
8300 HorizontalAlign and VerticalAlign. The current implementation
8301 has no influence on the rendered Html.
8303 2003-12-10 Alon Gazit <along@mainsoft.com>
8304 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
8305 property's set method.
8307 2003-12-09 Jackson Harper <jackson@ximian.com>
8309 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
8310 Increment counter when moving to start. Fixes bug #51926.
8312 2003-12-08 Jackson Harper <jackson@ximian.com>
8314 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
8315 Benjamin Jemlich. Fixes bug #51823.
8317 2003-12-07 Alon Gazit <along@mainsoft.com>
8318 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
8319 property is set to false. Fixes bug #58120.
8321 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8323 * TableItemStyle.cs: merge TableItemStyle properties when Style is
8324 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
8326 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8328 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
8331 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8333 * WebControl.cs: don't create the attributes when GetAttribute is
8336 2003-12-01 Jackson Harper <jackson@ximian.com>
8338 * WebControl.cs: Only allow access keys to be null or a single
8339 char. Patch by Alon Gazit <along@mainsoft.com>.
8341 2003-11-30 Jackson Harper <jackson@ximian.com>
8343 * CheckBoxList.cs: A checkbox will have null post data if it is
8344 unselected. This fixes bug #51516.
8346 2003-11-29 Jackson Harper <jackson@ximian.com>
8348 * DataGrid.cs: Display paging controls even when there is no
8349 data. Path by Mohammad DAMT. Fixes bug #51487.
8351 2003-11-29 Jackson Harper <jackson@ximian.com>
8353 * DataGrid.cs: Call TrackViewState when loading bound columns view
8354 state. So that their state is saved. This fixes bug #51424. Also
8357 2003-11-26 Jackson Harper <jackson@ximian.com>
8359 * BaseDataList.cs: Change && to || We will call that a typo so no
8360 one gets embarrased.
8362 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8364 * BaseDataList.cs: allow setting null as Datasource.
8366 * DataGrid.cs: keep autogenerated columns in the ViewState.
8368 Patches by Alon Gazit <along@mainsoft.com>.
8370 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8372 * SqlDataSource*: Implement almost everything. Data access is
8375 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8377 * Calendar.cs (SaveViewState):
8378 - We were allocating a 11 item array, we only used 10 items,
8379 so only allocate 10.
8380 - We only need to save the selected dates if there are any.
8381 * DataGrid.cs (SaveViewState):
8382 * DataGridColumn.cs (SaveViewState):
8383 * DataGridColumnCollection.cs (SaveViewState):
8384 - Only return the array if there is anything in it
8385 * Style.cs (SaveViewState):
8386 - Only save the bits if there were changes.
8387 * WebControl.cs (SaveViewState), (LoadViewState):
8388 - Don't save Enabled into the viewstate here, we already
8389 do it in the property. This just caused *EVERY* control
8390 to have a non-null state, taking up lots of extra room
8392 - The style will always be created with this control's
8393 viewstate, so the style will always return null for the
8394 viewstate. As such, we do not need to store it. We can
8395 also reduce the triplet to a pair because of this.
8397 2003-11-22 Jackson Harper <jackson@ximian.com>
8399 * ValidationSummary.cs: Fix number of messages and message array computation.
8401 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8403 * Xml.cs: Corrected attribute
8404 * XmlBuilder.cs: Added
8406 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8408 * Xml.cs: class status based fixes.
8410 2003-11-19 Jackson Harper <jackson@ximian.com>
8412 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
8414 2003-11-19 Jackson Harper <jackson@ximian.com>
8416 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
8417 teh applications base directory. This fixes bug #51092.
8419 2003-11-18 Todd Berman <tberman@gentoo.org>
8421 * ControlParameter.cs:
8422 * CookieParameter.cs:
8424 * QueryStringParameter.cs:
8425 * SessionParameter.cs: added public .ctor ()
8426 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
8427 and handling, as well as internal ParameterValue for easy access.
8428 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
8429 * ParameterCollection.cs: implementation redux.
8431 2003-11-18 Todd Berman <tberman@gentoo.org>
8433 * ParameterCollection.cs: Implemented
8434 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
8435 ToString () now matches asp.net
8437 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
8439 * ControlParameter.cs:
8440 * CookieParameter.cs:
8443 * QueryStringParameter.cs: New v2 files. Mostly
8444 implemented, still need a few methods.
8446 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8448 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
8449 Gazit <along@mainsoft.com>.
8451 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8453 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
8454 Patch by Alon Gazit <along@mainsoft.com>.
8456 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8458 * DataBoundControl.cs: Implement
8459 * ListControl.cs: inherit from the above.
8460 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
8462 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8467 * Repeater.cs: add v2 databinding stuff
8468 * XmlDataSource.cs: make it load the xml.
8470 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8473 * XmlDataSourceView.cs:
8474 * XmlHierarchicalDataSourceView.cs:
8475 * XmlHierarchicalEnumerable.cs:
8476 * XmlHierarchyData.cs: Implement
8478 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
8480 * SiteMapDataSourceView.cs: Implement.
8482 2003-11-07 Jackson Harper <jackson@ximian.com>
8484 * ImageButton.cs: This is a workaround for bug #49819. It appears
8485 that the .x and .y values are not being posted, and only the x
8486 value is being posted with the ctrl's id as the key.
8488 2003-11-07 Jackson Harper <jackson@ximian.com>
8490 * DataGrid.cs (CreateControlHierarchy): Current page index is
8491 alolowed to equal page count. This prevents an exception being
8492 thrown when both are zero.
8494 2003-11-06 Jackson Harper <jackson@ximian.com>
8496 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
8497 * BaseValidator.cs: Disable base control so the isValid flag is
8500 2003-11-03 Jackson Harper <jackson@ximian.com>
8502 * TemplateColumn.cs: Use the same renderer for selected items as
8503 normal items. This fixes bug #49744.
8505 2003-11-03 Jackson Harper <jackson@ximian.com>
8508 * WebControl.cs: Fix argument out of range exceptions on
8509 properties. Patch by Yaron Shkop.
8511 2003-11-03 Jackson Harper <jackson@ximian.com>
8513 * TemplateColumn.cs: If the item is selected but there is no
8514 editItemTemplate use the itemTemplate. This matches MS behvoir.
8516 2003-11-03 Jackson Harper <jackson@ximian.com>
8518 * Repeater.cs: Always set alternating items to the AlternatingItem
8519 type, when instantiating alternating items use the itemTemplate if
8520 the alternatingItem template is null. This matches MS behavoir and
8523 2003-11-03 Jackson Harper <jackson@ximian.com>
8525 * DataGridPagerStyle.cs: Name of view state attribute is
8526 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
8527 visibility is changed. Patch by Yaron Shkop.
8529 2003-11-03 Jackson Harper <jackson@ximian.com>
8531 * RepeatInfo.cs: When doing horizontal rendering use the repeat
8532 columns as the number of columns in a row. This fixes bug #49016.
8534 2003-11-03 Jackson Harper <jackson@ximian.com>
8536 * PagedDataSource.cs (PageCount): Return page count of 1 if there
8537 paging is disabled. Patch by Yaron Shkop.
8538 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
8539 * TableStyle.cs (AddAttributesToRender): Render border style
8540 collapse. Patch by Yaron Shkop.
8542 * TableItemStyle.cs:
8543 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
8544 the wrong type. Patch by Yaron Shkop.
8546 2003-11-03 Jackson Harper <jackson@ximian.com>
8548 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
8550 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
8553 * BulletedListDisplayMode.cs:
8554 * BulletedListEventHandler.cs:
8556 * BulletedListEventArgs.cs: V2 controls (yay!)
8558 2003-10-30 Jackson Harper <jackson@ximian.com>
8560 * Repeater.cs: Throw an exception if the datasource is set to
8561 something that does not implement either IListSource or
8562 IEnumerable. This fixes bug #50155.
8564 2003-10-30 Jackson Harper <jackson@ximian.com>
8566 * DataGridPagerStyle.cs: Do not allow page button counts to be set
8567 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
8569 2003-10-29 Jackson Harper <jackson@ximian.com>
8571 * ButtonColumn.cs: Format string and text to format were
8572 inversed. This fixes bug #50171.
8574 2003-10-29 Jackson Harper <jackson@ximian.com>
8576 * DataGridColumn.cs: If an item style is set apply it to the
8577 cell. This fixes bug #50173.
8579 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
8581 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
8582 old debugging value.
8584 2003-10-29 Jackson Harper <jackson@ximian.com>
8586 * PagedDataSource.cs:
8587 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
8588 end of the last page. Fixes bug #5085.
8590 2003-10-29 Jackson Harper <jackson@ximian.com>
8592 * CheckBox.cs: Do not change the status of a checkbox when there
8593 is no post data. This fixes bug #49091.
8594 * CheckBoxList.cs: Do not change the status of the checkboxes when
8595 there is no post data. This fixes bug #49093.
8597 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
8599 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
8600 RadioButton. Fixes #50132
8602 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8604 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
8605 paging from working. Fixes #48814.
8607 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8609 * DataGrid.cs: A few typos kept us from viewing datagrids
8610 that were based on customized collections.
8612 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
8614 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
8616 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
8618 * Calendar.cs: render the next month button so that aligns to the
8621 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8623 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
8624 was just changing && by || after the first Match.
8626 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8628 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
8629 Patch by Yaron Shkop.
8631 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8633 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
8634 that fixes bug #49744. Now the selection doesn't lose its data.
8636 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8638 * EditCommandColumn.cs: Implement; fix #49736
8640 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8642 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
8643 the forground color. bug #49738
8645 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8647 * Calendar.cs: fixed bug #49727.
8649 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
8651 * TableStyle.cs: fix #49740.
8653 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8655 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
8656 * ValidationSummary.cs: fixes bug #49669.
8658 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8660 * Calendar.cs: apply the calendar style to the new Table, not to itself.
8663 * CheckBox.cs: render the hidden fields if AutoPostBack.
8665 * Style.cs: don't render empty width/height. Small improvement in
8668 * Table.cs: fixed condition for border width.
8671 (CopyFrom): always call the base class to copy other attributes. Fixes
8672 bug #49408. Don't render empty 'rules' attribute.
8674 * WebControl.cs: track viewstate when enabled. Don't overwrite source
8675 control attributes in CopyBaseAttributes.
8677 * ChangeLog: fixed dates.
8680 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8682 * WebControl.cs : Attributes { get; } - Is Complete.
8683 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
8686 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8688 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
8689 : RegisterValidatorCommonScript()
8690 - More code, I need HELP!
8691 : RegisterValidatorDeclaration()
8692 - More code, I need HELP!
8694 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8696 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
8699 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8701 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
8702 ClearViewState only called when no items.
8704 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8706 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
8708 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8710 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
8712 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8714 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
8717 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8719 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
8722 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8724 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
8725 * WebControl.cs: fixed Enabled property and save it in ViewState.
8729 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8731 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
8733 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8735 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
8738 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8740 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
8741 <rich@velvetsea.net>.
8743 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8745 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
8746 Skripsky <juraj@hotfeet.ch>
8748 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8750 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
8751 fixes rendering of the end tag.
8753 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8755 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
8756 (Yaron Shkop). Closes bug #48060.
8758 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8760 * CheckBox.cs: in LoadPostData, only return
8761 true when the new data is different from the one we had. Fixed
8762 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
8765 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8767 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
8769 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8771 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
8772 of Enable in ViewState. Fixes bug #47865.
8774 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8776 * Style.cs: the MARKED bit is not send set in ViewState unless something
8777 is changed. Fixed TrackViewState condition.
8779 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
8780 because it uses the same ViewState as the control. Fixes bug #47725.
8782 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8784 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
8785 that fixes databinding when only DataTextField or DataNavigateUrlField
8788 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8790 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
8791 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
8792 values before assigning a data source and other issues.
8794 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8796 * CheckBox.cs: save viewstate when needed and correctly handle post
8797 data. Fixes bug #47462.
8799 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8801 * ButtonColumn.cs: Removed additional attributes
8802 * CheckBox.cs: Added attribute
8803 * DataGrid.cs: Added attributes
8804 * HyperLinkColumn.cs: Changed attributes, added lamespec
8805 * Style.cs: Removed attributes
8806 * TextBox.cs: Added/ removed attributes
8808 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8810 * AdRotator.cs: Added all attributes
8811 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
8812 * BaseValidator.cs: Added all attributes
8813 * BoundColumn.cs: Added all attributes
8814 * Button.cs: Added all attributes
8815 * ButtonColumn.cs: Added all attributes, added lamespec
8816 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
8817 * CheckBox.cs: Added all attributes
8818 * CheckBoxList.cs: Added all attributes
8819 * CompareValidator.cs: Added all attributes
8820 * CustomValidator.cs: Added all attributes
8821 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
8822 * DataGridColumn.cs: Added all attributes
8823 * DataGridColumnCollection.cs: Added all attributes
8824 * DataGridPagerStyle.cs: Added all attributes
8825 * DataGridTableInternal.cs: Made DataGridTableInternal internal
8826 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
8827 * DropDownList.cs: Added all attributes
8828 * FontInfo.cs: Added all attributes
8829 * HyperLink.cs: Added all attributes
8830 * HyperLinkColumn.cs: Added all attributes
8831 * Image.cs: Added all attributes
8832 * ImageButton.cs: Added all attributes
8833 * Label.cs: Added all attributes
8834 * LinkButton.cs: Added all attributes
8835 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
8836 * ListControl.cs: Added all attributes
8837 * ListItem.cs: Added all attributes
8838 * ListItemCollection.cs: Added attribute
8839 * Literal.cs: Added all attributes
8840 * Panel.cs: Added all attributes
8841 * RadioButton.cs: Added all attributes
8842 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
8843 * RangeValidator.cs: Added all attributes
8844 * RegularExpressionValidator.cs: Added all attributes
8845 * Repeater.cs: Added all attributes
8847 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8849 * RequiredFieldValidator.cs: Added all attributes
8850 * Style.cs: Added all attributes
8851 * Table.cs: Added all attributes
8852 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
8853 * TableCellCollection.cs: Added attribute
8854 * TableRow.cs: Added all attributes
8855 * TableRowCollection: Added attribute
8856 * TableStyle.cs: Added all attributes, improved error messages
8857 * TemplateColumn.cs: Added all attributes
8858 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
8859 * ValidationSummary.cs: Added all attributes
8860 * WebControl.cs: Added all attributes
8861 * Xml.cs: Added all attributes
8863 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8865 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
8866 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
8868 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8870 * CheckBoxList.cs: fixes bug reported on the list about the state of
8871 the CheckButtons not being preserved across posts.
8873 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8875 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
8877 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8879 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
8881 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8883 * ListControl.cs: save viewstate data when any of the 3 values is not
8884 null. Fixed condition to save selection indices. Closes bug #45493.
8886 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8888 * DataGrid.cs: fixed bug #43823.
8890 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8892 * DataGrid.cs: fixed delegate type for SortCommand.
8894 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8896 * DataGridColumnCollection.cs: added missing return in RemoveAt.
8898 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8900 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
8901 Don't save ViewState is the number of columns is 0.
8903 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8905 * DataGrid.cs: get the right item Type for the property we're reading
8906 fromt the data source.
8908 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8911 * TextBox.cs: added control builder attribute.
8913 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8915 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
8917 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
8919 * Unit.cs: Called the correct method to get the Numeric locale for the
8922 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8924 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
8925 correctly the header of the column.
8927 * DataGridTableInternal.cs: don't assign a default ID to this control.
8929 * LinkButton.cs: raise bubble event in OnCommand.
8931 * TableCellCollection.cs: fixed the index returned by Add.
8933 * TableRowCollection.cs: ditto.
8935 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8937 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
8939 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8941 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
8942 for reporting the bug and providing the fix.
8944 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8946 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
8947 CreateColumnSet. Set the owner of the column when auto generated.
8948 In PrepareControlHierarchyForItem, fixed for loop bound.
8950 * LinkButtonInternal.cs: fixed infinite recursion bug.
8954 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
8956 * Xml.cs: a few fixes.
8958 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8960 * DataList.cs: handle the exception when adding new keys to
8963 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8965 * BaseDataList.cs: what can I say for this one? I spent so many time
8966 until I finally found this that I'm gonna miss this f....g bug... ;-).
8967 Farewell. Now we can get events from image buttons inside Data*.
8969 * DataList.cs: now the value stored in ViewState for item count is
8972 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8974 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
8976 * DataGridColumn.cs: added SetOwner method.
8977 * DataGridColumnCollection.cs: set the owner of the column when added.
8979 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8981 * BoundColumn.cs: typo.
8982 * DataGrid.cs: use 'as' instead of casting. Typo.
8983 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
8986 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8988 * HyperLink.cs: fixes bug #36336.
8990 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8992 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
8994 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8996 * BaseValidator.cs: return an empty string in GetControlValidationValue
8997 when GetValue returned null.
8999 * CompareValidator.cs: fixed EvaluateIsValid.
9001 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
9003 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9005 * Xml.cs: use MapPathSecure to get the path of the document.
9007 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9009 * DataList.cs: fixed header & footer.
9011 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9013 * DataList.cs: for header and footer don't use data source.
9014 Instantiate in the DataListItem, not in the DataList.
9015 databind-template.aspx works now.
9017 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9020 (Render): call RenderContents (), not base.RenderContents ().
9022 * DataList.cs: style.
9024 But I still haven't found what i'm looking for....
9026 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9028 * Calendar.cs: fixed loading/saving selected dates.
9029 * SelectedDatesCollection.cs: added internal function to get the
9030 underlying ArrayList.
9032 Calendar navigation works again. Selecting dates too.
9034 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9036 * DataList.cs: added a few attributes and fixed infinite recursion.
9038 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9040 * ListItemCollection.cs: fixed LoadViewState.
9042 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9044 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
9045 Commented out some code until it works.
9047 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
9049 * BaseCompareValidator.cs - Fixed operator bug in
9050 Compare(string, string, ...)
9051 * CompareValidator.cs - EvaluateIsValid() : Implemented.
9053 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9055 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
9057 - All Properties : Now make use of ViewState.
9059 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9061 * BaseValidator.cs - Uncomment NotImplementedException.
9063 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9065 * BaseValidator.cs - Minor changes in TODO comments.
9067 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9069 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
9070 the NotImplementedException being thrown.
9071 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
9072 * DataGridLinkButton.cs - Added new class (private) : Implemented.
9073 * DataGrid.cs - InitializePager(DataGridItem, int,
9074 PagedDataSource) : Implemented.
9076 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9078 * DataList.cs - PrepareControlHierarchy() : Implemented.
9080 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9082 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
9083 - GetItem(ListItemType, int) : Removed TODO.
9084 - CreateControlHierarchy(bool) : Implemented.
9085 - CreateItem(int, ListItemType) : Implemented.
9086 - CreateItem(int, ListItemType,
9087 bool, object) : Implemented.
9088 - InitializeItem(DataItem) : Implemented.
9089 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
9090 The ViewState["_!ItemCount"],
9091 ViewState["_!DataSource_ItemCount"]
9092 are shared by DataList and DataGrid, and hence
9093 should share the same name.
9094 - ResolveDataSource(object, string)
9095 : Removed. Use System.Web.UI.Utils.DataSourceHelper
9096 ::GetResolvedDataSource(object, string).
9099 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9101 * DataGrid.cs: fixed compilation
9103 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
9105 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
9106 * DataGrid.cs - CreateControlHierarchy(bool)
9107 : working towards completion.
9108 - ResolveDataSource(object, string)
9109 : stubbed new method
9111 : stubbed new method
9112 Well. It's almost done.
9113 * DataGridTableInternal.cs
9114 - Added new internal class.
9116 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
9118 * DataSourceInternal.cs - Added new class (internal).
9120 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9123 * HorizontalAlign.cs:
9125 * VerticalAlign.cs: fixes based on class status page.
9127 * HorizontalAlignConverter.cs: implemented.
9128 * VerticalAlignConverter.cs: implemented.
9130 * FontUnitConverter.cs: implemented GetStandardValues ().
9132 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
9134 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9136 * DataGrid.cs - AutoCreateColumns: Bug fixes.
9138 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9140 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
9142 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9144 * DataGrid.cs - Working on the undocumented protected
9145 method CreateColumnSet. AutoCreateColumns method
9146 stubbed. Left CreateControlHierarchy for the time
9147 being, looks like I'm going insane. ;-)
9149 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9151 * Button.cs - Steffen's OnCommand bug fix.
9153 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
9155 * DataGrid.cs - Added protected method (skeleton)
9156 CreateColumnSet(PagedDataSource, bool)
9157 Still trying to know how will it be used
9160 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9162 * PagedDataSource.cs: fixed compilation.
9164 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
9166 * DataGrid.cs - Added private method
9167 CreatePagedDataSource
9169 CreateControlHierarchy(bool)
9170 * PagedDataSource.cs - Bug fixed.
9171 CurrentPageIndex is writable.
9173 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9175 * DataGrid.cs: fixed typo.
9176 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
9178 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9180 * DataGridColumn.cs - Added internal methods to get the
9181 various styles (needed in DataGrid.cs)
9182 * DataGrid.cs - Completed the method
9183 PrepareControlHierarchy()
9185 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9187 * DataGrid.cs - Wokring on PrepareControlHierarchy()
9188 - Added private method
9189 PrepareControlHierarchyForItem()
9191 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
9193 * DataGrid.cs - Completed method
9194 OnBubbleEvent(object, EventArgs)
9196 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9198 * Xml.cs: implemented document/transform load.
9200 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9202 * Calendar.cs: added myself to the list of authors.
9203 * DropDownList.cs: fixed a few properties.
9204 * ListControl.cs: fixed SelectedIndex.
9206 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9208 * Calendar.cs: lots of fixes. Render days. Still left to persist
9209 selected days when changing month.
9211 * Unit.cs: fixed Percentage and Pixel.
9213 * WebControl.cs: a few properties are now using ControlStyle instead
9214 of ViewState to persist.
9216 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9218 * BaseValidator.cs: it works now.
9219 * DataGridColumn.cs: added attribute and made it abstract.
9220 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
9222 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9224 * TextBox.cs: default for Wrap is true.
9225 (OnPreRender): don't save Text if there are no listeners on TextChanged.
9227 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9233 (LoadViewState): fixed.
9235 * ListItemCollection.cs:
9236 (TrackViewState): use items instead of 'this' in foreach.
9239 (LoadViewState): more checking of parameters.
9241 * WebControl.cs: implemented LoadViewState and SaveViewState.
9244 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9246 * ListItem.cs: there was no code to unset the flags!!!
9248 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9250 * FontUnit.cs: use a hashtable for mapping size name to value.
9251 * HyperLink.cs: fixed a bug and a typo.
9252 * Unit.cs: some fixes to internal constructor.
9254 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9256 * ListControl.cs: fixed a couple of range checks.
9257 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
9258 an HtmlForm (p.e., Label).
9260 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9270 * HyperLinkColumn.cs:
9279 * RadioButtonList.cs:
9283 * WebControl.cs: removed attributes added by mistake (i used
9284 GetCustomAttributes (true), d'oh!).
9286 * DataListItem.cs: implemented RenderItem.
9288 * Repeater.cs: implemented CreateItem and InitializeItem.
9290 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9292 * BaseDataList.cs: a couple of fiex and added attributes.
9293 * DataGrid.cs: little fixes.
9295 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9304 * RadioButtonList.cs:
9307 * Xml.cs: forgot to add using System.ComponentModel.
9309 * BaseValidator.cs: use explicitly
9310 System.ComponentModel.AttributeCollection as there is another class
9311 with the same name under System.Web.UI.
9313 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9332 * RadioButtonList.cs:
9337 * Xml.cs: added/fixed all attributes used by xsp.
9339 * BaseValidator.cs: some fixes.
9341 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9344 (AddAttributesToRender): correctly default to border=1.
9346 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9349 (LoadAdFile): make the dictionary null after every iteration.
9353 * ListItem.cs: fixed warnings.
9355 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
9357 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
9359 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9361 * DataGridColumn.cs:
9362 * DataGridPagerStyle.cs:
9369 * ListItemCollection.cs:
9371 * ServerValidateEventArgs.cs:
9375 * Xml.cs: more class status page based changes.
9377 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9380 (.ctor): fixed to render the correct tag.
9381 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
9383 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9386 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
9387 WebControl derived classes should be rendered inside a HtmlForm.
9389 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9391 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
9394 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9396 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9397 * RepeatInfo.cs: implemented DoHorizontalRendering.
9399 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9401 * System.Web.UI.WebControls/Repeater.cs:
9403 (OnDataBinding): fixed stack overflow.
9405 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9407 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9408 * RepeatInfo.cs: implemented DoHorizontalRendering.
9410 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9413 (CopyBaseAttributes): copy Attributes and don't throw exception.
9415 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9417 * ListBox.cs: mono-stylized.
9418 (AddAttributesToRender): call parent class method.
9420 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9422 * Style.cs: fixed IsEmpty and Width.
9424 * Table.cs: mono-stylized.
9425 (TableRowControlCollection.AddAt): fixed.
9426 (AddAttributesToRender): fixed.
9428 * TableCell.cs: mono-stylized.
9429 (.ctor): use PreventAutoID.
9430 (AddAttributesToRender): fixed.
9431 (AddParsedSubObject): fixed.
9433 * TableRow.cs: mono-stylized. Added
9434 ParseChildren attribute.
9437 (get_GridLine): fixed.
9439 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9441 * Panel.cs: fixed stack overflow.
9442 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
9443 and SingleConverter.
9445 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9447 * RadioButton.cs: mono-stylized and some little fixes.
9449 * TextBox.cs: mono-stylized.
9450 (MaxLength): fixed typo.
9452 (AddAttributesToRender): don't render the text between the tags for
9453 SingleLine, use value attribute for it. Don't render the text for
9456 (OnPreRender): don't throw exception and call base.OnPreRender.
9458 (Render): for MultiLine, render the text between the opening and
9459 closing tags encoded as HTML.
9461 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9464 (AddAttributesToRender): fixer another stack overflow.
9467 (TagName): modified to use TagKey instead of tagKey as the property
9470 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9472 * LinkButton.cs: mono-stylized.
9473 (AddParsedSubObject):
9474 (RenderControls): little fixes.
9477 (AddAttributesToRender): fixed usage of IEnumerator.
9479 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9481 * Literal.cs: beautified.
9483 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9485 * Label.cs: beautified and fixed a couple of 'classic' bugs.
9487 * WebControl.cs: use Span as default tag when no other provided in
9488 constructor. That is what MS renders.
9490 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9493 (AddAttributesToRender): fixed (classic) stack overflow.
9495 * CheckBox.cs: mono-stylized.
9496 (AutoPostBack): fixed stack overflow.
9497 (Render): fixed alignment issues. Also set the For attribute always
9500 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9502 * AdRotator.cs: GetData does not work as it should, but now it returns
9503 useful data (only the first ad in the file). Set the NavigateUrl
9504 property in the hyperlink if available.
9506 * HyperLink.cs: fixed constructor and a couple of stack overflows.
9508 * Image.cs: added an attribute and fixed stack overflow.
9511 (RenderBeginTag): fixed.
9512 (TagName): don't call Enum.IsDefined twice.
9514 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9516 * WebControl.cs: added attributes PersistChildrenAttribute and
9517 ParseChildrenAttribute.
9519 2002-05-24 Duncan Mak <duncan@ximian.com>
9521 * DataGridItem.cs (SetItemType): Changed function signature to
9524 * ListItemCollection.cs (this): Changes the visibility level of
9527 * Repeater.cs (OnItemCommand):
9529 (OnItemDataBound): Added necessary casts.
9531 2002-05-07 Duncan Mak <duncan@ximian.com>
9533 * Button.cs (AddAttributesToRender):
9534 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
9535 GetClientValidatedEvent method.
9537 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
9539 * Removed extra methods, corrected access modifiers to several
9542 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
9544 * <SeveralFiles>.cs - Added some attributes
9545 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
9546 methods. Will complete them later. Right now, busy with
9547 the attributes part.
9548 * RepeaterItem.cs - Completed.
9550 Oh God! Mercy! I will die applying attributes. I look at the missing
9551 part in the class-status - daemon! Kyrie eleison!
9553 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
9557 * AdRotator.cs - Added definition for Font.
9558 * BaseCompareValidator.cs - Added definition for Controls.
9559 * Calendar.cs - SelectMonthText definition corrected.
9560 * DataList.cs - Added definition for SeparatorTemplate.
9561 * BorderStyle.cs - Namespace correction. It belongs not to UI,
9562 but to UI.WebControls.
9564 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
9566 Finally, I have made it. Today I did a second build for the
9567 System.Web assembly. It compiled 195 classes today.
9568 I am waiting eagerly for the runtime to come up so that the objects
9569 may be tested to their last levels. Several of the methods are still
9570 under the tag of "TODO" throwing NotImplementedException. Well, I
9571 hope to remove them soon, but how far is this soon - even I don't
9572 know, though I am happy to make the build a success even before
9573 the vacations to come.
9575 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
9577 Yesterday and today I tried to do some building of the aseembly,
9578 but was dumped with uncoutably infinite errors. ;-)
9579 I have put the copies of the recent errors on my home page, want
9580 to have a look at them? See:
9581 http://mastergaurav.virtualave.net/mono/
9582 I don't know what to do with these errors. Oh! The buggy me! How
9583 will I overcome myself. Hopefully, by when my vacations over, I
9584 should have made a repository where the build will not fail.
9586 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
9588 I am now going to do a build that will include the
9589 System.Web.UI.WebControls namespace. Hoping that I will make it
9590 soon. My exams are coming near and I have to pack up soon.
9593 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
9596 And with this, ie, today's work, all the objects mentioned in the
9597 namespace appear in the implementation. But it may not be worth
9598 trying to go for a build because of dependence of several of the
9599 internal methods that may clash with already available assembly
9602 Also, the classes lack possible attributes, like those informing
9603 about child-controls etc. But I have to first create the attribute
9604 classes before I attach the attributes to the classes.
9606 * CustomValidator.cs - Completed. In process realized that
9607 I have to complete / rejuvinate BaseValidator class.
9608 * BaseValidator.cs - Complete rejuvination. Completed 80%
9609 of the job. All that is left is Render(HtmlTextWriter),
9610 DetermineRenderUplevel(), RegisterValidatorCommonScript()
9611 RegisterValidatorDeclaration()
9612 * DataGridPagerStyle.cs - Completed. That adds one more missle
9614 * DataKeyCollection.cs - Completed. Petty small.
9615 * Repeater.cs - Work started off. This is a quite
9617 * DataGridItemEventArgs.cs,
9618 * DataGridShortCommandEventArgs.cs,
9619 * DataListItemEventArgs.cs,
9620 * MonthChangedEventArgs.cs,
9621 * RepeaterItemEventArgs.cs,
9622 * ServerValidateEventArgs.cs,
9623 * DataGridPageChangedEventArgs.cs
9624 - Damn, I marked them "*", while they
9626 * Repeater.cs - Done all except for an undocumented
9627 method CreateControlHierarchy(bool). Though the method
9628 is quite clear by its name, but it will take some time
9629 for me to come with some material to flush in.
9631 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
9633 * SelectedDatesCollection.cs - Completed.
9634 * PagedDataSource.cs - Completed. Pathetically nice class.
9635 * RegularExpressionValidator.cs
9636 - Completed. Ridiculously small and
9637 annoyinglyc crazy-driving class, basically the method
9639 * RangeValidator.cs - Completed.
9640 * DataGridColumn.cs - Completed.
9641 * EditCommandColumn.cs - All is complete except for the
9642 InitializeCell(TableCell, int, ListItemType) method.
9643 * DataListItem.cs - All done except for a longish method
9644 RenderItem(HtmlTextWriter, bool, bool)
9646 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
9648 * RepeaterItemCollection.cs - Completed.
9649 I love *Collection classes. I am planning to make a
9650 program that will generate a *Collection class. It's so
9651 simple and the same. ;-)
9652 * DataGridColumnCollection.cs - Completed.
9653 ... except probably for *ColumnCollection classes, where
9654 you have to put in some more effort. Still, these class
9655 generation can be automated.
9656 * DataListItemCollection.cs - Completed.
9657 See, how easily, in less than a quarter of a minute, I
9658 completed this class - manually. Copy-Paste/Cut-Replace.
9660 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
9662 * DataGrid.cs - Following methods implemented:
9663 TrackViewState(), LoadViewState(object), SaveViewState(),
9664 On* -- The event raisers.
9665 OnBubbleEvent(object, EventArgs) is still incomplete.
9666 * DataGridItem.cs - Initial Implementation
9667 * DataGridItemCollection.cs - Completed.
9669 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
9671 * DataGrid.cs - Initial Implementation. Worked
9672 primarily with some properties.
9674 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
9676 * ListBox.cs - Completed. Implemented
9677 LoadPostData(string, NameValueCollection)
9678 * RequiredFieldValidator.cs - Completed. Pretty simple class.
9680 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
9682 * ListBox.cs - Implemented the following:
9683 RaisePostDataChangedEvent()
9685 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
9687 * ListBox.cs - Supports the following properties:
9688 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
9691 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
9692 RenderContents(HtmlTextWriter)
9695 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
9697 * TargetConverter.cs - Completed
9698 * TemplateColumn.cs - Completed
9699 * DataList.cs - Corrected the get-er methods for the
9700 *Style objects. Corrected the get/set-er methods for ViewState
9702 Addded support for properties:
9703 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
9704 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
9705 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
9706 SeparatorStyle, SeparatorItemTemplate.
9708 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
9709 ItemCreated, ItemDataBound, UpdateCommand.
9711 CreateControlStyle(), LoadViewState(object),
9712 SaveViewState(), TrackViewState
9714 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
9715 OnEditCommand, OnItemCommand, OnItemCreated,
9716 OnItemDataBound, OnUpdateCommand
9717 Added dummy methods for some undocumented methods:
9718 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
9719 CreateItem(int, ListItemType, bool, object),
9720 PrepareControlHierarchy(), InitializeItem(DataListItem)
9721 * ListBox.cs - Started working.
9725 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
9727 * RepeaterInfo.cs - Initial Implementation. Done all
9728 except for RepeatDirection.Vertical
9729 * TableStyle.cs - Completed
9731 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
9733 * DropDownList.cs - Completed
9734 * ListItemCollection.cs - Added method FindByValueInternal to
9735 assist in the derived classes.
9736 Discovered bug in FindByValue. Removed
9737 * UnitConverter.cs - Completed
9738 * PlaceHolder.cs - What can be simpler than this?
9739 * PlaceHolderControlBuilder.cs
9740 - Uh! Damn cool one.
9741 * RadioButtonList.cs - Initial Implementation. All is done
9742 except for the implementation of
9743 method IRepeatInfoUser.RenderItem(...)
9744 * ValidatedControlConverter.cs
9745 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
9746 * ValidationSummary.cs - Initial Implementation.
9747 * WebColorConverter.cs - Initial Implementation
9749 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9751 * FontNamesConverter.cs - Completed
9752 * FontUnitConverter.cs - Partial Implementation
9753 * ListItemControlBuilder.cs - Completed
9755 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9757 * TextBox.cs - All done except *Render* methods
9758 * TextBoxControlBuilder.cs - Completed
9759 * Xml.cs - Partial Implementation
9761 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
9763 * RadioButton.cs - Completed
9764 * TextBox.cs - Partial Implementation
9766 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
9768 * Panel.cs - Completed
9769 * TableItemStyle.cs - Completed
9771 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
9773 * TableCellCollection.cs - Completed
9774 * TableRowCollection.cs - Completed
9775 * TableHeaderCell.cs - Completed
9776 * TableRow.cs - Completed
9778 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
9780 * TableCellControlBuilder.cs - Completed
9781 * Table.cs - Completed
9782 * TableCell.cs - Completed
9784 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
9786 * CheckBoxList.cs - Completed
9787 * ButtonColumn.cs - Completed
9788 * Button.cs - Completed
9790 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
9792 * HyperLink.cs - Completed
9793 * Image.cs - Completed
9794 * ImageButton.cs - Completed
9795 * Label.cs - Completed
9796 * LabelControlBuilder.cs - Completed
9797 * LinkButton.cs - Completed
9798 * LinkButtonControlBuilder.cs - Completed
9799 * Literal.cs - Completed
9800 * LieteralControlBuilder.cs - Completed
9801 * FontUnit.cs - Completed
9804 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
9806 * Calendar.cs - Completed the functions of Render*,
9807 ViewStates (Track/View/Save),
9809 Left: RenderAllDays (partially)
9811 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
9813 * Calendar.cs - Added some more functions
9814 * Style.cs - Completed
9815 * ListItem.cs - Completed
9816 * ListItemCollection.cs - Completed
9818 Made the first successful build of System.Web.dll that included
9819 System.Web.UI.WebControls!
9821 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
9823 FontInfo.cs - Complete revamp. Completed
9825 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
9827 ListItemCollection.cs - Completed
9828 ListItem.cs - Initial Implementation
9829 Style.cs - Initial Implementation
9831 Right now I am in a total mood to do a successful build. Creating so many
9832 classes, completing classes in System.Web System.Web.UI namespaces.
9834 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
9836 TODO - Properly added
9837 CheckBox.cs - Completed
9838 BaseDataList.cs - Completed
9839 DayRenderEventArgs.cs - Completed
9840 RepeaterItem.cs - Initial implementation
9842 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
9844 BaseCompareValidator.cs - Completed
9845 AdRotator.cs - Completed
9847 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
9849 CommandEventArgs.cs - Completed
9850 DataGridCommandEventArgs.cs - Completed
9851 RepeaterCommandEventArgs.cs - Completed
9852 DataListCommandEventArgs.cs - Completed
9853 CompareValidator.cs - Partial Implementation
9855 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
9857 CheckBoxList.cs - Partial Implementation.
9860 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
9862 ListControl.cs - Completed
9864 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
9866 CheckBox.cs - Completed
9867 ListControl.cs - Initial Implementation
9868 CheckBoxList.cs - Started with it, but first needed
9869 ListControl. Left it.
9871 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
9873 CalendarDay.cs - Making a note that this
9874 has been implemented
9875 Calendar.cs - Making a note that have made some changes.
9876 Unimplmented functions throw
9877 NotImplementedException
9878 CheckBox.cs - Can now "Render" and "LoadPostData"
9881 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
9882 WebControl.cs - Total Revamp, Partial Implementation
9883 AdRotator.cs - Able to load files
9884 AdCreatedEventArgs.cs - Implemented
9886 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
9887 Calendar.cs - Initial Implementation
9888 ButtonColumn.cs - Initial Implementation
9889 Button.cs - Initial Implementation
9890 BoundColumn.cs - Initial Implementation
9891 BaseCompareValidator.cs - Minor Changes
9892 DataList.cs, BaseValidator.cs, BaseDataList.cs
9893 - Added more functions, other changes
9895 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
9896 WebControl.cs - Initial Implementation
9897 DataList.cs - Initial Implementation
9898 BaseValidator.cs - Initial Implementation
9899 BaseDataList.cs - Initial Implementation
9901 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
9903 AdCreatedEventArgs.cs - Initial Implementation
9904 AdCratedEventHandler.cs - Implemented
9905 AdRotator.cs - Initial Implementation
9906 BorderStyle.cs - Implemented
9907 ButtonColumnStyle.cs - Implemented
9908 CalendarSelectionMode.cs - Implemented
9909 DayNameFormat.cs - Implemented
9910 FirstDayOfWeek - Implemented
9911 FontInfo.cs - Partial Implementation
9912 FontSize.cs - Implemented
9913 GridLines.cs - Implemented
9914 HorizontalAlign.cs - Implemented
9915 HyperLink.cs - Initial Implementation
9916 ImageAlign.cs - Implemented
9917 IRepeatInfoUser.cs - Implemented
9918 ListItemType.cs - Implemented
9919 ListSelectionMode.cs - Implemented
9920 NextPrevFormat.cs - Implemented
9921 PagerMode.cs - Implemented
9922 PagerPosition.cs - Implemented
9923 RepeatDirection.cs - Implemented
9924 RepeatLayout.cs - Implemented
9925 TextAlign.cs - Implemented
9926 TextBoxMode.cs - Implemented
9927 TitleFormat.cs - Implemented
9928 UnitType.cs - Implemented
9929 ValidationCompareOperator.cs
9931 ValidationDataType.cs - Implemented
9932 ValidationSummaryDisplayMode.cs
9934 ValidatorDisplay.cs - Implemented
9935 VerticalAlign.cs - Implemented
9939 i/ File Created 2001-11-13