1 2010-07-13 Marek Habersack <mhabersack@novell.com>
3 * Wizard.cs: wizard table doesn't contain any instances of
4 HtmlAnchor or Image controls. Moved rendering of the skip link
5 anchor to the TableCellNamingContainer class, which does that in
6 RenderChildren by directly writing to the passed writer. Fixes 4.0
7 rendering and all the failing Wizard tests.
9 2010-07-08 Marek Habersack <mhabersack@novell.com>
11 * CheckBoxList.cs: RepeatLayout property update for new values of
12 the RepeatLayout enum in 4.0
14 * TreeView.cs: in 4.0, checkbox renders the value of the current
15 node's ToolTip, if anything, and not Text.
17 * RepeatLayout.cs: added two new members, UnorderedList and
20 * ImageMap.cs: implemented missing Enabled property (2.0+)
21 RaisePostBackEvent must be protected and virtual (2.0+)
22 NavigateUrl is ignored if the control is disabled (4.0)
24 2010-07-07 Marek Habersack <mhabersack@novell.com>
26 * TreeView.cs: 4.0 rendering changes.
27 When using registered CSS classes, the node style must use them in
30 2010-07-06 Marek Habersack <mhabersack@novell.com>
32 * HyperLink.cs: the associated image is not rendered using the
35 2010-07-02 Marek Habersack <mhabersack@novell.com>
37 * Menu.cs: 4.0 API updates.
39 * GridView.cs: implemented 4.0 properties -
40 SortedAscendingCellStyle, SortedAscendingHeaderStyle,
41 SortedDescendingCellStyle, SortedDescendingHeaderStyle,
42 ClientIDRowSuffix, ClientIDRowSuffixDataKeys, ShowHeaderWhenEmpty
43 along with associated rendering changes.
45 * DetailsView.cs, FormView.cs, GridView.cs: 4.0 API changes -
46 renamed ShowPage to SetPageIndex and made it public.
47 Added 4.0 interfaces to inheritance list and implemented them.
49 * DataKeyArray.cs: added internal constructor which accepts IList
50 instead of ArrayList. Changed the 'keys' field type to IList.
52 * ContainedTable.cs: the 'id' attribute must be rendered last.
54 * CheckBox.cs, CheckBoxList.cs, SiteMapPath.cs, Table.cs,
55 TableStyle.cs, TextBox.cs, WebControl.cs: 4.0 rendering changes.
57 * Calendar.cs, CompositeControl.cs, DropDownList.cs, HyperLink.cs,
58 Image.cs, ImageButton.cs, Label.cs, LinkButton.cs, LoginName.cs,
59 Panel.cs, Table.cs, TableCell.cs, TableRow.cs:
60 added new 4.0 property, SupportsDisabledAttribute.
62 2010-06-21 Marek Habersack <mhabersack@novell.com>
64 * BaseValidator.cs, BulletedList.cs, Calendar.cs, CheckBox.cs,
65 CheckBoxList.cs, DataGrid.cs, DropDownList.cs, GridView.cs,
66 HyperLink.cs, ImageButton.cs, LinkButton.cs, ListBox.cs,
67 ListControl.cs, Menu.cs, RadioButton.cs, RadioButtonList.cs,
68 RepeatInfo.cs, Repeater.cs, TextBox.cs, TreeView.cs,
69 ValidationSummary.cs, WebControl.cs: use WebControl.IsEnabled
70 instead of Enabled wherever necessary.
72 2010-06-16 Marek Habersack <mhabersack@novell.com>
74 * FormView.cs: row values must be retrieved with inclusion of
75 keys. Fixes bug #607722
77 2010-06-03 Marek Habersack <mhabersack@novell.com>
79 * Parameter.cs, ControlParameter.cs, SessionParameter.cs,
80 CookieParameter.cs, FormParameter.cs, ProfileParameter.cs,
81 QueryStringParameter.cs: Evaluate is 'protected internal virtual'
84 * RouteParameter.cs: implemented.
86 2010-04-28 Marek Habersack <mhabersack@novell.com>
88 * CheckBoxList.cs: do not modify list item status in LoadPostData
89 when the list control is disabled.
90 If an item is selected and it was unchecked by the user, deselect
93 2010-04-13 Marek Habersack <mhabersack@novell.com>
95 * GridView.cs: make sure Header and Footer visibility are set when
96 binding the data. Fixes bug #595567
98 * ImageField.cs, CheckBoxField.cs: OnDataBindField must expect
99 sender to be something else than DataControlFieldCell. Fixes bug
102 2010-04-07 Marek Habersack <mhabersack@novell.com>
104 * FormParameter.cs, CookieParameter.cs, ProfileParameter.cs,
105 QueryStringParameter.cs, SessionParameter.cs: implemented
106 constructor overloads which take DbType as one of the arguments.
108 2010-04-01 Marek Habersack <mhabersack@novell.com>
110 * FormView.cs: do not show the pager if PagerSettings.Visible is
111 false. Fixes bug #578863
113 2010-03-29 Marek Habersack <mhabersack@novell.com>
115 * GridView.cs: main table must be created and added to the
116 controls collection before any OnRowCreated event is fired.
118 2010-03-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
120 * TreeView.cs: use enums instead of strings for attributes.
122 2010-03-06 Marek Habersack <mhabersack@novell.com>
124 * XmlDataSource.cs: reload document when one of Data, DataFile,
125 Transform or TransformFile properties is set. Fixes bug
126 #585968. Fix based on patch from Jeffrey Alvarez
127 <kuritsu@gmail.com>, thanks.
129 2010-02-19 Marek Habersack <mhabersack@novell.com>
131 * SqlDataSource.cs: call base.OnInit in OnInit. Fixes bug #572781
133 2010-02-18 Marek Habersack <mhabersack@novell.com>
135 * ListItemCollection.cs: ItemsEnabled and associated code removed
136 - there's no need to alter ListItem's Enabled property when
139 * ListControl.cs: SaveViewState doesn't set the items collection's
140 ItemsEnabled property as it was removed from ListItemCollection
142 * CheckBoxList.cs: LoadPostData never unselects any item. A better
144 RenderItem renders items as disabled when Enabled is false, but if
145 Enabled is true, item is rendered according to the value of its
146 own Enabled property. Fixes bug #578770
148 * TreeView.cs: RegisterStyle must copy CssClass in addition to
149 other style properties. Fixes bug #580692
151 2010-01-18 Marek Habersack <mhabersack@novell.com>
153 * Parameter.cs: added missing 3.5 APIs - constructors taking
154 DbType as one of the parameters, ConvertDbTypeToTypeCode,
155 ConvertTypeCodeToDbType and GetDatabaseType. Fixes bug #567850
157 2010-01-15 Marek Habersack <mhabersack@novell.com>
159 * ChangePassword.cs: BaseChangePasswordContainer forwards
160 EnsureChildControls call to its owner, so that finding controls in
161 the container works correctly.
163 2009-11-30 Marek Habersack <mhabersack@novell.com>
165 * WebControl.cs: HasAttributes made available as internal for 1.1
166 Avoid calling the Attributes getter many times in
168 If TrackViewState is called and attributes state bag already
169 exists, mark all items in the latter as dirty.
171 * CheckBox.cs, Button.cs, ImageButton.cs, LinkButton.cs: do not
172 create the Attributes collection if not necessary.
174 2009-11-16 Marek Habersack <mhabersack@novell.com>
176 * TreeNodeCollection.cs: whenever a node is added, let the owner
179 * TreeNode.cs: added internal property HadChildrenBeforePopulating
180 which is used to let TreeView know about an error condition where
181 a populate-on-demand node contains children added outside the
182 OnTreeNodePopulate event
184 * TreeView.cs: if a node has any child nodes and PopulatOnDemand
185 is set, throw an exception from RenderNode. This is the behavior
188 2009-11-13 Marek Habersack <mhabersack@novell.com>
190 * TableRowCollection.cs: added .NET compatibility NREX throws to
192 Whenever a row is added/removed, its Container property is
193 set. Fixes bug #551666
195 * TableRow.cs: introduced an internal property, Container, which
196 is set by TableRowCollection whenever this row is added/removed
197 to/from the collection. This allows the row to notify the
198 collectio and, in consequence, collection owner that TableSection
199 has been set and thead/tbody/tfoot elements need to be
200 generated. Fixes bug #551666
202 2009-11-10 Marek Habersack <mhabersack@novell.com>
204 * PasswordRecovery.cs:
205 {Question,Success,UserName}TemplateContainer must all be populated
206 the first time the property is accessed, so that calling
207 FindControl on the container returns valid and expected
208 results. If the associated template is not defined, though,
209 populating is postponed till CreateChildControls is called -
210 that's where default, empty, template will be created. This is
211 required to fix YetAnotherForum's password recovery control.
212 Mail template used in SendPasswordByMail must match the one used
213 in .NET (it has to end with a newline) as YAF parses the message
214 to retrieve user name and password and breaks if the last line
215 doesn't end with a newline character.
217 2009-10-30 Marek Habersack <mhabersack@novell.com>
219 * PasswordRecovery.cs: mail message replacements should include <%
220 Password %> and <% UserName %> and matching should be
221 case-insensitive. Fixes bug #545370
223 2009-10-28 Marek Habersack <mhabersack@novell.com>
225 * ListControl.cs: OnDataBinding must call base implementation
226 before performing the binding, so that DataSource can be assigned
227 from within the handler.
229 2009-10-13 Marek Safar <marek.safar@novell.com>
231 * WebColorConverter.cs: Delegate ConvertFrom to
232 ColorTranslator.FromHtml, it is correctly implemented and knows
235 2009-10-13 Marek Habersack <mhabersack@novell.com>
237 * WebColorConverter.cs: don't use a dictionary to check for valid
238 color names, use Color.IsKnownColor instead. Update for bug
240 Added more CSS2 color name mappings.
242 2009-10-12 Marek Habersack <mhabersack@novell.com>
244 * WebColorConverter.cs: when converting from color name, check if
245 the returned color's name is a member of the
246 System.Drawing.KnownColor enumeration to test for error condition,
247 as some colors might be #000000. Preserve the old error check as a
249 Map "captiontext" and "background" color names to
250 "ActiveCaptionText" and "Desktop", respectively, before passing
251 them to Color.FromName (). Fixes bug #546173
253 2009-10-02 Marek Habersack <mhabersack@novell.com>
255 * GridView.cs: added two 3.5 properties - SelectedPersistedDataKey
256 and IPersistedSelector.DataKey.
258 * BaseDataBoundControl.cs: slight optimizations to FindDataSource
260 2009-09-28 Marek Habersack <mhabersack@novell.com>
262 * DataBoundControl.cs: Initialize sets RequiresDataBinding
263 properly, only when we're not data-bound already, when we aren't
264 in postback or when we are in postback, but with viewstate
265 enabled. Fixes bug #542076
267 2009-09-01 Marek Habersack <mhabersack@novell.com>
269 * ObjectDataSourceView.cs: ExecuteSelect must call
270 QueryTotalRowCount after executing the select method (that's what
273 2009-08-25 Marek Habersack <mhabersack@novell.com>
275 * WebColorConverter.cs: inform the user that the might need to
276 check if libgdiplus is installed when parsing a color name
277 fails. Fixes bug #533749
279 2009-08-21 Marek Habersack <mhabersack@novell.com>
281 * Menu.cs: separator image is rendered next to the item in
282 horizontal layout and is preceeded by 3px spacer (unless
283 itemSpacing is set) to make output match .NET. Fixes bug #474716
285 * TreeNodeCollection.cs: {Save,Load}ViewState now store/load the
286 type of the node, if node is a of a custom type. Fixes bug #475997
288 2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
290 * Parameter.cs: add new DbType property.
292 2009-06-16 Marek Habersack <mhabersack@novell.com>
294 * IPersistedSelector.cs: removed AspNetHostingPermission
295 attributes from the 4.0 profile.
297 * IDataBoundControl.cs, IDataBoundItemControl.cs,
298 IDataBoundListControl.cs, IFieldControl.cs: added
300 * DetailsView.cs: control implements 4.0 IDataBoundItemControl
303 * DataBoundControl.cs: implemented 4.0 property DataSourceObject
304 (internal for 2.0) and made the InternalPerformDataBinding method
305 internal for the 4.0 profile.
307 2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
309 * ContentControlBuilderInternal.cs: detect missing
310 ContentPlaceHolderID attribute when parsing instead of throwing a
313 2009-05-29 Marek Habersack <mhabersack@novell.com>
315 * ListItem.cs: when tracking view state is turned on after
316 attributes have been set, make sure that the associated state bag
317 begins tracking state and that all of its existing items are
318 marked as dirty. Do the same after loading view state. Fixes bug
321 2009-04-29 Marek Habersack <mhabersack@novell.com>
323 * DataBoundControl.cs: added InternalGetDataSource method, used by
326 2009-04-28 Marek Habersack <mhabersack@novell.com>
328 * GridView.cs: implemented ColumnsGenerator and enabled its use in
331 * DetailsView.cs: implemented the RowsGenerator property and
332 enabled its use in CreateFieldSet.
334 2009-04-07 Marek Habersack <mhabersack@novell.com>
336 * TreeView.js: removed nodeText parameter from the JS calls.
338 * TreeView.cs: encode | characters into U+007C, so that
339 RaiseCallbackEvent doesn't get confused.
340 Removed nodeText parameter from the JS calls.
342 2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
344 * TreeNode.cs: reset the path data for all child nodes too.
345 * TreeView.cs: HtmlAttribute encode the node text. When rebuilding the
346 node tree, set the correct index for the nodes so that the Path is
349 2009-04-06 Marek Habersack <mhabersack@novell.com>
351 * TreeView.js: TreeView_ToggleExpand now takes more parameters - a
352 full definition of treeview's node contents.
353 Added new function, TreeView_PopulateNode, which partially takes
354 over role of the PopulateNode function generated in
355 TreeView.OnPreRender (see below). Fixes bug #492307
357 * TreeView.cs: RaiseCallbackEvent needs to recreate the event
358 target's parental tree all the way from the root to the node and
359 populate only the leaf (requested) node. This avoids calling the
360 TreeNodePopulate handler more times than needed. Fixes bug #492307
361 OnPreRender: moved the script code to constants and the script
362 body is now generated using StringBuilder instead of a series of
364 GetClientExpandEvent: adjusted code for new TreeView JavaScript
367 2009-03-17 Marek Habersack <mhabersack@novell.com>
369 * Unit.cs: introduced a field to tell the difference between empty
370 (as in Unit.Empty) and 0px units.
372 2009-03-06 Marek Habersack <mhabersack@novell.com>
374 * WebControl.cs: if savedState is not an instance of Pair in
375 LoadViewState, do not attempt to load from it.
377 2009-02-10 Marek Habersack <mhabersack@novell.com>
379 * ImageButton.cs: AddAttributesToRender renders the onclick
380 attribute only if any of the following is true:
381 - OnClientClick is not empty
382 - Validation is enabled for the control
383 - PostBackUrl is used
384 PostBackOptions now indicate that control requires the javascript
385 protocol for the handler.
386 RaisePostBackEvent passes String.Empty as the argument.
389 2009-02-09 Marek Habersack <mhabersack@novell.com>
391 * ObjectDataSourceView.cs: ExecuteSelect returns a single-item
392 array of objects containing the result, if the result isn't one of
393 DataSet, DataTable or IEnumerable. Fixes bug #471767
395 2009-02-06 Marek Habersack <mhabersack@novell.com>
397 * Style.cs: if CssClass is null, return String.Empty. Fixes bug
399 Added a range check to the BorderStyle property.
401 2009-02-05 Marek Habersack <mhabersack@novell.com>
403 * Login.cs: check the value of DisplayRememberMe when creating
404 the child controls. Fixes #468359
406 2009-01-20 Marek Habersack <mhabersack@novell.com>
408 * Substitution.cs: added. Fixes bug #467460
410 2009-01-13 Marek Habersack <mhabersack@novell.com>
412 * XmlBuilder.cs: updates related to ControlBuilder cleanup.
414 2008-12-01 Marek Habersack <mhabersack@novell.com>
416 * Style.cs: WriteStyleAttributes must not use the fontinfo field
417 directly, it has to be done via the Font property. Fixes bug
420 2008-11-15 Marek Habersack <mhabersack@novell.com>
422 * ContentPlaceHolder.cs, Content.cs, FormViewPagerRow.cs,
423 ChangePassword.cs, DetailsViewPagerRow.cs: implements
424 INonBindingContainer interface.
426 * Wizard.cs: implement INonBindingContainer interface for several
427 private/internal classes.
429 2008-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
431 * ImageButton.cs: clicking an image causes a postback.
434 2008-10-24 Marek Habersack <mhabersack@novell.com>
436 * CheckBox.cs: register for event validation in Render ().
438 2008-10-21 Marek Habersack <mhabersack@novell.com>
440 * XmlDataSource.cs: DataFile may be an URL.
442 2008-10-17 Marek Habersack <mhabersack@novell.com>
444 * ImageMap.cs: added the SupportsEventValidation attribute to the
446 Validate the event in RaisePostBackEvent ().
447 Register for event validation in Render ().
449 * DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().
451 * TextBox.cs: validate the event in LoadPostData ().
452 Register for event validation in AddAttributesToRender ().
454 * HiddenField.cs: validate the event in RaisePostDataChangedEvent.
455 Register for event validation in Render ().
457 * RadioButton.cs: validate the event in LoadPostData ().
458 Register for event validation in InternalAddAttributesToRender.
460 * CheckBox.cs, RadioButtonList.cs: validate the event in
461 RaisePostDataChangedEvent.
463 * Menu.cs: added the SupportsEventValidation attribute to the
465 Validate the event in RaisePostBackEvent ().
466 Register for event validation in GetClientEvent ().
468 * DetailsView.cs, GridView.cs: validate the event in
469 RaisePostBackEvent ().
470 Register for validation in GetCallbackScript () and in OnPreRender
472 * Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
473 ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().
475 2008-10-14 Marek Habersack <mhabersack@novell.com>
477 * CompositeDataBoundControl.cs: renamed the itemcount ViewState
478 item from "_ItemCount" to "_!ItemCount" for .NET
479 compatibility. This item is accessed and used by some commercial
482 * DataBoundControl.cs: OnPagePreLoad must force databinding also
483 when the request is not a postback.
485 2008-10-13 Marek Habersack <mhabersack@novell.com>
487 * Table.cs, TableRowCollection.cs, TableRow.cs: render table
488 sections when necessary. Fixes bug #434555
490 2008-10-08 Marek Habersack <mhabersack@novell.com>
492 * ControlParameter.cs: Evaluate calls DataBinder.Eval to do the
493 evaluation now. This makes it support complex expressions.
495 2008-09-30 Sebastien Pouliot <sebastien@ximian.com>
497 * RoleGroupCollection.cs: Fix recursive calls (wrong target)
498 [Found using Gendarme's BadRecursiveInvocationRule]
500 2008-09-28 Sebastien Pouliot <sebastien@ximian.com>
502 * XmlDataSource.cs: Make sure the result of the multiplication is a
503 long (not an integer casted into a long since it could overflow).
504 [Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
506 2008-09-17 Juraj Skripsky <js@hotfeet.ch>
508 * RadioButton.cs (ValueAttribute, LoadPostData): Fixes bug #426959.
510 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
512 * IPersistedSelector.cs : new in 3.5 SP1.
514 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
516 * DataBoundControlMode.cs : new 3.5 SP1 type.
518 2008-08-25 Marek Habersack <mhabersack@novell.com>
520 * DataBoundControl.cs: set RequiresDataBinding to true in
521 Initialize only if not in a postback, if not data bound and if the
522 view state is enabled. Fixes bug #398318
523 UpdateViewData removes the OnDataSourceViewChanged handler before
524 connecting to the datasource and restores it before returning to
526 OnLoad gets the data source before initialization, to avoid
527 premature OnDataSourceViewChanged triggers. Fixes bug #398318
528 Do not reconnect to the data source if we already have a valid one.
530 2008-08-18 Marek Habersack <mhabersack@novell.com>
532 * Unit.cs: rewrote the unit parser in a slightly slower, but more
533 correct, way. Fixes bug #417502
535 2008-07-28 Marek Habersack <mhabersack@novell.com>
537 * TreeView.cs: when TreeView is displaying a site map and there is
538 no node selected by the user, select the node corresponding to the
539 current page, if any.
541 2008-07-24 Marek Habersack <mhabersack@novell.com>
543 * DataGrid.cs: removed the private class TableID and moved its
544 code to ChildTable.cs (see below). 2.0 instantiates teh ChildTable
545 with the owner parameter now. Fixes bug #400377
547 * ChildTable.cs: refactoring - moved code from TableID previously
548 defined in DataGrid.cs to here and made the class available under
549 different names for both 1.x and 2.x profiles. Fixes bug #400377
551 * MailDefinition.cs: look for the mail body file in the correct
552 path. Patch from Jackson Harper <jaharper@novell.com>,
553 thanks! Fixes bug #408699
555 * PasswordRecovery.cs: do not ask password recovery question if
556 it's disabled. Patch from Jackson Harper <jaharper@novell.com>,
557 thanks! Fixes bug #408696
559 2008-07-16 Marek Habersack <mhabersack@novell.com>
561 * XmlDataSource.cs: check if Page isn't null before stringifying
562 it in GetDataKey (), fixes bug #409492
564 2008-07-13 Roei Erez <roeie@mainsoft.com>
566 * GridView.cs: When the RowDataBound event is invoked, the value
567 of GridView1.DataKeys should contains all the keys up untill the
568 current row, and not be empty.
569 I only changed the order of the user event invocation and the addition
572 2008-07-13 Roei Erez <roeie@mainsoft.com>
574 * TreeView.cs: In case of multiple tree node bingings, select
575 The first one and not the last one.
577 2008-07-10 Roei Erez <roeie@mainsoft.com>
579 * HyperlinkField.cs: Changed behavior of HyperLinkField bound field key
580 to be case insensitive.
582 2008-07-03 Marek Habersack <mhabersack@novell.com>
584 * CheckBox.cs: do not render the language="javascript" attribute
587 2008-07-02 Marek Habersack <mhabersack@novell.com>
589 * GridView.cs: minor optimizations (removed a foreach loop,
590 replaced calls to Array.Length with a variable containing the
593 2008-06-30 Marek Habersack <mhabersack@novell.com>
595 * ObjectDataSourceView.cs, Menu.cs, DataList.cs,
596 CustomValidator.cs: hush the warnings
598 2008-06-10 Noam Lampert <noaml@mainsoft.com>
600 * ListItemCollection.cs: Provide viewstate for dirty collection even if it is empty.
602 2008-05-30 Marek Habersack <mhabersack@novell.com>
604 * BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
605 DataControlFieldCollection.cs, DataControlField.cs,
606 PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
607 event accessors (to avoid locks).
609 2008-05-18 Marek Habersack <mhabersack@novell.com>
611 * HierarchicalDataBoundControl.cs: Modified GetData method to check if
612 DataSource implements IHierarchicalEnumerable and if so constructs and
613 returns a new instance of ReadOnlyDataSourceView. This provides functional
614 compatibility with the Microsoft.NET framework. Fixes bug
615 #395209. Patch contributed by James Fitzsimons
616 <james.fitzsimons@gmail.com>, thanks!
618 2008-05-06 Marek Habersack <mhabersack@novell.com>
620 * Calendar.cs: do not create dateInfo in the constructor - culture
621 might be not set yet at this point. Fixes bug #323566
622 Added a private property, DateInfo, which creates the dateInfo
625 2008-05-05 Sebastien Pouliot <sebastien@ximian.com>
627 * BulletedList.cs: Avoid calling ToString on a string.
628 * ButtonField.cs: Throw, not just create, the exceptions.
629 * HyperLinkField.cs: Throw, not just create, the exceptions.
630 * ImageField.cs: Throw, not just create, the exception. Avoid calling
631 ToString on a string.
632 * ListControl.cs: Avoid calling ToString on a string.
633 [All issues were found using Gendarme]
635 2008-04-30 Marek Habersack <mhabersack@novell.com>
637 * SiteMapDataSource.cs: when no starting node is found, return
638 null instead of Provider.RootNode. Fixes bug #323994
640 2008-04-24 Marek Habersack <mhabersack@novell.com>
642 * SqlDataSource.cs: raise the DataSourceChangedEvent when setting
643 ConnectionString, ProviderName or DataSourceMode properties only
644 when the new value differs from the old one. Fixes bug #359392
646 2008-04-16 Marek Habersack <mhabersack@novell.com>
648 * ObjectDataSourceView.cs: ExecuteSelect should return an empty
649 aray when no data has been retrieved from the specified source
650 type. Fixes bug #380106
652 2008-04-15 Marek Habersack <mhabersack@novell.com>
654 * MailDefinition.cs: dispose of streams the way it should
657 2008-04-10 Marek Habersack <mhabersack@novell.com>
659 * RadioButton.cs: adjust 'name' and 'value' attribute values to
660 match MS.NET. Fixes bug #378024
662 * CheckBoxList.cs: set the Selected property to the value in POST
663 data only if the item in question was enabled before postback
664 occurred. Fixes bug #377703
666 * ListControl.cs: make sure the owned items' Enabled property is
667 set to the same value what ListControl's. Fixes bug #377703
669 * ListItemCollection.cs: fixed SetDirty to store the index of the
670 last dirtied item properly. Fixes bug #377703
671 For the 2.0 profile, set the ListItem instances Enabled property
672 to the value of the owning ListControl (internal ItemsEnabled
673 property was added to make it possible). Fixes bug #377703
675 2008-04-08 Dean Brettle <dean@brettle.com>
677 * DataBoundControl.cs (InternalPerformDataBinding),
678 HierarchicalDataBoundControl.cs (InternalPerformDataBinding),
679 WebControl.cs (Render): fixed cast errors when a ControlAdapter
680 that wasn't of the type corresponding to the control was used.
682 2008-04-03 Marek Habersack <mhabersack@novell.com>
684 * DataList.cs: use the value of SelectedIndex, not selectedIndex,
685 to return the key value in the SelectedValue property. Fixes bug
686 #376519. Patch from Sergey Kuleshov <svyatogor@gmail.com>, thanks!
688 2008-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
690 * AutoGeneratedField.cs, CheckBoxField.cs: fixed OnDataBindField,
691 should hide checkbox only if DataItem is not defined
693 2008-03-09 Dean Brettle <dean@brettle.com>
695 * DetailsView.cs, ListControl.cs, DataBoundControl.cs,
696 FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs:
697 added support for using ControlAdapters when present.
699 * WebControl.cs: fixed implementation of IsEnabled to match
702 * Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of
703 RenderMenuItem() if an adapter is present. MenuAdapter.RenderItem()
704 calls back to new Menu.RenderItem() internal method which calls
705 RenderMenuItem() with the appropriate parameters.
707 2008-02-25 Igor Zelmanovich <igorz@mainsoft.com>
710 at Update and Delete use not read only coppies of dictionaries
711 in event argumens, that allows user to change them before corresponding
712 DataSource's method is called.
714 2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>
716 * Login.cs: render id attribute of root element correctly.
718 2008-02-18 Marek Habersack <mhabersack@novell.com>
720 * FormView.cs: the ItemCreated must be fired before data is bound
721 to the FormView. Fixes bug #360434
723 2008-02-07 Igor Zelmanovich <igorz@mainsoft.com>
725 * Login.cs: render id attribute of root element correctly.
727 2008-02-05 Marek Habersack <mhabersack@novell.com>
729 * FileUpload.cs: make sure FileContent always returns the input
730 stream positioned at the beginning. Fixes bug #356846
732 2008-01-31 Igor Zelmanovich <igorz@mainsoft.com>
734 * Calendar.cs: resolve Next/Prev. month link date correctly.
736 2008-01-29 Igor Zelmanovich <igorz@mainsoft.com>
738 * TreeView.cs: add XPFileExplorer icon set.
740 2008-01-28 Igor Zelmanovich <igorz@mainsoft.com>
742 * Menu.js: dynamic nodes are positioned after hover style of
743 parent node is applied.
745 2008-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
747 * DataSourceCacheManager.cs: fixed GetKeyFromParameters, incase more
748 than one datasource using the same object with the same select method
750 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
752 * ValidationSummary.cs:
753 refactoring: If page contents instance of IScriptManager, it calls
754 it's API instead Page.ClientScript.
756 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
758 * Menu.cs: fixed rendering.
760 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
763 manage history state on "MovePrevious" action.
765 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
768 resolve BulletImageUrl,
769 register for event validation.
771 2008-01-13 Igor Zelmanovich <igorz@mainsoft.com>
775 upgrade client side script due to changes in webform.js.
777 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
779 * BaseCompareValidator.cs:
781 * CompareValidator.cs:
782 * CustomValidator.cs:
784 * RegularExpressionValidator.cs:
785 * RequiredFieldValidator.cs:
786 refactoring: If page contents instance of IScriptManager, validators call
787 it's API instead Page.ClientScript.
789 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
794 for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
795 in GetPostBackOptions.
797 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
799 * DetailsView.cs: render invisible rows correct.
801 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
803 * DataControlField.cs: prevent infinite recursion
805 2008-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
807 * DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding
810 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
812 * DataSourceCacheManager.cs: fixed SetCachedObject, fixed
815 2007-12-24 Igor Zelmanovich <igorz@mainsoft.com>
817 * TreeView.cs: revert changes from r91230
819 2007-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
821 * ListControl.cs: fixed Load/SaveViewState, removed selected indices
823 * ListItem.cs: fixed Load/SaveViewState, added selected state storing
824 * ListItemCollection.cs: fixed Load/SaveViewState, added flag to not
825 rebuild the collection if was'nt changed
827 2007-12-13 Marek Habersack <mhabersack@novell.com>
829 * Menu.cs, TreeView.cs: optimize use of String.Format in
831 Speed optimization - use String.Concat instead of String.Format in
834 * GridView.cs, DetailsView.cs: optimize use of String.Format in
837 * CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
838 WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
839 ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
840 optimization - use String.Concat instead of String.Format in some cases.
842 2007-12-13 Vladimir Krasnov <vladimirk@mainsoft.com>
844 * Menu.cs: fixed rendering without head tag on page
846 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
848 * Calendar.cs: performance optimizations:
849 BuildLink fixed, StringBuilder used.
850 TodaysDate DateTime.Today call cahced.
852 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
854 * Unit.cs: performance optimization: ToString fixed, string.Concat used
855 instead of string.Format
857 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
859 * Style.cs: performance optimization: suppress finalizer added
861 2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>
865 evaluate bound value using ThisExpession ("!") properly
867 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
869 * WebControl.cs: enabled state restored properly.
871 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
874 refactoring for NET_2_0:
875 Text is removed from view state in case of need at SaveViewState phase.
877 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
880 SelectedValue/SelectedIndex is set during DataBinding always.
882 2007-11-06 Marek Habersack <mhabersack@novell.com>
884 * DataGrid.cs: add RenderTable before the DataGridItems, so that
885 numbering of children is the same what on MS.NET.
886 If there are any data items, require a postback script.
889 * ChildTable.cs: removed DOS EOLs.
891 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
894 does not perform authentication if Page.IsValid returns false;
895 the fix makes control works with disabled client side validation.
897 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
900 state of DataList.Items are restored correct on PostBack
901 such Items.Count and ItemType.
903 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
906 validator is rendered correct if EnabledClientClient is false.
908 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
910 * Image.cs: fixed management state of Enabled property.
911 * WebControl.cs: refactoring in management state of Enabled property.
913 2007-10-23 Marek Habersack <mhabersack@novell.com>
915 * ListBox.cs, Table.cs: use Render{Begin,End}Tag
916 instead of the Write* counterparts when rendering contents.
918 2007-10-18 Marek Habersack <mhabersack@novell.com>
920 * Menu.js: a workaround for an IE bug. IE recalculates element's
921 offsetWidth when the element's _height_ is set - which in case of
922 elements with overflowing content results in a value that's just
923 slightly smaller than the client window width. In effect, a long
924 submenu will also be very wide, which isn't desirable. Fixes bug
927 2007-10-15 Marek Habersack <mhabersack@novell.com>
929 * ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
932 * BulletedList.cs: html encode the item text. Fixes bug #333550.
934 2007-10-01 Marek Habersack <mhabersack@novell.com>
936 * ListItem.cs: make HasAttributes available for the 1.1 profile as
939 * DropDownList.cs: render custom ListItem attributes in the 1.1
940 profile. Fixes bug #326288
942 2007-09-27 Marek Habersack <mhabersack@novell.com>
944 * Button.cs: added missing OnPreRender method.
946 2007-09-25 Marek Habersack <mhabersack@novell.com>
948 * WebControl.cs: added an internal method, BuildScriptAttribute,
949 which merges the specified JavaScript code in an attribute, with
950 the value of that attribute specified by the user.
952 * CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
953 preserve user-specified attribute value, if present.
955 * ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
956 after doing its job. AutoPostBack handling makes sure to preserve
957 user-specified attribute value, if present. Fixes bug #327816.
959 2007-09-21 Marek Habersack <mhabersack@novell.com>
961 * ListItem.cs: don't save StateBag in the control state - the
962 class is not serializable and therefore ObjectStateFormatter
963 cannot convert it. Instead have the sb object save its own state
964 and store the returned value. Fixes bug #326288.
966 2007-09-20 Marek Habersack <mhabersack@novell.com>
968 * LoginView.cs: implemented RoleGroups support. Fixes bug
971 2007-09-19 Marek Habersack <mhabersack@novell.com>
973 * GridView.cs: copy attributes from GridView to the child table,
974 as this is where the rendering takes place. Fixes bug #326309.
976 2007-09-18 Marek Habersack <mhabersack@novell.com>
978 * Calendar.cs: correctly apply day cell style. Fixes bug #315903
980 2007-09-17 Marek Habersack <mhabersack@novell.com>
982 * Calendar.cs: style attribute value must be enclosed in quotes.
984 * TableStyle.cs: do not capitalize the align styles. Fixes bug
987 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
989 * ListControl.cs: partially restored r85314
990 whenever a property that can affect data binding
991 is set, make sure to set RequiresDataBinding.
993 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
995 * DataBoundControl.cs: fixed DataBind flow:
996 prevent double binding when not necessary.
999 2007-08-31 Marek Habersack <mhabersack@novell.com>
1001 * GridView.cs: instead of not adding hidden fields to the rows,
1002 mark the cells they would contain as invisible. Fixes bug #82615.
1004 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1008 make Menu work in multi form environment.
1010 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1012 * ListControl.cs: fixed selected items state management.
1014 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1016 * BaseCompareValidator.cs:
1018 * CompareValidator.cs:
1019 * CustomValidator.cs:
1020 * RangeValidator.cs:
1021 * RegularExpressionValidator.cs:
1022 * RequiredFieldValidator.cs:
1023 all Validators use RegisterExpandoAttribute for
1024 not XHTML compliant attributes.
1026 2007-08-23 Igor Zelmanovich <igorz@mainsoft.com>
1028 * Panel.cs: client script consider MultiForm environment.
1030 2007-08-21 Marek Habersack <mhabersack@novell.com>
1032 * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
1035 2007-08-20 Marek Habersack <mhabersack@novell.com>
1037 * ContentPlaceHolderBuilder.cs: store place holder id in the
1038 parser's internal place holder id list for later reference. Fixes
1041 2007-08-19 Vladimir Krasnov <vladimirk@mainsoft.com>
1043 * BoundField.cs: FormatDataValue, refactored multiple use of ToString
1045 2007-08-14 Marek Habersack <mhabersack@novell.com>
1047 * ObjectDataSourceView.cs: remove unused variable.
1049 * ChangePassword.cs: remove unused variable.
1050 The change password button id changed to
1051 "ChangePasswordPushButton", the cancel button id changed to
1052 "CancelPushButton". The change makes the generated ids the same
1053 what on MS.NET. Fixes bug #82418.
1055 * RoleGroupCollection.cs: OnValidate shouldn't be overridden.
1057 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1059 * ParameterCollection.cs: fixed IndexOfString, should use ordinal
1062 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1064 * Menu.cs: performance refactoring, used AddAttribute overload without
1065 encoding on known attribute values, optimized DynamicMenu rendering
1067 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1069 * TreeView.cs: refactoring, used AddAttribute overload without encoding
1070 on known attribute values,
1071 used Page.ClientScript.GetWebResourceUrl call instead of
1072 AssemblyResourceLoader.GetResourceUrl
1074 2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
1076 * AccessDataSource.cs: does not subscribed on view changed event.
1077 * ObjectDataSource.cs: fixed state management.
1078 * SqlDataSource.cs: fixed state management.
1080 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1083 DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs,
1084 RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs,
1085 TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs,
1086 BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs,
1087 RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs,
1088 ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs,
1089 TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs:
1090 refactoring, used AddAttribute overload without encoding on known attribute
1093 2007-08-01 Igor Zelmanovich <igorz@mainsoft.com>
1095 * DropDownList.cs: fixed onchange attibute.
1097 2007-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
1099 * ListItemCollection.cs: fixed LoadViewState, items restored from
1100 viewstate were not saved, fixes bug #82192
1102 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1104 * BaseValidator.cs: All client scripts are rendered
1105 according IsMultiForm property.
1107 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1109 * TreeView.cs: refactoring:
1111 used ClientScriptManager.GetCallbackEventReference API instead calling
1112 WebForm_DoCallback explicit.
1114 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1116 * BaseValidator.cs: for NET_2_0: fixed client side validation.
1117 validation is performed in WebForm_DoPostback,
1118 and there is no need to do it twice in ValidatorOnSubmit.
1120 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1122 * Calendar.cs: fixed: correct 'id' attribute is rendered.
1124 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
1126 * ListItemCollection.cs: optimized SetDirty method
1128 2007-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1132 * ListItemCollection.cs: controls based on ListControl should not save
1133 view state before than TrackViewState called
1135 2007-07-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1137 * WebControl.cs: fixed AddDisplayStyleAttribute, returns if
1138 ControlStyle is not created
1140 2007-07-02 Marek Habersack <mhabersack@novell.com>
1142 * WebControl.cs: Revert r80368, as it wasn't the correct
1143 fix. Fixes bug #81945.
1145 * ListControl.cs: if there are no items in the collection, do not
1146 return an empty ArrayList from GetSelectedIndicesInternal. Fixes
1147 bug #81945 and properly fixes bug #78533.
1149 * ListItemCollection.cs: if there are no items in collection,
1152 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1155 the Pager is created but unvisible for only one page.
1156 the Patch submitted by Dumitru Ban [dban@dako.ro]
1158 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1163 does not requires data binding if any ITemplate property is set.
1165 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1167 * CheckBox.cs: fixed Render, HasAttributes called instead
1170 2007-06-24 Igor Zelmanovich <igorz@mainsoft.com>
1172 * GridView.cs: fixed AllowPaging feature:
1173 When the AllowPaging is true the GridView control should automatically
1174 hide the pager row when the data source contains fewer than 2 records.
1175 patch Patch submitted by Dumitru Ban [dban@dako.ro]
1177 2007-06-20 Marek Habersack <mhabersack@novell.com>
1179 * WebControl.cs: if savedState is a Triplet, take the actual state
1180 data from savedState.First. Also make sure that the data is a
1181 Pair. Fixes bug #78533.
1183 * DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
1184 to keep private entries.
1185 * XmlDataSource.cs: as above
1187 2007-05-31 Vladimir Krasnov <vladimirk@mainsoft.com>
1189 * BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed
1190 to ClientScriptManager
1192 2007-05-29 Igor Zelmanovich <igorz@mainsoft.com>
1194 * ObjectDataSourceView.cs:
1195 * SiteMapDataSource.cs:
1197 * SqlDataSourceView.cs:
1198 DataSourceChanged and DataSourceViewChanged are raised in right case, when
1199 different properties changed their value.
1201 2007-05-27 Igor Zelmanovich <igorz@mainsoft.com>
1203 * ObjectDataSourceView.cs: fixed SelectMethod and SelectCountMethod properties:
1204 when changed, DataSourceViewChanged event is raised.
1206 * SqlDataSourceView: fixed SelectCommand property:
1207 when changed, DataSourceViewChanged event is raised.
1209 2007-05-25 Marek Habersack <mhabersack@novell.com>
1211 * ObjectDataSourceView.cs: CreateDataObject must pay attention to
1212 TypeConverter attributes on the property being converted.
1214 2007-05-24 Igor Zelmanovich <igorz@mainsoft.com>
1216 * Menu.cs: fixed: alt attribute is rendered as well.
1218 2007-05-16 Marek Habersack <mhabersack@novell.com>
1220 * CompareValidator.cs: formatting changes
1222 2007-05-15 Marek Habersack <mhabersack@novell.com>
1224 * ObjectDataSourceView.cs: refactoring - use
1225 HttpApplication.LoadType to look up types.
1227 2007-05-10 Marek Habersack <mhabersack@novell.com>
1229 * Table.cs: render rows, not controls
1231 * HyperLink.cs: RenderContents must check if the render method
1232 delegate is present and, if yes, call the base RenderContents.
1234 * LinkButton.cs: as above.
1236 * Label.cs: as above.
1238 * TableCell.cs: as above.
1239 This change makes the HeaderTemplate in the Wizard control work.
1241 * Wizard.cs: if a next/previous step handler modifies
1242 ActiveStepIndex do not, respectively, increase/decrease the
1243 current step, but use whatever was set in the handler.
1245 2007-05-09 Marek Habersack <mhabersack@novell.com>
1247 * TreeNodeStyleCollection.cs: do not set font's underline flag to
1248 false, set it to its own value instead.
1250 * TreeView.cs: if level style exists and has ChildNodesPadding
1251 set, it takes precedence over the node style setting (if any).
1253 2007-05-08 Marek Habersack <mhabersack@novell.com>
1255 * TreeView.cs: children padding is rendered only before and after
1256 the children are rendered, not between them. Also, render padding
1257 only if there are any nodes to follow the current one.
1259 2007-05-07 Marek Habersack <mhabersack@novell.com>
1261 * Wizard.cs: additional checks to see whether the wizard needs to
1262 move to a next step or not. Fixes bug #81532. Patch sent by Mike
1263 Morano <mmorano@mikeandwan.us>, thanks!
1265 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1267 * FormView.cs: fixed:
1268 avoid NullReferenceException when used EditTemplate w/o binding
1269 directive such Eval or Bind.
1271 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1273 * MenuItem.cs: fixed:
1274 when 'Value' property is not set, value of 'Text' property is used
1275 instead and vice versa.
1277 2007-05-06 Igor Zelmanovich <igorz@mainsoft.com>
1279 * TreeNode.cs: fixed:
1280 when 'Value' property is not set, value of 'Text' property is used
1281 instead and vice versa.
1283 2007-05-04 Marek Habersack <mhabersack@novell.com>
1285 * AdRotator.cs: use the new GetPhysicalFilePath method to look up
1286 the physical path of the ad file.
1288 2007-05-03 Marek Habersack <mhabersack@novell.com>
1290 * TreeView.cs: honor ChildNodesPadding of the NodeStyle.
1292 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1294 * ControlPropertyNameConverter.css:
1295 * FontUnitConverter.cs:
1297 * ValidatedControlConverter.cs:
1300 2007-05-03 Marek Habersack <mhabersack@novell.com>
1302 * TreeNode.cs: correct version of the fix in r76488. Nodes
1303 retrieved from a navigation data source which have empty URL will
1306 * TreeView.cs: revert r76488, it wasn't entirely correct. I need
1307 to investigate the special cases it solved a bit more.
1309 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
1311 * SqlDataSourceView.cs:
1312 make CancelSelectOnNullParameter property works.
1314 2007-05-01 Marek Habersack <mhabersack@novell.com>
1316 * BaseValidator.cs: do not use User-Agent directly, we must take
1317 ClientTarget into account.
1319 2007-04-30 Marek Habersack <mhabersack@novell.com>
1321 * TreeView.cs: bring rendering closer to the MS.NET rendering.
1323 * SqlDataSource.cs: do not catch the exception if ProviderName is
1324 not null or empty (as per docs and what MS.NET does).
1326 2007-04-19 Igor Zelmanovich <igorz@mainsoft.com>
1328 * ChangePassword.cs:
1329 does not accept invalid new password.
1331 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1335 added MonoLimitation attributes
1337 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1339 * BaseValidator.cs: for TARGET_J2EE:
1340 used Page.Request.Browser to determine RenderUplevel
1342 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1345 when databound with AutoGenerateColumns = true,
1346 data source enumerator created only once.
1348 2007-04-18 Marek Habersack <mhabersack@novell.com>
1350 * SiteMapDataSource.cs: query the site map for the current node
1351 when configured to use it as the start point. Fixes bug #81376,
1352 patch from Mike Morano <mmorano@mikeandwan.us>.
1354 * Calendar.cs: change year/month format to be culture aware. Fix
1355 for bug #81390. Patch submitted by Atsushi Enomoto
1356 <atsushi@ximian.com>
1358 2007-04-17 Daniel Nauck <dna@mono-project.de>
1360 * PasswordRecovery.cs: fixed typo (AnswerLabel.Text).
1362 2007-04-17 Marek Habersack <mhabersack@novell.com>
1364 * BaseValidator.cs: use the new uplevel browser detection code.
1366 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1368 * SqlDataSourceView.cs: fixed: InitializeParameters:
1369 restored flow, broken in r75137.
1371 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1373 * Menu.cs: popup menu is posed correctly if menu is placed within
1374 container with position=relative
1376 2007-04-12 Marek Habersack <mhabersack@novell.com>
1378 * LoginView.cs: do not call CreateChildControls directly from the
1379 IsAuthenticated setter since that would destroy the controls the
1380 user might've configured from their Page_PreRender method.
1381 Do not use IsAuthenticated in CreateChildControls since that
1382 prevents the _correct_ template from being instantiated before the
1383 control is transferred to the user's OnPreRender handler. Fixes
1386 2007-04-11 Marek Habersack <mhabersack@novell.com>
1388 * ImageButton.cs: implement the Enable property and do not
1389 register for post back if the control isn't enabled.
1391 2007-04-06 Marek Habersack <mhabersack@novell.com>
1393 * GridView.cs: don't render invisible fields. Fixes bug #80061.
1395 * DetailsView.cs: don't render invisible fields.
1397 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1399 * Menu.cs: resolve selected MenuItem if bounded with SiteMapeDataSource.
1401 2007-04-05 Marek Habersack <mhabersack@novell.com>
1403 * BaseDataBoundControl.cs: restore the LAMESPEC note and code it
1404 describes - tests show this is what's happening on MS.NET as
1407 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1410 * BaseDataBoundControl.cs:
1411 Break recursion when the property is set from within the OnSelect handler
1412 in user's code. fixes bug #81175.
1414 2007-04-05 Marek Habersack <mhabersack@novell.com>
1416 * SiteMapDataSource.cs: fix GetStartNode for situations when the
1417 current URL is not defined in the sitemap file. Fixes bug
1418 #81314. Patch from Mike Morano <mmorano@mikeandwan.us>.
1420 2007-04-03 Marek Habersack <mhabersack@novell.com>
1422 * BaseDataBoundControl.cs: adjust for lame specs on MSDN.
1424 2007-04-02 Gert Driesen <drieseng@users.sourceforge.net>
1426 * MenuItem.cs: Use INavigateUIData.Description as ToolTip. Fixed line
1429 2007-03-29 Adar Wesley <adarw@mainsoft.com>
1431 * ObjectDataSourceView.cs: fixed events so they are raized at the
1432 right times. Added many tests to verify the correct time.
1433 * SqlDataSourceView.cs: fixed events so they are raized at the right
1434 times. Added many tests to verify the correct time.
1436 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1440 avoid Exception if HierarchicalDataSourceView.Select() returns null.
1442 2007-03-22 Igor Zelmanovich <igorz@mainsoft.com>
1444 * ObjectDataSource.cs:
1445 * ObjectDataSourceView.cs:
1447 * SqlDataSourceView.cs:
1448 fixed flow: changes in Insert/Update/DeleteParameters does not
1449 cause DataSourceViewChanged event.
1451 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1453 * BaseDataBoundControl.cs: fix as per MSDN - the property is set
1454 only if data binding doesn't occur.
1456 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1458 * GridView.cs: fixed: PageIndex considers PageCount.
1460 2007-03-20 Marek Habersack <mhabersack@novell.com>
1462 * DataBoundControl.cs: avoid endless recursion here. Fixes bug #81175
1464 * LoginStatus.cs: render login/logout controls with the CssClass
1465 set from the parent control. Fixes bug #81196
1467 2007-03-19 Igor Zelmanovich <igorz@mainsoft.com>
1469 * DataGrid.cs: fixed Save/Load view state, applying styles.
1471 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
1473 * Style.cs: optimization: used CssStyleCollection .ctor w/o parameters.
1475 2007-03-09 Marek Habersack <mhabersack@novell.com>
1477 * Login.cs: Make command name comparison case-insensitive in
1478 OnBubbleEvent. Patch from Mike Morano <mmorano@mikeandwan.us>
1480 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1482 * DataGrid.cs: fixed:
1483 Auto-generated columns are restored properly on postback from view state.
1485 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1488 when AddAttributesToRender(System.Web.UI.HtmlTextWriter, WebControl)
1489 is called, WebControl parameter is passed as argument to
1490 FillStyleAttributes (CssStyleCollection, IUrlResolutionService) method.
1492 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1496 fixed applying styles if ExtractTemplateRows=true.
1498 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1500 * DropDownList.cs: in 2.0 first item is rendered with selected attribute
1501 is Enabled=false and no selected items.
1503 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1505 * CheckBoxList.cs: in 2.0 access key attribute is rendered in 'input' tags.
1507 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1513 * RadioButtonList.cs:
1514 fixed: list controls consider ListItem.Attributes property on render.
1516 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1518 * CheckBox.cs: fixed: 'span' tag is not rendered if all attributes
1519 are rendered in 'input' tag.
1521 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1525 used "ONLY_1_1" instead "!NET_2_0"
1527 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1529 * BaseDataBoundControl.cs:
1530 * DataBoundControl.cs:
1531 * HierarchicalDataBoundControl.cs:
1532 refactoring: DataBoundControl and HierarchicalDataBoundControl use internal
1533 method in BaseDataBoundControl to find a data source control.
1535 2007-03-05 Marek Habersack <mhabersack@novell.com>
1537 * Unit.cs: Support parsing of units in the form ".9em" etc.
1539 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1541 * TemplateColumn.cs: fixed: if ItemTemplate is null, " " is rendered.
1543 2007-03-05 Marek Habersack <mhabersack@novell.com>
1545 * BaseValidator.cs: make validators work correctly with
1546 ListItems. Patch from Daniel Nauck <dna@informatik.uni-kiel.de>
1548 2007-03-04 Marek Habersack <mhabersack@novell.com>
1550 * HierarchicalDataBoundControl.cs: Use the method described below
1551 to get the data source named in DataSourceID.
1553 * BaseDataBoundControl.cs: add an internal method to find a data
1554 source control within all the naming containers above a given
1555 control. The method makes it possible to find controls that reside
1558 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1560 * Repeater.cs: fixed: data-binding flow for 2.0 features.
1562 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1565 * ParameterCollection.cs:
1566 fixed GetValue/s and UpdateValue/s.
1568 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1570 * TreeNodeCollection.cs:
1571 fixed Save/Load viewstate.
1573 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1575 * MenuItemCollection.cs:
1576 fixed Save/Load viewstate.
1578 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1580 * CreateUserWizard.cs:
1582 fixed CausesValidaion and ValidationGroup for navigation buttons.
1584 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1588 fixed LoadPostData to restore checked state for node's checkboxes.
1590 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1592 * TreeNodeCollection.cs: 'dirty' flag is assigned if 'marked' only
1594 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1596 * BaseDataBoundControl.cs: setting DataSource to null does not
1597 call ValidateDataSource.
1598 * HierarchicalDataBoundControl.cs: ValidateDataSource does not
1599 throw exception if argument is null.
1601 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1603 * WebControl.cs: implemented IsEnabled and HasAttributes.
1605 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1607 * BaseDataList.cs: fixed: data-binding flow for 2.0 features.
1609 2007-02-27 Marek Habersack <grendello@gmail.com>
1611 * FileUpload.cs: HasFile is true only if PostedFile is not null
1612 and it actually has an associated file.
1614 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1616 * LoginView.cs: fixed:
1617 ViewChanging and ViewChanged are fired.
1618 optimized Save/Load control state.
1620 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1622 * CreateUserWizard.cs: fixed: does not attempt to send email if
1623 MailDefinition is not defined.
1625 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1628 considers FormsAuthentication.ReturnUrl only if is placed in
1629 the login page defined in web.config.
1631 2007-02-23 Marek Habersack <grendello@gmail.com>
1633 * ObjectDataSourceView.cs: Fix saving/restoring the view state.
1635 * CreateUserWizard.cs: support for sending mail when a new user is
1636 created. Patch from dban@dako.ro.
1638 2007-02-22 Marek Habersack <grendello@gmail.com>
1640 * LoginStatus.cs: Handle OnLoggedOut properly. Patch from
1643 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1645 * ObjectDataSourceView.cs: fixed ViewState behavior to match MS. Added relevant tests.
1647 2007-02-20 Gert Driesen <drieseng@users.sourceforge.net>
1649 * Calendar.cs: Fixed bug #80881 by using Thread's CurrentCulture
1650 instead of CurrentUICulture for DateFormatInfo.
1652 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1654 * SqlDataSource.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1655 * SqlDataSourceView.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1657 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
1659 * ChangePassword.cs: fixed:
1660 ChangePasswordContainer and SuccessContainer cannot be BindingContainer.
1662 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1664 * SqlDataSourceView.cs: Fixed parameter merging logic and some bug fixing.
1667 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
1672 implemented Form.SubmitDisabledControls feature.
1674 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1676 * GridView.cs: IsBindableType for decimal returns true.
1678 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1680 * Menu.js: client script: support IE6.
1682 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1684 * Menu.cs: fixed: considers item.ToolTip, render image inside 'a' tag.
1686 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
1688 * Button.cs, ImageButton.cs, LinkButton.cs: Hanlding of PostbackOptions for
1689 TARGET_J2EE is now centralized in ClientScriptManager.
1690 * TreeView.cs, DetailsView.cs, GridView.cs, TreeView.js, DetailsView.js,
1691 GridView.js: Added a field to the controls JavaScript 'data' object. The
1692 form is initialized to the page 'theForm'. This is used for J2EE portlets
1695 2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1698 first step is recognized as 'finish' if only two steps
1699 and last step is 'complete'
1701 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1703 * BaseValidator: ControlPropertiesValid is called on PreRender
1704 * CompareValidator.cs:
1705 * RangeValidator.cs: fixed ControlPropertiesValid, EvaluateIsValid.
1707 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1709 * BaseCompareValidator.cs: fixed: support for type=Currency on client side.
1711 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1713 * ParameterCollection.cs: fixed IndexOfString, this indexer should be
1716 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
1718 * TreeView.js: refactoring:
1719 removed TreeView_ErrorCallback, used TreeView_PopulateCallback instead.
1721 2007-02-13 Adar Wesley <adarw@mainsoft.com>
1723 * ObjectDataSourceView.cs: fixed parameter merging and added more tests
1725 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1727 * Literal.cs: implemented 2.0 feature - Mode.
1729 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1731 * ViewCollection.cs: fixed public API.
1733 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1735 * RepeaterItem.cs: implemented IDataItemContainer interface.
1737 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1739 * TreeNodeStyle.cs: fixed public API.
1741 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1743 * MenuItemStyle.cs: fixed public API.
1745 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1748 * DayRenderEventArgs.cs:
1749 implemented 2.0 feature - SelectUrl.
1751 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1753 * GridViewRowCollection.cs: implemented IsReadOnly property.
1755 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1757 * BaseValidator.cs: implemented SetFocusOnError feature.
1759 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1761 * Wizard.cs: refactoring:
1762 used ContainedTable for ID attribute is rendered properly.
1764 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1766 * CreateUserWizard.cs:
1770 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1772 * DataList.cs: fixed: OnBubbleEvent() will return true if event is handled
1774 2007-02-09 Gert Driesen <drieseng@users.sourceforge.net>
1776 * FontUnit.cs: Fixed ToString () to use current locale.
1778 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1780 * BaseValidator.cs: fixed render, works in static mode properly
1781 * CreateUserWizard.cs: fixed display mode for validators.
1783 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1787 implemented FormViewPagerRow class
1789 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1792 header and footer visibility is set at creation.
1794 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1796 * FormView.cs: fixed:
1797 header and footer are not created with empty row.
1799 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1801 * FormView.cs: fixed:
1802 works properly with not ICollection data source.
1804 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1806 * DetailsView.cs: fixed:
1807 PageIndex, CreateChildControls,
1808 works properly with not ICollection data source.
1810 2007-02-06 Eyal Alaluf <eyala@mainsoft.com>
1812 * Menu.cs ImageMap.cs Panel.cs TreeView.cs: Ensure that the NavigateUrl
1813 property is rendered as a RenderURL for J2EE portlets.
1815 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1817 * BaseValidator.cs: refactored RegisterValidatorCommonScript to use
1818 RegisterClientScriptInclude instead of RegisterClientScriptBlock
1820 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1822 * DataBoundControl.cs:
1825 PerformDataBinding is called with RequiresDataBinding was set false
1827 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1830 fixed validation flow.
1832 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1835 fixed validation flow.
1837 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1839 * CustomValidator.cs:
1840 ValidateEmptyText is considered on client side.
1842 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1847 * DataControlButton.cs:
1848 * DataControlField.cs:
1851 Internal classes are used in databound controls for buttons
1852 are derived from right types. It allows to have access to them by casting
1853 to public types. This trick is used in one of starter kits of MS.
1855 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1857 * Panel.cs: fixed: reverted r71441.
1858 * TreeView.cs: used internal RegisterWebFormClientScript API
1859 to cause the relevant script be included.
1861 2007-02-01 Adar Wesley <adarw@mainsoft.com>
1863 * FormView.cs: fixed events ModeChanging and ModeChanged
1864 to be raized in all relevant situations.
1866 2007-02-01 Igor Zelmanovich <igorz@mainsoft.com>
1868 * ValidationSammary.cs: fixed:
1869 control is rendered even if there is no validators on the page.
1870 important if the page contain a client side script that refer to the
1871 id of the validation summary div.
1873 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1878 * RadioButtonList.cs:
1879 EnsureDataBound is called when PostData is processed to restore
1880 'state' of control if EnableViewState is false
1882 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1884 * GridView.cs: fixed:
1885 RowDataBound is fired for PagerRow.
1886 Styles are applied using MergeWith instead CopyFrom
1887 to allow using custom styles for rows in code-behind.
1889 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1891 * GridView.cs: fixed: RowCommand event is fired properly.
1893 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1895 * GridView.cs: fixed: created rows are added in table after initialization.
1898 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1900 * Panel.cs: fixed 'background-image' attribute.
1902 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1904 * BaseDataBoundControl.cs:
1905 * DataBoundControl.cs:
1906 fixed DataBinding flow: RequiresDataBinding is set to false in
1908 * HierarchicalDataBoundControl.cs: implemented MarkAsDataBound().
1910 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1914 fixed DataBinding flow for Insert mode.
1916 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1919 does not RegisterRequiresPostBack if is not enabled.
1921 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1925 fixed PopulateOnDemand: used UniqueID to call WebForms_DoCallBack().
1927 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
1929 * MultyView.cs: OnActiveViewChanged is called.
1931 2007-01-29 Vladimir Krasnov <vladimirk@mainsoft.com>
1933 * Panel.cs: fixed AddAttributesToRender for 2.0, text align should be
1936 2007-01-29 Adar Wesley <adarw@mainsoft.com>
1938 * EditCommandColumn.cs: implemented CausesValidation and
1939 ValidationGroup and coresponding tests.
1940 * DataGrid.cs: fixed generated table to be compatible with MS 2.0
1942 2007-01-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1944 * WebControl.cs: added internal method AddDisplayStyleAttribute for
1945 display:inline-block style attribute
1948 * CheckBox.cs: added call to AddDisplayStyleAttribute on rendering
1950 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
1952 * TreeView.js: Used WebForm_GetFormFromCtrl to lookup the form.
1954 2007-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1956 * TextBox.cs: implemented AutoCompleteType property, fixed
1957 AddAttributesToRender
1959 2007-01-24 Ilya Kharmatsky <ilya -at- decode-systems.com>
1961 * DetailsView.cs: fixed problems with rendering of control, when
1962 empty data source is provided. Respective tests are provided
1963 in DetailsViewTest.cs
1965 2007-01-21 Konstantin Triger <kostat@mainsoft.com>
1967 * TreeView.js, DetailsView.js, Menu.js, GridView.js:
1968 suppress exception if eval() fails.
1970 2007-01-20 Miguel de Icaza <miguel@novell.com>
1972 * DataControlFieldCollection.cs (RemoveAt): remove unused
1975 * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
1978 * RadioButton.cs (RaisePostDataChangedEvent): This method was not
1979 used in 1.0, so put the whole method in 2.0
1981 2007-01-18 Adar Wesley <adarw@mainsoft.com>
1983 * Xml.cs: added support for XPathNavigator, fixed DocumentContent
1984 to be compatible with MS 2.0, implemented EnableTheming, implemented
1985 SkinID, fixed Focus behavior.
1987 2007-01-18 Vladimir Krasnov <vladimirk@mainsoft.com>
1989 * Menu.js, Menu.js: added null reference checking for every getTree or
1992 2007-01-18 Adar Wesley <adarw@mainsoft.com>
1994 * SiteMapDataSource.cs: implemented logic of GetStartNode when
1995 StartingNodeOffset is positive.
1997 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
1999 * BaseValidator.cs: ToString the validating property value or
2000 if null return an empty string.
2002 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2004 * TreeView.cs: fixed RegisterStyle, style names should be without
2005 leading underscore. fixed RenderNode, node icons should be taken also
2008 2007-01-17 Adar Wesley <adarw@mainsoft.com>
2010 * Repeater.cs: refactored GetData to return data both from DataSource
2011 and DataSrouceID, Implemented EnableTheming, updated initialization of
2012 DataBinding according to the pattern of BaseDataBoundControl, fixed
2013 SelectArguments implementation to call the virtual
2014 CreateDataSourceSelectArguments method.
2016 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
2018 * GridView.cs: don't force creating rows collection when SelectedIndex
2019 changes; EnsureDatabound on select.
2021 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2023 * TreeNode.cs: fixed Bind, fixed Value updating
2025 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2027 * DataList.cs: fixed OnBubbleEvent, added SelectedIndex updating
2029 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2031 * DetailsView.cs: fixed CreateChildControls, PageIndex cannot be less
2034 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2036 * DetailsView.cs: fixed CreateChildControls, PageIndex should be less
2037 or equal to PageCount
2039 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2041 * Menu.cs: added z-index attribute to popup div's.
2043 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2045 * FileUpload.cs: fixed FileName property, should return filename
2046 without full path on client side
2048 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
2053 Implemented the protected net_2_0 method 'VerifyMultiSelect' with
2054 proper overloading in derived types.
2056 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2059 considers INavigateUIData.NavigateUrl when bound.
2061 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2063 * CompleteWizardStep.cs
2064 * CreateUserWizard.cs
2065 * CreateUserWizardStep.cs
2066 * TemplatedWizardStep.cs
2068 make the design complied to .NET
2069 build all possible controls at once and manage render by Visible property
2071 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
2072 * Button.cs, HyperLink.cs, DataGrid.cs, ImageButton.cs, LinkButton.cs,
2073 PagedDataSource.cs: Added J2EE Portal support for TARGET_J2EE.
2075 2007-01-14 Ilya Kharmatsky <ilyak-at-mainsoft.com>
2076 * BaseCompareValidator
2078 Added support for CultureInvariantValues property, which should be
2079 counted in new 2.0 methods such as - Compare, Convert etc. The code
2080 has been changed in such way, that the old - 1.1 method implementation
2081 could use the new methods defined for 2.0 version.
2083 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2085 * XmlDataSource.cs: refactored to use cached collection.
2086 * SqlDataSource.cs: refactored to use cached collection;
2087 don't throw exception on 'DefaultView'.
2088 * ObjectDataSource.cs: refactored to use cached collection.
2090 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2092 * ObjectDataSourceView.cs: consider parameter names and
2093 DataObjectMethodAttribute during method resolution.
2095 2007-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2097 * SqlDataSourceView.cs: fixed OnUpdating, OnInserting call with
2098 SqlDataSourceCommandEventArgs
2100 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2102 * ObjectDataSourceView.cs: use case unsensitive comparer for
2103 parameters collection.
2105 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2107 * LoginStatus.cs: fixed: not causes page validation.
2109 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2111 * CreateUserWizard.cs: fixed: resolves ErrorMessage control correct.
2112 * CreateUserWizardStep.cs:
2114 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2116 * TreeView.cs: fixed: SelectedNode, CheckedNodes.
2118 * TreeNodeCollection.cs:
2120 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2122 * GridView.cs: fixed: header and footer does not appear in no items.
2123 * CompositeDataBoundControl.cs:
2125 2007-01-09 Konstantin Triger <kostat@mainsoft.com>
2127 * AdRotator.cs: Backport the fix for AdRotator AbsoluteUri to 1.1.
2129 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2131 * GridView.cs: fixed: SelectedDataKey.
2133 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2137 implemented 2.0 features.
2139 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2141 * SqlDataSourceView.cs: fixed parameters init for ExecuteUpdate
2143 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2145 * DataSourceCacheManager.cs:
2146 * ObjectDataSource.cs:
2148 fixed: cache considers parameters values changes.
2150 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2152 * DetailsView.cs: fixed DeleteItem, excluded keys for new values
2153 * SqlDataSourceView.cs: fixed ExecuteDelete, check cancel in
2156 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2158 * GridView.cs: fixed: show all rows when AllowPaging=false
2160 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2162 * SqlDataSourceView.cs: fixed CreateDbParameter, used DBNull for value=null.
2164 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2166 * ButtonField.cs: fixed: consider its CausesValidation property.
2168 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2170 * GridView.cs: fixed:
2171 ReadOnly property is false for AutoGeneratedColumn if field is DataKey.
2172 causesValidation parameter is considered properly in UpdateRow.
2173 OldValues contains readonly fields values
2175 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2177 * SqlDataSourceView.cs: fixed InitializeParameters, added
2178 ParameterPrefix when check that param is already in collection
2180 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2182 * AdRotator.cs: fixed: considers absolute uri such html://......
2184 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2186 * SqlDataSourceView.cs: fixed insert, delete, update methods, added
2187 calls to OnDataSourceViewChanged
2189 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2191 * added ProfileParameter.cs
2193 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2195 * Label.cs: fixed: according MSDN OnPreRender is not overridden.
2197 2007-01-04 Adar Wesley <adarw@mainsoft.com>
2199 * ImageButton.cs: implemented GenerateEmptyAlternateText
2201 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2203 * FormView.cs: fixed data binding flow considers Insert mode.
2205 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2207 * DataBoundControl.cs: fixed Init flow.
2209 2007-01-4 Adar Wesley <adarw@mainsoft.com>
2211 * RadioButtonList.cs: Implemented properties of IRepeatInfoUser as public virtual
2213 2007-01-03 Marek Habersack <grendello@gmail.com>
2215 * ObjectDataSourceView.cs: Look for unqualified type also in the top-level assemblies.
2217 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2219 * FormView.cs: fixed PageIndex property.
2221 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2223 * ListControl.cs: fixed SelectedValue and SelectedIndex properties.
2224 set accessor works differently in 2.0.
2226 2007-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
2228 * SqlDataSourceView.cs,ObjectDataSourceView.cs: fixed parameter merge
2229 when values and old values are null
2231 2006-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2233 * ListControl.cs: reverted r70112, fixed in r70319.
2235 2007-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2237 * DetailsView.cs: fixed CreateAutoGeneratedRows.
2239 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2241 * AutoGeneratedField.cs: is editable in Insest mode.
2242 * BoundField.cs: is editable in Insest mode.
2243 * CheckBoxField.cs: is editable in Insest mode.
2244 * DetailsView.cs: fixed DataBinding flow.
2246 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2248 * BaseDataBoundControl.cs:
2249 * CompositeDataBoundControl.cs: fixed DataBinding flow.
2251 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2253 * LinkButton.cs: show the validation summary when client validation
2254 and linkbuttons are used. Patch by Juraj Skripsky.
2256 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2258 * TextBox.cs: consider ToolTip property
2260 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2262 * ContainedTable.cs:
2263 * DataControlButton.cs:
2264 * DetailsView.cs: fixed EnablePagingCallbacks
2267 * GridView.js: fixed EnableSortingAndPagingCallbacks
2269 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2272 ResolveClientUrl used with LineImagesFolder, ExpandImageUrl,
2273 CollapseImageUrl and NoExpandImageUrl properties.
2275 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2277 * SqlDataSource.cs: Added parameters update on OnInit
2279 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2281 * LoginView.cs: fixed rendering LoggedInTemplate even after user
2284 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2289 control's behavior depends on using DataSource or DataSourceID
2290 property for binding
2292 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2294 * CommandField.cs: fixed:
2295 when ShowEditButton=false Update/Cancel button doesn't appear.
2296 when ShowInsertButton=false Insert/Cancel button doesn't appear.
2298 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2300 * Login.cs: fixed AuthenticateUser, should redirect to ReturnUrl when
2302 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2304 * Parameter.cs: fixed ConvertValue to coorect handle TypeCode.Empty
2305 * ObjectDataSourceView.cs: fixed MergeParameterValues,
2306 call Parameter.ConvertValue
2307 fixed ConvertParameter to hanlde TypeCode.Empty
2308 * SqlDataSourceView.cs: fixed InitializeParameters,
2309 call Parameter.ConvertValue
2310 fixed ParameterPrefix property
2311 fixed CreateDbParameter, added usege of ParameterPrefix
2313 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2315 * ListControl.cs: fixed: when is used with DataSourceID data bind is not
2316 perfomed on PostBack because Items collection is restored from View state.
2318 2006-12-26 Igor Zelmanovich <igorz@mainsoft.com>
2320 * DataGridPagerStyle.cs:
2325 * TableItemStyle.cs:
2330 fixed: Load/Save viewstate of WebControl does not call Load/Save viewstate
2331 for it's ControlStyle, but the shared ViewState is used to manage style's
2334 2006-12-21 Igor Zelmanovich <igorz@mainsoft.com>
2336 * CompleteWizardStep.cs:
2337 * CreateUserWizard.cs:
2338 * CreateUserWizardStep.cs:
2339 * TemplatedWizardStep.cs:
2341 fixed: CreateUserWizard works properly in advanced scenarios
2342 such being used with additional steps or/and with custom templates.
2343 Styles are aplied properly.
2345 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
2347 * SqlDataSourceView.cs: fixed InitializeParameters, parameters order
2348 parameters case insensetive search
2349 * ObjectDataSourceView.cs: fixed MergeParameterValues, parameters
2350 case insensetive search
2352 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2354 * Menu.cs: fixed: ResolveClientUrl used with src and href attributes
2356 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2360 TreeNodeCollapsed is not raised for leaf node.
2362 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2364 * DataGrid.cs, RepeatInfo.cs: fixed accessibility features
2366 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2368 * Calendar.cs: support DayNameFormat.Shortest
2370 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2372 * HiddenField.cs: implemented
2374 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2376 * FormView.cs: fixed: FillRowDataKey
2377 * DetailsView.cs: fixed: FillRowDataKey
2379 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2381 * TreeView.cs: fixed: ResolveClientUrl used with ImageUrl and NavigateUrl
2383 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2385 * Login.cs: refactored rendering, fixed OnAuthenticate event
2387 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2389 * GridView.cs: fixed: Update works not only for EditRow
2391 * CompositeDataBoundControl.cs:
2393 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2395 * RadioButton.cs: fixed:
2396 When GroupName is not defined UniqueID is used instead for name attribute.
2397 CheckedChanged is raised only when control is checked.
2399 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2401 * Menu.cs: fixed: rendering.
2403 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2405 * Menu.cs: fixed: rendering.
2407 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2412 fixed rendering for 2.0
2414 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2416 * DetaisView.cs: fixed: rendering.
2417 * DataControlButton.cs:
2420 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2422 * FormView.cs: fixed: avoid empty row rendering.
2424 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2426 * AdRotator.cs: fixed:
2427 MSDN: The ImageUrl and NavigateUrl attributes can be a full URL, a
2428 root-relative path, or a relative path. If you use a root-relative path,
2429 the path is relative to the same Web site. If you use a relative path,
2430 the path is relative to the directory that contains the advertisement file.
2432 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2434 * BaseCompareValidator.cs: fixed: support for type=Date on client side.
2436 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2438 * TreeView.cs: fixed: support for event validation.
2440 2006-12-04 Igor Zelmanovich <igorz@mainsoft.com>
2442 * DataGridPagerStyle.cs: chenged values of DataGridPagerStyles flags.
2444 2006-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2446 * CreateUserWizard.cs: implement GeneratePassword based on Membership.
2448 2006-11-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2450 * Wizard.cs: fixed GetStepType method that returned wrong type if the
2451 last step type is Complete.
2452 fixed ProcessEvent method, corrected FinishButtonClick behavior
2454 2006-11-26 Marek Habersack <grendello@gmail.com>
2456 * Calendar.cs: Fixed event validation registration. Now it
2457 registers all the arguments that can be passed by this control to
2460 2006-11-25 Marek Habersack <grendello@gmail.com>
2462 * FileUpload.cs: Implementation of SaveAs
2464 * TreeView.cs: A few optimizations for empty style collections.
2466 * Menu.cs: A few optimizations for empty style collections.
2468 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2470 * BoundField.cs: fixed: GetDesignTimeValue()
2472 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2474 * SiteMapDataSource.cs: fixed: GetViewNames()
2476 2006-11-23 Vladimir Krasnov <vladimirk@mainsoft.com>
2478 * ChangePassword.cs: implemented functionality
2479 * MailDefinition.cs: implemented CreateMailMessage method
2480 * PasswordRecovery.cs: implemented functionality
2482 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2484 * CircleHotSpot.cs: fixed:
2485 setting Radius with value <0 throws ArgumentOutOfRangeException.
2487 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2489 * CookieParameter.cs: fixed Evaluate method.
2491 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2493 * Parameter.cs: fixed Evaluate, ToString methods.
2494 * QueryStringParameter.cs: fixed Evaluate method.
2495 * SessionParameter.cs: fixed Evaluate method.
2497 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2499 * ImageMap.cs: fixed rendering.
2501 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2503 * HotSpot.cs: fixed: AccessKey and HotSpotMode
2504 throw ArgumentOutOfRangeException.
2506 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2508 * ControlParameter.cs: fixed: Evaluate method
2509 throws exceptions correctly.
2511 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2513 * CheckBox.cs: fixed: new 2.0 features such
2514 LabelAttributes and InputAttributes.
2516 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2518 * GridView.cs: fixed: header, footer and empty rows are databound.
2520 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2522 * Style.cs: added internal helper method RemoveTextStyles.
2524 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2526 * Button.cs: fixed: support for event validation.
2527 * CheckBox.cs: fixed: support for event validation.
2528 * FormView.cs: fixed: support for event validation.
2529 * ImageButton.cs: fixed: support for event validation.
2530 * ListBox.cs: fixed: support for event validation.
2531 * TextBox.cs: fixed: support for event validation.
2533 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2535 * DropDownList.cs: fixed: support for event validation.
2537 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2539 * LinkButton.cs: optimized: support for event validation.
2540 * DataControlButton.cs: Added support for event validation.
2541 * DetailsView.cs: fixed: RowIndex for DetailsViewRow.
2543 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2545 * LinkButton.cs: Added support for event validation.
2547 2006-11-17 Marek Habersack <grendello@gmail.com>
2549 * ImageButton.cs: Added support for event validation.
2551 * ListBox.cs: Added support for event validation.
2553 * Calendar.cs: Added support for event validation.
2555 * DropDownList.cs: Added support for event validation.
2557 * FormView.cs: Added support for event validation.
2559 * RadioButtonList.cs: Added support for event validation.
2561 * TextBox.cs: Added support for event validation.
2563 * BulletedList.cs: Added support for event validation.
2565 * CheckBox.cs: Added support for event validation.
2567 * Button.cs: Added support for event validation.
2569 2006-11-16 Igor Zelmanovich <igorz@mainsoft.com>
2571 * CreateUserWizard.cs: fixed: ActiveStepIndex property.
2573 2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>
2575 * ListControl.cs: fixed: DataBinding for 2.0, for 1.x - refactoring only.
2577 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2579 * GridView.cs: fixed: Rows property, DataBinding flow.
2580 * DataBoundControl.cs:
2581 * BaseDataBoundControl.cs:
2583 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2585 * CompositeDataBoundControl.cs: fixed:
2586 DataBind call Controls.Clear().
2588 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
2590 * CompositeDataBoundControl.cs: fixed:
2591 DataBind sets ChildControlsCreated=true.
2593 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2595 * Login.cs: fixed CreateChildControls, throws exception if needed
2597 * LoginView.cs: fixed CreateChildControls, check templates for null
2599 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2601 * Wizard.cs: fixed ActiveStepIndex property, fixed SideBar button
2602 rendering, fixed history updating
2603 * WizardStepCollection.cs: fixed implemented interfaces
2605 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2607 * XmlDataSource.cs: CacheKeyDependency fixed
2609 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
2611 * DetailsView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2613 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2615 * DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.
2617 2006-11-09 Vladimir Krasnov <vladimirk@mainsoft.com>
2619 * ParameterCollection.cs: fixed SetDirtyObject method
2620 * ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState
2621 utilization for control's properties, implemented caching
2622 * SqlDataSource.cs, SqlDataSourceView.cs: implemented caching
2624 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2626 * GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2628 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2630 * DataBoundControl.cs: fixed:
2631 ConfirmInitState method s called by
2632 the DataBoundControl class in its OnLoad method.
2634 2006-11-06 Igor Zelmanovich <igorz@mainsoft.com>
2636 * FormView.cs: fixed: DataBinding flow.
2638 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2640 * CustomValidator.cs: implemented ValidateEmptyText fixture.
2642 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2644 * BaseCompareValidator.cs: fixed: CultureInvariantValues, Type properties.
2646 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2648 * Menu.cs: fixed: RenderEndTag.
2649 Dynamic menu is rendered when StaticDisplayLevels=1
2651 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2653 * GridView.cs: fixed: UpdateRow, DeleteRow, RowCreated.
2655 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2657 * FormView.cs: fixed: UpdateItem, DeleteItem.
2659 2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>
2661 * DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.
2663 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2665 * RadioButtonList.cs: fixed: has no html output when Items.Count=0.
2667 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2669 * ListControl.cs: fixed: setting SelectedVolue for 2.0.
2671 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2673 * DataBoundControl: fixed: ValidateDataSource allows null as dataSource.
2675 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2677 * ListControl.cs: fixed: assigning SelectedIndex with too hight value.
2679 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2681 * ListControl.cs: fixed: DataBinding for 2.0.
2682 for 1.x refactoring only.
2684 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2686 * ChangePassword.cs: new class was implemented.
2688 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2690 * EmbeddedMailObject.cs: new class was implemented.
2691 * EmbeddedMailObjectsCollection.cs: new class was implemented.
2692 * MailDefinition.cs: new class was implemented.
2694 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2696 * PagerSettings.cs: fixed: CreatePagerControl.
2698 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2700 * CommandField.cs: fixed:
2701 considers CaseValidation, ValidationGroup, ButtonType.
2702 * DataControlButton.cs: refactoring:
2704 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2706 * DetailsView.cs: implemented: GetCallbackScript method.
2708 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2710 * FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2712 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2714 * FormFiew.cs: fixed: UpdateItem, InsertItem.
2716 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2718 * FormFiew.cs: fixed: PageIndex, rendering.
2720 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2722 * DropDownList.cs: fixed: rendering "name" attribute".
2724 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2726 * GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2727 * DataControlButton.cs:
2728 * CommandField.cs: CausesValidation feature must be implemented other way
2730 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2732 * CompositeDataBoundControl.cs: fixed: CreateChildControls flow.
2734 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2736 * FormView.cs: fixed: OnBubbleEvent returns true when event is handled.
2738 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2740 * DetailsView.cs: fixed: OnBubbleEvent works properly.
2742 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2744 * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
2746 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2748 * DetailsView.cs: fixed: CurrentMode property.
2750 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2752 * DetailsView.cs: fixed: current state are not changed during paging.
2754 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2756 * DetailsView.cs: fixed:
2757 in Insert mode Select not invoked from DataSource
2759 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
2761 * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
2763 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2765 * FormView.cs: fixed: CreateDataSourceSelectArguments method.
2766 (corresponding test does not work because bug in ObjectDataSourceView)
2768 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2770 * DataBoundControl.cs: fixed: DataBind calls
2771 CreateDataSourceSelectArguments() and stores result in SelectArguments
2773 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2777 fixed: EnablePagingCallbacks feature.
2778 when postback is invoked after callback control state is restored
2781 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2783 * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
2785 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2787 * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
2788 (corresponding test does not work because bug in ObjectDataSourceView)
2790 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2792 * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
2793 when postback is invoked after callback control state is restored
2796 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2798 * GridView.cs: fixed: Sorting feature.
2799 When sorting EditIndex and PageIndex are reseted
2801 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2803 * GridView.cs: fixed: Sorting feature.
2804 CreateDataSourceSelectArguments considers SortExpression and SortDirection.
2805 (corresponding test does not work because bug in ObjectDataSourceView)
2807 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2809 * GridView.cs: fixed:
2810 CreateDataSourceSelectArguments works according to MSDN.
2811 (corresponding test does not work because bug in ObjectDataSourceView)
2813 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2815 * ObjectDataSourceView.cs: fixed:
2816 CanRetrieveTotalRowCount returns true if EnablePaging = false
2818 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
2820 * DataBoundControl.cs: fixed: DataBind flow
2821 CreateDataSourceSelectArguments() is called
2822 each time as DataBind() is called
2824 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2826 * BoundField.cs: implemented ValidateSupportsCallback().
2828 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2830 * CommandField.cs: ValidateSupportsCallback(): exception's message.
2832 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2834 * FormView.cs: fixed: CurrentMode property.
2836 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2842 reverted r66222, problem solved in r66283: command buttons inherit ForeColor
2844 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2846 * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
2849 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2851 * HyperLink.cs: don't render the img tag 'by hand' but use an Image
2852 instead, which takes care of the 0/0px case. Also set the ToolTip
2853 property. Fixes bug #79585.
2855 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2857 * DetailsView.cs: optimization for previous patch
2859 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2861 * FormView.cs: optimization for previous patch
2863 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2866 * DetailsViewRow.cs:
2867 implemented PrepareControlHierarchy()
2868 styles are applied correct
2870 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2873 implemented PrepareControlHierarchy()
2874 styles are applied correct
2876 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2879 * DataControlButton.cs:
2880 * DataControlField.cs:
2881 implemented PrepareControlHierarchy()
2882 styles are applied correct
2883 command buttons inherit ForeColor
2885 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2887 * WebControl.cs: fixed: CreateControlStyle()
2889 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2895 corrected pager rendering: Color style applied to A tag,
2896 Input type="image" used if ImageUrl is not empty.
2898 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2900 * GridView.cs: corrected rendering
2901 * ContainedTable.cs: added new helper class
2903 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2905 * FormView.cs: fixed:
2906 in Insert mode Select not invoked from DataSource
2908 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2910 * FormView.cs: fixed:
2911 Pager is not shown when page count < 1
2912 in Edit mode use EmptyDataTemplate if there is no DataItem
2913 when page changed FormView stays in current state.
2915 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
2917 * FormView.cs: fixed: OnBubbleEvent works properly
2919 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
2921 * DataBoundControl.cs: fixed: DataBind flow
2922 GetData return "empty" DataSourceView when no DataSource and DataSourceID
2923 was assigned to cause PerformDataBinding be called.
2925 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2927 * DataList.cs: use ExtractTemplateRows to determine if the style is
2928 applied to the Table in a template or to its rows. Fixes bug #78058.
2930 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2932 * ListBox.cs: if the list is not enabled, don't require a postback.
2935 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2937 * HyperLink.cs: don't output the nabvigate url if disabled.
2938 * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
2939 the link URL if disabled.
2942 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2944 * RadioButtonList.cs:
2945 make it to consider CausesValidation and ValidationGroup properties
2947 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2950 make it to consider CausesValidation and ValidationGroup properties
2952 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2955 Page.Validate() is called when CausesValidation=true
2957 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2960 make onclick attribute to consider ValidationGroup property.
2962 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2965 make rendering of the href attribute to consider ValidationGroup property.
2966 Page.Validate() is called when CausesValidation=true
2968 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2971 make rendering of the onchange attribute to consider ValidationGroup
2973 Page.Validate() is called when CausesValidation=true
2975 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2978 make rendering of the onclick attribute to consider ValidationGroup property
2979 Page.Validate() is called when CausesValidation=true
2981 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2984 VewState saving and restoring rolled back to 1.1 implementation
2985 (fixed corresponding test), corrected public interface (there are no
2986 overriden methods SaveControlState, LoadControlState and OnInit),
2987 implemented CausesValidation and ValidationGroup properties.
2989 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2992 make rendering of the onclick attribute to consider ValidationGroup property
2993 Page.Validate() is called when CausesValidation=true
2995 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2998 implemented: RaisePostBackEvent,
2999 refactoring: GetPostBackOptions used to build onclick client event
3001 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3003 * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
3005 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3007 * BaseValidator.cs: implemented ValidationGroup feature on client side
3008 * ValidationSummary.cs:
3010 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
3012 * TreeView.cs: corrected rendering
3015 2006-09-11 Konstantin Triger <kostat@mainsoft.com>
3017 * Login.cs: ensure the urls are correctly resolved.
3019 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3021 * TreeView.cs: corrected rendering: styles are applied correct
3025 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3027 * TreeView.cs: corrected rendering: HoverNodeStyle works
3031 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3033 * TreeNodeStyle.cs: fixed: ViewState restored properly
3035 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3039 * TableItemStyle.cs:
3040 * DataGridPagerStyle.cs:
3041 refactoring: makes Style class more flexible for inheriting and reuse
3043 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3045 * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked
3046 state restored correct on PostBack.
3049 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3051 * ObjectDataSourceView.cs: correctly find the type when it is not in the
3052 executing assembly. Fixes bug #78321. Patch by Marek Habersack.
3054 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3056 * ControlParameter.cs: fix search for controls so that they use their
3057 NamingContainer, not the Page. Patch by Marek Habersack that fixes
3060 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3062 * Login.cs: fix problem with the login control and master pages.
3063 Patch by Marek Habersack that fixes bug #78219.
3065 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3067 * TreeView.cs: fixed: populating nodes.
3070 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3072 * TreeNode.cs: fixed: ToggleExpandState.
3074 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
3076 * SqlDataSourceView.cs: return DataView from ExecuteSelect when
3077 DataSourceMode is DataSet.
3079 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3081 * TreeView.cs: fixed: populating nodes flow.
3082 * TreeNodeCollection.cs
3085 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3087 * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.
3089 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3091 * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.
3093 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3095 * TreeView.cs: fixed: when specified value is not one of
3096 the TreeNodeTypes values exception is threw.
3098 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3100 * TreeView.cs: fixed: when specified image set is not one of
3101 the TreeViewImageSet values exception is threw.
3103 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
3105 * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.
3107 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
3109 * Style.cs: implemented SetBit().
3111 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3113 * CompareValidator.cs: fixed controltocompare attribute.
3115 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3118 when login attempt was not successful FailureText is shown.
3120 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3122 * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage
3123 is formatted correct.
3125 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3127 * CreateUserWizard.cs:
3128 * CompleteWizardStep.cs:
3129 * CreateUserWizardStep.cs:
3131 fixed: ContinueButtonClick occurs when the user clicks
3132 the Continue button in the final user account creation step.
3133 ContinueDestinationPageUrl - redirected after clicking
3134 the Continue button on the success page.
3136 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3138 * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
3139 insted internal DataControlButton.
3141 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3143 * Button.cs: implemented GetPostBackOptions + refactoring
3145 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3147 * ImageButton.cs: implemented 2.0 features
3148 OnClientClick attached to onclick attribute.
3149 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3150 generate onclick attribute.
3152 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3154 * LinkButton.cs: typo fix
3156 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3158 * Button.cs: refactoring
3160 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3162 * LinkButton.cs: implemented 2.0 features
3163 OnClientClick attached to onclick attribute.
3164 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3167 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
3169 * Button.cs: implemented 2.0 features
3171 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
3173 * Menu.cs: refactoring
3176 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3178 * TreeView.cs: fixed data binding
3180 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3182 * TreeNodeBinding.cs: fixed ToString method
3184 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3186 * MenuItem.cs: typo fix
3188 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3190 * CreateUserWizardStep.cs: fixed validators message display
3192 2006-08-25 Kornél Pál <kornelpal@gmail.com>
3194 * FileUpload.cs: Use assembly name constants.
3196 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3198 * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
3199 always creates ExtractTemplateValuesMethod delegate
3201 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
3203 * TreeNodeBinding.cs: corrected public interface
3206 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3208 * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
3209 case, but there are many others.
3211 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3213 * Menu.cs: corrected rendering of static and dynamic items
3216 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3220 fixed: AddAttributesToRender method calls FillStyleAttributes,
3221 text styles applied correct.
3223 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3226 fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
3227 refactoring: Name and Names properties has same source in bag.
3229 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3231 * Style.cs: restored r63894: for 1.x is refactoring only
3233 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3236 fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
3237 added ClearDefaults method for 2.0.
3239 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3241 * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
3244 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3246 * SubMenuStyle.cs: fixed:
3247 Unit.ToString() already include unit (e.g. "3px")
3249 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3252 * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
3253 submitted for review and it only added tests for the 2.0 profile.
3255 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3257 * FormView.cs: added explicit implementation of
3258 IDataItemContainer.DataItemIndex, as documented
3260 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
3263 When style is registered with StyleSheet AddAttributesToRender method
3264 adds class attribute but not style to writer
3266 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
3269 OnBubleEvent works properly - controls like Button, LinkButton nested into template
3270 can raise MenuItemClick event,
3271 ViewState of Items saved and restored properly.
3273 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
3275 * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
3278 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
3280 * Menu.cs: fixed databinding feature:
3281 ensure that items initialization occurs only once
3283 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
3285 * Menu.cs, MenuItem.cs: fixed databinding feature
3287 2006-08-09 Robert Jordan <robertj@gmx.net>
3289 * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
3290 replace ResolveUrl with ResolveClientUrl to match MS.NET's
3291 behaviour. Fixes bug #77539.
3293 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
3295 * HierarchicalDataBoundControl.cs: fixed DataBind flow
3297 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3303 * WebControl.cs: fixed ParseChildren attribute to be compliant
3306 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3308 * MultiView.cs: fixed: EnableTheming property
3310 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3314 * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
3316 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3318 * Style.cs: fixed restoring FontInfo from ViewState
3320 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3322 * XmlDataSource.cs: implemented caching functionality
3324 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3326 * PagerSettings.cs: Fixed the pager range calculation formula. The old
3327 one didn't work with more than 20 pages. Patch by Marek Habersack that
3330 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3332 * FormView.cs: fixes to make Render more similar to dotnet.
3334 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
3336 * Wizard.cs: fixed return value of OnBubbleEvent
3338 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3340 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
3341 handle null result of GetData().
3343 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3345 * FormView.cs: use TableStyle for ControlStyle.
3347 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3349 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
3351 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3353 * FormView.cs: init DataKeys and fix null reference.
3355 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3357 * TreeView.cs: several changes to improve compatibility with MS.
3358 Patch by Marek Habersack that fixes bug #77551.
3360 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3362 * Style.cs: output the text-decoration value even when it is 'none'.
3363 Patch by Marek Habersack that fixes bug #78968.
3365 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3367 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
3370 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3372 * DetailsViewRowCollection.cs: returns this in SyncRoot.
3374 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3376 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
3379 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3381 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
3383 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3385 * AutoGeneratedField.cs: fix the internal constructor according to test
3386 DetailsView_CreateAutoGenerateRow.
3388 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
3390 * XmlDataSource.cs: implemented XSLT, removed properties from
3392 * XmlDataSourceView.cs: fixed default xpath
3394 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
3396 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
3398 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
3400 * Wizard.cs: fixed ActiveStep property
3401 fixed templated side bar
3403 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3405 * ImageField.cs: fix null reference bug.
3407 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3409 * DetailsView.cs: init DataKey property with empty collection.
3410 * DataKey.cs: fix unexpected exception bug.
3411 * DataControlField.cs: override ToString according to MSDN.
3413 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3415 * DetailsView.cs: create table style in CreateControlStyle.
3417 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3419 * DetailsView.cs: don't throw the exception which .Net does not throw.
3421 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3423 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
3424 to match .Net; fix PageCount to match record count.
3426 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3428 * Menu.cs: fixed properties default values, fixed rendering
3431 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3433 * Wizard.cs: implemented SkipLinkText, TagKey
3434 fixed rendering bugs, fixed templated button bar rendering
3435 fixed side bar rendering
3436 * WizardStepBase.cs: fixed Name property
3438 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3440 * DetailsView.cs: fix the regressions, caused by the previous commit.
3442 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3444 * DetailsView.cs: correct handling the different default values of
3445 DetailsView.CellSpacing and Table.CellSpacing.
3447 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3449 * DetailsView.cs: create a pager row when needed.
3451 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3455 * PagedDataSource.cs:
3458 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
3459 support it. The GridView control will no longer throw an exception when
3460 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
3462 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3464 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
3465 Rows with empty collection; call EnsureChildControls from get Row;
3466 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
3467 implemented IPostBackContainer.GetPostBackOptions.
3469 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3471 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
3472 and FooterText are empty, to match .NET. Otherwise we have NullReference
3475 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3477 * DetailsView.cs: Render fix.
3479 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3481 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
3484 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3486 * DetailsView.cs: NullReferenceException fix
3488 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3490 * PagerSettings.cs: implemented PropertyGhanged event
3492 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3494 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
3495 with .Net; don't throw NotImplemented when base class implementation
3498 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3500 * DetailsViewPagerRow.cs: add a stub for this class
3502 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3504 * GridView: fixed DataKeyNames property, moved to ControlState
3505 fixed PageCount property, initial PageCount ahould be zero
3506 fixed SelectedDataKey, should throw exception if not initialized
3507 fixed CreateColumns, wrong order of columns
3508 fixed CreateControlStyle,
3509 fixed InitializePager, no columnspan attrib on only one column
3510 fixed LoadControlState, SaveControlState added DataKeyNames
3511 fixed Render, RenderGrid should render within div tag
3512 implemented GetPostBackOptions
3513 * DataControlButton.cs: fixed Render, fixed style for img button
3515 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3517 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
3520 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3522 * CommandField.cs: fixed ValidateSupportsCallback
3524 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3526 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
3527 affect the flow yet.
3529 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3531 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
3533 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3535 * WebControl.cs: fix for AddAttributesToRender - add display
3536 style when appropriate
3538 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3540 * CommandField.cs: fixed InitializeCell, wrong order of command
3542 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
3543 should be rendered as label
3544 * BoundField.cs: empty null value should be rendered as nbsp
3545 * GridViewRowCollection.cs: fixed SyncRoot
3547 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3549 * SiteMapPath.cs: create Literal instead of Label according to the
3550 MSDN and test SiteMapPath_InitializeItem.
3552 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3554 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
3555 * Image.cs: in 2.0 there is no border attribute, but border-width
3558 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3560 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
3562 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3564 * DataList.cs: correctly initialize editable items when there's an
3565 EditItemTemplate. Patch by Jarosław Pawlak.
3567 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
3569 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
3572 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3574 * BulletedList.cs: fixed Render, RenderBulletText, various properties
3575 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
3578 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3580 * MultiView.cs: 'initied' state variable was changed to views count in
3581 the views collection.
3583 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3585 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
3586 checkbox should have tooltip
3587 * HyperLinkField.cs: fixed InitializeCell, should create link control
3588 only in data cell (not in header or footer), initialization of
3590 * ImageField.cs: fixed InitializeDataCell, initialization of
3593 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3595 * MultiView.cs: removed exception throwing from ActiveViewIndex
3597 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
3599 * DataControlFieldCollection.cs: added OnClearComplete override;
3600 refactor to eliminate null reference exception.
3602 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3604 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
3605 * View.cs: fixed Visible property
3607 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
3609 * ImageField.cs: fixing .net compliancy.
3611 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
3613 * SiteMapPath.cs: fix the default PathSeparator value.
3615 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3617 * GridView.cs: always create Header/Fotter rows, but render only when
3618 ShowHeader/Footer is true. Compute Header/Footer rows from rows
3620 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
3621 add ToolTip and Text to the created CheckBox,
3622 wrap exception thrown in OnDataBindField in httpException.
3624 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3626 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
3628 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3630 * DataControlField.cs: correct handling empty header/footer text.
3631 * TemplateField.cs: correct initialization according to
3632 DataControlRowState.
3634 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
3636 * Wizard.cs: added functionality for Templated WizardStep
3637 and CreateUserWizard
3638 * added CompleteWizardStep.cs, CreateUserWizard.cs,
3639 CreateUserWizardStep.cs, TemplatedWizardStep.cs
3641 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3643 * AutoGeneratedField.cs: correcting default dataType.
3645 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3647 * DataControlField.cs: fixed Initialize, should always return false
3649 2006-07-03 Lluis Sanchez <lluis@novell.com>
3651 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
3653 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3655 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
3656 setting RequiresDataBinding in OnLoad event.
3657 * GridView.cs: DataBind rows before other control can access the data.
3658 * BoundField.cs: add unique ID to control for postback parameters.
3660 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3662 * WebControl.cs: fix typo in EnableTheming.
3664 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
3666 * MenuItemCollection.cs: save items if the collection is dirty.
3667 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
3668 Add item to collection before binding to let the state be correctly tracked.
3669 * Menu.cs: Add item to collection before binding to let the state be correctly
3672 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
3674 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
3675 test against with "^...$" if necessary. MS.NET does this too.
3677 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
3679 * WizardStepCollection.cs: Fixed Add methods to initialize
3680 WizardStep.Wizard property
3681 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
3682 Fixed GetStepType, if only one step present, it should be FinishStep
3683 Fixed styles of tables for more accurate rendering, fixed Wizard
3686 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
3688 * FormView.cs: instantiate correct template when the bounding data source is
3691 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
3693 * FormView.cs: disabling setting out of range FormView.PageIndex.
3695 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
3697 * FileUpload.cs: added
3699 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
3701 * FormView.cs: handle CssClass attribute
3703 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3705 * Button.cs: do something in PostBackUrl.
3706 * Repeater.cs: when creating the RepeaterItemCollection, initialize
3707 'items' if it hasn't been done yet. Fixes bug #78417.
3709 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
3711 * BaseDataList.cs: added ConnectToDataSource method that called from
3712 OnLoad, fixed GetData method
3713 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
3716 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
3718 * Menu.cs: add CssStyle value to the rendered class attribute
3720 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
3722 * Calendar.cs: Make sure WebControls.Enabled is respected.
3723 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
3724 to 12:00am as MS.NET does the same.
3727 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3729 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
3730 DataSourceViewChanged, looks for a datasource in its parent control
3731 fixed GetData method, should not get data if datasource is null
3733 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
3735 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
3737 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3739 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
3741 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3743 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
3745 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3747 * DataList.cs: Fixed LoadViewState method
3749 2006-05-04 Lluis Sanchez <lluis@novell.com>
3751 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
3753 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3755 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
3757 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3759 * FormView.cs: fix FormView.PageCount after data binding.
3761 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3763 * CheckBox.cs: certain attributes have to be rendered in the input tag,
3764 not the <span>. Fixes bug #71251.
3766 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3768 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
3771 ensure rebinding when FormView.PageIndex is called.
3772 and bind to the correct PageIndex.
3774 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3776 * MenuItem.cs: when binding to IHierarchyData, check whether
3777 it implements INavigateUIData and retrieve NavigateUrl.
3778 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
3780 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
3781 Provide basic CreateChildControls implementation by ensuring the control is bound.
3782 Ensure the child controls are created when the postback event is raised.
3783 Provide default implementation for SkipLinkText to let the default functionality to work.
3785 2006-04-11 Lluis Sanchez <lluis@novell.com>
3787 * TreeNodeBinding.cs: Added HasPropertyValue property
3788 to check if some properties have a value in the
3790 * TreeNode.cs: Lazily get the dataPath. Instead of getting
3791 bound properties when they are requested, get all of
3792 them when the node is bound and store their values in
3793 the state bag. In this way it won't be necessary to
3794 query every time the datasource to get the values.
3795 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
3796 * TreeView.cs: Call base in OnInit(). Bind nodes after
3797 adding them to the list, to properly keep track of
3798 changes. Don't databind in postbacks.
3800 2006-04-11 Chris Toshok <toshok@ximian.com>
3802 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
3804 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3806 * BaseDataList.cs: Fix searching control by DataSourceID.
3807 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
3810 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3812 * Login.cs: Added LayoutTemplate property support.
3813 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
3814 DataBind: correctly bind child controls.
3815 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
3817 2006-03-29 Robert Jordan <robertj@gmx.net>
3819 * DataGrid.cs: if custom paging is enabled the persisted item count
3820 must be the count of the rendered items, otherwise paging from the
3821 last to a previous page won't work correctly. Fixes bug #77556.
3823 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
3825 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
3826 when rendering disabled list control
3828 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3830 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
3832 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
3834 * FontInfo.cs: Implemented ShouldSerializeNames
3836 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3838 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
3840 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3842 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
3844 in PrepareControlHierarchy fixed style applying to AlternatingItem
3846 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
3848 * DataList.cs: fixed RepeatColumns property, added value validation
3849 in PrepareControlHierarchy method fixed style applying for
3850 AlternatingItem, EditItem and Separator item
3851 fixed RenderContents method, if no items exist, no nned to
3852 render emty table strructure.
3854 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3856 * CompareValidator.cs: when searching for the control to compare, use
3857 NamingContainer instead of Page. Fixes bug #77793.
3859 2006-03-15 Chris Toshok <toshok@ximian.com>
3861 * SiteMapPath.cs (InitializeItem): in the Current and Root node
3862 cases, apply the NodeTemplate if it exists and there isn't a
3863 CurrentNodeTemplate or RootNodeTemplate, respectively.
3865 2006-03-15 Chris Toshok <toshok@ximian.com>
3867 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
3869 * SiteMapDataSource.cs (StartingNodeOffset): new property.
3870 (GetStartNode): add code to handle StartNodeOffset < 0.
3872 * CompositeControl.cs
3873 (ICompositeControlDesignerAccessor.RecreateChildControls): just
3874 call the non-iface method.
3876 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
3877 traverse up the naming container tree looking for our datasource
3878 if we're bound using a DataSourceID. This fixes things in the
3879 sitemap1 test, which uses a mixture of templates and
3880 ContentPlaceholders with the sitemapdatasource and sitemappath at
3881 different levels in the naming container tree (let along the
3884 * SiteMapPath.cs (DataBind): implement this by chaining up to
3885 base.DataBind, then by looping over our children, emitting
3886 OnItemDataBound for each SiteMapNodeItem.
3887 (AddAttributesToRender): remove.
3888 (CreateChildControls): call DataBind as the final step here.. I
3889 have, of course, no idea if this is right.
3890 (CreateControlHierarchy): don't databind our children here, as
3891 they need to be in the Controls collection before we do.
3892 (RenderContents): render our accessibility/screenreader stuff
3893 here, if SkipLinkText != "".
3895 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
3897 * DataGridPagerStyle.cs: fixed PrevPageText property
3899 2006-03-13 Chris Toshok <toshok@ximian.com>
3901 * BaseCompareValidator.cs (Convert): make the
3902 ValidationDataType.String case a bit more compact.
3904 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3907 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
3908 Patch by Hubert Fongarnand.
3910 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3912 * FontInfo.cs: fixed CopyFrom, this method should not reset the
3913 received fontinfo if it is the same instance
3914 fixed ToString, corrected output where only font size specified
3916 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3918 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
3919 if it not set but the border has width
3920 fixes in CopyFrom, MergeWith correct unit compare when it has zero
3923 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3925 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
3926 properties of custom class
3927 fixed InitializeNumericPager, pager numbers should be a Label control
3928 fixed CreateControlHierarchy, corrected dataset index of items if
3931 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
3933 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
3935 fixed CreateControlStyle to set correct cellspacing of table style
3936 fixed InitializeItem to correct applying template to selected and
3939 2006-03-08 Chris Toshok <toshok@ximian.com>
3941 * SiteMapNodeType.cs: nuke.
3943 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
3944 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
3945 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
3946 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
3947 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
3948 ValidationCompareOperator.cs, ValidationDataType.cs,
3949 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
3950 [Serializable] in 2.0.
3952 * DayNameFormat.cs: add "Shortest".
3954 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3956 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
3959 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3961 * TextBox.cs: fixed missing value validations, fixed rendering
3962 of empty value attribute
3964 2006-03-07 Chris Toshok <toshok@ximian.com>
3966 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
3967 by chaining up to base.EnableTheming.
3969 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
3971 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
3973 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
3975 * RadioButton.cs: added ValueAttribute property to store the button
3977 * RadioButtonList.cs: fixed tab index when rendering.
3979 2006-03-02 Chris Toshok <toshok@ximian.com>
3981 * WebControl.cs (SkinID): implement setter/getter, and have them
3982 just chain up to base.SkinID.
3984 2006-02-27 Chris Toshok <toshok@ximian.com>
3986 * SqlDataSource.cs: track change to DataSourceControl's protected
3989 * AccessDataSource.cs: same.
3991 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3993 * ListControl.cs: fixed SelectedIndex property, fixed selection
3994 reset on incorrect value
3996 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3998 * TableStyle.cs: fixed AddAttributesToRender function, style
3999 BorderCollapse:Collapse was added if table's CellSpacing is zero
4001 2006-02-23 Chris Toshok <toshok@ximian.com>
4003 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
4004 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
4005 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
4006 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
4007 ImageButton.cs, ImageField.cs, Literal.cs,
4008 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
4010 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
4011 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
4012 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
4013 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
4014 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
4015 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
4016 errors. most were caused by a property/method being virtual when
4017 it shouldn't be, or vice versa.
4019 2006-02-22 Chris Toshok <toshok@ximian.com>
4021 * ObjectDataSource.cs: corcompare work.
4023 2006-02-22 Chris Toshok <toshok@ximian.com>
4025 * ParameterCollection.cs: add an EditorAttribute to the class.
4027 * Parameter.cs: cleanup, fix the Value property, and implement the
4030 * SqlDataSourceView.cs: clean things up a bit, and add handling
4033 2006-02-22 Chris Toshok <toshok@ximian.com>
4035 * SqlDataSourceFilteringEventArgs.cs: formatting.
4037 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
4038 both the property and ctor arg.
4040 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
4041 not CommandEventArgs. Also, cast the return value of
4042 oleCommand.ExecuteReader.
4044 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
4046 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
4047 (GetPhysicalDataFilePath): implement, again naively. this is
4048 where the NRE is generated when we access ConnectionString in a
4050 (ConnectionString): dynamically generate this based on our
4052 (DataFile): clear the ConnectionString in the setter so we'll
4054 (ProviderName): use base.ProviderName in the getter, not
4055 this.ProviderName, so we don't recurse infinitely.
4057 * SqlDataSourceView.cs: start reworking this class.
4059 * SqlDataSource.cs (GetDbProviderFactory): implement this,
4060 following the MS docs on the matter (if ProviderName is null/"",
4061 return SqlClientFactory.Instance.)
4062 (GetDbProviderFactoryInternal): add an internal method for use by
4064 (TrackViewState): don't invoke View.TrackViewState unless we have
4066 (Selecting): change event handler type to match MS.
4067 (Filtering): add missing event.
4068 (View): call CreateDataSourceView, don't just create an
4071 2006-02-21 Chris Toshok <toshok@ximian.com>
4073 * BoundField.cs: ues the ViewState.Get* pattern with default
4074 instead of the explicit ViewState lookup + null check, and fix the
4075 scope of InitializeDataCell.
4077 * ButtonField.cs: ues the ViewState.Get* pattern with default
4078 instead of the explicit ViewState lookup + null check.
4080 * CommandField.cs: same.
4082 * CheckBox.cs: same.
4084 * AutoGeneratedFieldProperties.cs: same.
4086 * BaseDataList.cs: same.
4088 * CircleHotSpot.cs: same.
4090 * BulletedList.cs: same.
4092 * DataBoundControl.cs: same.
4094 * CookieParameter.cs: same.
4096 * ControlParameter.cs: same.
4098 * CustomValidator.cs: same.
4100 * ButtonFieldBase.cs: same.
4102 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
4104 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
4106 * BaseValidator.cs: same, and clean up the getter/setter formatting.
4108 * CompareValidator.cs: same.
4110 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4112 * ListControl.cs: fixed DataSource property, to throw
4113 ArgumentException on incorrect value
4115 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4117 * Image.cs: fixed missing border="0" attribute, when image has style,
4118 but border width is not specified.
4120 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4122 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
4123 correct the "disabled" attribute in CheckBoxList
4124 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
4125 attribute in CheckBoxList
4127 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4129 * CheckBox.cs: fixed Render function, removed rendering of empty
4130 <span> element if ControlStyleCreated but it's empty.
4131 fixed "disabled" attribute, it should be placed into span element
4133 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4135 * BoundColumn.cs: fixed InitializeCell function, if DataField is
4136 null or empty string, the cell should not be bound.
4138 2006-02-08 Chris Toshok <toshok@ximian.com>
4140 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
4141 AppendDataBoundItems != false. Also, split all the databinding
4142 logic out to DoDataBinding, which we call from here only if
4144 (DoDataBinding): new function. actually perform the binding.
4145 (PerformDataBinding): implement.
4146 (PerformSelect): chain up to base class.
4148 2006-02-07 Chris Toshok <toshok@ximian.com>
4150 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
4152 * Content.cs: use ContentControlBuilderInternal, and add a bunch
4153 of unused (for now) EventHandler's here.
4155 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
4158 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4160 * ListControl.cs: bound checking for Items when loading the control
4161 state, as the number might have been changed on the fly. Patch by
4164 2006-01-22 Chris Toshok <toshok@ximian.com>
4166 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
4168 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
4169 the intended comparison right and quiet mcs.
4171 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4173 * Button.cs: Add semicolon after client script if does not exist.
4175 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4177 * Button.cs: preserve user logic when adding client validation.
4179 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4181 * BaseValidator.cs: fixing visibility bahavior
4183 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4185 * RangeValidator.cs: allow empty data from the control. Patch from Marek
4186 Habersack that fixes bug #77239.
4188 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4190 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
4191 by Cyrille Colin. Closes bug #77184.
4193 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
4195 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
4196 compilation pass with csc 1.1.
4198 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4200 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
4202 2005-12-07 Chris Toshok <toshok@ximian.com>
4204 * BaseValidator.cs: in the uplevel rendering case, don't render
4205 the text if the validator's Display attribute is "None". Should
4208 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4210 * RadioButton.cs: if the 'value' attribute is set explicitly (as
4211 RadioButtonList does now), use that as the 'name' attribute.
4212 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
4217 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4219 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
4220 the 'name' attribute when not aligninng to the right.
4221 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
4222 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
4224 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4226 * DataGrid.cs: clear the control collection on every call to
4227 CreateControlHierarchy. Fixes bug #76732.
4229 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4231 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
4233 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4235 * CheckBox.cs: use the NameAttribute property for setting 'name'.
4236 * RadioButton.cs: get a UniqueID based identifier for 'name'.
4239 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4241 * LinkButton.cs: don't output any javascript when the linkbutton is
4242 disabled. Fixes bug #76713.
4244 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4246 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
4247 UseAccesibleHeader property is true. Patch by Robert Jordan.
4249 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4251 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
4252 control to validate. Fixes bug #76641.
4254 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4256 * BoundColumn.cs: when the column is readonly and we're in edit mode,
4257 keep it as a TextBox. Fixes bug #76714.
4259 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4261 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
4262 enabled. Fixes bug #76608.
4264 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4266 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
4267 the logic to Render and make it render the ID, which fixes bug #76596.
4269 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4271 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
4273 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4275 * Literal.cs: allow LiteralControl as child, but instead of adding it
4276 to the control collection, it just gets the Text out of it.
4278 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4280 * PagedDataSource.cs: fix range when we're at the last page.
4281 * DataGrid.cs: only need to keep the item count in the viewstate.
4284 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4286 * ListControl.cs: made GetSelectedIndices() internal.
4287 * ListBox.cs: html-encode the item text. Fixed single and multiple
4288 selection handling. All the tests pass now. Closes bug #76478.
4290 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4292 * ListControl.cs: throw when the selected value is not in the
4293 items collection. Fixes bug #76415.
4295 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4297 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
4298 throw a nullref, so we have to do it by ourselves here to make
4301 * BaseValidator.cs: render the text of the error message even if
4302 we set IsValid programatically. Don't use 'valid' directly, as
4307 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4309 * CustomValidator.cs: an empty ControlToValidate is valid.
4311 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
4313 * RequiredFieldValidator.cs: Added missing permissions.
4315 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4317 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
4318 Now the items get the attributes from the styles in datalist. Add the
4319 separators after each item, not before. GetItemStyle returns the actual
4320 item style, not the styles in the datalist. Fixes bug #76384 and all
4323 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4325 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
4328 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4330 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
4333 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
4335 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
4336 inheritance demands.
4337 * FontUnit.cs: Structs are sealed so there's no need for inheritance
4339 * Unit.cs: Structs are sealed so there's no need for inheritance
4342 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4344 * PagedDataSource.cs: fix the upper bound for collection and ilist
4347 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4349 * DataGrid.cs: change the ListItemType for the item selected, set
4350 SelectedIndex before calling OnSelectedIndexChanged and set the selected
4351 item type correctly when creating the columns. Fixes bug #76334.
4354 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
4355 selecting the row, the button keep the regular link color.
4357 * DataGridColumn.cs: made the class internal.
4359 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4361 * DataGrid.cs: fix breakaga of alternating item style in one of my
4364 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4366 * Calendar.cs: remove Console.
4367 * ListBox.cs: the name is the UniqueID, not the ClientID.
4368 * WebControl.cs: Attributes is case insensitive.
4370 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4372 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
4373 UniqueID without appending a ".x" or ".y". Fixes several issues in
4374 mojoPortal. Thanks to Joe Audetter for his patience.
4376 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4378 * ButtonColumn.cs: it was lacking databinding, so copied most of it
4381 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4383 * FontInfo.cs: removed useless ctor.
4384 * Style.cs: keep here some commented out debugging code.
4385 * DataGrid.cs: the Items property does not create a new arraylist if
4386 the items_list was already initialized. Add case for Separator.
4387 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
4388 in the header columns has a special ForeColor handling.
4390 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4392 * DataGrid.cs: PageCount must persist in ViewState too and returns the
4393 number of pages in the paged data source once we set that. Fix checks
4394 for visibility of the pager: no more 2 pagers when custom paging is
4397 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4399 * ImageButton.cs: fix a bug reported on the list. We were triggering the
4400 command event on every POST. And the 'name' attribute was not being
4401 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
4402 and we couldn't find the values.
4404 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4406 * DataGrid.cs: fix the links for the numeric pager.
4408 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4410 * DataGrid.cs: when paging is enable, the actual number of items is not
4411 the number of items rendered before the postback, but that number times
4412 the number of pages. Now we store the page count in the viewstate. Also,
4413 as the number might be big, don't allocate an array of objects to fake
4414 the collection for the PagedDataSource, but use the new NCollection
4415 class instead, which provides cheap (memory wise) enumerator for an
4416 arbitrary number of items. Thanks to "Adriano" for the test case.
4418 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4420 * Xml.cs: the show must go on. Removed a few NotImplemented.
4422 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4424 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
4425 existing code in 1.1 (or viceversa). RenderContents() does nothing.
4427 * DataGrid.cs: changed autoid api.
4429 * EditCommandColumn.cs: only 'Update' causes validation.
4431 * TableCell.cs: changed autoid api. RenderContents checks the number
4432 of controls to decide what to do, not the value of Text in the
4435 * TableRow.cs: changed autoid api.
4437 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
4438 event. When we get an EditItem, we need a TextBox to be created and
4439 this one will be the one that gets the event. Changed
4440 ItemDataBinding to deal with a TextBox too.
4442 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4444 * PagedDataSource.cs: fix IsLastPage. All tests pass.
4445 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
4446 need to keep the old one in a field. Now all tests pass here too.
4448 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4450 * PagedDataSource.cs: don't use the properties when they just return a
4451 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
4452 before ICollection (otherwise, an IList will always fall under the
4453 ICollection case). The enumerator for lists will be empty if 'start'
4454 is beyond the list size. All existing tests pass, but one in
4455 DataGridTest that fails because of some problem with the paging.
4457 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4459 * Style.cs: fix the 2.0 build.
4461 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4463 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
4464 instead write the style attributes directly to the HtmlTextWriter.
4466 * CheckBox.cs: adapted to new API.
4468 * DataGrid.cs: handle null data sources. Fixed the contions that make
4469 the table to be added to the Controls collection.
4471 * Calendar.cs: the table needed an ID and the attributes from the
4472 parent. Also don't create the ControlStyleCollection if it has not
4473 already been created.
4475 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4477 * DataGrid.cs: handle null data sources. Fixed the contions that make
4478 the table to be added to the Controls collection.
4480 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4482 * Calendar.cs: TrackViewState should be called upon creation, not on
4483 every get_XXX call. Cleanup.
4485 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4487 * DataGrid.cs: fix another test. The ID of the table generated by the
4488 datagrid is set to the one on the datagrid if no one set the ID for the
4491 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4493 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
4496 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4498 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
4499 converted to string as X{1,2}-.*. All FontUnitTests pass now.
4500 * Unit.cs: throw a format exception when there's not number or minus
4501 sign in the first non-whitespace character.
4503 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4505 * ListControl.cs: SelectedIndex/SelectedValue can be set before
4506 DataBinding () is called on the control, so we have to keep this values
4507 around and use them after the data is read. If both properties are
4508 used, they must refer to the same item.
4510 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4512 * DataList.cs: fill in the data keys from BaseDataList so that the
4513 events can see them. Only assign DataItem when using data binding and
4514 nullify it after all events are raised.
4516 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4518 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
4521 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4523 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
4525 * DataGrid.cs: Fix TagKey (table) for 2.0.
4526 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
4527 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
4529 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
4531 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
4532 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
4534 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
4536 * TreeView.cs: Added declarative security (Link and Inheritance
4537 demands) for Minimal.
4538 * XmlDataSource.cs: Added declarative security (Link and Inheritance
4539 demands) for Minimal.
4541 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4543 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
4544 Inheritance demands) for Minimal.
4545 * Label.cs: Added declarative security (Link and Inheritance demands)
4547 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
4548 * ListItemCollection.cs: Added declarative security (LinkDemands) for
4550 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
4551 2.0, Inheritance demands) for Minimal.
4552 * PagedDataSource.cs: Added declarative security (LinkDemands) for
4554 * Panel.cs: Added declarative security (Link and Inheritance demands)
4556 * Repeater.cs: Added declarative security (Link and Inheritance
4557 demands) for Minimal.
4558 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
4559 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
4561 * TargetConverter.cs: Added declarative security (Link and Inheritance
4562 demands) for Minimal.
4563 * Unit.cs: Added, but only for 1.x, declarative security (Link and
4564 Inheritance demands) for Minimal.
4565 * ValidatedControlConverter.cs: Added declarative security (Link and
4566 Inheritance demands) for Minimal.
4567 * WebColorConverter.cs: Added declarative security (Link and
4568 Inheritance demands) for Minimal.
4569 * Xml.cs: Added declarative security (Link and Inheritance demands)
4571 * ValidationSummary.cs: Added declarative security (Link and
4572 Inheritance demands) for Minimal.
4574 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4576 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
4578 2005-09-22 Ben Maurer <bmaurer@ximian.com>
4580 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
4581 it took O(height) time, not O(1).
4583 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4585 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
4587 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4589 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
4590 2.0, Inheritance demands) for Minimal.
4591 * BaseCompareValidator.cs: Added declarative security (Link and
4592 Inheritance demands) for Minimal.
4593 * BaseDataBoundControl.cs: Added declarative security (Link and
4594 Inheritance demands) for Minimal.
4595 * BaseValidator.cs: Added declarative security (Link and Inheritance
4596 demands) for Minimal.
4597 * BoundColumn.cs: Added declarative security (Link and Inheritance
4598 demands) for Minimal.
4599 * ButtonColumn.cs: Added declarative security (Link and Inheritance
4600 demands) for Minimal.
4601 * CalendarDay.cs: Added declarative security (Link and Inheritance
4602 demands) for Minimal.
4603 * CheckBoxList.cs: Added declarative security (Link and Inheritance
4604 demands) for Minimal.
4605 * CompareValidator.cs: Added declarative security (Link and
4606 Inheritance demands) for Minimal.
4607 * CustomValidator.cs: Added declarative security (Link and Inheritance
4608 demands) for Minimal.
4609 * DataBoundControl.cs: Added declarative security (Link and
4610 Inheritance demands) for Minimal.
4611 * DataGridItemCollection.cs: Added declarative security (Link and
4612 Inheritance demands) for Minimal.
4613 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
4615 * DataListItemCollection.cs: Added declarative security (LinkDemands)
4617 * DataListItem.cs: Added declarative security (Link and Inheritance
4618 demands) for Minimal.
4619 * FontNamesConverter.cs: Added declarative security (Link and
4620 Inheritance demands) for Minimal.
4621 * HyperLink.cs: Added declarative security (Link and Inheritance
4622 demands) for Minimal.
4623 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
4624 demands) for Minimal.
4625 * Image.cs: Added declarative security (Link and Inheritance demands)
4628 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4630 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
4632 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
4633 a data source, first try reflection, then componentmodel. If we get
4634 an enumerator, keep it around, as MS only calls GetEnumerator once.
4635 Throw an exception if no columns can be created from the given data
4636 source. Tested with DbDataRecord, DataTable, ArrayList and
4637 ICustomTypeDescriptor.
4639 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
4641 * AccessDataSource.cs: Added declarative security (Link and Inheritance
4642 demands) for Minimal. Added [ToolboxBitmap] on class.
4643 * AdRotator.cs: Added declarative security (Link and Inheritance
4644 demands) for Minimal. Removed extra Page and ViewState properties.
4645 * BulletedList.cs: Added declarative security (Link and Inheritance
4646 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4647 * Button.cs: Added declarative security (Link and Inheritance demands)
4648 for Minimal. Added [SupportsEventValidation] on class (2.0).
4649 * Calendar.cs: Added declarative security (Link and Inheritance
4650 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4651 * CheckBox.cs: Added declarative security (Link and Inheritance
4652 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4653 * CompositeControl.cs: Added declarative security (Link and Inheritance
4654 demands) for Minimal. Added new protected RecreateChildControls method.
4655 * DataControlCommands.cs: Added declarative security (LinkDemands) for
4656 Minimal. Added private ctor.
4657 * DataGrid.cs: Added declarative security (Link and Inheritance
4658 demands) for Minimal. Fixed properties for 2.0 (mostly removing
4659 [Bindable]). Added override for TagKey property.
4660 * DataGridColumn.cs: Added declarative security (Link and Inheritance
4661 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
4662 * DataGridItem.cs: Added declarative security (Link and Inheritance
4663 demands) for Minimal. Added IDataItemContainer interface for 2.0.
4664 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
4665 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
4666 * DataList.cs: Removed [Load|Save]ControlState methods.
4667 * DropDownList.cs: Added declarative security (Link and Inheritance
4668 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4669 * EditCommandColumn.cs: Added declarative security (Link and
4670 Inheritance demands) for Minimal. Added missing attributes,
4671 [DefaultValue] and [Localize] for 2.0.
4672 * FontInfo.cs: Added declarative security (Link and Inheritance
4673 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
4675 * Login.cs: Added declarative security (Link and Inheritance demands)
4676 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
4677 * ImageButton.cs: Added declarative security (Link and Inheritance
4678 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4679 * LinkButton.cs: Added declarative security (Link and Inheritance
4680 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4681 * ListBox.cs: Added declarative security (Link and Inheritance demands)
4682 for Minimal. Added [SupportsEventValidation] on class (2.0).
4683 * Literal.cs: Added declarative security (Link and Inheritance demands)
4684 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
4685 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
4686 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
4687 but will be shown as extra).
4688 * RadioButton.cs: Added declarative security (Link and Inheritance
4689 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4690 * RadioButtonList.cs: Added declarative security (Link and Inheritance
4691 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4692 * RangeValidator.cs: Added declarative security (Link and Inheritance
4693 demands) for Minimal. Added missing [Themeable] attributes.
4694 * RegularExpressionValidator.cs: Added declarative security (Link and
4695 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
4697 * RoleGroupCollection.cs: Added declarative security (Link and
4698 Inheritance demands) for Minimal. Fixed base class (changed in RC).
4699 Re-implemented CopyTo. Removed some methods.
4700 * Style.cs: Added declarative security (Link and Inheritance demands)
4701 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
4702 is now public in 2.0.
4703 * Table.cs: Added declarative security (Link and Inheritance demands)
4704 for Minimal. Added [SupportsEventValidation] on class (2.0).
4705 * TableCell.cs: Fixed PersistenceMode for 2.0.
4706 * TextBox.cs: Added declarative security (Link and Inheritance demands)
4707 for Minimal. Added [SupportsEventValidation] on class (2.0).
4708 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
4709 but will be shown as extra).
4710 * WebControl.cs: Added declarative security (Link and Inheritance
4711 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
4714 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4716 * TableStyle.cs: fixed typo that prevented restoring GridLines from
4719 * DataGrid.cs: the table does not get an auto ID. When restoring from
4720 viewstate, use all the saved columns, not just that data bound ones. Set
4721 the owner of the BoundColumns created. Save/restore columns.
4722 OnItemCreated happens after the item is initialized and the data item is
4723 set before the event and nullified after OnItemDataBound.
4724 Add the render_table to the Controls immediately, otherwise we might get
4725 errors from child controls such as "must be rendered inside a form".
4726 Keep the items created in the list waiting for them.
4727 The table uses the attributes from the DataGrid and ControlStyle.
4728 Raise OnItemCommand on all bubble events and don't propagate bubble
4729 event up in the hierarchy
4731 * TableCell.cs: it does not get an automatic ID.
4732 * BoundColumn.cs: FormatDataValue returns an empty string on null input
4733 (there was already a test for this).
4737 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4739 * DataGridColumnCollection.cs: track the view state in the newly added
4742 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4744 * DataGrid.cs: merge column styles too. Fixes bug #76106.
4745 * DataGridColumn.cs: new internal method to retrieve the styles without
4746 creating an instance for them.
4748 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
4750 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
4751 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
4752 StateBag.SetDirty (true).
4754 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
4756 * Menu.cs: Fixed parameter orders for CreateStyleRule.
4758 2005-09-13 Chris Toshok <toshok@ximian.com>
4760 * Style.cs: corcompare stuff.
4762 * RequiredFieldValidator.cs: more corcompare stuff.
4764 * CheckBoxList.cs: clean up some of the interface methods vs
4765 protected virtual 2.0 calls.
4767 * SubMenuStyle.cs: corcompare says this should implement
4768 ICustomTypeDescriptor... sooo, make it.
4770 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4772 * TableCell.cs: do the same as HyperLink and others in
4773 AddParsedSubobject so that adding a literal control does not remove the
4774 existing controls if any. Fixes bug #76078.
4776 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4778 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
4780 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4782 * ImageButton.cs: fix invalid cast exception.
4784 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4786 * ListItem.cs: throw in AddParsedSubObject if the object is not a
4788 * RadioButtonList.cs: implemented LoadPostData and
4789 RaisePostDataChangedEvent.
4791 2005-09-09 Chris Toshok <toshok@ximian.com>
4793 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
4794 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
4795 LoadPostData/RaisePostDataChangedEvent.
4797 2005-09-09 Chris Toshok <toshok@ximian.com>
4799 * FontInfo.cs (IsEmpty): new internal property, used by
4802 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
4805 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4807 * ListItemCollection.cs: remove obsoleted methods.
4808 * ListBox.cs: use IStateManager on the item collection.
4810 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
4812 * Use C# 1.0 style of delegate instantiating. Needed to compile
4813 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
4815 2005-09-07 Chris Toshok <toshok@ximian.com>
4817 * Calendar.cs (WriteDay): always add BackColor=Silver,
4818 ForeColor=White to selected day cells, before copying over the
4819 selectedDayStyle, if it exists.
4820 (WriteDays): fix nunit test - if the first day of the month falls
4821 on the first day of the week, go back one week (effectively adding
4822 a row of dates from the previous month.)
4823 (WriteTitle): don't copy the control style to the tableTitle,
4824 since it might have height specifications, which would make the
4825 title look rather off.
4827 2005-09-07 Chris Toshok <toshok@ximian.com>
4829 * ValidationSummary.cs (AddAttributesToRender): we only set
4830 display=none if there are no errors.
4832 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
4833 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
4835 2005-09-07 Chris Toshok <toshok@ximian.com>
4837 * ListControl.cs (SelectedIndex): add comment about how you'd
4838 think OnSelectedIndexChanged would be called.. and you'd be wrong.
4839 (Text): implement in terms of SelectedValue.
4840 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
4841 (LoadControlState): implement - this is where the selected index
4842 ArrayList gets stuffed in 2.0.
4843 (OnInit): call Page.RegisterRequiresControlState.
4844 (OnTextChanged): implement.
4845 (RenderContents): for now just chain up to base.RenderContents.
4846 (SaveControlState): save our control state properly.
4847 (GetSelectedIndices): split this out from SaveViewState to it can
4848 be used by both that and SaveControlState.
4849 (SaveViewState): mangle this function so it works in both 2.0 and
4851 (LoadViewState): same.
4853 2005-09-06 Chris Toshok <toshok@ximian.com>
4855 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
4856 we weren't assigned an ID.
4858 * ValidationSummary.cs (AddAttributesToRender): same.
4860 2005-09-06 Chris Toshok <toshok@ximian.com>
4862 * WebControl.cs: revert the last change.
4864 2005-09-06 Chris Toshok <toshok@ximian.com>
4866 * WebControl.cs (AddAttributesToRender): always render ClientID.
4868 * ValidationSummary.cs (Render): same.
4870 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
4873 2005-09-06 Chris Toshok <toshok@ximian.com>
4875 * ValidationSummary.cs (Render): only do the JS stuff when the
4876 validators on the page are uplevel.
4878 * BaseValidator.cs (Render): remove unnecessary comment.
4880 2005-09-05 Chris Toshok <toshok@ximian.com>
4882 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
4883 stored in the ViewState.
4885 2005-09-02 Chris Toshok <toshok@ximian.com>
4887 * Repeater.cs (GetData): change this slightly so the Repeater
4888 doesn't keep a ref to the return value of GetData.
4890 2005-09-01 Chris Toshok <toshok@ximian.com>
4892 * ListControl.cs (AppendDataBoundItems): implement (2.0)
4895 2005-09-01 Chris Toshok <toshok@ximian.com>
4897 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
4898 System.Web.UI.WebControls/ValidatedControlConverter.cs,
4899 System.Web.UI.WebControls/Xml.cs,
4900 System.Web.UI.WebControls/RegularExpressionValidator.cs,
4901 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
4902 System.Web.UI.WebControls/Menu.cs,
4903 System.Web.UI.WebControls/MailMessageEventArgs.cs,
4904 System.Web.UI.WebControls/MenuItemStyle.cs,
4905 System.Web.UI.WebControls/RangeValidator.cs,
4906 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
4907 System.Web.UI.WebControls/MenuItem.cs,
4908 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
4909 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
4910 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
4911 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
4912 System.Web.UI.WebControls/XmlBuilder.cs,
4913 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
4916 2005-09-01 Chris Toshok <toshok@ximian.com>
4918 * System.Web.UI.WebControls/Button.cs,
4919 System.Web.UI.WebControls/ButtonField.cs,
4920 System.Web.UI.WebControls/DataControlField.cs,
4921 System.Web.UI.WebControls/BaseCompareValidator.cs,
4922 System.Web.UI.WebControls/AutoGeneratedField.cs,
4923 System.Web.UI.WebControls/CustomValidator.cs,
4924 System.Web.UI.WebControls/Content.cs,
4925 System.Web.UI.WebControls/BoundField.cs,
4926 System.Web.UI.WebControls/AdRotator.cs,
4927 System.Web.UI.WebControls/ButtonColumn.cs,
4928 System.Web.UI.WebControls/CompareValidator.cs,
4929 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
4930 work. Stub things out, and add attributes.
4932 2005-09-01 Chris Toshok <toshok@ximian.com>
4934 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
4935 CommandField.cs, HyperLinkColumn.cs, Table.cs,
4936 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
4937 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
4938 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
4939 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
4940 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
4941 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
4942 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
4943 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
4944 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
4945 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
4946 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
4947 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
4948 TableItemStyle.cs: Add some WebCategory and WebSysDescription
4951 2005-09-01 Chris Toshok <toshok@ximian.com>
4953 * AccessDataSource.cs: corcompare work.
4955 * SqlDataSource.cs: same.
4957 2005-09-01 Miguel de Icaza <miguel@novell.com>
4959 * Various places: make sure that the DefaultValue matches the
4960 type. Thanks to Michael for pointing this out.
4962 In future audits, you might want to use the following awk command:
4964 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
4965 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
4966 print $0; looking = 0; } /public/ && looking { looking = 0; } '
4969 The above skips bools, strings and ints as those were fine as we
4970 set them. The bug was on the other ones.
4972 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4974 * Repeater.cs: fix the build.
4976 2005-08-31 Chris Toshok <toshok@ximian.com>
4978 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
4979 {Base}DataList, and also from debug spew garnered from some
4980 Repeater subclass tests on MS.
4981 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
4982 the IEnumerable by calling GetData().
4983 (DataBind): reset RequiresDataBinding to false (2.0).
4984 (DataMember): copy the set implementation from DataList, and add
4985 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
4986 (DataSource): more c&p.
4987 (DataSourceID); implement (2.0)
4988 (Initialized): implement (2.0)
4989 (IsBoundUsingDataSource): implement (2.0)
4990 (RequiresDataBinding): implement (2.0)
4991 (SelectArguments): implement (2.0)
4992 (CreateDataSourceSelectArguments): implement (2.0)
4993 (EnsureDataBound): implement (2.0)
4994 (GetData): implement.
4995 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
4997 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
4998 leave the MonoTODO. (2.0)
4999 (OnInit): call base.OnInit instead of throwing NIE, but leave the
5001 (OnLoad): implement.
5002 (OnPreRender): implement.
5003 (ConnectToDataSource): new method - look for the right control.
5005 2005-08-31 Chris Toshok <toshok@ximian.com>
5007 * XmlDataSourceView.cs: fix the scope of our select. Don't use
5008 call SelectNodes on the XmlDocument, not on
5009 XmlDocument.DocumentElement.
5011 2005-08-31 Chris Toshok <toshok@ximian.com>
5013 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
5014 (DoXPathSelect): put the xpath selection stuff here.
5015 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
5018 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
5019 select here, the view does it.
5021 2005-08-31 Jackson Harper <jackson@ximian.com>
5023 * DataList.cs: Remove some debugging code that was starting to bug
5026 2005-08-31 Chris Toshok <toshok@ximian.com>
5028 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
5029 create our Navigator by calling node.CreateNavigator().
5031 2005-08-31 Chris Toshok <toshok@ximian.com>
5033 * XmlDataSource.cs (GetXmlDataDocument): rename this to
5034 GetXmlDocument, and change the return value from XmlDataDocument
5036 (LoadXmlDataDocument): similar change.
5037 (Save): xmlDataDocument -> xmlDocument.
5038 (CanBeSaved): there's no ReadOnly attribute.
5039 (LoadViewState, SaveViewState, TrackViewState): nuke.
5040 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
5041 (CacheDuration): stub out with NIE.
5042 (CacheExpirationPolocy): same.
5043 (CacheKeyDependency): same.
5044 (EnableCaching): same.
5046 (Data, DataFile): xmlDataDocument -> xmlDocument.
5047 (Schema, SchemaFile): nuke.
5048 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
5050 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
5052 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
5053 Don't use the obsolete IsSet method.
5054 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
5055 * CheckBox.cs: Implement some 2.0 methods.
5056 * GridView.cs: Removed some "throw new NotImplementedException"
5058 2005-08-29 Chris Toshok <toshok@ximian.com>
5060 * TreeView.cs: Use the StateBag accessors Ben added, and implement
5061 SkipLinkText and Visible.
5063 2005-08-29 Chris Toshok <toshok@ximian.com>
5065 * TreeView.cs: fix typo in an attribute.
5067 2005-08-29 Jackson Harper <jackson@ximian.com>
5069 * PagedDataSource.cs: If it's not a list or collection we don't
5070 use a bounded enumerator.
5072 2005-08-29 Chris Toshok <toshok@ximian.com>
5074 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
5076 * CheckBox.cs: same.
5078 * BaseValidator.cs: same.
5080 * DropDownList.cs: same.
5082 * ValidationSummary.cs: same.
5084 2005-08-28 Chris Toshok <toshok@ximian.com>
5086 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
5088 2005-08-26 Chris Toshok <toshok@ximian.com>
5090 * TextBox.cs: implement ValidationGroup and CausesValidation
5093 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
5095 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
5098 2005-08-26 Chris Toshok <toshok@ximian.com>
5100 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
5102 * FontUnit.cs: add two 2.0 ctors, and the 2.0
5103 ToString(IFormatProvider) method.
5105 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
5107 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
5108 no items are present in the list.
5109 * RoleGroup.cs: Added missing attributes.
5110 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
5111 documented) methods.
5112 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
5113 must be done in the HtmlTextWriter (not in the TableStyle).
5115 2005-08-26 Chris Toshok <toshok@ximian.com>
5117 * Calendar.cs (UseAccessibleHeader): implement.
5118 (RaisePostBackEvent): some #ifdef ugliness to get this all working
5119 propertly between 1.x and 2.0
5120 (WriteDayHeader): if UseAccessibleHeader == true, render header
5121 cells as th's, not td's, and add abbr and scope attributes.
5123 2005-08-25 Chris Toshok <toshok@ximian.com>
5125 * Calendar.cs (Caption, CaptionAlign): implement these properties.
5126 (Render): if we have a non-empty caption, show it.
5127 (WriteCaption): new method, output the caption.
5129 2005-08-25 Chris Toshok <toshok@ximian.com>
5131 * Calendar.cs (Render): Copy the entire style from the Calendar to
5132 the Table, not just the font.
5133 (WriteDay): don't just write the link/text/etc. Create a
5134 LiteralControl as a child of the cell, before the call to
5135 OnDayRender, with its text set to the day number. After
5136 OnDayRender, set the literal's text to either the number again (if
5137 it's not selectable) or the full text of the js __doPostBack
5138 hyperlink (if it is.) Also, use cell.RenderControl here so we can
5139 render child controls with the id's listed properly (and arguably
5141 (ApplyTitleStyleCell): remove.
5142 (WriteTitle): apply the titleStyle to the enclosing table, not the
5143 table cell containing the month name. Also, copy from the
5144 Calendar's ControlStyle to populate tableTitle's style initially.
5145 We end up with more (superfluous) style attributes than MS, but
5146 it's better than having less.
5148 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5150 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
5153 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5155 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
5156 and RegisteredCssClass property
5158 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5160 * LoginView.cs: Fixed attributes.
5161 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
5162 an exception to allow pages to work on 2.x.
5164 2005-08-25 Chris Toshok <toshok@ximian.com>
5166 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
5168 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
5171 * HiddenField.cs: stub out this class and label everything
5174 2005-08-25 Jackson Harper <jackson@ximian.com>
5176 * DataGrid.cs: Disable the pager row if there no paging enabled
5179 2005-08-25 Chris Toshok <toshok@ximian.com>
5181 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
5184 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
5185 add a using statement.
5187 2005-08-25 Chris Toshok <toshok@ximian.com>
5189 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
5192 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
5195 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5197 * Login.cs: Added rendering and fixed parts of the authentication.
5198 Now using IStateManager to allow compilation in another assembly (e.g.
5199 to test the control under IIS). Needs more tests (error conditions)
5200 once we get a "real" Membership provider running.
5201 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
5204 2005-08-25 Chris Toshok <toshok@ximian.com>
5206 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
5208 2005-08-25 Chris Toshok <toshok@ximian.com>
5210 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
5211 calling base.Foo to get the standalone adrotator (1.0) tests to
5212 run without throwing exceptions.
5214 2005-08-25 Chris Toshok <toshok@ximian.com>
5216 * ValidationSummary.cs (ValidationGroup): implement.
5217 (Render): use Page.GetValidators in .net 2.0, so we can support
5218 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
5221 2005-08-25 Chris Toshok <toshok@ximian.com>
5223 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
5224 2.0 attribute modifiers, and revert back to "override".
5226 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
5227 2.0 attribute modifiers, and revert back to "override".
5228 (BorderStyle): same.
5229 (BorderWidth): same.
5231 * TextBox.cs (SaveViewState): implement naively, calling
5233 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
5234 modifiers, and revert back to "override".
5236 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5238 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
5239 Load ViewState for derived classes; no public LoadViewState override
5240 exists in those classes
5241 * Style.cs: Added 2.0 IsStyleEmpty method
5243 2005-08-25 Jackson Harper <jackson@ximian.com>
5245 * DataGrid.cs: The number of pages set in the pager is specified
5248 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5250 * LoginView.cs: New (2.0). Work in progress.
5252 2005-08-24 Chris Toshok <toshok@ximian.com>
5254 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
5255 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
5256 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
5257 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
5258 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
5259 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
5260 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
5261 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
5262 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
5263 Add MonoTODO's for all things that throw NotImplementException.
5265 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
5267 * RoleGroup.cs: New (2.0). Complete implementation.
5268 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
5270 2005-08-23 Chris Toshok <toshok@ximian.com>
5272 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
5273 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
5274 even though they were written for the 1.0 stuff.
5276 2005-08-23 Chris Toshok <toshok@ximian.com>
5278 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
5279 output. Our tests now pass on both mono and ms, with both 1.x and
5282 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
5284 * Login.cs: Throw exception if the specified provider doesn't exists.
5285 * LoginStatus.cs: Complete events.
5287 2005-08-22 Jackson Harper <jackson@ximian.com>
5289 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
5291 (InitializeNumericPager): Now that the pager actually renders
5292 properly I can see that I was computing it incorrectly.
5294 2005-08-22 Jackson Harper <jackson@ximian.com>
5296 * DataGrid.cs (RenderTable): Make sure the new table gets the
5298 (CreateColumnSet): Clear the data source columnbs before adding
5299 new ones regardless of whether or not a property descriptor was
5301 (InitializePager): pager_cell needs to be a member so it isn't
5302 created more then once per a render.
5303 (InitializeNumericPager): Compute start and end more
5305 - Link commands are 1 indexed.
5306 (CreateControlHierarchy): Clear the table before we begin
5308 - Revert patch that made adding the pagers conditional. This is
5309 incorrect, the pagers are always added. Only their visibility is
5310 affected by the pager style.
5311 - Save the entire count in the viewstate, not just the rendered
5312 count. So when paging is enabled the pager's count isn't broken by
5315 2005-08-22 Chris Toshok <toshok@ximian.com>
5317 * LinkButton.cs (ValidationGroup): implement.
5318 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
5319 pass ValidationGroup to Page.Validate.
5321 2005-08-22 Chris Toshok <toshok@ximian.com>
5323 * ImageButton.cs (ValidationGroup): implement.
5324 (IPostBackEventHandler.RaisePostBackEvent): if we cause
5325 validation, call Page.Validate properly (in both profiles).
5327 2005-08-22 Chris Toshok <toshok@ximian.com>
5329 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
5330 case, pass ValidationGroup to Page.Validate.
5331 (ValidationGroup): implement using ViewState.
5333 2005-08-22 Chris Toshok <toshok@ximian.com>
5335 * BaseValidator.cs (Text): 2.0 only. implement naively, just
5337 (OnInit): add 2.0 support for validation groups.
5340 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
5342 * LoginName.cs: New (2.0) web control.
5343 * LoginStatus.cs: New (2.0) web control.
5345 2005-08-19 Chris Toshok <toshok@ximian.com>
5347 * LinkButton.cs (ValidationGroup): implement getter/setter.
5348 (RaisePostBackEvent): implement naively, by c&p'ing the old
5349 implementation of IPostBackEventHandler.RaisePostBackEvent, but
5350 making use of the ValidationGroup in the call to Page.Validate.
5354 * Style.cs (LoadViewState): set our style flags for all the things
5355 we have flags for. Seems like the subclass flags should be
5356 handled in overridden LoadViewState methods, but none of the Style
5357 subclasses seem to override this method.
5359 2005-08-19 Chris Toshok <toshok@ximian.com>
5361 * TableStyle.cs (Merge, MergeWith): make these look a bit more
5362 like Copy/CopyFrom, with the styles checks instead of just
5365 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
5368 2005-08-19 Chris Toshok <toshok@ximian.com>
5370 * DataGrid.cs (InitializePager): don't unconditionally set
5371 pager_cell to the numeric pager (especially after setting it
5372 conditionally to the nextprev pager.)
5373 (InitializeNumericPager): the link buttons don't participate in
5375 (InitializeNextPrevPager): same.
5376 (CreateControlHierarchy): create the top/bottom pagers only if the
5377 PagerStyle says too.
5379 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
5381 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
5383 2005-08-18 Chris Toshok <toshok@ximian.com>
5385 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
5386 the start of this method so templates are created properly.
5388 2005-08-18 Dick Porter <dick@ximian.com>
5390 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
5391 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
5392 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
5393 BaseDataList.cs, DataList.cs, BulletedList.cs,
5394 DataBoundControl.cs, Login.cs, GridView.cs,
5395 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
5396 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
5397 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
5398 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
5399 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
5400 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
5401 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
5402 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
5405 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
5407 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
5409 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
5410 empty array of objects just to get the number of items.
5411 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
5412 but we're missing some bits from the class lib to complete all this...
5414 2005-08-17 Jackson Harper <jackson@ximian.com>
5416 * DataGrid.cs: Only create one pager and add it to both the top
5417 and bottom of the grid, this way all the id numbers stay the same
5418 and we save a bunch of cycles.
5420 2005-08-17 Jackson Harper <jackson@ximian.com>
5422 * DataGrid.cs: The top and bottom pagers are always created. Just
5423 the visibility is changed by the PagerStyle::Position.
5425 2005-08-17 Chris Toshok <toshok@ximian.com>
5427 * CompositeControl.cs (RecreateChildControls): implement naively -
5428 just call CreateChildControls. We might need to call
5429 Controls.Clear() as well, but for the time being, this is ok.
5431 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
5433 * BaseDataList.cs: Completed implementation for 2.0.
5435 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5437 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
5438 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
5440 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5442 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
5444 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
5445 Adjusted size and ordering of the ViewState (new element #0 is still
5446 unknown). Properly fixed the TagKey in 2.0.
5447 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
5448 all properties using enums.
5449 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
5450 * TableItemStyle.cs: Fixed attribute rendering to use style to render
5451 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
5453 2005-08-15 Jackson Harper <jackson@ximian.com>
5455 * EditCommandColumn.cs: Use a normal LinkButton.
5457 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5459 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
5460 viewstate (even if assigned to the default value).
5461 * TableRow.cs: Implement TableSection property (2.0). It has no effect
5462 on the rendering of the table row.
5464 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5466 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
5467 and removed [Bindable] attributes for 2.0.
5468 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
5469 attributes (for 2.0).
5470 * DataListCommandEventArgs.cs: Not sealed in 2.0.
5471 * DataListItemEventArgs.cs: Not sealed in 2.0.
5472 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
5473 attributes for URLs.
5474 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
5475 attributes for URLs.
5476 * Table.cs: Fixed [Editor] attribute for 2.0.
5477 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5478 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
5479 AssociatedHeaderCellID and it's [DefaultValue] attribute.
5480 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
5481 and Scope attributes.
5482 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
5483 on TableSection attribute.
5484 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5486 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
5488 * Image.cs: Fixed attributes for 2.0 profile.
5489 * Login.cs: Fixed some attributes and default values.
5490 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
5491 RaisePostBackEvent (TODO) in 2.0 profile.
5492 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
5493 and added AssociateHeaderCellID property (TODO).
5494 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5495 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
5496 page (if the device requires to breaks the table into multiple pages).
5497 This seems to be a "flag" class, the real work will be in Table.
5498 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
5499 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
5500 page (if the device requires to breaks the table into multiple pages).
5501 This seems to be a "flag" class, the real work will be in Table.
5502 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
5503 * TableRow.cs: Remove [Bindable (true)] from properties and add
5504 [Bindable (false)] and [Designer] on class. Added new TableSection
5506 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5507 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
5508 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
5509 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
5510 FillStyleAttributes method (2.0).
5512 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
5514 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
5515 attributes from existing controls.
5516 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
5517 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
5519 2005-08-12 Jackson Harper <jackson@ximian.com>
5521 * TableRow.cs: No AutoID for TableRows.
5523 2005-08-12 Jackson Harper <jackson@ximian.com>
5525 * DataGrid.cs (CreateRenderColumns): If we aren't using data
5526 binding grab the rendercols from the data source columns.
5527 (LoadViewState): Restore the bound columns when reloading the
5529 (InitializeNumericPager): Create elipsised pagers.
5530 (CreateItem): Don't set the item's ID.
5531 (CreateItem): Add the control to the table before it is databound
5532 so that it's value is saved in the viewstate.
5533 (CreateControlHierarchy): Create a fake data source when not using
5534 databinding. Don't add controls to the table as they are added in
5536 (PrepareControlHierarchy): Make footers and header non visible if
5537 they aren't enabled.
5539 2005-08-12 Chris Toshok <toshok@ximian.com>
5541 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
5542 docs says these methods/properties "ensure the child controls are
5543 created" -- so call EnsureChildControls() before invoking the base
5546 2005-08-12 Jackson Harper <jackson@ximian.com>
5548 * BoundColumn.cs: Set the controls text instead of adding a
5549 literal control. So it is saved in the controls viewstate.
5551 2005-08-11 Jackson Harper <jackson@ximian.com>
5553 * CheckBoxList.cs: Set the tabindex on the checkbox control and
5554 don't render it on the main table (Setting it to zero causes it to
5555 not be rendered). Also use the invariant culture on the id.
5557 2005-08-11 Dick Porter <dick@ximian.com>
5559 * CheckBox.cs: Let ViewState manage removals; apply styles and
5560 "style" attributes in a surrounding <span>. Fixes unit tests.
5562 2005-08-10 Chris Toshok <toshok@ximian.com>
5564 * Label.cs (LoadViewState): set the Text attribute from our
5565 ViewState (if it exists) to clear out any child controls. Fixes
5566 jsunit test label/label-child-control-postback.aspx.
5568 2005-08-10 Jackson Harper <jackson@ximian.com>
5570 * PagedDataSource.cs: Respect paging with all data source types.
5572 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
5574 * BaseDataList.cs: Changed Controls property from "virtual new"
5575 (2.0 doc) to "override" (monop) to fix the Visible bug (see
5576 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
5577 any controls (required due to change to Controls). Implemented
5578 DataBind(bool) for 2.0.
5579 * DataListItem.cs: Fix the multiple table when extractRows is used.
5580 Removed extra span tags by rendering contents (not control). Added
5581 support for IDataItemContainer (2.0).
5583 2005-08-08 Jackson Harper <jackson@ximian.com>
5585 * DataGrid.cs: Apply the styles to each item type.
5587 2005-08-08 Jackson Harper <jackson@ximian.com>
5589 * PagedDataSource.cs: If paging is not enabled keep enumerating to
5590 the end of the list.
5592 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
5594 * BaseDataList.cs: Remove old compatibility stuff.
5595 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
5596 * WebControl.cs: Always call CreateControlStyle to create the
5597 ControlStyle. Fix the exception for datalist-style-edit.aspx.
5599 2005-08-05 Jackson Harper <jackson@ximian.com>
5601 * DataGrid.cs: Don't make the current page index a link in the
5604 2005-08-05 Jackson Harper <jackson@ximian.com>
5606 * DataGrid.cs: Honour PagerPosition.
5608 2005-08-05 Jackson Harper <jackson@ximian.com>
5610 * PagedDataSource.cs: Round PageCount properly.
5612 2005-08-05 Dick Porter <dick@ximian.com>
5614 * CheckBox.cs: Shut corcompare up a bit more. Still need to
5615 figure out how to not use AddAttributesToRender to get it
5618 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
5620 * DataGridColumn.cs: Added the duplicate viewstate manipulation
5623 2005-08-05 Chris Toshok <toshok@ximian.com>
5625 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
5626 null when it comes to the format string.
5627 (FormatDataTextValue): same.
5629 2005-08-04 Chris Toshok <toshok@ximian.com>
5631 * BaseValidator.cs (Validate): only test a validator if it's both
5632 enabled and visible.
5634 2005-08-04 Chris Toshok <toshok@ximian.com>
5636 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
5639 2005-08-04 Jackson Harper <jackson@ximian.com>
5641 * DataGrid.cs: Add a new space control for each link. Also make
5642 the link's text 1 indexed. Don't add the space after the last
5645 2005-08-04 Ben Maurer <bmaurer@ximian.com>
5647 * LinkButton.cs: Fix up the test suite here.
5649 * Panel.cs: Fix up nowrap
5651 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5653 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
5654 * ListControl.cs: Clear item list before adding data (again)
5656 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
5658 * Calendar.cs: fixes issues with OnDayRender event and others
5660 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5662 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
5664 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
5665 if DataTextField is bound
5666 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
5667 two controls in edit mode, lets do the same
5669 2005-08-03 Jackson Harper <jackson@ximian.com>
5671 * BoundColumn.cs: Respek for the thisExpr when data binding.
5673 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5675 * EditCommandColumn.cs: No need to offer edit when in edit mode.
5678 2005-08-04 Dick Porter <dick@ximian.com>
5680 * DataGridColumn.cs: New implementation
5683 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
5685 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5687 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
5690 2005-08-03 Ben Maurer <bmaurer@ximian.com>
5692 * RepeatInfo.cs: Finally figured out how to use base control
5694 2005-08-03 Jackson Harper <jackson@ximian.com>
5696 * ButtonColumn.cs: Partial implementation.
5698 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5700 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
5703 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5705 * Calendar.cs: fixes Save/Load state
5707 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5709 * Calendar.cs: bug fixes
5711 2005-08-03 Jackson Harper <jackson@ximian.com>
5713 * DataGrid.cs: Merge the table style with the render table. Some
5714 initial work on the numeric pager. Remove some debugging code.
5716 2005-08-03 Jackson Harper <jackson@ximian.com>
5718 * BoundColumn.cs: Implement Initialize and InitializeCell. When
5719 Data is formated it uses the DataFormatString that was set at the
5720 time Initialize was called (or null if initialize was never
5723 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5725 * RadioButtonList.cs: bug fixes
5727 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5729 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
5730 AddAttributesToRender
5731 * RadioButtonList.cs: Implementation
5733 2005-08-01 Jackson Harper <jackson@ximian.com>
5735 * TableStyle.cs: Copy style bit when copying from another style.
5737 2005-08-01 Jackson Harper <jackson@ximian.com>
5739 * PagedDataSource.cs: Implement missing properties, use yield for
5740 the Enumerator methods. Only allow the enums to return one page at
5743 2005-08-01 Chris Toshok <toshok@ximian.com>
5745 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
5747 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5749 * WebControl.cs: Track enabled state across sessions
5751 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5753 * ListControl.cs(OnDatabinding): Value is equivalent to text if
5756 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
5758 * ImageButton.cs: fixes, complete missing parts
5760 2005-07-31 Ben Maurer <bmaurer@ximian.com>
5762 * TextBox.cs: Html encode for multiline text boxes
5764 * HyperLink.cs: Resolve images
5766 2005-07-30 Chris Toshok <toshok@ximian.com>
5768 * BaseValidator.cs: initial version of 2.0 properties
5769 ValidationGroup and SetFocusOnError.
5771 2005-07-30 Chris Toshok <toshok@ximian.com>
5773 * HyperLinkColumn.cs (InitializeCell): clean this up.
5775 2005-07-30 Chris Toshok <toshok@ximian.com>
5777 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
5778 DataBinder.FormatResult.
5779 (FormatDataTextValue): same.
5780 (Initialize): call base.Initialize.
5781 (ItemDataBinding): new function, get the text/navigateurl and set
5782 them on our HyperLink control.
5783 (InitializeCell): create a hyperlink control in the
5784 Item/EditItem/AlternatingItem case.
5786 2005-07-30 Ben Maurer <bmaurer@ximian.com>
5788 * RepeatInfo.cs: Handle 0 items situations correctly
5790 * HyperLink.cs: Resolve urls correctly
5792 * CheckBox.cs: use the correct ID for the label element.
5794 * Label.cs: Correct AddParsedSubObject impl. See FAQ
5796 2005-07-29 Chris Toshok <toshok@ximian.com>
5798 * BaseCompareValidator.cs (GetDateElementOrder): implement.
5800 2005-07-29 Chris Toshok <toshok@ximian.com>
5802 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
5803 #if'ed out version follows microsoft's docs on msdn, but doesn't
5804 match ms's behavior. The other matches their behavior but not
5805 their docs. we use the latter. go figure.
5806 (get_CutoffYear): implement using
5807 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
5809 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5812 - Name property now throws exception when set to null
5813 - Names now handles situation where our bit tells us we have
5814 a font, but it's not in the StateBag (null removal)
5815 * RangeValidator.cs: Removed unused vars
5817 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5819 * Label.cs: ClientID should be used rather than UniqueID to get
5822 2005-07-29 Chris Toshok <toshok@ximian.com>
5824 * BaseValidator.cs (Validatate): not sure if this is entirely
5825 correct (some fairly deep testing required), but setting Enabled =
5826 false has the effect of setting IsValid = true.
5828 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5830 * RadioButton.cs: The "remove from groupstate" isn't needed any
5831 more, now that statebag is correct.
5833 2005-07-29 Dick Porter <dick@ximian.com>
5835 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
5836 ViewState when it is null.
5838 * CheckBox.cs: Hide nonstandard API
5840 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
5842 * Calendar.cs: fixes exceptions, bug fixes, new features
5843 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
5844 * CalendarDay.cs: fixes default value
5846 2005-07-28 Ben Maurer <bmaurer@ximian.com>
5848 * CompositeControl.cs: Stub
5850 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5852 * EditCommandColumn.cs: Implemented
5854 2005-07-27 Chris Toshok <toshok@ximian.com>
5856 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
5858 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5860 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
5863 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5865 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
5866 for it's constructor, so remove it
5867 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
5869 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5871 * DataGridPagerStyle.cs: Implemented
5872 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
5873 * Style.cs: Added Styles enum values for DataGridPagerStyle
5875 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
5877 * Calendar.cs: get the styles right, honors more properties, fixes, fix
5880 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5882 * DataGridItem.cs: Implemented
5884 2005-07-26 Chris Toshok <toshok@ximian.com>
5886 * LinkButton.cs (AddParsedSubObject): reversed the order of
5887 Controls.Add() and Text = null
5888 (set_Text): call Controls.Clear()
5889 (RenderContents): use HasControls() for the if test instead of
5892 * HyperLink.cs (AddParsedSubObject): reversed the order of
5893 Controls.Add () and Text = null;
5895 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5897 * DataGridItemCollection.cs: Implemented
5899 2005-07-26 Chris Toshok <toshok@ximian.com>
5901 * LinkButton.cs (AddParsedSubObject): copy implementation from
5903 (RenderContents): only call writer.Write(Text) if Text != "".
5904 Otherwise default to base.RenderContents.
5906 2005-07-26 Chris Toshok <toshok@ximian.com>
5908 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5909 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
5910 (Page != null) around my last commit.
5912 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5914 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
5915 Fixed use of literal strings, instead using Consts
5916 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
5917 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
5918 Panel.cs, Literal.cs: Added attributes
5919 * BaseValidator.cs: Added missing override
5921 2005-07-26 Chris Toshok <toshok@ximian.com>
5923 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5924 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
5925 Page.VerifyRenderingInServerFormHere.
5927 2005-07-26 Chris Toshok <toshok@ximian.com>
5929 * BaseValidator.cs: remove some MonoTODO's about the client side
5932 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
5934 * Calendar.cs: selection of dates, state load, save, track, support
5935 for new properties, many fixes.
5937 2005-07-26 Miguel de Icaza <miguel@novell.com>
5939 * Style.cs: Temporary methods to help buliding .NET 2.x
5941 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5943 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
5945 * Xml.cs: Fixed base class, attributes
5946 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
5947 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
5948 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
5949 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
5950 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
5952 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5954 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
5957 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5959 * RepeatInfo.cs: If the repeater has one column, the separators
5960 are rendered on a different line
5962 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5964 * DataGridSortCommandEventArgs: Sealed class
5965 * ButtonColumn.cs, Calendar.cs: Added Attributes
5967 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5969 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
5970 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
5972 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5974 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
5975 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
5977 2005-07-25 Chris Toshok <toshok@ximian.com>
5979 * ValidationSummary.cs (AddAttributesToRender): add client side
5981 (OnPreRender): set the "been here" flag.
5982 (Render): add client side support.
5984 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5986 * RepeatInfo.cs: Split the horiz and vertical cases, because this
5987 class has rules that are beyond strange. Continue working to make
5990 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5992 * RepeatInfo.cs: Misc fixes for my test suite.
5994 2005-07-25 Jackson Harper <jackson@ximian.com>
5996 * DataGrid.cs: Set the command name and args on the link buttons.
5998 2005-07-25 Jackson Harper <jackson@ximian.com>
6000 * DataGrid.cs: Lots o implementation.
6002 2005-07-25 Jackson Harper <jackson@ximian.com>
6004 * BoundColumn.cs: Partial implementation to get the DataGrid tests
6007 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
6009 * Button.cs: fixes events, adds attributes
6011 2005-07-23 Chris Toshok <toshok@ximian.com>
6013 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
6014 prop.GetValue results.
6015 (Render): fix the static non-uplevel case, so that we display text
6016 when there's an error.
6018 2005-07-22 Chris Toshok <toshok@ximian.com>
6020 * RegularExpressionValidator.cs (AddAttributesToRender): only
6021 output ValidationExpression if it's != null.
6023 2005-07-22 Chris Toshok <toshok@ximian.com>
6025 * BaseValidator.cs (AddAttributesToRender): fix up the Display
6026 rendering such it matches MS's output.
6027 (Render): stop using the huge complicated if's for each output
6028 stage and move to boolean flags, and fix the static-nonuplevel
6029 case, where a validator outputs as nothing but
6031 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
6032 * Calendar.cs: Initial implementation
6033 * CalendarSelectionMode.cs: fix enum order
6035 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
6037 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
6038 (or more?) specific cases - including correct support for separators.
6039 Added some (commented) debugging code.
6040 * HyperLink.cs: Only render href and target attributes if they're not
6041 empty. Add "border=0" when rendering <img> tag. Fix Target default
6044 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
6046 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
6048 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
6050 * Style.cs (CopyFrom): Reset our styles and don't set bits from
6051 target explicitly, properties will set them
6053 2005-07-22 Dick Porter <dick@ximian.com>
6056 * ButtonColumn.cs: Initial stubs
6058 2005-07-22 Dick Porter <dick@ximian.com>
6061 * CheckBox.cs: Add assembly attributes
6063 2005-07-22 Ben Maurer <bmaurer@ximian.com>
6065 * HyperLink.cs: Handle non-literal children.
6067 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6069 * Label.cs: SP1 stuff
6071 2005-07-21 Chris Toshok <toshok@ximian.com>
6073 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
6074 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
6075 stuff WebUIValidation.js uses, so we don't support it for uplevel
6078 2005-07-21 Chris Toshok <toshok@ximian.com>
6080 * BaseValidator.cs (DetermineRenderUplevel): include checks for
6081 the EcmaScriptVersion and W3CDomVersion.
6083 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6085 * BaseDataList.cs: Support IEnumerable.
6086 * DataList.cs: Fix alternate items.
6087 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
6088 controls and the Text property.
6090 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6092 * TextBoxMode.cs: Wrong ordering of enum...
6094 2005-07-21 Chris Toshok <toshok@ximian.com>
6096 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
6099 2005-07-21 Chris Toshok <toshok@ximian.com>
6101 * BaseValidator.cs (get_PropertiesValid): use our containing
6102 NamingContainer, not ourselves, to look up controls.
6103 (CheckControlValidationProperty): same.
6104 (GetControlRenderID): same.
6105 (GetControlValidationValue): same.
6106 (AddAttributesToRender): add the display style attribute if
6107 Display != Static, and add the value of IsValid if it's false.
6108 (DetermineRenderUplevel): use a try block around (Page.Request)
6109 since that can raise an exception.
6110 (OnPreRender): set pre_render_called, so we can consult it in
6112 (Render): complicate this method more to handle more of the
6113 Display/pre_render_called permutations.
6115 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
6117 * CustomValidator.cs: Initial implementation, still work in progress
6119 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6121 * DataList.cs: Fix rendering for special items (-1).
6123 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6125 * RepeatInfo.cs: Fix most of the tests.
6127 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6129 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
6130 Add a border=0 attribute if no style is defined.
6131 * TableCell.cs: Use HtmlTextWriterTag (not a string).
6132 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
6133 * TableRow.cs: Use HtmlTextWriterTag (not a string).
6135 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6137 * BaseDataList.cs: Fix attributes.
6138 * HorizontalAlign.cs: Fix attributes.
6139 * Image.cs: Fix attributes and enums checks.
6140 * Table.cs: Fix attributes an enums checks.
6141 * TableCell.cs: Fix attributes.
6142 * TableCellCollection.cs: Fix attributes.
6143 * TableItemStyle.cs: Fix attributes and enums checks.
6144 * TableRowCollection.cs: Fix attributes.
6145 * TableRow.cs: Fix attributes.
6146 * TableStyle.cs: Fix attributes and enums checks.
6147 * VerticalAlign.cs: Fix attributes.
6149 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6151 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
6152 * DataList.cs: Added rendering support when ExtractTemplatesRows
6153 property is true (but RepeatInfo needs to be fixed to see it works).
6154 * DataListItem.cs: Added rendering support when extractRows parameter
6155 is true (but RepeatInfo still needs to be fixed ;-)
6157 2005-07-21 Duncan Mak <duncan@novell.com>
6159 * HyperLinkColumn.cs: Initial implementation.
6160 Todo: Figure out Initialize and InitializeCell.
6162 2005-07-20 Chris Toshok <toshok@ximian.com>
6164 * BaseValidator.cs: don't use Page.FindControl, use this Control's
6165 FindControl, so it'll use the same naming container.
6167 2005-07-21 Duncan Mak <duncan@novell.com>
6169 * DataGridCommandEventArgs.cs:
6170 * DataGridPageChangedEventArgs.cs:
6171 * RepeaterCommandEventArgs.cs: Fixed visibility.
6173 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
6174 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
6176 2005-07-20 Chris Toshok <toshok@ximian.com>
6178 * Button.cs: hook up the client side validation stuff.
6180 * ImageButton.cs: same.
6182 * LinkButton.cs: same, although it's a little more complicated
6185 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6188 - Implemented RaisePostDataChangedEvent()
6189 - Spewing postback command if AutoPostBack is true
6191 2005-07-20 Chris Toshok <toshok@ximian.com>
6193 * BaseValidator.cs: another Page != null check when uplevel
6196 2005-07-20 Chris Toshok <toshok@ximian.com>
6198 * BaseValidator.cs: check Page != null when determining if we're
6199 rendering uplevel or not.
6201 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6203 * ListItemCollection.cs: Removed obsolete method that's no longer
6206 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6208 * DropDownList.cs: Oops. Forgot to implement LoadPostData
6209 * ListItemCollection.cs: Added convenience method to have faster
6212 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6215 - Automatically select the first item if none are selected
6216 - Throw exception if more than one item is selected
6218 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6220 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
6221 handled by RepeatInfo).
6223 2005-07-20 Jackson Harper <jackson@ximian.com>
6225 * DataGrid.cs: Store the data source created columns in a
6226 DataGridColumnCollection. This way they can be put in the
6227 view state more easily, and accessed without casting.
6229 2005-07-20 Chris Toshok <toshok@ximian.com>
6231 * BaseValidator.cs (AddAttributesToRender): render the client side
6232 attributes if we're in uplevel mode.
6233 (DetermineRenderUplevel): flesh out a bit - for now basically
6234 return true unless the control has it disabled.
6235 (OnInit): only add the validator to Page's list if there is, in
6237 (OnUnload): same for removal.
6238 (OnPreRender): hook up client scripting stuff here. Only the call
6239 to RegisterValidatorCommonScript is a for sure thing here, the
6240 registering of the submit statement and startup script should
6241 probably go elsewhere, but I don't know where.
6242 (RegisterValidatorCommonScript): register the <script
6243 src=".../WebUIValidation.js"> tag, if it's not already there.
6244 (RegisterValidatorDeclaration): add our span object to the
6245 Page_Validators JS array.
6246 (Render): always render the tags (although this is probably not
6247 right), and call RegisterValidatorDeclaration here.
6249 * BaseCompareValidator.cs (AddAttributesToRender): render the
6250 client side attributes if we're in uplevel mode.
6251 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
6252 call base.DetermineRenderUplevel for now.
6254 * RegularExpressionValidator.cs (AddAttributesToRender): render
6255 the client side attributes if we're in uplevel mode.
6257 * RequiredFieldValidator.cs (AddAttributesToRender): same.
6259 * CompareValidator.cs (AddAttributesToRender): same.
6261 2005-07-20 Jackson Harper <jackson@ximian.com>
6263 * DataGrid.cs: Save the data source created column set in the
6266 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6268 * DataList.cs: Fix events and properties exceptions. Give the right
6269 informations to RenderItem.
6271 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6273 * ValidationSummary.cs: Implemented rendering
6275 2005-07-20 Jackson Harper <jackson@ximian.com>
6277 * DataGrid.cs: column names are cached and only regenerated if useDataSource
6278 is set to true. Otherwise they are just fetched from the last set that
6279 was generated from the source.
6281 2005-07-20 Jackson Harper <jackson@ximian.com>
6283 * DataGrid.cs: Assign some properties of newly created BoundColumns.
6285 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6287 * DataList.cs: Fix viewstate ordering.
6289 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6291 * SelectedDatesCollection.cs: Apprarently, I don't write code well
6294 * Repeater.cs: Uh, actually add stuff to the items collection
6297 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6299 * BaseDataList.cs: EnsureChildControls on Controls property.
6300 * DataList.cs: Fix rendering and Controls/Items differences.
6301 * DataListItem.cs: Added rendering of controls.
6303 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6305 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
6307 2005-07-20 Jackson Harper <jackson@ximian.com>
6309 * DataGrid.cs: Add some of the collections. Implement
6312 2005-07-20 Jackson Harper <jackson@ximian.com>
6314 * PagedDataSource.cs: Implement GetItemProperties, this is
6315 needed for the datagrid.
6317 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6319 * DataGridColumnCollection.cs: New impl
6321 * TemplateColumn.cs: New impl
6323 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6325 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
6326 * DataList.cs: Work in progress... Added attributes, proper
6327 IRepeatInfoUser support and cool things stolen from other classes.
6328 * DataListCommandEventArgs.cs: Class is sealed.
6329 * DataListItem.cs: RenderItem is public.
6331 2005-07-19 Jackson Harper <jackson@ximian.com>
6333 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
6334 a viewstate object if all the viewstate stuff is null.
6336 2005-07-19 Jackson Harper <jackson@ximian.com>
6338 * DataGrid.cs: Implement style properties and viewstate
6339 saving/loading/tracking.
6341 2005-07-19 Chris Toshok <toshok@ximian.com>
6343 * BaseValidator.cs: more fixes from pdb.
6345 2005-07-19 Chris Toshok <toshok@ximian.com>
6347 * BaseValidator.cs: some test-driven fixes.
6349 2005-07-19 Chris Toshok <toshok@ximian.com>
6351 * BaseValidator.cs: Initial implementation.
6353 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6355 * Repeater.cs: Fix small typo.
6357 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
6359 * ValidationSummaryTest.cs: Started implementation
6360 * RangeValidator.cs: Implemented
6361 * ValidatedControlConverter.cs: Implemented
6362 * DropDownList.cs: Implemented
6364 2005-07-19 Jackson Harper <jackson@ximian.com>
6366 * DataGrid.cs: Implement bubble event.
6368 2005-07-19 Jackson Harper <jackson@ximian.com>
6370 * DataGrid.cs: New implementation. Just properties and events for
6373 2005-07-18 Chris Toshok <toshok@ximian.com>
6375 * BaseCompareValidator.cs: Initial implementation, with some NYI.
6377 2005-07-19 Ben Maurer <bmaurer@ximian.com>
6379 * FontUnit.cs: Corcompare fixes
6381 * UnitConverter.cs: Fix api diffs
6383 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6385 * ListControl.cs: Fix api differences
6387 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6389 * Table.cs: Fix indentation for caption. Simplify check when adding
6391 * TableRow.cs: Simplify check when adding controls.
6393 2005-07-18 Chris Toshok <toshok@ximian.com>
6395 * CompareValidator.cs: wtf, just use the base class's methods.
6397 2005-07-18 Chris Toshok <toshok@ximian.com>
6399 * CompareValidator.cs: do comparisons based on
6400 BaseCompareValidator.Type.
6402 2005-07-18 Chris Toshok <toshok@ximian.com>
6404 * CompareValidator.cs: initial implementation.
6406 2005-07-18 Chris Toshok <toshok@ximian.com>
6408 * RegularExpressionValidator.cs: initial implementation.
6410 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6412 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
6414 2005-07-18 Jackson Harper <jackson@ximian.com>
6416 * CheckBoxList.cs: Implement LoadPostBackData. Also register
6417 checkboxes for postback if they are checked so we can find
6418 out when they are unchecked. Copy the AutoPostBack variable
6419 to the to be rendered checkbox when rendering.
6421 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6423 * TextBox.cs: Finish this up.
6425 * AdRotator.cs: Fix issues in the test suite. Minor style
6428 * Repeater.cs: Fix a bug where the datasource is null and we do
6431 * WebColorConverter.cs: Optimize by not doing a concat on a
6434 2005-07-17 Ben Maurer <bmaurer@ximian.com>
6436 * ListItemCollection.cs: Multiple uses of equals rather than
6437 string.compare as below. Remove unreachable code warning.
6439 * WebColorConverter.cs (ConvertTo): Use the == operator on string
6440 rather than an invariant non-case ignoring compare. They are
6441 exactly the same thing. Use proper coding style in this method.
6443 * WebControl.cs: Return null when saving the view state if there
6444 is no state in any of the things we save. This creates a fairly
6445 large savings, because we can avoid saving anything about many
6446 levels of deaply nested controls.
6448 2005-07-15 Jackson Harper <jackson@ximian.com>
6450 * CheckBoxList.cs: Use the index as the ID, the rest of the
6451 id is built by being in the NamingContainer.
6453 2005-07-15 Jackson Harper <jackson@ximian.com>
6455 * ListControl.cs: Use enum instead of string. Saves a lookup.
6457 2005-07-15 Jackson Harper <jackson@ximian.com>
6459 * CheckBoxList.cs: FindControl always returns 'this' according
6462 2005-07-15 Jackson Harper <jackson@ximian.com>
6464 * CheckBoxList.cs: New impl.
6466 2005-07-15 Jackson Harper <jackson@ximian.com>
6468 * WebControl.cs: Use the ClientID when rendering a controls ID
6469 attribute so that naming containers are honoured.
6471 2005-07-15 Jackson Harper <jackson@ximian.com>
6473 * ListControl.cs: use the state manager interface for tracking
6476 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6478 * Repeater.cs (DoItem): Add the DataItem before we call user
6479 methods, as it seems to be there with msft.
6481 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
6483 * BaseDataList.cs: New. (mostly complete) implementation.
6484 * DataKeyCollection.cs: New. Implementation (complete).
6485 * DataList.cs: New. (mostly incomplete) implementation.
6486 * DataListItem.cs: New. (mostly complete) implementation.
6487 * DataListItemCollection.cs: New. Implementation (complete).
6489 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6491 * Repeater.cs (DoItem): We need to .Add the control *before* we
6492 data bind it so that the state gets tracked correctly. Fixes the
6495 2005-07-15 Jackson Harper <jackson@ximian.com>
6497 * ListControl.cs: Simplify comparison.
6499 2005-07-15 Jackson Harper <jackson@ximian.com>
6502 * Repeater.cs: Use new utility class for resolving data sources.
6504 2005-07-15 Jackson Harper <jackson@ximian.com>
6506 * ListControl.cs: Add attributes so the sub items get parsed
6507 properly. Remove old unneeded code for resolving lists.
6509 2005-07-15 Jackson Harper <jackson@ximian.com>
6511 * ListControl.cs: Use the DataSourceHelper so DataMembers are
6514 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6517 - Some optimizations
6518 * Don't use enum formatting stuff, it is 1) expensive 2) does
6519 allocations. Use a new method in HtmlControl to do the right
6521 * Don't use Enum.IsDefined but an explicit check.
6522 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
6523 - Use the correct coding style.
6525 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6527 * WebColorConverter.cs:
6528 - Alpha of 255 is only set if the hex number is exactly 6 digits
6529 - Ben didn't like the catch { throw; } (even though MS documents to
6531 - Use Invariant Culture for parsing (thanks, Ben)
6533 2005-07-14 Jackson Harper <jackson@ximian.com>
6535 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
6536 code-reuse-arific. Also use the IStateManager interface for loading
6537 data instead of the old internal method.
6539 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6541 * WebColorConverter.cs: Implemented
6543 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6545 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
6547 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6549 * Repeater.cs: Get it working
6551 2005-07-14 Jackson Harper <jackson@ximian.com>
6553 * ListControl.cs: Initial implementation of Databinding. Make sure
6554 that the ListItemCollection is created when we load its ViewState.
6556 2005-07-14 Jackson Harper <jackson@ximian.com>
6558 * ListControl.cs: Fix typo.
6560 2005-07-14 Jackson Harper <jackson@ximian.com>
6562 * ListControl.cs: New Implementation. Lacks databinding support.
6564 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6566 * Repeater.cs: The beginnings of this control
6568 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6570 * TargetConverter.cs: Implemented
6572 2005-07-14 Duncan Mak <duncan@novell.com>
6574 * PagedDataSource.cs: Initial implementation.
6576 Methods that need to be figured out:
6577 CopyTo, GetItemProperties, PageCount, IsLastPage.
6579 To complete: CollectionEnumerator, ListEnumerator.
6581 2005-07-13 Duncan Mak <duncan@novell.com>
6583 * RepeatDirection.cs:
6585 * ValidationCompareOperator.cs:
6586 * ValidationDataType.cs:
6587 * ValidationSummaryDisplayMode.cs:
6588 * ValidatorDisplay.cs: Added remaining enumerations.
6590 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6592 * FontNamesConverter.cs: Implemented
6594 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6596 * RepeaterItem.cs: Compile fix
6598 * RepeaterItemCollection.cs: New file
6600 * RepeaterItem.cs: get OnBubbleEvent right.
6602 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6604 * ListItemCollection.cs: Count can be derived from the array, which
6605 allows us to use a Pair instead of a Triplet and save some space
6607 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6609 * RepeaterItem.cs: Stub
6611 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6613 * ListItemCollection.cs: Implemented
6614 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
6616 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6618 * RepeatInfo.cs: Impl.
6620 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6622 * FirstDayOfWeek.cs: Added
6624 2005-07-13 Jackson Harper <jackson@ximian.com>
6626 * ListBox.cs: Some parameter checking.
6628 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6630 * Image.cs: Added support for DescriptionUrl as this property was
6631 added in Fx 1.1 SP1.
6633 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6635 * Style.cs (AddAttributesToRender): Don't render attributes if they
6636 contain only their default value
6638 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6640 * Table.cs: New. Initial re-implementation.
6641 * TableCell.cs: New. Initial re-implementation.
6642 * TableCellCollection.cs: New. Initial re-implementation.
6643 * TableHeaderCell.cs: New. Initial re-implementation.
6644 * TableItemStyle.cs: New. Initial re-implementation.
6645 * TableRow.cs: New. Initial re-implementation.
6646 * TableRowCollection.cs: New. Initial re-implementation.
6647 * TableStyle.cs: New. Initial re-implementation.
6649 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6651 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
6652 unit tests (for Style) and more tests in Table* classes.
6654 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6656 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
6657 however IsEmpty returns false if any of their properties are set.
6658 Looks ugly but it's compatible with MS implementation (feature and
6661 2005-07-13 Dick Porter <dick@ximian.com>
6663 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
6664 null Text properties from the ViewState, test for TextAlign being
6665 out of range. All to make tests pass on both mono and ms
6668 2005-07-13 Jackson Harper <jackson@ximian.com>
6670 * ListBox.cs: Use invariant culture when doing a ToString,
6671 set value to the item's value, not to its Text.
6673 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6675 * WebControl.cs (AddAttributesToRender): Added ID to rendered
6678 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6680 * Style.cs(MergeWith): Handle null styles
6682 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
6684 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
6685 the #if NET_2_0 on it.
6687 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6689 * Style.cs: Only render font elements if fontinfo object exists
6691 - Implemented SaveViewState()
6692 - Added loading of Style to LoadViewState
6693 - Implemented IAttributeAccessor methods
6695 2005-07-12 Jackson Harper <jackson@ximian.com>
6697 * ListBox.cs: Even track default values in the viewstate. Call
6698 base's RenderContents.
6700 2005-07-12 Jackson Harper <jackson@ximian.com>
6702 * ListBox.cs: New impl.
6704 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6707 - Implemented methods
6710 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6712 * ListItem.cs: New impl.
6714 2005-07-12 Duncan Mak <duncan@novell.com>
6716 * DayNameFormat.cs: Added.
6718 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6720 * WebControl.cs: Implemented properties
6722 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6724 * TextBox.cs: Passwords seem 1) not to be rendered to the client
6725 if set, 2) not kept in view state (for security reasons...)
6728 * Button.cs: Page.Validate () if needed. Gets the validator tests
6731 * TextBox.cs: Properties to get the validator stuff to work.
6733 2005-07-12 Miguel de Icaza <miguel@novell.com>
6735 * Unit.cs: If the units are pixels, then truncate the value.
6737 2005-07-12 Dick Porter <dick@ximian.com>
6739 * RadioButton.cs: New implementation
6741 * CheckBox.cs: Rearrange the attributes rendering to allow
6742 RadioButton to derive from this
6744 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6746 * TitleFormat.cs: Add attribute
6747 * TextBoxMode.cs: Add attribute
6748 * CalendarDay.cs: Initial implementation
6749 * ImageButton.cs: Initial implementation
6750 * CalendarSelectionMode.cs:Initial implementation
6752 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6754 * TextBoxMode.cs: simple enum
6755 * TitleFormat.cs: simple enum
6757 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6759 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
6761 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6763 * FontUnit.cs: Added TypeConverter attribute to class
6764 * FontUnitConverter.cs: Implemented
6766 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6769 * Button.cs: Bubble the Command event.
6771 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6774 - Clean up style (with my wonderful state bag hack!)
6775 - Fix a view state typo.
6776 - Use AddAttributesToRender
6777 - Don't add an extra <span>
6779 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6781 * Style.cs: Handle null constructor argument for bag
6783 2005-07-11 Dick Porter <dick@ximian.com>
6785 * CheckBox.cs: New implementation
6787 * RadioButton.cs: Initial stubbed version that just compiles
6789 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
6791 * Button.cs: Initial Button implementation
6793 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
6795 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
6797 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6799 * HorizontalAlign.cs: Typo in header.
6800 * VerticalAlign.cs: New. Required enum for TableRow control.
6802 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6804 * TextBox.cs: More work on this
6806 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6808 * GridLines.cs: New. Required enum for Table control.
6809 * HorizontalAlign.cs: New. Required enum for Table control.
6811 2005-07-09 Duncan Mak <duncan@novell.com>
6813 * CommandEventHandler.cs:
6814 * DataGridCommandEventHandler.cs:
6815 * DataGridItemEventHandler.cs:
6816 * DataGridPageChangedEventHandler.cs:
6817 * DataGridSortCommandEventHandler.cs:
6818 * DataListCommandEventHandler.cs:
6819 * DayRenderEventHandler.cs:
6820 * RepeaterCommandEventHandler.cs:
6821 * ServerValidateEventHandler.cs: Add delegates.
6824 * ListSelectionMode.cs:
6825 * NextPrevFormat.cs:
6827 * PagerPosition.cs: Add enums.
6829 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6831 * TextBox.cs: Add the work I did on this today. It's not complete
6832 yet, but its a start!
6834 2005-07-09 Duncan Mak <duncan@novell.com>
6836 * CommandEventArgs.cs:
6837 * DataGridCommandEventArgs.cs:
6838 * DataGridItemEventArgs.cs:
6839 * DataGridPageChangedEventArgs.cs:
6840 * DataGridSortCommandEventArgs.cs:
6841 * DataListCommandEventArgs.cs:
6842 * DataListItemEventArgs.cs:
6843 * DayRenderEventArgs.cs:
6844 * RepeaterCommandEventArgs.cs:
6845 * RepeaterItemEventArgs.cs:
6846 * ServerValidateEventArgs.cs: Implemented.
6848 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
6850 * Image.cs: New. Image class implementation.
6851 * ImageAlign.cs: New. ImageAlign enum definitions.
6853 2005-07-08 Jackson Harper <jackson@ximian.com>
6855 * Literal.cs: New implentation.
6856 * MonthChangedEventArgs.cs: new
6857 * MonthChangedEventHandler.cs: new
6859 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6861 * LinkButton.cs: Command impl
6863 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6865 * LinkButton.cs: Initial impl
6867 2005-07-08 Jackson Harper <jackson@ximian.com>
6869 * AdCreatedeventArgs.cs: New implementation.
6871 2005-07-08 Dick Porter <dick@ximian.com>
6874 * BorderStyle.cs: Added
6876 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6878 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
6880 2005-07-07 Miguel de Icaza <miguel@novell.com>
6882 * Xml.cs: New implementation. R00lz.
6884 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6886 * FontInfo.cs: Added and implemented.
6887 * Style.cs: Fixed behaviour discrepancies showed by tests
6889 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6891 * PlaceHolderControlBuilder.cs: new file
6893 * LabelControlBuilder.cs: New file
6895 * HyperLink.cs: use control builder; fix parsing stuff
6897 * HyperLinkControlBuilder.cs: new file
6899 * Panel.cs: misc fixes
6901 2005-07-07 Miguel de Icaza <miguel@novell.com>
6903 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
6905 * UnitConverter.cs: Add new file, learned from the
6906 System.Drawing.ColorConverter.
6908 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6910 * PlaceHolder.cs: New file. Seems to do nothing
6912 * Label.cs: Use my new statebag trick to reduce typing
6914 * HyperLink.cs: New file
6916 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6918 * Style.cs: Added and implemented.
6920 2005-07-06 Miguel de Icaza <miguel@novell.com>
6922 * FontUnit.cs: New file.
6924 * Unit.cs: New file.
6926 Added support for null and empty string constructors.
6928 2005-07-06 Ben Maurer <bmaurer@ximian.com>
6930 * Unit.cs: cctor not needed; static fields are 0 init'd by default
6932 * WebControl.cs: Kothari & Datye's book explains how these work.
6934 * IRepeatInfoUser.cs: Reimpl.
6936 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6938 * WebControl.cs: Added stub
6940 2005-07-05 Miguel de Icaza <miguel@novell.com>
6942 * Label.cs: First control.
6944 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
6946 * DataControlField.cs: Ignore the ShowHeader property when
6947 building the control's content. It is the resposability of
6948 the field container to decide if the header should be shown
6951 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
6954 * ImageFieldMode.cs:
6955 * DynamicImageParameterMode.cs:
6956 * TableViewMode.cs: Removed.
6960 * TableRowSection.cs:
6961 * AutoCompleteType.cs:
6962 * DayNameFormat.cs: Track changes in 2.0 api.
6964 * StringArrayConverter.cs: This class is 2.0 only.
6966 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
6970 * DetailsView.cs: Bind the control after creating all child
6972 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
6973 the correct methods.
6974 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
6975 in this class. This is done in DataBoundControl. All this fixes
6978 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6980 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
6981 FindByText. Closes bug #74205.
6983 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6985 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
6986 1 when there's a datasource and 0 pages. Closes bug #73864.
6988 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
6995 * MenuItemTemplateContainer.cs:
6996 * DetailsView.cs: Track changes in the IDataItemContainer interface.
6998 * CommandField.cs: Added CausesValidation property. Set that
6999 property value to all buttons of the field.
7001 * SqlDataSourceView.cs:
7002 * CollectionDataSource.cs:
7003 * XmlDataSourceView.cs: Properly initialize the base class.
7005 * SiteMapDataSource.cs:
7006 * SiteMapHierarchicalDataSourceView.cs:
7007 * SiteMapNodeItem.cs:
7008 * SiteMapDataSourceView.cs:
7009 * SiteMapPath.cs: Mostly implemented.
7011 * HierarchicalDataBoundControl.cs: Always bind the control when the
7012 page is loaded for the first time.
7014 * TreeView.cs: Properly bind the control when loaded from a callback.
7016 2005-05-21 Ben Maurer <bmaurer@ximian.com>
7018 * BaseDataList.cs: Caption is in 1.1 too, though not
7019 documented. Gonz owes me [more] ice cream. Yummmmm.
7021 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7023 * BaseDataList.cs: implemented 2.0 Caption property.
7025 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
7027 * TreeView.cs: Always render the startup script. This fixes
7030 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
7032 * WizardStepBase.cs:
7033 * WizardStep.cs: Added missing attributes.
7034 * Wizard.cs: Implemented missing methods and properties. It can now
7035 be considered feature complete.
7037 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7039 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
7040 the method if the data source was en empty IEnumerator. Fixes
7043 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
7047 * Menu.cs: Implemented some new properties from beta 2.
7049 * DataControlButton.cs: Render the ControlStyle if it
7053 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
7054 It will now generate an object creation, instead of a Parse call.
7056 * GridViewCommandEventArgs.cs: Added missing property.
7057 * SubMenuStyleCollection.cs: This class is not sealed.
7058 * MultiView.cs: Set Visible=false to all views that are not
7059 shown. This ensures that it's view state is saved.
7061 * BaseDataBoundControl.cs:
7062 * GridViewDeletedEventArgs.cs: Minor api fixes.
7064 * FormViewDeleteEventArgs.cs:
7065 * DetailsViewDeletedEventArgs.cs:
7066 * ListControl.cs: Fix warnings.
7070 * HotSpotCollection.cs
7073 * RectangleHotSpot.cs
7074 * WizardStepCollection.cs : Implemented.
7078 * Wizard.cs: Initial implementation.
7080 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
7082 * DataControlField.cs:
7086 * DataControlCommands.cs:
7087 * DetailsView.cs: Use constants to identify commands.
7089 * SubMenuStyle.cs: Use Unit instead of int for padding.
7090 * SubMenuStyleCollection.cs: Implemented.
7093 * Menu.cs: Added some missing methods and properties.
7096 * DataGridPagerStyle.cs: Fixed default value attributes.
7097 * ListControl.cs: Implemented IEditableTextControl interface.
7099 * MenuItemBinding.cs: Added Selectable property.
7100 * CustomValidator.cs: removed interface.
7102 * MenuItem.cs: Added support for custom binding.
7103 * DropDownList.cs: Moved text properties to base class.
7105 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7107 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
7109 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7111 * Calendar.cs: when the day is active, modify the text of the literal
7112 control that holds the number, not the text of the TableCell. Also call
7113 OnDayRender before updating that text. Fixes bug #74718.
7115 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
7117 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
7119 * DataControlFieldHeaderCell.cs: Save Scope in view state.
7120 Added AbbreviatedText property.
7121 * AutoGeneratedField.cs: The constructor should actually be internal.
7122 * DataGridItem.cs: Added implemented interface in 2.0.
7123 * DataControlFieldCollection.cs: Implemented CloneFields and
7127 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7129 * StringArrayConverter.cs:
7130 * Calendar.cs: warnings.
7132 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
7134 * FormViewDeleteEventArgs.cs:
7135 * FormViewInsertEventArgs.cs:
7136 * FormViewUpdateEventArgs.cs:
7137 * FormViewDeletedEventArgs.cs:
7138 * FormViewUpdatedEventArgs.cs:
7139 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
7142 * IButtonControl.cs:
7143 * Button.cs: Removed SoftKey property.
7145 * CheckBox.cs: Don't try to load post back data if the control
7149 * AutoGeneratedField.cs:
7150 * DataControlField.cs:
7152 * ButtonFieldBase.cs:
7156 * ButtonField.cs: Don't bind fields in Insert state.
7157 Implemented CreateField and CopyProperties.
7160 * DetailsView.cs: Removed some unneeded interfaces. Don't
7161 generate the field rows if there are no items in the data source.
7162 Don't get the current keys until the whole control has been
7165 * DetailsViewInsertedEventArgs.cs:
7166 * DataBoundControl.cs:
7167 * ObjectDataSourceView.cs: Made some methods private.
7170 * Menu.cs: Changed some properties from int to Unit.
7172 * DataControlButton.cs: javascript prefix is needed when raising
7173 the postback event from a link.
7175 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
7176 The result was wrong when the total data source count was 0.
7178 * FormView.cs: Implemented.
7179 * FormViewRow.cs: Implemented.
7182 * Localize.cs: Fixed base interface.
7184 * BaseDataBoundControl.cs: In DataBind() call the base class
7185 DataBind method, so the binding context is properly set.
7187 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
7189 * DetailsView.cs: Added some null checks.
7190 * TemplateField.cs: Implemented support for two-way bindings.
7192 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
7194 * DetailsView.cs: Implemented support for Insert operation.
7195 Added header and footer templates. Added missing style
7197 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
7198 to get filter values. Other minor fixes.
7199 * CommandField.cs: Properly render the Insert and New buttons.
7200 * ObjectDataSource.cs: Update the parameter collections after
7201 the page is loaded. This will fire the ParameterChanged event
7203 * DataBoundControl.cs: The OnDataSourceViewChanged method
7204 is called when the view changes, not when the datasource
7207 * DetailsViewInsertedEventArgs.cs:
7208 * DetailsViewInsertEventArgs.cs: Implement Values property.
7211 * AutoGeneratedField.cs
7214 Take into account the Insert mode.
7216 * ParameterCollection.cs: Implemented UpdateValues and fixed
7217 GetValues (values can't be cached because can change).
7218 * Parameter.cs: Detect value changes in GetValue, and fire
7219 the change event if needed. Removed unused ParameterValue
7220 property. Other fixes.
7222 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
7224 * DetailsView.cs: Initial implementation.
7225 * ObjectDataSourceView.cs: Notify changes in the parameters.
7226 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
7227 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
7228 Implemented some properties.
7229 * GridView.cs: Added null check in SelectedValue. Don't return null
7230 for empty DataKeyNames list.
7231 * DetailsViewRowCollection.cs: Implemented.
7232 * DetailsViewRow.cs: Implemented.
7233 * ButtonFieldBase.cs: By default button field don't have headers.
7234 * BoundField.cs: Don't bind header fields.
7236 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
7238 * ButtonField.cs: Get data item properties using TypeDescriptor.
7239 Made OnDataBindField private.
7240 * ObjectDataSourceView.cs: Implemented support for Delete and
7241 Insert operations, support for filtering and sorting,
7242 conflict detection, etc. It's now complete.
7243 * ObjectDataSource.cs: Completed most of functionality. Only
7244 caching support is missing.
7245 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
7246 * TreeNode.cs: Get data item properties using TypeDescriptor.
7247 * PagerSettings.cs: Flush.
7248 * ObjectDataSourceFilteringEventArgs.cs: New event args.
7249 * GridView.cs: Get data item properties using TypeDescriptor
7250 and cache them. Properly set descending order in the sort
7251 expression. In UpdateRow, make sure we get the old values
7252 before the control is bound again.
7253 * ImageField.cs: Implemented.
7254 * AutoGeneratedField.cs: Initialize the field's sort
7255 expression in the constructor.
7256 * MenuItem.cs: Get data item properties using TypeDescriptor.
7257 * BoundField.cs: Get data item properties using TypeDescriptor.
7258 * CheckBoxField.cs: Added missing attributes.
7259 * TemplateField.cs: Implemented.
7261 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7264 * FontUnitConverter.cs: fixed ConvertTo to work with target
7265 InstanceDescriptor and value as a string.
7267 * Unit.cs: culture might be null.
7271 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
7273 * ButtonField.cs: Mostly implemented.
7274 * DataControlFieldHeaderCell.cs: Implemented.
7275 * ObjectDataSourceView.cs: Initial implementation.
7276 * DataControlButton.cs: Added support for real buttons.
7277 * Label.cs, DataControlField.cs: Flush.
7278 * ObjectDataSource.cs: Initial implementation.
7279 * HiddenField.cs: Added class stub.
7280 * GridView.cs: Load autogenerated field properties before
7281 creating the children, to make sure that column info is ready.
7282 * ControlParameter.cs: Implemented Evaluate method.
7283 * ImageField.cs: Added class stub.
7284 * BoundField.cs: Added HtmlEncode property.
7285 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
7287 * CheckBoxField.cs: Mostly implemented.
7288 * TemplateField.cs: Added class stub.
7289 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
7290 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
7291 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
7293 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
7295 * DataControlField.cs: Added missing InsertVisible property.
7296 * AutoGeneratedFieldProperties.cs: Implemented.
7297 * PagerSettings.cs: Minor fix.
7298 * GridView.cs: Implemented support for autogenerated fields, templates,
7299 accessible headers. Implemented paging using PagedDataSource.
7300 Implemented missing overridable methods.
7301 * AutoGeneratedField.cs: Initial implementation.
7302 * BoundField.cs: Added ReadOnly property.
7303 * PagedDataSource.cs: Implemented 2.0 api.
7304 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
7305 cell class to be used by accessible headers.
7306 * TableCell.cs: Removed unneded constructor. If the cell is bound to
7307 a template, call the default RenderContents method.
7309 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7311 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
7312 event when loading the view state. Fixes #73746.
7314 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7316 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
7318 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
7320 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
7322 * CommandField.cs: Mostly implemented.
7323 * Menu.cs: Use callback methods moved to ClientScriptManager.
7324 * DataControlButton.cs: Internal control used to implement buttons
7325 for navigating in data bound controls.
7326 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
7327 to render the column headers.
7328 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
7329 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
7330 Don't use Page.GetPostBackClientEvent
7331 since it is deprecated in 2.0.
7332 * GridView.cs: Implemented some several interfaces.
7333 Implemented support client sorting and page navigation (using callbacks).
7334 Implemented the autogenerated command column using the new CommandField
7336 * ButtonFieldBase.cs: Implemented.
7337 * GridView.js: New helper script to support client side sorting and
7338 paging in the grid view.
7340 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
7342 * DataKey.cs: Implemented.
7343 * XmlDataSourceView.cs: Implemented support for row pagging.
7344 * Table.cs: Fixed attribute value.
7345 * DataControlField.cs: Added support for sorting headers.
7346 * ChildTable.cs: Created.
7347 * ListControl.cs: Delay selection assignment, since control state
7348 is now loaded before view state.
7349 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
7350 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
7351 several missing properties.
7352 * PagerSettings.cs: Fully implemented.
7353 * BaseDataList.cs: Added null check.
7354 * GridView.cs: Implemented more functionality.
7355 * BoundField.cs: Added support for cell editing.
7356 * StringArrayConverter.cs: Implemented.
7357 * DataKeyArray.cs: Implemented.
7358 * BaseDataBoundControl.cs: Reset the requires binding flag before
7359 executing the query. This avoids recursive query calls.
7360 * GridViewRow.cs: Handler commands raised from row childs.
7362 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
7364 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
7365 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
7366 it is possible to query for properties fore each data item.
7367 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
7368 when loading its view state.
7369 * DataControlField.cs: Implement properties using a StateBag.
7370 * XmlDataSourcePropertyDescriptor.cs: Implemented.
7371 * PagerSettings.cs: Mostly implemented.
7372 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
7373 * DataBoundControl.cs: Added null check.
7374 * GridView.cs: Initial implementation.
7375 * CompositeDataBoundControl.cs: Implemented.
7376 * BoundField.cs: Initial implementation.
7377 * GridViewRowCollection.cs: Initial implementation.
7378 * DataControlFieldCollection.cs: Initial implementation.
7379 * DataControlFieldCell.cs: Fixed control tag.
7380 * GridViewRow: Initial implementation.
7381 * XmlDataSourceNodeDescriptor.cs: Implemented.
7383 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7385 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
7386 is zero, use the TagName no matter its value. Fixes bug #72415.
7388 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
7390 * Style.cs: Method name fix.
7391 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
7392 * BaseCompareValidator.cs: Method signature fix.
7393 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
7394 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
7395 * BulletedList.cs: Added missing method.
7396 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
7398 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
7400 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
7401 * RadioButton.cs: Added missing 2.0 methods.
7402 * ListItem.cs: Added Enabled property.
7403 * MailMessageEventArgs.cs: Use the correct message class.
7404 * ListControl.cs: Implemented missing properties and support for
7405 control state. Implemented base RenderContents method.
7406 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
7408 * BaseCompareValidator.cs: Implemented methods that support conditional
7409 use of the invariant culture.
7410 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
7411 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
7412 It takes a DbCommand instead of a IDbCommand.
7413 * GridViewSortEventArgs.cs: Added SortDirection property.
7414 * TextBox.cs, CheckBoxList.cs: Added protected version of
7415 IPostBackDataHandler methods.
7416 * RadioButtonList.cs: Added protected version of
7417 IPostBackDataHandler and IRepeatInfoUser methods.
7418 * Repeater.cs: Updated some method names.
7419 * DropDownList.cs: Added protected version of
7420 IPostBackDataHandler methods. Reuse RenderContents from base class.
7421 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
7422 * GridViewUpdatedEventArgs.cs: Fix typo.
7423 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
7424 Reuse RenderContents from base class.
7425 * BaseDataBoundControl.cs: Several fixes.
7426 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
7428 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7430 * CheckBoxList.cs: Fix build.
7432 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7434 * Button.cs: Use validation group when validating page.
7435 * XmlDataSourceView.cs: Implemented ExecuteSelect.
7436 * Menu.cs: Minor fix.
7437 * CheckBox.cs: Added 2.0 properties and methods.
7438 * BaseDataList.cs: Always databind the control if view state
7440 * DataList.cs: In 2.0, use control state to save the selected index.
7441 * DetailsViewUpdatedEventArgs.cs: Fix typo.
7442 * CustomValidator.cs: Implement IStaticTextControl interface.
7443 * CheckBoxList.cs: Added missing 2.0 methods.
7444 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
7446 * XmlDataSource.cs: Return childs of DocumentElement, not the root
7448 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
7449 Implemented 2.0 API.
7452 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
7454 * Button.cs: Implemented all missing 2.0 features.
7455 * Table.cs: Render the table caption, when specified.
7456 * Calendar.cs: Implemented most of missing 2.0 features.
7457 * TableCell.cs: Fixed attributes.
7459 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7461 * ControlPropertyNameConverter.cs: Added file.
7463 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7465 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
7466 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
7467 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
7468 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
7469 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
7470 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
7471 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
7472 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
7473 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
7474 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
7475 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
7476 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
7477 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
7478 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
7479 DataGridSortCommandEventArgs.cs, Repeater.cs,
7480 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
7481 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
7482 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
7483 CompareValidator.cs, HierarchicalDataBoundControl.cs,
7484 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
7485 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
7486 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
7487 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
7488 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
7489 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
7490 AdCreatedEventArgs.cs:
7492 General 2.0 API fixes: missing attributes, incorrect inheritance,
7493 missing sealed keywords, wrong signatures, etc.
7495 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
7497 * Table.cs: Added some 2.0 properties.
7498 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
7500 * BaseValidator.cs: Fix warning.
7501 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
7503 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
7505 * Menu.cs: Rendering fixes.
7507 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
7509 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
7510 ContentPlaceHolderBuilder.cs: Implemented.
7512 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7514 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
7515 attributes that are meant to be in the input tag in their place.
7517 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
7519 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
7520 generates invalid html).
7522 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
7524 * Menu.cs: Implemented most of missing properties. Added support for
7525 item templates. Implemented menu scrolling.
7526 * MenuItemBinding.cs: Implemented most of missing properties.
7527 * MenuItem.cs: Implemented most of missing properties.
7528 * Menu.js: Implemented scrolling and menu reposition into screen.
7529 * MenuItemTemplateContainer.cs: Implemented.
7530 * SubMenuStyle.cs: Implemented.
7532 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
7534 * Style.cs: Implemented RegisteredCssClass property. Added
7535 CopyTextStylesFrom method, which copies styles that only apply to text.
7536 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
7537 in the page stylesheet. Added support for ItemSpacing property.
7538 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
7540 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
7542 * Style.cs: Generate styles using a CssStyleCollection, so the code can
7543 be reused for the 2.0 FillStyleAttributes method.
7544 * Menu.cs: Implemented more properties and events. Rendering is very
7546 * MenuItem.cs: Added PopOutImageUrl property.
7547 * Menu.js: More work on submenu management.
7549 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
7551 * Menu.cs: Implemented basic rendering. Added some missing properties.
7552 * MenuItem.cs: Improved implementation of Depth.
7553 * Unit.cs: Added serializable attribute.
7554 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
7555 so it can be reused.
7556 * Menu.js: New script to support he Menu control.
7558 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
7560 * MenuEventArgs.cs: Changed to sealed.
7561 * TreeView.cs: Minor fix.
7562 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
7563 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
7564 MenuItemStyleCollection.cs: Initial Menu code.
7566 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
7568 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
7569 Implemented SetDirtyObject.
7570 * Style.cs: Implemented SetDirty().
7571 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
7572 * TreeNode.cs: Added missing attributes added support for
7573 PopulateOnDemand. Added some missing property bindings.
7574 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
7575 to newly added elements to make sure al new data is saved.
7576 * TreeView.js: Implemented support for client population of nodes.
7577 * TreeNodeStyle.cs: Added missing attributes.
7578 * TreeView.cs: Implemented support for PopulateNodesFromClient and
7579 PopulateOnDemand. Improved rendering.
7581 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
7583 * DataControlField.cs:
7584 * DataControlFieldCell.cs: Initial implementation.
7586 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
7588 * TreeNodeBindingCollection.cs: Implemented.
7589 * TreeNodeBinding.cs: Implemented.
7590 * TreeNode.cs: Added support for data binding.
7591 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
7592 TreeView_Default_NoExpand.gif: Moved to resources directory.
7593 * ListControl.cs: Fixed api.
7594 * XmlHierarchicalEnumerable.cs: Made internal.
7595 * DataBoundControl.cs: Modified api to match latest ms.net.
7596 * TreeView.js: New javascript file to support TreeView in the client.
7597 * XmlDataSource.cs: Added missing attributes.
7598 * HierarchicalDataBoundControl.cs: Mostly implemented.
7599 * BaseDataBoundControl.cs: Mostly implemented.
7600 * XmlHierarchyData.cs: Made internal.
7601 * TreeView.cs: Mostly implemented. The major missing feature is
7602 client side tree population.
7604 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
7607 * DataBountControl.cs:
7608 * Repeater.cs: Added SelectArguments property and updated.
7609 * SiteMapDataSourceView.cs:
7610 * SqlDataSourceView.cs:
7611 * XmlDataSourceView.cs: Removed extra method, which was there to
7612 keep things compiling.
7614 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
7616 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
7617 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
7618 TreeView.cs: Initial implementation.
7619 * DataBoundControl.cs: Set the correct base class.
7620 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
7621 * TreeNodeSelectAction.cs: Formatting.
7622 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
7623 TreeView_Default_NoExpand.gif: TreeView images.
7625 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
7627 * SqlDataSourceView.cs: Updated methods and added one property.
7629 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7631 * AccessDataSource.cs:
7632 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
7633 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7635 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
7636 * SqlDataSourceView.cs: Updated constructor.
7638 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7640 * AccessDataSourceView.cs: Added new class.
7642 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7644 * SqlDataSourceView.cs: Corrected exception handling in
7645 ExecuteSelect method.
7647 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
7649 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
7650 * SiteMapDataSourceView.cs: Minor fix.
7652 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7654 * SqlDataSourceView.cs: Updated ExecuteSelect method.
7656 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7658 * SqlDataSource.cs: Corrected Select method.
7660 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7662 * SqlDataSource.cs: Updated Select method definition.
7663 * SqlDataSourceStatusEventArgs.cs: Updated class.
7665 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
7667 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
7668 from DataSourceView.cs).
7670 2004-11-10 Raja R Harinath <rharinath@novell.com>
7672 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
7674 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
7676 * SqlDataSource.cs: Corrected method calls.
7677 * SqlDataSourceView.cs: Partial implementation of few methods.
7679 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7681 * ListItemCollection.cs: fixed bug when indexing changed elements in
7682 LoadViewState. Patch from Alois Bělaška.
7684 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
7686 * SiteMapDataSourceView.cs:
7687 * SqlDataSourceView.cs:
7688 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
7689 base class, DataSourceView. Changes are to keep things compiling.
7691 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
7693 * SiteMapDataSourceView.cs: Corrected class definition and updated.
7694 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
7697 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
7699 * AdRotator.cs: Updated.
7701 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
7703 * AccessDataSource.cs: Updated.
7705 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7707 * ValidatedControlConverter.cs: Updated.
7709 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7711 * AssociatedControlConverter.cs: Implemented.
7713 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7715 * ControlIDConverter.cs: Initial implementation.
7717 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7719 * IButtonControl.cs: Corrected property name.
7721 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7723 * ParameterCollection.cs: Updated.
7725 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7727 * Parameter.cs: Updated and completed implementation.
7729 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7731 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
7734 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7736 * AccessDataSource.cs: Initial implementation.
7738 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
7740 * DataControlRowState.cs:
7742 * TreeNodeTypes.cs: Added attribute.
7743 * DataControlRowType.cs:
7745 * SortDirection.cs: Corrected enumeration values.
7746 * TableRowSection.cs: Added new enumeration.
7747 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
7749 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7751 * TableStyle.cs: don't render empty 'rules' attribute (again).
7753 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
7755 * FormViewUpdatedEventArgs.cs: Spelling mistake.
7757 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
7759 * Literal.cs: Added new method Focus().
7761 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7763 * RadioButton.cs: fix GroupName when the control is inside a
7764 NamingContainer different from Page. Closes bug #65586.
7766 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
7768 * Localize.cs: Added new class.
7770 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
7772 * CompositeControl.cs : Completed
7773 * Login.cs : Initial implementation.
7775 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7777 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
7778 don't call MapPathSecure on the content itself.
7780 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
7781 document is checked at parse time and will be checked again at run time.
7785 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
7787 * AuthenticateEventHandler.cs:
7788 * CreateUserErrorEventArgs.cs:
7789 * CreateUserErrorEventHandler.cs:
7790 * DetailsViewCommandEventHandler.cs:
7791 * DetailsViewDeleteEventArgs.cs:
7792 * DetailsViewDeleteEventHandler.cs:
7793 * DetailsViewDeletedEventArgs.cs:
7794 * DetailsViewDeletedEventHandler.cs:
7795 * DetailsViewInsertEventArgs.cs:
7796 * DetailsViewInsertEventHandler.cs:
7797 * DetailsViewInsertedEventArgs.cs:
7798 * DetailsViewInsertedEventHandler.cs:
7799 * DetailsViewModeEventArgs.cs:
7800 * DetailsViewModeEventHandler.cs:
7801 * DetailsViewPageEventHandler.cs:
7802 * DetailsViewUpdateEventArgs.cs:
7803 * DetailsViewUpdateEventHandler.cs:
7804 * DetailsViewUpdatedEventArgs.cs:
7805 * DetailsViewUpdatedEventHandler.cs:
7806 * FormViewCommandEventHandler.cs:
7807 * FormViewDeleteEventArgs.cs:
7808 * FormViewDeleteEventHandler.cs:
7809 * FormViewDeletedEventArgs.cs:
7810 * FormViewDeletedEventHandler.cs:
7811 * FormViewInsertEventArgs.cs:
7812 * FormViewInsertEventHandler.cs:
7813 * FormViewInsertedEventArgs.cs:
7814 * FormViewInsertedEventHandler.cs:
7815 * FormViewModeEventHandler.cs:
7816 * FormViewPageEventHandler.cs:
7817 * FormViewUpdateEventArgs.cs:
7818 * FormViewUpdateEventHandler.cs:
7819 * FormViewUpdatedEventArgs.cs:
7820 * FormViewUpdatedEventHandler.cs:
7821 * GridViewCancelEditEventArgs.cs:
7822 * GridViewCancelEditEventHandler.cs:
7823 * GridViewCommandEventHandler.cs:
7824 * GridViewDeleteEventArgs.cs:
7825 * GridViewDeleteEventHandler.cs:
7826 * GridViewDeletedEventArgs.cs:
7827 * GridViewDeletedEventHandler.cs:
7828 * GridViewEditEventHandler.cs:
7829 * GridViewPageEventHandler.cs:
7830 * GridViewRowEventHandler.cs:
7831 * GridViewSelectEventHandler.cs:
7832 * GridViewSortEventArgs.cs:
7833 * GridViewSortEventHandler.cs:
7834 * GridViewUpdateEventArgs.cs:
7835 * GridViewUpdateEventHandler.cs:
7836 * GridViewUpdatedEventArgs.cs:
7837 * GridViewUpdatedEventHandler.cs:
7838 * ImageMapEventHandler.cs:
7839 * MailMessageEventHandler.cs:
7840 * MenuEventHandler.cs:
7841 * ObjectDataSourceDisposingEventHandler.cs:
7842 * ObjectDataSourceEventHandler.cs:
7843 * ObjectDataSourceMethodEventArgs.cs:
7844 * ObjectDataSourceMethodEventHandler.cs:
7845 * ObjectDataSourceSelectingEventArgs.cs:
7846 * ObjectDataSourceSelectingEventHandler.cs:
7847 * ObjectDataSourceStatusEventArgs.cs:
7848 * ObjectDataSourceStatusEventHandler.cs:
7849 * SendMailErrorEventHandler.cs:
7850 * SiteMapNodeItemEventHandler.cs:
7851 * SqlDataSourceSelectingEventArgs.cs:
7852 * SqlDataSourceSelectingEventHandler.cs:
7853 * TreeNodeEventHandler.cs:
7854 * WizardNavigationEventArgs.cs:
7855 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
7856 corrections and removing "sealed" access specifier from *EventHandler.cs
7858 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
7860 * Literal.cs: Added new attributes and property for .Net 2.0
7862 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
7864 * GridViewDeleteEventArgs.cs: Removed extra code.
7866 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
7868 * SendMailErrorEventArgs.cs:
7869 * SendMailErrorEventHandler.cs:
7870 * SiteMapNodeItemEventArgs.cs:
7871 * SiteMapNodeItemEventHandler.cs:
7872 * SqlDataSourceSelectingEventArgs.cs:
7873 * SqlDataSourceSelectingEventHandler.cs:
7874 * TreeNodeEventArgs.cs:
7875 * TreeNodeEventHandler.cs:
7876 * WizardNavigationEventArgs.cs:
7877 * WizardNavigationEventHandler.cs: Added new delegates.
7879 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7881 * ImageMapEventArgs.cs:
7882 * ImageMapEventHandler.cs:
7883 * MailMessageEventArgs.cs:
7884 * MailMessageEventHandler.cs:
7886 * MenuEventHandler.cs:
7887 * ObjectDataSourceDisposingEventArgs.cs:
7888 * ObjectDataSourceDisposingEventHandler.cs:
7889 * ObjectDataSourceEventArgs.cs:
7890 * ObjectDataSourceEventHandler.cs:
7891 * ObjectDataSourceMethodEventArgs.cs:
7892 * ObjectDataSourceMethodEventHandler.cs:
7893 * ObjectDataSourceSelectingEventArgs.cs:
7894 * ObjectDataSourceSelectingEventHandler.cs:
7895 * ObjectDataSourceStatusEventArgs.cs:
7896 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
7898 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7900 * DetailsViewCommandEventArgs.cs:
7901 * FormViewCommandEventArgs.cs:
7902 * GridViewCommandEventArgs.cs: Corrected constructor.
7904 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7906 * GridViewCancelEditEventArgs.cs:
7907 * GridViewCancelEditEventHandler.cs:
7908 * GridViewCommandEventArgs.cs:
7909 * GridViewCommandEventHandler.cs:
7910 * GridViewDeletedEventArgs.cs:
7911 * GridViewDeletedEventHandler.cs:
7912 * GridViewDeleteEventArgs.cs:
7913 * GridViewDeleteEventHandler.cs:
7914 * GridViewEditEventArgs.cs:
7915 * GridViewEditEventHandler.cs:
7916 * GridViewPageEventArgs.cs:
7917 * GridViewPageEventHandler.cs:
7918 * GridViewRowEventArgs.cs:
7919 * GridViewRowEventHandler.cs:
7920 * GridViewSelectEventArgs.cs:
7921 * GridViewSelectEventHandler.cs:
7922 * GridViewSortEventArgs.cs:
7923 * GridViewSortEventHandler.cs:
7924 * GridViewUpdatedEventArgs.cs:
7925 * GridViewUpdatedEventHandler.cs:
7926 * GridViewUpdateEventArgs.cs:
7927 * GridViewUpdateEventHandler.cs: Added new delegates.
7929 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7931 * FormViewUpdatedEventArgs.cs: Corrected constructor.
7933 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7935 * FormViewCommandEventArgs.cs: Corrected name of class.
7937 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7939 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
7942 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7944 * FormViewCommandEventArgs.cs:
7945 * FormViewCommandEventHandler.cs:
7946 * FormViewDeletedEventArgs.cs:
7947 * FormViewDeletedEventHandler.cs:
7948 * FormViewDeleteEventArgs.cs:
7949 * FormViewDeleteEventHandler.cs:
7950 * FormViewInsertedEventArgs.cs:
7951 * FormViewInsertedEventHandler.cs:
7952 * FormViewInsertEventArgs.cs:
7953 * FormViewInsertEventHandler.cs:
7954 * FormViewModeEventArgs.cs:
7955 * FormViewModeEventHandler.cs:
7956 * FormViewPageEventArgs.cs:
7957 * FormViewPageEventHandler.cs:
7958 * FormViewUpdatedEventArgs.cs:
7959 * FormViewUpdatedEventHandler.cs:
7960 * FormViewUpdateEventArgs.cs:
7961 * FormViewUpdateEventHandler.cs: Added new delegates.
7963 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7965 * DetailsViewCommandEventArgs.cs:
7966 * DetailsViewCommandEventHandler.cs:
7967 * DetailsViewDeletedEventArgs.cs:
7968 * DetailsViewDeletedEventHandler.cs:
7969 * DetailsViewDeleteEventArgs.cs:
7970 * DetailsViewDeleteEventHandler.cs:
7971 * DetailsViewInsertedEventArgs.cs:
7972 * DetailsViewInsertedEventHandler.cs:
7973 * DetailsViewInsertEventArgs.cs:
7974 * DetailsViewInsertEventHandler.cs:
7975 * DetailsViewModeEventArgs.cs:
7976 * DetailsViewModeEventHandler.cs:
7977 * DetailsViewPageEventArgs.cs:
7978 * DetailsViewPageEventHandler.cs:
7979 * DetailsViewUpdatedEventArgs.cs:
7980 * DetailsViewUpdatedEventHandler.cs:
7981 * DetailsViewUpdateEventArgs.cs:
7982 * DetailsViewUpdateEventHandler.cs: Added new delegates.
7984 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
7986 * AuthenticateEventArgs.cs:
7987 * AuthenticateEventHandler.cs:
7988 * CreateUserErrorEventArgs.cs:
7989 * CreateUserErrorEventHandler.cs: Added new delegates.
7991 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
7993 * IButtonControl.cs:
7994 * ICallbackContainer.cs:
7995 * ICompositeControlDesignerAccessor.cs:
7996 * IPostBackContainer.cs: Added new interfaces.
7998 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
8001 * AutoCompleteType.cs:
8002 * ContentDirection.cs:
8003 * DataControlCellType.cs:
8004 * DataControlRowState.cs:
8005 * DataControlRowType.cs:
8006 * DetailsViewMode.cs:
8007 * DynamicImageParameterMode.cs:
8010 * ImageFieldMode.cs:
8017 * SiteMapNodeItemType.cs:
8018 * SiteMapNodeType.cs:
8019 * SiteMapViewType.cs:
8021 * TableCaptionAlign.cs:
8022 * TableHeaderScope.cs:
8024 * TreeNodeSelectAction.cs:
8026 * TreeViewImageSet.cs:
8027 * WizardStepType.cs: Added enumerations
8029 2004-08-02 Duncan Mak <duncan@ximian.com>
8032 * LoginFailureAction.cs:
8033 * LoginTextLayout.cs: Added enumerations.
8035 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8037 * BaseValidator.cs: in Validate(), when the control is not visible or
8038 enabled, return inmediately after setting IsValid to true. Fixes bug
8041 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8043 * DataList.cs: s/HasChildren/HasControls()/.
8045 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8047 * DataList.cs: style.
8049 2004-07-27 Alon Gazit <along@mainsoft.com>
8050 * DataList.cs: Replaced foreach statement with for statement,
8051 in order to improve performence.
8053 2004-07-27 Alon Gazit <along@mainsoft.com>
8054 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
8056 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
8057 switch statements in order to improve performance.
8059 2004-06-10 Alon Gazit <along@mainsoft.com>
8060 * WebControl.cs: fixed LoadViewState().
8061 Creates new attributes state bag only when the current is null.
8063 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8065 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
8067 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8069 * Calendar.cs: set the title class attribute if we have it. Fixes bug
8072 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8074 * Style.cs: added SetBit.
8076 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8079 * CompareValidator.cs:
8082 * WebControl.cs: Added protected missing members and attributes.
8084 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8086 * TextBox.cs: don't save the Text if in ViewState if it's a password.
8087 Save it if the control is not visible or not enabled. Fixes bug #58497.
8089 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8091 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
8094 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
8096 * SqlDataSourceCommandEventArgs:
8097 * XmlDataSource.cs : removed temporary workarounds for CLS
8098 compliance as System.Data is now CLS compliant
8100 2004-05-06 Alon Gazit <along@mainsoft.com>
8101 * WebControl.cs: fixed LoadViewState() and SaveViewState().
8102 Before the change the Enabled property wasn't updated when a postback
8104 * ListControl.cs: fixed SelectedIndex property implementation.
8105 Prevents throwing ArgumentOutOfRangeException (that should not be
8106 thrown), when the list is empty.
8108 2004-04-28 Alon Gazit <along@mainsoft.com>
8109 * WebControl.cs: fixed LoadViewState().
8110 Always loading the saved attributes collection.
8112 2004-04-18 Alon Gazit <along@mainsoft.com>
8113 * Repeater.cs: fixed InstantiateItem() and DataSource property.
8114 The change in DataSource prevents throwing ArgumentException while
8115 setting property value to null.
8116 The change in InstantiateItem() prevents NullReferenceException.
8118 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
8120 * BaseValidator.cs: Store Display property in the correct ViewState
8121 property. Don't render anything if Display is ValidatorDisplay.None.
8123 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
8125 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
8126 since it is already a physical path. Fixes bug #55334.
8128 2004-02-13 Jackson Harper <jackson@ximian.com>
8130 * Calendar.cs: Match MS postback data. This allows sites that
8131 parse the postback data manually to work.
8133 2004-02-04 Alon Gazit <along@mainsoft.com>
8134 * EditCommandColumn.cs: fixed InitializeCell().
8135 The rendered LiteralControl should contain " " and not " ".
8137 2004-02-01 Alon Gazit <along@mainsoft.com>
8139 * DataGrid.cs: fixed a problem in the paging mechanism in the method
8141 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
8142 while clicking the "..." link in the second page.
8144 2004-01-28 Alon Gazit <along@mainsoft.com>
8146 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
8148 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8150 * Calendar.cs: when rendering days, add a LiteralControl containing the
8151 day before OnDayRender is called. Only generate the default links for
8152 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
8154 2004-01-21 Martin Baulig <martin@ximian.com>
8156 * XmlHierarchyData.cs: Make this compile with csc.
8158 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
8159 accessor since the base class doesn't have one.
8161 2004-01-18 Alon Gazit <along@mainsoft.com>
8163 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
8165 2004-01-18 Alon Gazit <along@mainsoft.com>
8167 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
8168 Property default value.
8169 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
8170 Property default value.
8172 2004-01-15 Alon Gazit <along@mainsoft.com>
8174 * RadioButtonList.cs: RepeatLayout property should affect the rendered
8177 2004-01-15 Alon Gazit <along@mainsoft.com>
8178 * FontInfo.cs: Add validation check to Size property.
8180 2004-01-07 Alon Gazit <along@mainsoft.com>
8181 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8182 merge the column's style to the cell's style and not to
8183 the item's(row) style.
8185 2004-01-04 Alon Gazit <along@mainsoft.com>
8186 * RangeValidator.cs: Fixed ControlPropertiesValid().
8188 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8190 * Xml.cs: mono-stylized and removed warnings.
8192 2004-1-1 Alon Gazit <along@mainsoft.com>
8193 * RadioButtonList.cs: update RenderItem() so that each RadioButton
8194 is enabled or disabled like the RadioButtonList.
8195 * CheckBoxList.cs: update RenderItem() so that each CheckBox
8196 is enabled or disabled like the CheckBoxList.
8198 2004-1-1 Alon Gazit <along@mainsoft.com>
8199 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8200 The Header or Footer Style shouldn't merge with the cells Style.
8202 2004-1-1 Alon Gazit <along@mainsoft.com>
8203 * DataGridColumn.cs: Headers and Footers are initialized
8204 with the relevant Style object.
8206 2003-12-30 Alon Gazit <along@mainsoft.com>
8207 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8208 DoHorizontalRendering().
8209 Current implementation produces few extra html tags.
8211 2003-12-29 Alon Gazit <along@mainsoft.com>
8213 * CheckBox.cs: change the implementation of LoadPostData.
8214 Currently, while the AutoPostBack property equals true ,
8215 it isn't possible to perform uncheck.
8217 2003-12-19 Jackson Harper <jackson@ximian.com>
8219 * TableCell.cs: Setting a cells text should clear its control
8220 collection as per la specification. This fixes bug #51825.
8222 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8224 * DataGridColumn.cs: stylized LoadViewState.
8225 * DataGridColumnCollection.cs: when TrackViewState is called, also
8226 call it on all the existing columns. Fixes bug #52334.
8228 2003-12-18 Alon Gazit <along@mainsoft.com>
8230 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
8233 2003-12-18 Alon Gazit <along@mainsoft.com>
8235 * TableStyle.cs: merge TableStyle properties when Style is empty.
8237 2003-12-16 Alon Gazit <along@mainsoft.com>
8239 * HyperLink.cs: Change Text property implementation. in MS when the Text
8240 property is set, all the controls in the HyperLink are being deleted.
8241 This fixes bug #52239.
8243 2003-12-15 Alon Gazit <along@mainsoft.com>
8244 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8245 DoHorizontalRendering().
8246 Both methods add additional empty table row in the head of each item
8247 table when the variable named isTable equals true (happenes with the
8248 default instantiation of RepeatInfo). These additional rows should be
8249 added when isTable equals false.
8250 This fixes bug #52225.
8252 2003-12-15 Alon Gazit <along@mainsoft.com>
8254 * RepeatInfo.cs: Fixed DoVerticalRendering() and
8255 DoHorizontalRendering().
8256 Both methods add to rendered Header a colspan attribute according to the
8257 rows count. after the change the colspan is added according to the
8260 2003-12-15 Alon Gazit <along@mainsoft.com>
8261 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
8262 In .NET if the checkbox is disabled ,its text appears disabled too.
8263 In Mono the text appears enabled. the fix is in Render().
8264 This fixes bug #52180.
8266 2003-12-15 Alon Gazit <along@mainsoft.com>
8267 * Repeater.cs: Change the implementation of CreateControlHierarchy().
8268 The current implementation renders extra Header and footer
8269 without Repeater.DataSource assign.
8270 This fixes bug #52179.
8272 2003-12-15 Alon Gazit <along@mainsoft.com>
8273 * DataGrid.cs: Change the implementation of the property
8274 BackImageUrl. The current implementation has no influence
8275 on the rendered Html.
8277 2003-12-15 Alon Gazit <along@mainsoft.com>
8278 * WebControl.cs: Change the implementation of the property
8279 Enabled. Before the change the WebControl also looked at
8280 parent.Enabled . fixed bug #52171.
8282 2003-12-11 Jackson Harper <jackson@ximian.com>
8284 * RepeatInfo.cs: When rendering vertically figure out how many
8285 colmns are not going to be filled in in the last row, and adjust
8286 things accordingly. This fixes bug #51863.
8288 2003-12-10 Alon Gazit <along@mainsoft.com>
8289 * TableRow.cs: Change the implementation of the properties
8290 HorizontalAlign and VerticalAlign. The current implementation
8291 has no influence on the rendered Html.
8293 2003-12-10 Alon Gazit <along@mainsoft.com>
8294 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
8295 property's set method.
8297 2003-12-09 Jackson Harper <jackson@ximian.com>
8299 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
8300 Increment counter when moving to start. Fixes bug #51926.
8302 2003-12-08 Jackson Harper <jackson@ximian.com>
8304 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
8305 Benjamin Jemlich. Fixes bug #51823.
8307 2003-12-07 Alon Gazit <along@mainsoft.com>
8308 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
8309 property is set to false. Fixes bug #58120.
8311 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8313 * TableItemStyle.cs: merge TableItemStyle properties when Style is
8314 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
8316 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8318 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
8321 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8323 * WebControl.cs: don't create the attributes when GetAttribute is
8326 2003-12-01 Jackson Harper <jackson@ximian.com>
8328 * WebControl.cs: Only allow access keys to be null or a single
8329 char. Patch by Alon Gazit <along@mainsoft.com>.
8331 2003-11-30 Jackson Harper <jackson@ximian.com>
8333 * CheckBoxList.cs: A checkbox will have null post data if it is
8334 unselected. This fixes bug #51516.
8336 2003-11-29 Jackson Harper <jackson@ximian.com>
8338 * DataGrid.cs: Display paging controls even when there is no
8339 data. Path by Mohammad DAMT. Fixes bug #51487.
8341 2003-11-29 Jackson Harper <jackson@ximian.com>
8343 * DataGrid.cs: Call TrackViewState when loading bound columns view
8344 state. So that their state is saved. This fixes bug #51424. Also
8347 2003-11-26 Jackson Harper <jackson@ximian.com>
8349 * BaseDataList.cs: Change && to || We will call that a typo so no
8350 one gets embarrased.
8352 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8354 * BaseDataList.cs: allow setting null as Datasource.
8356 * DataGrid.cs: keep autogenerated columns in the ViewState.
8358 Patches by Alon Gazit <along@mainsoft.com>.
8360 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8362 * SqlDataSource*: Implement almost everything. Data access is
8365 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8367 * Calendar.cs (SaveViewState):
8368 - We were allocating a 11 item array, we only used 10 items,
8369 so only allocate 10.
8370 - We only need to save the selected dates if there are any.
8371 * DataGrid.cs (SaveViewState):
8372 * DataGridColumn.cs (SaveViewState):
8373 * DataGridColumnCollection.cs (SaveViewState):
8374 - Only return the array if there is anything in it
8375 * Style.cs (SaveViewState):
8376 - Only save the bits if there were changes.
8377 * WebControl.cs (SaveViewState), (LoadViewState):
8378 - Don't save Enabled into the viewstate here, we already
8379 do it in the property. This just caused *EVERY* control
8380 to have a non-null state, taking up lots of extra room
8382 - The style will always be created with this control's
8383 viewstate, so the style will always return null for the
8384 viewstate. As such, we do not need to store it. We can
8385 also reduce the triplet to a pair because of this.
8387 2003-11-22 Jackson Harper <jackson@ximian.com>
8389 * ValidationSummary.cs: Fix number of messages and message array computation.
8391 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8393 * Xml.cs: Corrected attribute
8394 * XmlBuilder.cs: Added
8396 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8398 * Xml.cs: class status based fixes.
8400 2003-11-19 Jackson Harper <jackson@ximian.com>
8402 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
8404 2003-11-19 Jackson Harper <jackson@ximian.com>
8406 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
8407 teh applications base directory. This fixes bug #51092.
8409 2003-11-18 Todd Berman <tberman@gentoo.org>
8411 * ControlParameter.cs:
8412 * CookieParameter.cs:
8414 * QueryStringParameter.cs:
8415 * SessionParameter.cs: added public .ctor ()
8416 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
8417 and handling, as well as internal ParameterValue for easy access.
8418 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
8419 * ParameterCollection.cs: implementation redux.
8421 2003-11-18 Todd Berman <tberman@gentoo.org>
8423 * ParameterCollection.cs: Implemented
8424 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
8425 ToString () now matches asp.net
8427 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
8429 * ControlParameter.cs:
8430 * CookieParameter.cs:
8433 * QueryStringParameter.cs: New v2 files. Mostly
8434 implemented, still need a few methods.
8436 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8438 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
8439 Gazit <along@mainsoft.com>.
8441 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8443 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
8444 Patch by Alon Gazit <along@mainsoft.com>.
8446 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8448 * DataBoundControl.cs: Implement
8449 * ListControl.cs: inherit from the above.
8450 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
8452 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8457 * Repeater.cs: add v2 databinding stuff
8458 * XmlDataSource.cs: make it load the xml.
8460 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8463 * XmlDataSourceView.cs:
8464 * XmlHierarchicalDataSourceView.cs:
8465 * XmlHierarchicalEnumerable.cs:
8466 * XmlHierarchyData.cs: Implement
8468 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
8470 * SiteMapDataSourceView.cs: Implement.
8472 2003-11-07 Jackson Harper <jackson@ximian.com>
8474 * ImageButton.cs: This is a workaround for bug #49819. It appears
8475 that the .x and .y values are not being posted, and only the x
8476 value is being posted with the ctrl's id as the key.
8478 2003-11-07 Jackson Harper <jackson@ximian.com>
8480 * DataGrid.cs (CreateControlHierarchy): Current page index is
8481 alolowed to equal page count. This prevents an exception being
8482 thrown when both are zero.
8484 2003-11-06 Jackson Harper <jackson@ximian.com>
8486 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
8487 * BaseValidator.cs: Disable base control so the isValid flag is
8490 2003-11-03 Jackson Harper <jackson@ximian.com>
8492 * TemplateColumn.cs: Use the same renderer for selected items as
8493 normal items. This fixes bug #49744.
8495 2003-11-03 Jackson Harper <jackson@ximian.com>
8498 * WebControl.cs: Fix argument out of range exceptions on
8499 properties. Patch by Yaron Shkop.
8501 2003-11-03 Jackson Harper <jackson@ximian.com>
8503 * TemplateColumn.cs: If the item is selected but there is no
8504 editItemTemplate use the itemTemplate. This matches MS behvoir.
8506 2003-11-03 Jackson Harper <jackson@ximian.com>
8508 * Repeater.cs: Always set alternating items to the AlternatingItem
8509 type, when instantiating alternating items use the itemTemplate if
8510 the alternatingItem template is null. This matches MS behavoir and
8513 2003-11-03 Jackson Harper <jackson@ximian.com>
8515 * DataGridPagerStyle.cs: Name of view state attribute is
8516 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
8517 visibility is changed. Patch by Yaron Shkop.
8519 2003-11-03 Jackson Harper <jackson@ximian.com>
8521 * RepeatInfo.cs: When doing horizontal rendering use the repeat
8522 columns as the number of columns in a row. This fixes bug #49016.
8524 2003-11-03 Jackson Harper <jackson@ximian.com>
8526 * PagedDataSource.cs (PageCount): Return page count of 1 if there
8527 paging is disabled. Patch by Yaron Shkop.
8528 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
8529 * TableStyle.cs (AddAttributesToRender): Render border style
8530 collapse. Patch by Yaron Shkop.
8532 * TableItemStyle.cs:
8533 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
8534 the wrong type. Patch by Yaron Shkop.
8536 2003-11-03 Jackson Harper <jackson@ximian.com>
8538 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
8540 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
8543 * BulletedListDisplayMode.cs:
8544 * BulletedListEventHandler.cs:
8546 * BulletedListEventArgs.cs: V2 controls (yay!)
8548 2003-10-30 Jackson Harper <jackson@ximian.com>
8550 * Repeater.cs: Throw an exception if the datasource is set to
8551 something that does not implement either IListSource or
8552 IEnumerable. This fixes bug #50155.
8554 2003-10-30 Jackson Harper <jackson@ximian.com>
8556 * DataGridPagerStyle.cs: Do not allow page button counts to be set
8557 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
8559 2003-10-29 Jackson Harper <jackson@ximian.com>
8561 * ButtonColumn.cs: Format string and text to format were
8562 inversed. This fixes bug #50171.
8564 2003-10-29 Jackson Harper <jackson@ximian.com>
8566 * DataGridColumn.cs: If an item style is set apply it to the
8567 cell. This fixes bug #50173.
8569 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
8571 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
8572 old debugging value.
8574 2003-10-29 Jackson Harper <jackson@ximian.com>
8576 * PagedDataSource.cs:
8577 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
8578 end of the last page. Fixes bug #5085.
8580 2003-10-29 Jackson Harper <jackson@ximian.com>
8582 * CheckBox.cs: Do not change the status of a checkbox when there
8583 is no post data. This fixes bug #49091.
8584 * CheckBoxList.cs: Do not change the status of the checkboxes when
8585 there is no post data. This fixes bug #49093.
8587 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
8589 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
8590 RadioButton. Fixes #50132
8592 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8594 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
8595 paging from working. Fixes #48814.
8597 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8599 * DataGrid.cs: A few typos kept us from viewing datagrids
8600 that were based on customized collections.
8602 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
8604 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
8606 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
8608 * Calendar.cs: render the next month button so that aligns to the
8611 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8613 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
8614 was just changing && by || after the first Match.
8616 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8618 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
8619 Patch by Yaron Shkop.
8621 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8623 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
8624 that fixes bug #49744. Now the selection doesn't lose its data.
8626 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8628 * EditCommandColumn.cs: Implement; fix #49736
8630 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8632 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
8633 the forground color. bug #49738
8635 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8637 * Calendar.cs: fixed bug #49727.
8639 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
8641 * TableStyle.cs: fix #49740.
8643 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8645 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
8646 * ValidationSummary.cs: fixes bug #49669.
8648 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8650 * Calendar.cs: apply the calendar style to the new Table, not to itself.
8653 * CheckBox.cs: render the hidden fields if AutoPostBack.
8655 * Style.cs: don't render empty width/height. Small improvement in
8658 * Table.cs: fixed condition for border width.
8661 (CopyFrom): always call the base class to copy other attributes. Fixes
8662 bug #49408. Don't render empty 'rules' attribute.
8664 * WebControl.cs: track viewstate when enabled. Don't overwrite source
8665 control attributes in CopyBaseAttributes.
8667 * ChangeLog: fixed dates.
8670 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8672 * WebControl.cs : Attributes { get; } - Is Complete.
8673 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
8676 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8678 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
8679 : RegisterValidatorCommonScript()
8680 - More code, I need HELP!
8681 : RegisterValidatorDeclaration()
8682 - More code, I need HELP!
8684 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8686 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
8689 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8691 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
8692 ClearViewState only called when no items.
8694 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8696 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
8698 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8700 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
8702 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8704 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
8707 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8709 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
8712 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8714 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
8715 * WebControl.cs: fixed Enabled property and save it in ViewState.
8719 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8721 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
8723 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8725 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
8728 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8730 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
8731 <rich@velvetsea.net>.
8733 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8735 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
8736 Skripsky <juraj@hotfeet.ch>
8738 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8740 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
8741 fixes rendering of the end tag.
8743 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8745 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
8746 (Yaron Shkop). Closes bug #48060.
8748 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8750 * CheckBox.cs: in LoadPostData, only return
8751 true when the new data is different from the one we had. Fixed
8752 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
8755 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8757 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
8759 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8761 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
8762 of Enable in ViewState. Fixes bug #47865.
8764 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8766 * Style.cs: the MARKED bit is not send set in ViewState unless something
8767 is changed. Fixed TrackViewState condition.
8769 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
8770 because it uses the same ViewState as the control. Fixes bug #47725.
8772 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8774 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
8775 that fixes databinding when only DataTextField or DataNavigateUrlField
8778 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8780 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
8781 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
8782 values before assigning a data source and other issues.
8784 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8786 * CheckBox.cs: save viewstate when needed and correctly handle post
8787 data. Fixes bug #47462.
8789 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8791 * ButtonColumn.cs: Removed additional attributes
8792 * CheckBox.cs: Added attribute
8793 * DataGrid.cs: Added attributes
8794 * HyperLinkColumn.cs: Changed attributes, added lamespec
8795 * Style.cs: Removed attributes
8796 * TextBox.cs: Added/ removed attributes
8798 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8800 * AdRotator.cs: Added all attributes
8801 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
8802 * BaseValidator.cs: Added all attributes
8803 * BoundColumn.cs: Added all attributes
8804 * Button.cs: Added all attributes
8805 * ButtonColumn.cs: Added all attributes, added lamespec
8806 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
8807 * CheckBox.cs: Added all attributes
8808 * CheckBoxList.cs: Added all attributes
8809 * CompareValidator.cs: Added all attributes
8810 * CustomValidator.cs: Added all attributes
8811 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
8812 * DataGridColumn.cs: Added all attributes
8813 * DataGridColumnCollection.cs: Added all attributes
8814 * DataGridPagerStyle.cs: Added all attributes
8815 * DataGridTableInternal.cs: Made DataGridTableInternal internal
8816 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
8817 * DropDownList.cs: Added all attributes
8818 * FontInfo.cs: Added all attributes
8819 * HyperLink.cs: Added all attributes
8820 * HyperLinkColumn.cs: Added all attributes
8821 * Image.cs: Added all attributes
8822 * ImageButton.cs: Added all attributes
8823 * Label.cs: Added all attributes
8824 * LinkButton.cs: Added all attributes
8825 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
8826 * ListControl.cs: Added all attributes
8827 * ListItem.cs: Added all attributes
8828 * ListItemCollection.cs: Added attribute
8829 * Literal.cs: Added all attributes
8830 * Panel.cs: Added all attributes
8831 * RadioButton.cs: Added all attributes
8832 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
8833 * RangeValidator.cs: Added all attributes
8834 * RegularExpressionValidator.cs: Added all attributes
8835 * Repeater.cs: Added all attributes
8837 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8839 * RequiredFieldValidator.cs: Added all attributes
8840 * Style.cs: Added all attributes
8841 * Table.cs: Added all attributes
8842 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
8843 * TableCellCollection.cs: Added attribute
8844 * TableRow.cs: Added all attributes
8845 * TableRowCollection: Added attribute
8846 * TableStyle.cs: Added all attributes, improved error messages
8847 * TemplateColumn.cs: Added all attributes
8848 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
8849 * ValidationSummary.cs: Added all attributes
8850 * WebControl.cs: Added all attributes
8851 * Xml.cs: Added all attributes
8853 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8855 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
8856 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
8858 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8860 * CheckBoxList.cs: fixes bug reported on the list about the state of
8861 the CheckButtons not being preserved across posts.
8863 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8865 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
8867 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8869 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
8871 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8873 * ListControl.cs: save viewstate data when any of the 3 values is not
8874 null. Fixed condition to save selection indices. Closes bug #45493.
8876 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8878 * DataGrid.cs: fixed bug #43823.
8880 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8882 * DataGrid.cs: fixed delegate type for SortCommand.
8884 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8886 * DataGridColumnCollection.cs: added missing return in RemoveAt.
8888 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8890 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
8891 Don't save ViewState is the number of columns is 0.
8893 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8895 * DataGrid.cs: get the right item Type for the property we're reading
8896 fromt the data source.
8898 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8901 * TextBox.cs: added control builder attribute.
8903 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8905 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
8907 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
8909 * Unit.cs: Called the correct method to get the Numeric locale for the
8912 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8914 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
8915 correctly the header of the column.
8917 * DataGridTableInternal.cs: don't assign a default ID to this control.
8919 * LinkButton.cs: raise bubble event in OnCommand.
8921 * TableCellCollection.cs: fixed the index returned by Add.
8923 * TableRowCollection.cs: ditto.
8925 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8927 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
8929 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8931 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
8932 for reporting the bug and providing the fix.
8934 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8936 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
8937 CreateColumnSet. Set the owner of the column when auto generated.
8938 In PrepareControlHierarchyForItem, fixed for loop bound.
8940 * LinkButtonInternal.cs: fixed infinite recursion bug.
8944 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
8946 * Xml.cs: a few fixes.
8948 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8950 * DataList.cs: handle the exception when adding new keys to
8953 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8955 * BaseDataList.cs: what can I say for this one? I spent so many time
8956 until I finally found this that I'm gonna miss this f....g bug... ;-).
8957 Farewell. Now we can get events from image buttons inside Data*.
8959 * DataList.cs: now the value stored in ViewState for item count is
8962 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8964 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
8966 * DataGridColumn.cs: added SetOwner method.
8967 * DataGridColumnCollection.cs: set the owner of the column when added.
8969 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8971 * BoundColumn.cs: typo.
8972 * DataGrid.cs: use 'as' instead of casting. Typo.
8973 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
8976 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8978 * HyperLink.cs: fixes bug #36336.
8980 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8982 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
8984 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8986 * BaseValidator.cs: return an empty string in GetControlValidationValue
8987 when GetValue returned null.
8989 * CompareValidator.cs: fixed EvaluateIsValid.
8991 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
8993 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8995 * Xml.cs: use MapPathSecure to get the path of the document.
8997 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8999 * DataList.cs: fixed header & footer.
9001 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9003 * DataList.cs: for header and footer don't use data source.
9004 Instantiate in the DataListItem, not in the DataList.
9005 databind-template.aspx works now.
9007 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9010 (Render): call RenderContents (), not base.RenderContents ().
9012 * DataList.cs: style.
9014 But I still haven't found what i'm looking for....
9016 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9018 * Calendar.cs: fixed loading/saving selected dates.
9019 * SelectedDatesCollection.cs: added internal function to get the
9020 underlying ArrayList.
9022 Calendar navigation works again. Selecting dates too.
9024 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9026 * DataList.cs: added a few attributes and fixed infinite recursion.
9028 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9030 * ListItemCollection.cs: fixed LoadViewState.
9032 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9034 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
9035 Commented out some code until it works.
9037 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
9039 * BaseCompareValidator.cs - Fixed operator bug in
9040 Compare(string, string, ...)
9041 * CompareValidator.cs - EvaluateIsValid() : Implemented.
9043 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9045 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
9047 - All Properties : Now make use of ViewState.
9049 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9051 * BaseValidator.cs - Uncomment NotImplementedException.
9053 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9055 * BaseValidator.cs - Minor changes in TODO comments.
9057 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9059 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
9060 the NotImplementedException being thrown.
9061 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
9062 * DataGridLinkButton.cs - Added new class (private) : Implemented.
9063 * DataGrid.cs - InitializePager(DataGridItem, int,
9064 PagedDataSource) : Implemented.
9066 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9068 * DataList.cs - PrepareControlHierarchy() : Implemented.
9070 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
9072 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
9073 - GetItem(ListItemType, int) : Removed TODO.
9074 - CreateControlHierarchy(bool) : Implemented.
9075 - CreateItem(int, ListItemType) : Implemented.
9076 - CreateItem(int, ListItemType,
9077 bool, object) : Implemented.
9078 - InitializeItem(DataItem) : Implemented.
9079 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
9080 The ViewState["_!ItemCount"],
9081 ViewState["_!DataSource_ItemCount"]
9082 are shared by DataList and DataGrid, and hence
9083 should share the same name.
9084 - ResolveDataSource(object, string)
9085 : Removed. Use System.Web.UI.Utils.DataSourceHelper
9086 ::GetResolvedDataSource(object, string).
9089 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9091 * DataGrid.cs: fixed compilation
9093 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
9095 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
9096 * DataGrid.cs - CreateControlHierarchy(bool)
9097 : working towards completion.
9098 - ResolveDataSource(object, string)
9099 : stubbed new method
9101 : stubbed new method
9102 Well. It's almost done.
9103 * DataGridTableInternal.cs
9104 - Added new internal class.
9106 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
9108 * DataSourceInternal.cs - Added new class (internal).
9110 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9113 * HorizontalAlign.cs:
9115 * VerticalAlign.cs: fixes based on class status page.
9117 * HorizontalAlignConverter.cs: implemented.
9118 * VerticalAlignConverter.cs: implemented.
9120 * FontUnitConverter.cs: implemented GetStandardValues ().
9122 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
9124 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9126 * DataGrid.cs - AutoCreateColumns: Bug fixes.
9128 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9130 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
9132 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9134 * DataGrid.cs - Working on the undocumented protected
9135 method CreateColumnSet. AutoCreateColumns method
9136 stubbed. Left CreateControlHierarchy for the time
9137 being, looks like I'm going insane. ;-)
9139 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9141 * Button.cs - Steffen's OnCommand bug fix.
9143 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
9145 * DataGrid.cs - Added protected method (skeleton)
9146 CreateColumnSet(PagedDataSource, bool)
9147 Still trying to know how will it be used
9150 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9152 * PagedDataSource.cs: fixed compilation.
9154 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
9156 * DataGrid.cs - Added private method
9157 CreatePagedDataSource
9159 CreateControlHierarchy(bool)
9160 * PagedDataSource.cs - Bug fixed.
9161 CurrentPageIndex is writable.
9163 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9165 * DataGrid.cs: fixed typo.
9166 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
9168 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9170 * DataGridColumn.cs - Added internal methods to get the
9171 various styles (needed in DataGrid.cs)
9172 * DataGrid.cs - Completed the method
9173 PrepareControlHierarchy()
9175 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9177 * DataGrid.cs - Wokring on PrepareControlHierarchy()
9178 - Added private method
9179 PrepareControlHierarchyForItem()
9181 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
9183 * DataGrid.cs - Completed method
9184 OnBubbleEvent(object, EventArgs)
9186 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9188 * Xml.cs: implemented document/transform load.
9190 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9192 * Calendar.cs: added myself to the list of authors.
9193 * DropDownList.cs: fixed a few properties.
9194 * ListControl.cs: fixed SelectedIndex.
9196 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9198 * Calendar.cs: lots of fixes. Render days. Still left to persist
9199 selected days when changing month.
9201 * Unit.cs: fixed Percentage and Pixel.
9203 * WebControl.cs: a few properties are now using ControlStyle instead
9204 of ViewState to persist.
9206 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9208 * BaseValidator.cs: it works now.
9209 * DataGridColumn.cs: added attribute and made it abstract.
9210 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
9212 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9214 * TextBox.cs: default for Wrap is true.
9215 (OnPreRender): don't save Text if there are no listeners on TextChanged.
9217 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9223 (LoadViewState): fixed.
9225 * ListItemCollection.cs:
9226 (TrackViewState): use items instead of 'this' in foreach.
9229 (LoadViewState): more checking of parameters.
9231 * WebControl.cs: implemented LoadViewState and SaveViewState.
9234 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9236 * ListItem.cs: there was no code to unset the flags!!!
9238 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9240 * FontUnit.cs: use a hashtable for mapping size name to value.
9241 * HyperLink.cs: fixed a bug and a typo.
9242 * Unit.cs: some fixes to internal constructor.
9244 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9246 * ListControl.cs: fixed a couple of range checks.
9247 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
9248 an HtmlForm (p.e., Label).
9250 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9260 * HyperLinkColumn.cs:
9269 * RadioButtonList.cs:
9273 * WebControl.cs: removed attributes added by mistake (i used
9274 GetCustomAttributes (true), d'oh!).
9276 * DataListItem.cs: implemented RenderItem.
9278 * Repeater.cs: implemented CreateItem and InitializeItem.
9280 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9282 * BaseDataList.cs: a couple of fiex and added attributes.
9283 * DataGrid.cs: little fixes.
9285 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9294 * RadioButtonList.cs:
9297 * Xml.cs: forgot to add using System.ComponentModel.
9299 * BaseValidator.cs: use explicitly
9300 System.ComponentModel.AttributeCollection as there is another class
9301 with the same name under System.Web.UI.
9303 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9322 * RadioButtonList.cs:
9327 * Xml.cs: added/fixed all attributes used by xsp.
9329 * BaseValidator.cs: some fixes.
9331 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9334 (AddAttributesToRender): correctly default to border=1.
9336 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9339 (LoadAdFile): make the dictionary null after every iteration.
9343 * ListItem.cs: fixed warnings.
9345 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
9347 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
9349 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9351 * DataGridColumn.cs:
9352 * DataGridPagerStyle.cs:
9359 * ListItemCollection.cs:
9361 * ServerValidateEventArgs.cs:
9365 * Xml.cs: more class status page based changes.
9367 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9370 (.ctor): fixed to render the correct tag.
9371 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
9373 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9376 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
9377 WebControl derived classes should be rendered inside a HtmlForm.
9379 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9381 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
9384 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9386 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9387 * RepeatInfo.cs: implemented DoHorizontalRendering.
9389 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9391 * System.Web.UI.WebControls/Repeater.cs:
9393 (OnDataBinding): fixed stack overflow.
9395 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9397 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9398 * RepeatInfo.cs: implemented DoHorizontalRendering.
9400 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9403 (CopyBaseAttributes): copy Attributes and don't throw exception.
9405 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9407 * ListBox.cs: mono-stylized.
9408 (AddAttributesToRender): call parent class method.
9410 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9412 * Style.cs: fixed IsEmpty and Width.
9414 * Table.cs: mono-stylized.
9415 (TableRowControlCollection.AddAt): fixed.
9416 (AddAttributesToRender): fixed.
9418 * TableCell.cs: mono-stylized.
9419 (.ctor): use PreventAutoID.
9420 (AddAttributesToRender): fixed.
9421 (AddParsedSubObject): fixed.
9423 * TableRow.cs: mono-stylized. Added
9424 ParseChildren attribute.
9427 (get_GridLine): fixed.
9429 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9431 * Panel.cs: fixed stack overflow.
9432 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
9433 and SingleConverter.
9435 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9437 * RadioButton.cs: mono-stylized and some little fixes.
9439 * TextBox.cs: mono-stylized.
9440 (MaxLength): fixed typo.
9442 (AddAttributesToRender): don't render the text between the tags for
9443 SingleLine, use value attribute for it. Don't render the text for
9446 (OnPreRender): don't throw exception and call base.OnPreRender.
9448 (Render): for MultiLine, render the text between the opening and
9449 closing tags encoded as HTML.
9451 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9454 (AddAttributesToRender): fixer another stack overflow.
9457 (TagName): modified to use TagKey instead of tagKey as the property
9460 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9462 * LinkButton.cs: mono-stylized.
9463 (AddParsedSubObject):
9464 (RenderControls): little fixes.
9467 (AddAttributesToRender): fixed usage of IEnumerator.
9469 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9471 * Literal.cs: beautified.
9473 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9475 * Label.cs: beautified and fixed a couple of 'classic' bugs.
9477 * WebControl.cs: use Span as default tag when no other provided in
9478 constructor. That is what MS renders.
9480 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9483 (AddAttributesToRender): fixed (classic) stack overflow.
9485 * CheckBox.cs: mono-stylized.
9486 (AutoPostBack): fixed stack overflow.
9487 (Render): fixed alignment issues. Also set the For attribute always
9490 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9492 * AdRotator.cs: GetData does not work as it should, but now it returns
9493 useful data (only the first ad in the file). Set the NavigateUrl
9494 property in the hyperlink if available.
9496 * HyperLink.cs: fixed constructor and a couple of stack overflows.
9498 * Image.cs: added an attribute and fixed stack overflow.
9501 (RenderBeginTag): fixed.
9502 (TagName): don't call Enum.IsDefined twice.
9504 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9506 * WebControl.cs: added attributes PersistChildrenAttribute and
9507 ParseChildrenAttribute.
9509 2002-05-24 Duncan Mak <duncan@ximian.com>
9511 * DataGridItem.cs (SetItemType): Changed function signature to
9514 * ListItemCollection.cs (this): Changes the visibility level of
9517 * Repeater.cs (OnItemCommand):
9519 (OnItemDataBound): Added necessary casts.
9521 2002-05-07 Duncan Mak <duncan@ximian.com>
9523 * Button.cs (AddAttributesToRender):
9524 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
9525 GetClientValidatedEvent method.
9527 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
9529 * Removed extra methods, corrected access modifiers to several
9532 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
9534 * <SeveralFiles>.cs - Added some attributes
9535 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
9536 methods. Will complete them later. Right now, busy with
9537 the attributes part.
9538 * RepeaterItem.cs - Completed.
9540 Oh God! Mercy! I will die applying attributes. I look at the missing
9541 part in the class-status - daemon! Kyrie eleison!
9543 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
9547 * AdRotator.cs - Added definition for Font.
9548 * BaseCompareValidator.cs - Added definition for Controls.
9549 * Calendar.cs - SelectMonthText definition corrected.
9550 * DataList.cs - Added definition for SeparatorTemplate.
9551 * BorderStyle.cs - Namespace correction. It belongs not to UI,
9552 but to UI.WebControls.
9554 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
9556 Finally, I have made it. Today I did a second build for the
9557 System.Web assembly. It compiled 195 classes today.
9558 I am waiting eagerly for the runtime to come up so that the objects
9559 may be tested to their last levels. Several of the methods are still
9560 under the tag of "TODO" throwing NotImplementedException. Well, I
9561 hope to remove them soon, but how far is this soon - even I don't
9562 know, though I am happy to make the build a success even before
9563 the vacations to come.
9565 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
9567 Yesterday and today I tried to do some building of the aseembly,
9568 but was dumped with uncoutably infinite errors. ;-)
9569 I have put the copies of the recent errors on my home page, want
9570 to have a look at them? See:
9571 http://mastergaurav.virtualave.net/mono/
9572 I don't know what to do with these errors. Oh! The buggy me! How
9573 will I overcome myself. Hopefully, by when my vacations over, I
9574 should have made a repository where the build will not fail.
9576 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
9578 I am now going to do a build that will include the
9579 System.Web.UI.WebControls namespace. Hoping that I will make it
9580 soon. My exams are coming near and I have to pack up soon.
9583 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
9586 And with this, ie, today's work, all the objects mentioned in the
9587 namespace appear in the implementation. But it may not be worth
9588 trying to go for a build because of dependence of several of the
9589 internal methods that may clash with already available assembly
9592 Also, the classes lack possible attributes, like those informing
9593 about child-controls etc. But I have to first create the attribute
9594 classes before I attach the attributes to the classes.
9596 * CustomValidator.cs - Completed. In process realized that
9597 I have to complete / rejuvinate BaseValidator class.
9598 * BaseValidator.cs - Complete rejuvination. Completed 80%
9599 of the job. All that is left is Render(HtmlTextWriter),
9600 DetermineRenderUplevel(), RegisterValidatorCommonScript()
9601 RegisterValidatorDeclaration()
9602 * DataGridPagerStyle.cs - Completed. That adds one more missle
9604 * DataKeyCollection.cs - Completed. Petty small.
9605 * Repeater.cs - Work started off. This is a quite
9607 * DataGridItemEventArgs.cs,
9608 * DataGridShortCommandEventArgs.cs,
9609 * DataListItemEventArgs.cs,
9610 * MonthChangedEventArgs.cs,
9611 * RepeaterItemEventArgs.cs,
9612 * ServerValidateEventArgs.cs,
9613 * DataGridPageChangedEventArgs.cs
9614 - Damn, I marked them "*", while they
9616 * Repeater.cs - Done all except for an undocumented
9617 method CreateControlHierarchy(bool). Though the method
9618 is quite clear by its name, but it will take some time
9619 for me to come with some material to flush in.
9621 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
9623 * SelectedDatesCollection.cs - Completed.
9624 * PagedDataSource.cs - Completed. Pathetically nice class.
9625 * RegularExpressionValidator.cs
9626 - Completed. Ridiculously small and
9627 annoyinglyc crazy-driving class, basically the method
9629 * RangeValidator.cs - Completed.
9630 * DataGridColumn.cs - Completed.
9631 * EditCommandColumn.cs - All is complete except for the
9632 InitializeCell(TableCell, int, ListItemType) method.
9633 * DataListItem.cs - All done except for a longish method
9634 RenderItem(HtmlTextWriter, bool, bool)
9636 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
9638 * RepeaterItemCollection.cs - Completed.
9639 I love *Collection classes. I am planning to make a
9640 program that will generate a *Collection class. It's so
9641 simple and the same. ;-)
9642 * DataGridColumnCollection.cs - Completed.
9643 ... except probably for *ColumnCollection classes, where
9644 you have to put in some more effort. Still, these class
9645 generation can be automated.
9646 * DataListItemCollection.cs - Completed.
9647 See, how easily, in less than a quarter of a minute, I
9648 completed this class - manually. Copy-Paste/Cut-Replace.
9650 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
9652 * DataGrid.cs - Following methods implemented:
9653 TrackViewState(), LoadViewState(object), SaveViewState(),
9654 On* -- The event raisers.
9655 OnBubbleEvent(object, EventArgs) is still incomplete.
9656 * DataGridItem.cs - Initial Implementation
9657 * DataGridItemCollection.cs - Completed.
9659 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
9661 * DataGrid.cs - Initial Implementation. Worked
9662 primarily with some properties.
9664 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
9666 * ListBox.cs - Completed. Implemented
9667 LoadPostData(string, NameValueCollection)
9668 * RequiredFieldValidator.cs - Completed. Pretty simple class.
9670 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
9672 * ListBox.cs - Implemented the following:
9673 RaisePostDataChangedEvent()
9675 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
9677 * ListBox.cs - Supports the following properties:
9678 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
9681 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
9682 RenderContents(HtmlTextWriter)
9685 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
9687 * TargetConverter.cs - Completed
9688 * TemplateColumn.cs - Completed
9689 * DataList.cs - Corrected the get-er methods for the
9690 *Style objects. Corrected the get/set-er methods for ViewState
9692 Addded support for properties:
9693 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
9694 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
9695 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
9696 SeparatorStyle, SeparatorItemTemplate.
9698 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
9699 ItemCreated, ItemDataBound, UpdateCommand.
9701 CreateControlStyle(), LoadViewState(object),
9702 SaveViewState(), TrackViewState
9704 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
9705 OnEditCommand, OnItemCommand, OnItemCreated,
9706 OnItemDataBound, OnUpdateCommand
9707 Added dummy methods for some undocumented methods:
9708 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
9709 CreateItem(int, ListItemType, bool, object),
9710 PrepareControlHierarchy(), InitializeItem(DataListItem)
9711 * ListBox.cs - Started working.
9715 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
9717 * RepeaterInfo.cs - Initial Implementation. Done all
9718 except for RepeatDirection.Vertical
9719 * TableStyle.cs - Completed
9721 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
9723 * DropDownList.cs - Completed
9724 * ListItemCollection.cs - Added method FindByValueInternal to
9725 assist in the derived classes.
9726 Discovered bug in FindByValue. Removed
9727 * UnitConverter.cs - Completed
9728 * PlaceHolder.cs - What can be simpler than this?
9729 * PlaceHolderControlBuilder.cs
9730 - Uh! Damn cool one.
9731 * RadioButtonList.cs - Initial Implementation. All is done
9732 except for the implementation of
9733 method IRepeatInfoUser.RenderItem(...)
9734 * ValidatedControlConverter.cs
9735 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
9736 * ValidationSummary.cs - Initial Implementation.
9737 * WebColorConverter.cs - Initial Implementation
9739 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9741 * FontNamesConverter.cs - Completed
9742 * FontUnitConverter.cs - Partial Implementation
9743 * ListItemControlBuilder.cs - Completed
9745 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9747 * TextBox.cs - All done except *Render* methods
9748 * TextBoxControlBuilder.cs - Completed
9749 * Xml.cs - Partial Implementation
9751 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
9753 * RadioButton.cs - Completed
9754 * TextBox.cs - Partial Implementation
9756 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
9758 * Panel.cs - Completed
9759 * TableItemStyle.cs - Completed
9761 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
9763 * TableCellCollection.cs - Completed
9764 * TableRowCollection.cs - Completed
9765 * TableHeaderCell.cs - Completed
9766 * TableRow.cs - Completed
9768 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
9770 * TableCellControlBuilder.cs - Completed
9771 * Table.cs - Completed
9772 * TableCell.cs - Completed
9774 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
9776 * CheckBoxList.cs - Completed
9777 * ButtonColumn.cs - Completed
9778 * Button.cs - Completed
9780 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
9782 * HyperLink.cs - Completed
9783 * Image.cs - Completed
9784 * ImageButton.cs - Completed
9785 * Label.cs - Completed
9786 * LabelControlBuilder.cs - Completed
9787 * LinkButton.cs - Completed
9788 * LinkButtonControlBuilder.cs - Completed
9789 * Literal.cs - Completed
9790 * LieteralControlBuilder.cs - Completed
9791 * FontUnit.cs - Completed
9794 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
9796 * Calendar.cs - Completed the functions of Render*,
9797 ViewStates (Track/View/Save),
9799 Left: RenderAllDays (partially)
9801 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
9803 * Calendar.cs - Added some more functions
9804 * Style.cs - Completed
9805 * ListItem.cs - Completed
9806 * ListItemCollection.cs - Completed
9808 Made the first successful build of System.Web.dll that included
9809 System.Web.UI.WebControls!
9811 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
9813 FontInfo.cs - Complete revamp. Completed
9815 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
9817 ListItemCollection.cs - Completed
9818 ListItem.cs - Initial Implementation
9819 Style.cs - Initial Implementation
9821 Right now I am in a total mood to do a successful build. Creating so many
9822 classes, completing classes in System.Web System.Web.UI namespaces.
9824 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
9826 TODO - Properly added
9827 CheckBox.cs - Completed
9828 BaseDataList.cs - Completed
9829 DayRenderEventArgs.cs - Completed
9830 RepeaterItem.cs - Initial implementation
9832 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
9834 BaseCompareValidator.cs - Completed
9835 AdRotator.cs - Completed
9837 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
9839 CommandEventArgs.cs - Completed
9840 DataGridCommandEventArgs.cs - Completed
9841 RepeaterCommandEventArgs.cs - Completed
9842 DataListCommandEventArgs.cs - Completed
9843 CompareValidator.cs - Partial Implementation
9845 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
9847 CheckBoxList.cs - Partial Implementation.
9850 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
9852 ListControl.cs - Completed
9854 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
9856 CheckBox.cs - Completed
9857 ListControl.cs - Initial Implementation
9858 CheckBoxList.cs - Started with it, but first needed
9859 ListControl. Left it.
9861 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
9863 CalendarDay.cs - Making a note that this
9864 has been implemented
9865 Calendar.cs - Making a note that have made some changes.
9866 Unimplmented functions throw
9867 NotImplementedException
9868 CheckBox.cs - Can now "Render" and "LoadPostData"
9871 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
9872 WebControl.cs - Total Revamp, Partial Implementation
9873 AdRotator.cs - Able to load files
9874 AdCreatedEventArgs.cs - Implemented
9876 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
9877 Calendar.cs - Initial Implementation
9878 ButtonColumn.cs - Initial Implementation
9879 Button.cs - Initial Implementation
9880 BoundColumn.cs - Initial Implementation
9881 BaseCompareValidator.cs - Minor Changes
9882 DataList.cs, BaseValidator.cs, BaseDataList.cs
9883 - Added more functions, other changes
9885 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
9886 WebControl.cs - Initial Implementation
9887 DataList.cs - Initial Implementation
9888 BaseValidator.cs - Initial Implementation
9889 BaseDataList.cs - Initial Implementation
9891 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
9893 AdCreatedEventArgs.cs - Initial Implementation
9894 AdCratedEventHandler.cs - Implemented
9895 AdRotator.cs - Initial Implementation
9896 BorderStyle.cs - Implemented
9897 ButtonColumnStyle.cs - Implemented
9898 CalendarSelectionMode.cs - Implemented
9899 DayNameFormat.cs - Implemented
9900 FirstDayOfWeek - Implemented
9901 FontInfo.cs - Partial Implementation
9902 FontSize.cs - Implemented
9903 GridLines.cs - Implemented
9904 HorizontalAlign.cs - Implemented
9905 HyperLink.cs - Initial Implementation
9906 ImageAlign.cs - Implemented
9907 IRepeatInfoUser.cs - Implemented
9908 ListItemType.cs - Implemented
9909 ListSelectionMode.cs - Implemented
9910 NextPrevFormat.cs - Implemented
9911 PagerMode.cs - Implemented
9912 PagerPosition.cs - Implemented
9913 RepeatDirection.cs - Implemented
9914 RepeatLayout.cs - Implemented
9915 TextAlign.cs - Implemented
9916 TextBoxMode.cs - Implemented
9917 TitleFormat.cs - Implemented
9918 UnitType.cs - Implemented
9919 ValidationCompareOperator.cs
9921 ValidationDataType.cs - Implemented
9922 ValidationSummaryDisplayMode.cs
9924 ValidatorDisplay.cs - Implemented
9925 VerticalAlign.cs - Implemented
9929 i/ File Created 2001-11-13