1 2010-04-28 Marek Habersack <mhabersack@novell.com>
3 * CheckBoxList.cs: do not modify list item status in LoadPostData
4 when the list control is disabled.
5 If an item is selected and it was unchecked by the user, deselect
8 2010-04-13 Marek Habersack <mhabersack@novell.com>
10 * GridView.cs: make sure Header and Footer visibility are set when
11 binding the data. Fixes bug #595567
13 * ImageField.cs, CheckBoxField.cs: OnDataBindField must expect
14 sender to be something else than DataControlFieldCell. Fixes bug
17 2010-04-07 Marek Habersack <mhabersack@novell.com>
19 * FormParameter.cs, CookieParameter.cs, ProfileParameter.cs,
20 QueryStringParameter.cs, SessionParameter.cs: implemented
21 constructor overloads which take DbType as one of the arguments.
23 2010-04-01 Marek Habersack <mhabersack@novell.com>
25 * FormView.cs: do not show the pager if PagerSettings.Visible is
26 false. Fixes bug #578863
28 2010-03-29 Marek Habersack <mhabersack@novell.com>
30 * GridView.cs: main table must be created and added to the
31 controls collection before any OnRowCreated event is fired.
33 2010-03-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
35 * TreeView.cs: use enums instead of strings for attributes.
37 2010-03-06 Marek Habersack <mhabersack@novell.com>
39 * XmlDataSource.cs: reload document when one of Data, DataFile,
40 Transform or TransformFile properties is set. Fixes bug
41 #585968. Fix based on patch from Jeffrey Alvarez
42 <kuritsu@gmail.com>, thanks.
44 2010-02-19 Marek Habersack <mhabersack@novell.com>
46 * SqlDataSource.cs: call base.OnInit in OnInit. Fixes bug #572781
48 2010-02-18 Marek Habersack <mhabersack@novell.com>
50 * ListItemCollection.cs: ItemsEnabled and associated code removed
51 - there's no need to alter ListItem's Enabled property when
54 * ListControl.cs: SaveViewState doesn't set the items collection's
55 ItemsEnabled property as it was removed from ListItemCollection
57 * CheckBoxList.cs: LoadPostData never unselects any item. A better
59 RenderItem renders items as disabled when Enabled is false, but if
60 Enabled is true, item is rendered according to the value of its
61 own Enabled property. Fixes bug #578770
63 * TreeView.cs: RegisterStyle must copy CssClass in addition to
64 other style properties. Fixes bug #580692
66 2010-01-18 Marek Habersack <mhabersack@novell.com>
68 * Parameter.cs: added missing 3.5 APIs - constructors taking
69 DbType as one of the parameters, ConvertDbTypeToTypeCode,
70 ConvertTypeCodeToDbType and GetDatabaseType. Fixes bug #567850
72 2010-01-15 Marek Habersack <mhabersack@novell.com>
74 * ChangePassword.cs: BaseChangePasswordContainer forwards
75 EnsureChildControls call to its owner, so that finding controls in
76 the container works correctly.
78 2009-11-30 Marek Habersack <mhabersack@novell.com>
80 * WebControl.cs: HasAttributes made available as internal for 1.1
81 Avoid calling the Attributes getter many times in
83 If TrackViewState is called and attributes state bag already
84 exists, mark all items in the latter as dirty.
86 * CheckBox.cs, Button.cs, ImageButton.cs, LinkButton.cs: do not
87 create the Attributes collection if not necessary.
89 2009-11-16 Marek Habersack <mhabersack@novell.com>
91 * TreeNodeCollection.cs: whenever a node is added, let the owner
94 * TreeNode.cs: added internal property HadChildrenBeforePopulating
95 which is used to let TreeView know about an error condition where
96 a populate-on-demand node contains children added outside the
97 OnTreeNodePopulate event
99 * TreeView.cs: if a node has any child nodes and PopulatOnDemand
100 is set, throw an exception from RenderNode. This is the behavior
103 2009-11-13 Marek Habersack <mhabersack@novell.com>
105 * TableRowCollection.cs: added .NET compatibility NREX throws to
107 Whenever a row is added/removed, its Container property is
108 set. Fixes bug #551666
110 * TableRow.cs: introduced an internal property, Container, which
111 is set by TableRowCollection whenever this row is added/removed
112 to/from the collection. This allows the row to notify the
113 collectio and, in consequence, collection owner that TableSection
114 has been set and thead/tbody/tfoot elements need to be
115 generated. Fixes bug #551666
117 2009-11-10 Marek Habersack <mhabersack@novell.com>
119 * PasswordRecovery.cs:
120 {Question,Success,UserName}TemplateContainer must all be populated
121 the first time the property is accessed, so that calling
122 FindControl on the container returns valid and expected
123 results. If the associated template is not defined, though,
124 populating is postponed till CreateChildControls is called -
125 that's where default, empty, template will be created. This is
126 required to fix YetAnotherForum's password recovery control.
127 Mail template used in SendPasswordByMail must match the one used
128 in .NET (it has to end with a newline) as YAF parses the message
129 to retrieve user name and password and breaks if the last line
130 doesn't end with a newline character.
132 2009-10-30 Marek Habersack <mhabersack@novell.com>
134 * PasswordRecovery.cs: mail message replacements should include <%
135 Password %> and <% UserName %> and matching should be
136 case-insensitive. Fixes bug #545370
138 2009-10-28 Marek Habersack <mhabersack@novell.com>
140 * ListControl.cs: OnDataBinding must call base implementation
141 before performing the binding, so that DataSource can be assigned
142 from within the handler.
144 2009-10-13 Marek Safar <marek.safar@novell.com>
146 * WebColorConverter.cs: Delegate ConvertFrom to
147 ColorTranslator.FromHtml, it is correctly implemented and knows
150 2009-10-13 Marek Habersack <mhabersack@novell.com>
152 * WebColorConverter.cs: don't use a dictionary to check for valid
153 color names, use Color.IsKnownColor instead. Update for bug
155 Added more CSS2 color name mappings.
157 2009-10-12 Marek Habersack <mhabersack@novell.com>
159 * WebColorConverter.cs: when converting from color name, check if
160 the returned color's name is a member of the
161 System.Drawing.KnownColor enumeration to test for error condition,
162 as some colors might be #000000. Preserve the old error check as a
164 Map "captiontext" and "background" color names to
165 "ActiveCaptionText" and "Desktop", respectively, before passing
166 them to Color.FromName (). Fixes bug #546173
168 2009-10-02 Marek Habersack <mhabersack@novell.com>
170 * GridView.cs: added two 3.5 properties - SelectedPersistedDataKey
171 and IPersistedSelector.DataKey.
173 * BaseDataBoundControl.cs: slight optimizations to FindDataSource
175 2009-09-28 Marek Habersack <mhabersack@novell.com>
177 * DataBoundControl.cs: Initialize sets RequiresDataBinding
178 properly, only when we're not data-bound already, when we aren't
179 in postback or when we are in postback, but with viewstate
180 enabled. Fixes bug #542076
182 2009-09-01 Marek Habersack <mhabersack@novell.com>
184 * ObjectDataSourceView.cs: ExecuteSelect must call
185 QueryTotalRowCount after executing the select method (that's what
188 2009-08-25 Marek Habersack <mhabersack@novell.com>
190 * WebColorConverter.cs: inform the user that the might need to
191 check if libgdiplus is installed when parsing a color name
192 fails. Fixes bug #533749
194 2009-08-21 Marek Habersack <mhabersack@novell.com>
196 * Menu.cs: separator image is rendered next to the item in
197 horizontal layout and is preceeded by 3px spacer (unless
198 itemSpacing is set) to make output match .NET. Fixes bug #474716
200 * TreeNodeCollection.cs: {Save,Load}ViewState now store/load the
201 type of the node, if node is a of a custom type. Fixes bug #475997
203 2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
205 * Parameter.cs: add new DbType property.
207 2009-06-16 Marek Habersack <mhabersack@novell.com>
209 * IPersistedSelector.cs: removed AspNetHostingPermission
210 attributes from the 4.0 profile.
212 * IDataBoundControl.cs, IDataBoundItemControl.cs,
213 IDataBoundListControl.cs, IFieldControl.cs: added
215 * DetailsView.cs: control implements 4.0 IDataBoundItemControl
218 * DataBoundControl.cs: implemented 4.0 property DataSourceObject
219 (internal for 2.0) and made the InternalPerformDataBinding method
220 internal for the 4.0 profile.
222 2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
224 * ContentControlBuilderInternal.cs: detect missing
225 ContentPlaceHolderID attribute when parsing instead of throwing a
228 2009-05-29 Marek Habersack <mhabersack@novell.com>
230 * ListItem.cs: when tracking view state is turned on after
231 attributes have been set, make sure that the associated state bag
232 begins tracking state and that all of its existing items are
233 marked as dirty. Do the same after loading view state. Fixes bug
236 2009-04-29 Marek Habersack <mhabersack@novell.com>
238 * DataBoundControl.cs: added InternalGetDataSource method, used by
241 2009-04-28 Marek Habersack <mhabersack@novell.com>
243 * GridView.cs: implemented ColumnsGenerator and enabled its use in
246 * DetailsView.cs: implemented the RowsGenerator property and
247 enabled its use in CreateFieldSet.
249 2009-04-07 Marek Habersack <mhabersack@novell.com>
251 * TreeView.js: removed nodeText parameter from the JS calls.
253 * TreeView.cs: encode | characters into U+007C, so that
254 RaiseCallbackEvent doesn't get confused.
255 Removed nodeText parameter from the JS calls.
257 2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
259 * TreeNode.cs: reset the path data for all child nodes too.
260 * TreeView.cs: HtmlAttribute encode the node text. When rebuilding the
261 node tree, set the correct index for the nodes so that the Path is
264 2009-04-06 Marek Habersack <mhabersack@novell.com>
266 * TreeView.js: TreeView_ToggleExpand now takes more parameters - a
267 full definition of treeview's node contents.
268 Added new function, TreeView_PopulateNode, which partially takes
269 over role of the PopulateNode function generated in
270 TreeView.OnPreRender (see below). Fixes bug #492307
272 * TreeView.cs: RaiseCallbackEvent needs to recreate the event
273 target's parental tree all the way from the root to the node and
274 populate only the leaf (requested) node. This avoids calling the
275 TreeNodePopulate handler more times than needed. Fixes bug #492307
276 OnPreRender: moved the script code to constants and the script
277 body is now generated using StringBuilder instead of a series of
279 GetClientExpandEvent: adjusted code for new TreeView JavaScript
282 2009-03-17 Marek Habersack <mhabersack@novell.com>
284 * Unit.cs: introduced a field to tell the difference between empty
285 (as in Unit.Empty) and 0px units.
287 2009-03-06 Marek Habersack <mhabersack@novell.com>
289 * WebControl.cs: if savedState is not an instance of Pair in
290 LoadViewState, do not attempt to load from it.
292 2009-02-10 Marek Habersack <mhabersack@novell.com>
294 * ImageButton.cs: AddAttributesToRender renders the onclick
295 attribute only if any of the following is true:
296 - OnClientClick is not empty
297 - Validation is enabled for the control
298 - PostBackUrl is used
299 PostBackOptions now indicate that control requires the javascript
300 protocol for the handler.
301 RaisePostBackEvent passes String.Empty as the argument.
304 2009-02-09 Marek Habersack <mhabersack@novell.com>
306 * ObjectDataSourceView.cs: ExecuteSelect returns a single-item
307 array of objects containing the result, if the result isn't one of
308 DataSet, DataTable or IEnumerable. Fixes bug #471767
310 2009-02-06 Marek Habersack <mhabersack@novell.com>
312 * Style.cs: if CssClass is null, return String.Empty. Fixes bug
314 Added a range check to the BorderStyle property.
316 2009-02-05 Marek Habersack <mhabersack@novell.com>
318 * Login.cs: check the value of DisplayRememberMe when creating
319 the child controls. Fixes #468359
321 2009-01-20 Marek Habersack <mhabersack@novell.com>
323 * Substitution.cs: added. Fixes bug #467460
325 2009-01-13 Marek Habersack <mhabersack@novell.com>
327 * XmlBuilder.cs: updates related to ControlBuilder cleanup.
329 2008-12-01 Marek Habersack <mhabersack@novell.com>
331 * Style.cs: WriteStyleAttributes must not use the fontinfo field
332 directly, it has to be done via the Font property. Fixes bug
335 2008-11-15 Marek Habersack <mhabersack@novell.com>
337 * ContentPlaceHolder.cs, Content.cs, FormViewPagerRow.cs,
338 ChangePassword.cs, DetailsViewPagerRow.cs: implements
339 INonBindingContainer interface.
341 * Wizard.cs: implement INonBindingContainer interface for several
342 private/internal classes.
344 2008-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
346 * ImageButton.cs: clicking an image causes a postback.
349 2008-10-24 Marek Habersack <mhabersack@novell.com>
351 * CheckBox.cs: register for event validation in Render ().
353 2008-10-21 Marek Habersack <mhabersack@novell.com>
355 * XmlDataSource.cs: DataFile may be an URL.
357 2008-10-17 Marek Habersack <mhabersack@novell.com>
359 * ImageMap.cs: added the SupportsEventValidation attribute to the
361 Validate the event in RaisePostBackEvent ().
362 Register for event validation in Render ().
364 * DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().
366 * TextBox.cs: validate the event in LoadPostData ().
367 Register for event validation in AddAttributesToRender ().
369 * HiddenField.cs: validate the event in RaisePostDataChangedEvent.
370 Register for event validation in Render ().
372 * RadioButton.cs: validate the event in LoadPostData ().
373 Register for event validation in InternalAddAttributesToRender.
375 * CheckBox.cs, RadioButtonList.cs: validate the event in
376 RaisePostDataChangedEvent.
378 * Menu.cs: added the SupportsEventValidation attribute to the
380 Validate the event in RaisePostBackEvent ().
381 Register for event validation in GetClientEvent ().
383 * DetailsView.cs, GridView.cs: validate the event in
384 RaisePostBackEvent ().
385 Register for validation in GetCallbackScript () and in OnPreRender
387 * Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
388 ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().
390 2008-10-14 Marek Habersack <mhabersack@novell.com>
392 * CompositeDataBoundControl.cs: renamed the itemcount ViewState
393 item from "_ItemCount" to "_!ItemCount" for .NET
394 compatibility. This item is accessed and used by some commercial
397 * DataBoundControl.cs: OnPagePreLoad must force databinding also
398 when the request is not a postback.
400 2008-10-13 Marek Habersack <mhabersack@novell.com>
402 * Table.cs, TableRowCollection.cs, TableRow.cs: render table
403 sections when necessary. Fixes bug #434555
405 2008-10-08 Marek Habersack <mhabersack@novell.com>
407 * ControlParameter.cs: Evaluate calls DataBinder.Eval to do the
408 evaluation now. This makes it support complex expressions.
410 2008-09-30 Sebastien Pouliot <sebastien@ximian.com>
412 * RoleGroupCollection.cs: Fix recursive calls (wrong target)
413 [Found using Gendarme's BadRecursiveInvocationRule]
415 2008-09-28 Sebastien Pouliot <sebastien@ximian.com>
417 * XmlDataSource.cs: Make sure the result of the multiplication is a
418 long (not an integer casted into a long since it could overflow).
419 [Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
421 2008-09-17 Juraj Skripsky <js@hotfeet.ch>
423 * RadioButton.cs (ValueAttribute, LoadPostData): Fixes bug #426959.
425 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
427 * IPersistedSelector.cs : new in 3.5 SP1.
429 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
431 * DataBoundControlMode.cs : new 3.5 SP1 type.
433 2008-08-25 Marek Habersack <mhabersack@novell.com>
435 * DataBoundControl.cs: set RequiresDataBinding to true in
436 Initialize only if not in a postback, if not data bound and if the
437 view state is enabled. Fixes bug #398318
438 UpdateViewData removes the OnDataSourceViewChanged handler before
439 connecting to the datasource and restores it before returning to
441 OnLoad gets the data source before initialization, to avoid
442 premature OnDataSourceViewChanged triggers. Fixes bug #398318
443 Do not reconnect to the data source if we already have a valid one.
445 2008-08-18 Marek Habersack <mhabersack@novell.com>
447 * Unit.cs: rewrote the unit parser in a slightly slower, but more
448 correct, way. Fixes bug #417502
450 2008-07-28 Marek Habersack <mhabersack@novell.com>
452 * TreeView.cs: when TreeView is displaying a site map and there is
453 no node selected by the user, select the node corresponding to the
454 current page, if any.
456 2008-07-24 Marek Habersack <mhabersack@novell.com>
458 * DataGrid.cs: removed the private class TableID and moved its
459 code to ChildTable.cs (see below). 2.0 instantiates teh ChildTable
460 with the owner parameter now. Fixes bug #400377
462 * ChildTable.cs: refactoring - moved code from TableID previously
463 defined in DataGrid.cs to here and made the class available under
464 different names for both 1.x and 2.x profiles. Fixes bug #400377
466 * MailDefinition.cs: look for the mail body file in the correct
467 path. Patch from Jackson Harper <jaharper@novell.com>,
468 thanks! Fixes bug #408699
470 * PasswordRecovery.cs: do not ask password recovery question if
471 it's disabled. Patch from Jackson Harper <jaharper@novell.com>,
472 thanks! Fixes bug #408696
474 2008-07-16 Marek Habersack <mhabersack@novell.com>
476 * XmlDataSource.cs: check if Page isn't null before stringifying
477 it in GetDataKey (), fixes bug #409492
479 2008-07-13 Roei Erez <roeie@mainsoft.com>
481 * GridView.cs: When the RowDataBound event is invoked, the value
482 of GridView1.DataKeys should contains all the keys up untill the
483 current row, and not be empty.
484 I only changed the order of the user event invocation and the addition
487 2008-07-13 Roei Erez <roeie@mainsoft.com>
489 * TreeView.cs: In case of multiple tree node bingings, select
490 The first one and not the last one.
492 2008-07-10 Roei Erez <roeie@mainsoft.com>
494 * HyperlinkField.cs: Changed behavior of HyperLinkField bound field key
495 to be case insensitive.
497 2008-07-03 Marek Habersack <mhabersack@novell.com>
499 * CheckBox.cs: do not render the language="javascript" attribute
502 2008-07-02 Marek Habersack <mhabersack@novell.com>
504 * GridView.cs: minor optimizations (removed a foreach loop,
505 replaced calls to Array.Length with a variable containing the
508 2008-06-30 Marek Habersack <mhabersack@novell.com>
510 * ObjectDataSourceView.cs, Menu.cs, DataList.cs,
511 CustomValidator.cs: hush the warnings
513 2008-06-10 Noam Lampert <noaml@mainsoft.com>
515 * ListItemCollection.cs: Provide viewstate for dirty collection even if it is empty.
517 2008-05-30 Marek Habersack <mhabersack@novell.com>
519 * BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
520 DataControlFieldCollection.cs, DataControlField.cs,
521 PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
522 event accessors (to avoid locks).
524 2008-05-18 Marek Habersack <mhabersack@novell.com>
526 * HierarchicalDataBoundControl.cs: Modified GetData method to check if
527 DataSource implements IHierarchicalEnumerable and if so constructs and
528 returns a new instance of ReadOnlyDataSourceView. This provides functional
529 compatibility with the Microsoft.NET framework. Fixes bug
530 #395209. Patch contributed by James Fitzsimons
531 <james.fitzsimons@gmail.com>, thanks!
533 2008-05-06 Marek Habersack <mhabersack@novell.com>
535 * Calendar.cs: do not create dateInfo in the constructor - culture
536 might be not set yet at this point. Fixes bug #323566
537 Added a private property, DateInfo, which creates the dateInfo
540 2008-05-05 Sebastien Pouliot <sebastien@ximian.com>
542 * BulletedList.cs: Avoid calling ToString on a string.
543 * ButtonField.cs: Throw, not just create, the exceptions.
544 * HyperLinkField.cs: Throw, not just create, the exceptions.
545 * ImageField.cs: Throw, not just create, the exception. Avoid calling
546 ToString on a string.
547 * ListControl.cs: Avoid calling ToString on a string.
548 [All issues were found using Gendarme]
550 2008-04-30 Marek Habersack <mhabersack@novell.com>
552 * SiteMapDataSource.cs: when no starting node is found, return
553 null instead of Provider.RootNode. Fixes bug #323994
555 2008-04-24 Marek Habersack <mhabersack@novell.com>
557 * SqlDataSource.cs: raise the DataSourceChangedEvent when setting
558 ConnectionString, ProviderName or DataSourceMode properties only
559 when the new value differs from the old one. Fixes bug #359392
561 2008-04-16 Marek Habersack <mhabersack@novell.com>
563 * ObjectDataSourceView.cs: ExecuteSelect should return an empty
564 aray when no data has been retrieved from the specified source
565 type. Fixes bug #380106
567 2008-04-15 Marek Habersack <mhabersack@novell.com>
569 * MailDefinition.cs: dispose of streams the way it should
572 2008-04-10 Marek Habersack <mhabersack@novell.com>
574 * RadioButton.cs: adjust 'name' and 'value' attribute values to
575 match MS.NET. Fixes bug #378024
577 * CheckBoxList.cs: set the Selected property to the value in POST
578 data only if the item in question was enabled before postback
579 occurred. Fixes bug #377703
581 * ListControl.cs: make sure the owned items' Enabled property is
582 set to the same value what ListControl's. Fixes bug #377703
584 * ListItemCollection.cs: fixed SetDirty to store the index of the
585 last dirtied item properly. Fixes bug #377703
586 For the 2.0 profile, set the ListItem instances Enabled property
587 to the value of the owning ListControl (internal ItemsEnabled
588 property was added to make it possible). Fixes bug #377703
590 2008-04-08 Dean Brettle <dean@brettle.com>
592 * DataBoundControl.cs (InternalPerformDataBinding),
593 HierarchicalDataBoundControl.cs (InternalPerformDataBinding),
594 WebControl.cs (Render): fixed cast errors when a ControlAdapter
595 that wasn't of the type corresponding to the control was used.
597 2008-04-03 Marek Habersack <mhabersack@novell.com>
599 * DataList.cs: use the value of SelectedIndex, not selectedIndex,
600 to return the key value in the SelectedValue property. Fixes bug
601 #376519. Patch from Sergey Kuleshov <svyatogor@gmail.com>, thanks!
603 2008-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
605 * AutoGeneratedField.cs, CheckBoxField.cs: fixed OnDataBindField,
606 should hide checkbox only if DataItem is not defined
608 2008-03-09 Dean Brettle <dean@brettle.com>
610 * DetailsView.cs, ListControl.cs, DataBoundControl.cs,
611 FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs:
612 added support for using ControlAdapters when present.
614 * WebControl.cs: fixed implementation of IsEnabled to match
617 * Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of
618 RenderMenuItem() if an adapter is present. MenuAdapter.RenderItem()
619 calls back to new Menu.RenderItem() internal method which calls
620 RenderMenuItem() with the appropriate parameters.
622 2008-02-25 Igor Zelmanovich <igorz@mainsoft.com>
625 at Update and Delete use not read only coppies of dictionaries
626 in event argumens, that allows user to change them before corresponding
627 DataSource's method is called.
629 2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>
631 * Login.cs: render id attribute of root element correctly.
633 2008-02-18 Marek Habersack <mhabersack@novell.com>
635 * FormView.cs: the ItemCreated must be fired before data is bound
636 to the FormView. Fixes bug #360434
638 2008-02-07 Igor Zelmanovich <igorz@mainsoft.com>
640 * Login.cs: render id attribute of root element correctly.
642 2008-02-05 Marek Habersack <mhabersack@novell.com>
644 * FileUpload.cs: make sure FileContent always returns the input
645 stream positioned at the beginning. Fixes bug #356846
647 2008-01-31 Igor Zelmanovich <igorz@mainsoft.com>
649 * Calendar.cs: resolve Next/Prev. month link date correctly.
651 2008-01-29 Igor Zelmanovich <igorz@mainsoft.com>
653 * TreeView.cs: add XPFileExplorer icon set.
655 2008-01-28 Igor Zelmanovich <igorz@mainsoft.com>
657 * Menu.js: dynamic nodes are positioned after hover style of
658 parent node is applied.
660 2008-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
662 * DataSourceCacheManager.cs: fixed GetKeyFromParameters, incase more
663 than one datasource using the same object with the same select method
665 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
667 * ValidationSummary.cs:
668 refactoring: If page contents instance of IScriptManager, it calls
669 it's API instead Page.ClientScript.
671 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
673 * Menu.cs: fixed rendering.
675 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
678 manage history state on "MovePrevious" action.
680 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
683 resolve BulletImageUrl,
684 register for event validation.
686 2008-01-13 Igor Zelmanovich <igorz@mainsoft.com>
690 upgrade client side script due to changes in webform.js.
692 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
694 * BaseCompareValidator.cs:
696 * CompareValidator.cs:
697 * CustomValidator.cs:
699 * RegularExpressionValidator.cs:
700 * RequiredFieldValidator.cs:
701 refactoring: If page contents instance of IScriptManager, validators call
702 it's API instead Page.ClientScript.
704 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
709 for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
710 in GetPostBackOptions.
712 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
714 * DetailsView.cs: render invisible rows correct.
716 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
718 * DataControlField.cs: prevent infinite recursion
720 2008-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
722 * DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding
725 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
727 * DataSourceCacheManager.cs: fixed SetCachedObject, fixed
730 2007-12-24 Igor Zelmanovich <igorz@mainsoft.com>
732 * TreeView.cs: revert changes from r91230
734 2007-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
736 * ListControl.cs: fixed Load/SaveViewState, removed selected indices
738 * ListItem.cs: fixed Load/SaveViewState, added selected state storing
739 * ListItemCollection.cs: fixed Load/SaveViewState, added flag to not
740 rebuild the collection if was'nt changed
742 2007-12-13 Marek Habersack <mhabersack@novell.com>
744 * Menu.cs, TreeView.cs: optimize use of String.Format in
746 Speed optimization - use String.Concat instead of String.Format in
749 * GridView.cs, DetailsView.cs: optimize use of String.Format in
752 * CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
753 WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
754 ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
755 optimization - use String.Concat instead of String.Format in some cases.
757 2007-12-13 Vladimir Krasnov <vladimirk@mainsoft.com>
759 * Menu.cs: fixed rendering without head tag on page
761 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
763 * Calendar.cs: performance optimizations:
764 BuildLink fixed, StringBuilder used.
765 TodaysDate DateTime.Today call cahced.
767 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
769 * Unit.cs: performance optimization: ToString fixed, string.Concat used
770 instead of string.Format
772 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
774 * Style.cs: performance optimization: suppress finalizer added
776 2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>
780 evaluate bound value using ThisExpession ("!") properly
782 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
784 * WebControl.cs: enabled state restored properly.
786 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
789 refactoring for NET_2_0:
790 Text is removed from view state in case of need at SaveViewState phase.
792 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
795 SelectedValue/SelectedIndex is set during DataBinding always.
797 2007-11-06 Marek Habersack <mhabersack@novell.com>
799 * DataGrid.cs: add RenderTable before the DataGridItems, so that
800 numbering of children is the same what on MS.NET.
801 If there are any data items, require a postback script.
804 * ChildTable.cs: removed DOS EOLs.
806 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
809 does not perform authentication if Page.IsValid returns false;
810 the fix makes control works with disabled client side validation.
812 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
815 state of DataList.Items are restored correct on PostBack
816 such Items.Count and ItemType.
818 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
821 validator is rendered correct if EnabledClientClient is false.
823 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
825 * Image.cs: fixed management state of Enabled property.
826 * WebControl.cs: refactoring in management state of Enabled property.
828 2007-10-23 Marek Habersack <mhabersack@novell.com>
830 * ListBox.cs, Table.cs: use Render{Begin,End}Tag
831 instead of the Write* counterparts when rendering contents.
833 2007-10-18 Marek Habersack <mhabersack@novell.com>
835 * Menu.js: a workaround for an IE bug. IE recalculates element's
836 offsetWidth when the element's _height_ is set - which in case of
837 elements with overflowing content results in a value that's just
838 slightly smaller than the client window width. In effect, a long
839 submenu will also be very wide, which isn't desirable. Fixes bug
842 2007-10-15 Marek Habersack <mhabersack@novell.com>
844 * ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
847 * BulletedList.cs: html encode the item text. Fixes bug #333550.
849 2007-10-01 Marek Habersack <mhabersack@novell.com>
851 * ListItem.cs: make HasAttributes available for the 1.1 profile as
854 * DropDownList.cs: render custom ListItem attributes in the 1.1
855 profile. Fixes bug #326288
857 2007-09-27 Marek Habersack <mhabersack@novell.com>
859 * Button.cs: added missing OnPreRender method.
861 2007-09-25 Marek Habersack <mhabersack@novell.com>
863 * WebControl.cs: added an internal method, BuildScriptAttribute,
864 which merges the specified JavaScript code in an attribute, with
865 the value of that attribute specified by the user.
867 * CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
868 preserve user-specified attribute value, if present.
870 * ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
871 after doing its job. AutoPostBack handling makes sure to preserve
872 user-specified attribute value, if present. Fixes bug #327816.
874 2007-09-21 Marek Habersack <mhabersack@novell.com>
876 * ListItem.cs: don't save StateBag in the control state - the
877 class is not serializable and therefore ObjectStateFormatter
878 cannot convert it. Instead have the sb object save its own state
879 and store the returned value. Fixes bug #326288.
881 2007-09-20 Marek Habersack <mhabersack@novell.com>
883 * LoginView.cs: implemented RoleGroups support. Fixes bug
886 2007-09-19 Marek Habersack <mhabersack@novell.com>
888 * GridView.cs: copy attributes from GridView to the child table,
889 as this is where the rendering takes place. Fixes bug #326309.
891 2007-09-18 Marek Habersack <mhabersack@novell.com>
893 * Calendar.cs: correctly apply day cell style. Fixes bug #315903
895 2007-09-17 Marek Habersack <mhabersack@novell.com>
897 * Calendar.cs: style attribute value must be enclosed in quotes.
899 * TableStyle.cs: do not capitalize the align styles. Fixes bug
902 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
904 * ListControl.cs: partially restored r85314
905 whenever a property that can affect data binding
906 is set, make sure to set RequiresDataBinding.
908 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
910 * DataBoundControl.cs: fixed DataBind flow:
911 prevent double binding when not necessary.
914 2007-08-31 Marek Habersack <mhabersack@novell.com>
916 * GridView.cs: instead of not adding hidden fields to the rows,
917 mark the cells they would contain as invisible. Fixes bug #82615.
919 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
923 make Menu work in multi form environment.
925 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
927 * ListControl.cs: fixed selected items state management.
929 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
931 * BaseCompareValidator.cs:
933 * CompareValidator.cs:
934 * CustomValidator.cs:
936 * RegularExpressionValidator.cs:
937 * RequiredFieldValidator.cs:
938 all Validators use RegisterExpandoAttribute for
939 not XHTML compliant attributes.
941 2007-08-23 Igor Zelmanovich <igorz@mainsoft.com>
943 * Panel.cs: client script consider MultiForm environment.
945 2007-08-21 Marek Habersack <mhabersack@novell.com>
947 * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
950 2007-08-20 Marek Habersack <mhabersack@novell.com>
952 * ContentPlaceHolderBuilder.cs: store place holder id in the
953 parser's internal place holder id list for later reference. Fixes
956 2007-08-19 Vladimir Krasnov <vladimirk@mainsoft.com>
958 * BoundField.cs: FormatDataValue, refactored multiple use of ToString
960 2007-08-14 Marek Habersack <mhabersack@novell.com>
962 * ObjectDataSourceView.cs: remove unused variable.
964 * ChangePassword.cs: remove unused variable.
965 The change password button id changed to
966 "ChangePasswordPushButton", the cancel button id changed to
967 "CancelPushButton". The change makes the generated ids the same
968 what on MS.NET. Fixes bug #82418.
970 * RoleGroupCollection.cs: OnValidate shouldn't be overridden.
972 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
974 * ParameterCollection.cs: fixed IndexOfString, should use ordinal
977 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
979 * Menu.cs: performance refactoring, used AddAttribute overload without
980 encoding on known attribute values, optimized DynamicMenu rendering
982 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
984 * TreeView.cs: refactoring, used AddAttribute overload without encoding
985 on known attribute values,
986 used Page.ClientScript.GetWebResourceUrl call instead of
987 AssemblyResourceLoader.GetResourceUrl
989 2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
991 * AccessDataSource.cs: does not subscribed on view changed event.
992 * ObjectDataSource.cs: fixed state management.
993 * SqlDataSource.cs: fixed state management.
995 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
998 DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs,
999 RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs,
1000 TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs,
1001 BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs,
1002 RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs,
1003 ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs,
1004 TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs:
1005 refactoring, used AddAttribute overload without encoding on known attribute
1008 2007-08-01 Igor Zelmanovich <igorz@mainsoft.com>
1010 * DropDownList.cs: fixed onchange attibute.
1012 2007-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
1014 * ListItemCollection.cs: fixed LoadViewState, items restored from
1015 viewstate were not saved, fixes bug #82192
1017 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1019 * BaseValidator.cs: All client scripts are rendered
1020 according IsMultiForm property.
1022 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1024 * TreeView.cs: refactoring:
1026 used ClientScriptManager.GetCallbackEventReference API instead calling
1027 WebForm_DoCallback explicit.
1029 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1031 * BaseValidator.cs: for NET_2_0: fixed client side validation.
1032 validation is performed in WebForm_DoPostback,
1033 and there is no need to do it twice in ValidatorOnSubmit.
1035 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1037 * Calendar.cs: fixed: correct 'id' attribute is rendered.
1039 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
1041 * ListItemCollection.cs: optimized SetDirty method
1043 2007-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1047 * ListItemCollection.cs: controls based on ListControl should not save
1048 view state before than TrackViewState called
1050 2007-07-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1052 * WebControl.cs: fixed AddDisplayStyleAttribute, returns if
1053 ControlStyle is not created
1055 2007-07-02 Marek Habersack <mhabersack@novell.com>
1057 * WebControl.cs: Revert r80368, as it wasn't the correct
1058 fix. Fixes bug #81945.
1060 * ListControl.cs: if there are no items in the collection, do not
1061 return an empty ArrayList from GetSelectedIndicesInternal. Fixes
1062 bug #81945 and properly fixes bug #78533.
1064 * ListItemCollection.cs: if there are no items in collection,
1067 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1070 the Pager is created but unvisible for only one page.
1071 the Patch submitted by Dumitru Ban [dban@dako.ro]
1073 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1078 does not requires data binding if any ITemplate property is set.
1080 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1082 * CheckBox.cs: fixed Render, HasAttributes called instead
1085 2007-06-24 Igor Zelmanovich <igorz@mainsoft.com>
1087 * GridView.cs: fixed AllowPaging feature:
1088 When the AllowPaging is true the GridView control should automatically
1089 hide the pager row when the data source contains fewer than 2 records.
1090 patch Patch submitted by Dumitru Ban [dban@dako.ro]
1092 2007-06-20 Marek Habersack <mhabersack@novell.com>
1094 * WebControl.cs: if savedState is a Triplet, take the actual state
1095 data from savedState.First. Also make sure that the data is a
1096 Pair. Fixes bug #78533.
1098 * DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
1099 to keep private entries.
1100 * XmlDataSource.cs: as above
1102 2007-05-31 Vladimir Krasnov <vladimirk@mainsoft.com>
1104 * BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed
1105 to ClientScriptManager
1107 2007-05-29 Igor Zelmanovich <igorz@mainsoft.com>
1109 * ObjectDataSourceView.cs:
1110 * SiteMapDataSource.cs:
1112 * SqlDataSourceView.cs:
1113 DataSourceChanged and DataSourceViewChanged are raised in right case, when
1114 different properties changed their value.
1116 2007-05-27 Igor Zelmanovich <igorz@mainsoft.com>
1118 * ObjectDataSourceView.cs: fixed SelectMethod and SelectCountMethod properties:
1119 when changed, DataSourceViewChanged event is raised.
1121 * SqlDataSourceView: fixed SelectCommand property:
1122 when changed, DataSourceViewChanged event is raised.
1124 2007-05-25 Marek Habersack <mhabersack@novell.com>
1126 * ObjectDataSourceView.cs: CreateDataObject must pay attention to
1127 TypeConverter attributes on the property being converted.
1129 2007-05-24 Igor Zelmanovich <igorz@mainsoft.com>
1131 * Menu.cs: fixed: alt attribute is rendered as well.
1133 2007-05-16 Marek Habersack <mhabersack@novell.com>
1135 * CompareValidator.cs: formatting changes
1137 2007-05-15 Marek Habersack <mhabersack@novell.com>
1139 * ObjectDataSourceView.cs: refactoring - use
1140 HttpApplication.LoadType to look up types.
1142 2007-05-10 Marek Habersack <mhabersack@novell.com>
1144 * Table.cs: render rows, not controls
1146 * HyperLink.cs: RenderContents must check if the render method
1147 delegate is present and, if yes, call the base RenderContents.
1149 * LinkButton.cs: as above.
1151 * Label.cs: as above.
1153 * TableCell.cs: as above.
1154 This change makes the HeaderTemplate in the Wizard control work.
1156 * Wizard.cs: if a next/previous step handler modifies
1157 ActiveStepIndex do not, respectively, increase/decrease the
1158 current step, but use whatever was set in the handler.
1160 2007-05-09 Marek Habersack <mhabersack@novell.com>
1162 * TreeNodeStyleCollection.cs: do not set font's underline flag to
1163 false, set it to its own value instead.
1165 * TreeView.cs: if level style exists and has ChildNodesPadding
1166 set, it takes precedence over the node style setting (if any).
1168 2007-05-08 Marek Habersack <mhabersack@novell.com>
1170 * TreeView.cs: children padding is rendered only before and after
1171 the children are rendered, not between them. Also, render padding
1172 only if there are any nodes to follow the current one.
1174 2007-05-07 Marek Habersack <mhabersack@novell.com>
1176 * Wizard.cs: additional checks to see whether the wizard needs to
1177 move to a next step or not. Fixes bug #81532. Patch sent by Mike
1178 Morano <mmorano@mikeandwan.us>, thanks!
1180 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1182 * FormView.cs: fixed:
1183 avoid NullReferenceException when used EditTemplate w/o binding
1184 directive such Eval or Bind.
1186 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1188 * MenuItem.cs: fixed:
1189 when 'Value' property is not set, value of 'Text' property is used
1190 instead and vice versa.
1192 2007-05-06 Igor Zelmanovich <igorz@mainsoft.com>
1194 * TreeNode.cs: fixed:
1195 when 'Value' property is not set, value of 'Text' property is used
1196 instead and vice versa.
1198 2007-05-04 Marek Habersack <mhabersack@novell.com>
1200 * AdRotator.cs: use the new GetPhysicalFilePath method to look up
1201 the physical path of the ad file.
1203 2007-05-03 Marek Habersack <mhabersack@novell.com>
1205 * TreeView.cs: honor ChildNodesPadding of the NodeStyle.
1207 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1209 * ControlPropertyNameConverter.css:
1210 * FontUnitConverter.cs:
1212 * ValidatedControlConverter.cs:
1215 2007-05-03 Marek Habersack <mhabersack@novell.com>
1217 * TreeNode.cs: correct version of the fix in r76488. Nodes
1218 retrieved from a navigation data source which have empty URL will
1221 * TreeView.cs: revert r76488, it wasn't entirely correct. I need
1222 to investigate the special cases it solved a bit more.
1224 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
1226 * SqlDataSourceView.cs:
1227 make CancelSelectOnNullParameter property works.
1229 2007-05-01 Marek Habersack <mhabersack@novell.com>
1231 * BaseValidator.cs: do not use User-Agent directly, we must take
1232 ClientTarget into account.
1234 2007-04-30 Marek Habersack <mhabersack@novell.com>
1236 * TreeView.cs: bring rendering closer to the MS.NET rendering.
1238 * SqlDataSource.cs: do not catch the exception if ProviderName is
1239 not null or empty (as per docs and what MS.NET does).
1241 2007-04-19 Igor Zelmanovich <igorz@mainsoft.com>
1243 * ChangePassword.cs:
1244 does not accept invalid new password.
1246 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1250 added MonoLimitation attributes
1252 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1254 * BaseValidator.cs: for TARGET_J2EE:
1255 used Page.Request.Browser to determine RenderUplevel
1257 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1260 when databound with AutoGenerateColumns = true,
1261 data source enumerator created only once.
1263 2007-04-18 Marek Habersack <mhabersack@novell.com>
1265 * SiteMapDataSource.cs: query the site map for the current node
1266 when configured to use it as the start point. Fixes bug #81376,
1267 patch from Mike Morano <mmorano@mikeandwan.us>.
1269 * Calendar.cs: change year/month format to be culture aware. Fix
1270 for bug #81390. Patch submitted by Atsushi Enomoto
1271 <atsushi@ximian.com>
1273 2007-04-17 Daniel Nauck <dna@mono-project.de>
1275 * PasswordRecovery.cs: fixed typo (AnswerLabel.Text).
1277 2007-04-17 Marek Habersack <mhabersack@novell.com>
1279 * BaseValidator.cs: use the new uplevel browser detection code.
1281 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1283 * SqlDataSourceView.cs: fixed: InitializeParameters:
1284 restored flow, broken in r75137.
1286 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1288 * Menu.cs: popup menu is posed correctly if menu is placed within
1289 container with position=relative
1291 2007-04-12 Marek Habersack <mhabersack@novell.com>
1293 * LoginView.cs: do not call CreateChildControls directly from the
1294 IsAuthenticated setter since that would destroy the controls the
1295 user might've configured from their Page_PreRender method.
1296 Do not use IsAuthenticated in CreateChildControls since that
1297 prevents the _correct_ template from being instantiated before the
1298 control is transferred to the user's OnPreRender handler. Fixes
1301 2007-04-11 Marek Habersack <mhabersack@novell.com>
1303 * ImageButton.cs: implement the Enable property and do not
1304 register for post back if the control isn't enabled.
1306 2007-04-06 Marek Habersack <mhabersack@novell.com>
1308 * GridView.cs: don't render invisible fields. Fixes bug #80061.
1310 * DetailsView.cs: don't render invisible fields.
1312 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1314 * Menu.cs: resolve selected MenuItem if bounded with SiteMapeDataSource.
1316 2007-04-05 Marek Habersack <mhabersack@novell.com>
1318 * BaseDataBoundControl.cs: restore the LAMESPEC note and code it
1319 describes - tests show this is what's happening on MS.NET as
1322 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1325 * BaseDataBoundControl.cs:
1326 Break recursion when the property is set from within the OnSelect handler
1327 in user's code. fixes bug #81175.
1329 2007-04-05 Marek Habersack <mhabersack@novell.com>
1331 * SiteMapDataSource.cs: fix GetStartNode for situations when the
1332 current URL is not defined in the sitemap file. Fixes bug
1333 #81314. Patch from Mike Morano <mmorano@mikeandwan.us>.
1335 2007-04-03 Marek Habersack <mhabersack@novell.com>
1337 * BaseDataBoundControl.cs: adjust for lame specs on MSDN.
1339 2007-04-02 Gert Driesen <drieseng@users.sourceforge.net>
1341 * MenuItem.cs: Use INavigateUIData.Description as ToolTip. Fixed line
1344 2007-03-29 Adar Wesley <adarw@mainsoft.com>
1346 * ObjectDataSourceView.cs: fixed events so they are raized at the
1347 right times. Added many tests to verify the correct time.
1348 * SqlDataSourceView.cs: fixed events so they are raized at the right
1349 times. Added many tests to verify the correct time.
1351 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1355 avoid Exception if HierarchicalDataSourceView.Select() returns null.
1357 2007-03-22 Igor Zelmanovich <igorz@mainsoft.com>
1359 * ObjectDataSource.cs:
1360 * ObjectDataSourceView.cs:
1362 * SqlDataSourceView.cs:
1363 fixed flow: changes in Insert/Update/DeleteParameters does not
1364 cause DataSourceViewChanged event.
1366 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1368 * BaseDataBoundControl.cs: fix as per MSDN - the property is set
1369 only if data binding doesn't occur.
1371 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1373 * GridView.cs: fixed: PageIndex considers PageCount.
1375 2007-03-20 Marek Habersack <mhabersack@novell.com>
1377 * DataBoundControl.cs: avoid endless recursion here. Fixes bug #81175
1379 * LoginStatus.cs: render login/logout controls with the CssClass
1380 set from the parent control. Fixes bug #81196
1382 2007-03-19 Igor Zelmanovich <igorz@mainsoft.com>
1384 * DataGrid.cs: fixed Save/Load view state, applying styles.
1386 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
1388 * Style.cs: optimization: used CssStyleCollection .ctor w/o parameters.
1390 2007-03-09 Marek Habersack <mhabersack@novell.com>
1392 * Login.cs: Make command name comparison case-insensitive in
1393 OnBubbleEvent. Patch from Mike Morano <mmorano@mikeandwan.us>
1395 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1397 * DataGrid.cs: fixed:
1398 Auto-generated columns are restored properly on postback from view state.
1400 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1403 when AddAttributesToRender(System.Web.UI.HtmlTextWriter, WebControl)
1404 is called, WebControl parameter is passed as argument to
1405 FillStyleAttributes (CssStyleCollection, IUrlResolutionService) method.
1407 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1411 fixed applying styles if ExtractTemplateRows=true.
1413 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1415 * DropDownList.cs: in 2.0 first item is rendered with selected attribute
1416 is Enabled=false and no selected items.
1418 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1420 * CheckBoxList.cs: in 2.0 access key attribute is rendered in 'input' tags.
1422 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1428 * RadioButtonList.cs:
1429 fixed: list controls consider ListItem.Attributes property on render.
1431 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1433 * CheckBox.cs: fixed: 'span' tag is not rendered if all attributes
1434 are rendered in 'input' tag.
1436 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1440 used "ONLY_1_1" instead "!NET_2_0"
1442 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1444 * BaseDataBoundControl.cs:
1445 * DataBoundControl.cs:
1446 * HierarchicalDataBoundControl.cs:
1447 refactoring: DataBoundControl and HierarchicalDataBoundControl use internal
1448 method in BaseDataBoundControl to find a data source control.
1450 2007-03-05 Marek Habersack <mhabersack@novell.com>
1452 * Unit.cs: Support parsing of units in the form ".9em" etc.
1454 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1456 * TemplateColumn.cs: fixed: if ItemTemplate is null, " " is rendered.
1458 2007-03-05 Marek Habersack <mhabersack@novell.com>
1460 * BaseValidator.cs: make validators work correctly with
1461 ListItems. Patch from Daniel Nauck <dna@informatik.uni-kiel.de>
1463 2007-03-04 Marek Habersack <mhabersack@novell.com>
1465 * HierarchicalDataBoundControl.cs: Use the method described below
1466 to get the data source named in DataSourceID.
1468 * BaseDataBoundControl.cs: add an internal method to find a data
1469 source control within all the naming containers above a given
1470 control. The method makes it possible to find controls that reside
1473 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1475 * Repeater.cs: fixed: data-binding flow for 2.0 features.
1477 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1480 * ParameterCollection.cs:
1481 fixed GetValue/s and UpdateValue/s.
1483 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1485 * TreeNodeCollection.cs:
1486 fixed Save/Load viewstate.
1488 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1490 * MenuItemCollection.cs:
1491 fixed Save/Load viewstate.
1493 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1495 * CreateUserWizard.cs:
1497 fixed CausesValidaion and ValidationGroup for navigation buttons.
1499 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1503 fixed LoadPostData to restore checked state for node's checkboxes.
1505 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1507 * TreeNodeCollection.cs: 'dirty' flag is assigned if 'marked' only
1509 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1511 * BaseDataBoundControl.cs: setting DataSource to null does not
1512 call ValidateDataSource.
1513 * HierarchicalDataBoundControl.cs: ValidateDataSource does not
1514 throw exception if argument is null.
1516 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1518 * WebControl.cs: implemented IsEnabled and HasAttributes.
1520 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1522 * BaseDataList.cs: fixed: data-binding flow for 2.0 features.
1524 2007-02-27 Marek Habersack <grendello@gmail.com>
1526 * FileUpload.cs: HasFile is true only if PostedFile is not null
1527 and it actually has an associated file.
1529 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1531 * LoginView.cs: fixed:
1532 ViewChanging and ViewChanged are fired.
1533 optimized Save/Load control state.
1535 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1537 * CreateUserWizard.cs: fixed: does not attempt to send email if
1538 MailDefinition is not defined.
1540 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1543 considers FormsAuthentication.ReturnUrl only if is placed in
1544 the login page defined in web.config.
1546 2007-02-23 Marek Habersack <grendello@gmail.com>
1548 * ObjectDataSourceView.cs: Fix saving/restoring the view state.
1550 * CreateUserWizard.cs: support for sending mail when a new user is
1551 created. Patch from dban@dako.ro.
1553 2007-02-22 Marek Habersack <grendello@gmail.com>
1555 * LoginStatus.cs: Handle OnLoggedOut properly. Patch from
1558 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1560 * ObjectDataSourceView.cs: fixed ViewState behavior to match MS. Added relevant tests.
1562 2007-02-20 Gert Driesen <drieseng@users.sourceforge.net>
1564 * Calendar.cs: Fixed bug #80881 by using Thread's CurrentCulture
1565 instead of CurrentUICulture for DateFormatInfo.
1567 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1569 * SqlDataSource.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1570 * SqlDataSourceView.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1572 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
1574 * ChangePassword.cs: fixed:
1575 ChangePasswordContainer and SuccessContainer cannot be BindingContainer.
1577 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1579 * SqlDataSourceView.cs: Fixed parameter merging logic and some bug fixing.
1582 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
1587 implemented Form.SubmitDisabledControls feature.
1589 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1591 * GridView.cs: IsBindableType for decimal returns true.
1593 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1595 * Menu.js: client script: support IE6.
1597 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1599 * Menu.cs: fixed: considers item.ToolTip, render image inside 'a' tag.
1601 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
1603 * Button.cs, ImageButton.cs, LinkButton.cs: Hanlding of PostbackOptions for
1604 TARGET_J2EE is now centralized in ClientScriptManager.
1605 * TreeView.cs, DetailsView.cs, GridView.cs, TreeView.js, DetailsView.js,
1606 GridView.js: Added a field to the controls JavaScript 'data' object. The
1607 form is initialized to the page 'theForm'. This is used for J2EE portlets
1610 2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1613 first step is recognized as 'finish' if only two steps
1614 and last step is 'complete'
1616 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1618 * BaseValidator: ControlPropertiesValid is called on PreRender
1619 * CompareValidator.cs:
1620 * RangeValidator.cs: fixed ControlPropertiesValid, EvaluateIsValid.
1622 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1624 * BaseCompareValidator.cs: fixed: support for type=Currency on client side.
1626 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1628 * ParameterCollection.cs: fixed IndexOfString, this indexer should be
1631 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
1633 * TreeView.js: refactoring:
1634 removed TreeView_ErrorCallback, used TreeView_PopulateCallback instead.
1636 2007-02-13 Adar Wesley <adarw@mainsoft.com>
1638 * ObjectDataSourceView.cs: fixed parameter merging and added more tests
1640 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1642 * Literal.cs: implemented 2.0 feature - Mode.
1644 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1646 * ViewCollection.cs: fixed public API.
1648 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1650 * RepeaterItem.cs: implemented IDataItemContainer interface.
1652 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1654 * TreeNodeStyle.cs: fixed public API.
1656 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1658 * MenuItemStyle.cs: fixed public API.
1660 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1663 * DayRenderEventArgs.cs:
1664 implemented 2.0 feature - SelectUrl.
1666 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1668 * GridViewRowCollection.cs: implemented IsReadOnly property.
1670 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1672 * BaseValidator.cs: implemented SetFocusOnError feature.
1674 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1676 * Wizard.cs: refactoring:
1677 used ContainedTable for ID attribute is rendered properly.
1679 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1681 * CreateUserWizard.cs:
1685 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1687 * DataList.cs: fixed: OnBubbleEvent() will return true if event is handled
1689 2007-02-09 Gert Driesen <drieseng@users.sourceforge.net>
1691 * FontUnit.cs: Fixed ToString () to use current locale.
1693 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1695 * BaseValidator.cs: fixed render, works in static mode properly
1696 * CreateUserWizard.cs: fixed display mode for validators.
1698 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1702 implemented FormViewPagerRow class
1704 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1707 header and footer visibility is set at creation.
1709 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1711 * FormView.cs: fixed:
1712 header and footer are not created with empty row.
1714 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1716 * FormView.cs: fixed:
1717 works properly with not ICollection data source.
1719 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1721 * DetailsView.cs: fixed:
1722 PageIndex, CreateChildControls,
1723 works properly with not ICollection data source.
1725 2007-02-06 Eyal Alaluf <eyala@mainsoft.com>
1727 * Menu.cs ImageMap.cs Panel.cs TreeView.cs: Ensure that the NavigateUrl
1728 property is rendered as a RenderURL for J2EE portlets.
1730 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1732 * BaseValidator.cs: refactored RegisterValidatorCommonScript to use
1733 RegisterClientScriptInclude instead of RegisterClientScriptBlock
1735 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1737 * DataBoundControl.cs:
1740 PerformDataBinding is called with RequiresDataBinding was set false
1742 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1745 fixed validation flow.
1747 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1750 fixed validation flow.
1752 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1754 * CustomValidator.cs:
1755 ValidateEmptyText is considered on client side.
1757 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1762 * DataControlButton.cs:
1763 * DataControlField.cs:
1766 Internal classes are used in databound controls for buttons
1767 are derived from right types. It allows to have access to them by casting
1768 to public types. This trick is used in one of starter kits of MS.
1770 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1772 * Panel.cs: fixed: reverted r71441.
1773 * TreeView.cs: used internal RegisterWebFormClientScript API
1774 to cause the relevant script be included.
1776 2007-02-01 Adar Wesley <adarw@mainsoft.com>
1778 * FormView.cs: fixed events ModeChanging and ModeChanged
1779 to be raized in all relevant situations.
1781 2007-02-01 Igor Zelmanovich <igorz@mainsoft.com>
1783 * ValidationSammary.cs: fixed:
1784 control is rendered even if there is no validators on the page.
1785 important if the page contain a client side script that refer to the
1786 id of the validation summary div.
1788 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1793 * RadioButtonList.cs:
1794 EnsureDataBound is called when PostData is processed to restore
1795 'state' of control if EnableViewState is false
1797 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1799 * GridView.cs: fixed:
1800 RowDataBound is fired for PagerRow.
1801 Styles are applied using MergeWith instead CopyFrom
1802 to allow using custom styles for rows in code-behind.
1804 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1806 * GridView.cs: fixed: RowCommand event is fired properly.
1808 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1810 * GridView.cs: fixed: created rows are added in table after initialization.
1813 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1815 * Panel.cs: fixed 'background-image' attribute.
1817 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1819 * BaseDataBoundControl.cs:
1820 * DataBoundControl.cs:
1821 fixed DataBinding flow: RequiresDataBinding is set to false in
1823 * HierarchicalDataBoundControl.cs: implemented MarkAsDataBound().
1825 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1829 fixed DataBinding flow for Insert mode.
1831 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1834 does not RegisterRequiresPostBack if is not enabled.
1836 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1840 fixed PopulateOnDemand: used UniqueID to call WebForms_DoCallBack().
1842 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
1844 * MultyView.cs: OnActiveViewChanged is called.
1846 2007-01-29 Vladimir Krasnov <vladimirk@mainsoft.com>
1848 * Panel.cs: fixed AddAttributesToRender for 2.0, text align should be
1851 2007-01-29 Adar Wesley <adarw@mainsoft.com>
1853 * EditCommandColumn.cs: implemented CausesValidation and
1854 ValidationGroup and coresponding tests.
1855 * DataGrid.cs: fixed generated table to be compatible with MS 2.0
1857 2007-01-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1859 * WebControl.cs: added internal method AddDisplayStyleAttribute for
1860 display:inline-block style attribute
1863 * CheckBox.cs: added call to AddDisplayStyleAttribute on rendering
1865 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
1867 * TreeView.js: Used WebForm_GetFormFromCtrl to lookup the form.
1869 2007-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1871 * TextBox.cs: implemented AutoCompleteType property, fixed
1872 AddAttributesToRender
1874 2007-01-24 Ilya Kharmatsky <ilya -at- decode-systems.com>
1876 * DetailsView.cs: fixed problems with rendering of control, when
1877 empty data source is provided. Respective tests are provided
1878 in DetailsViewTest.cs
1880 2007-01-21 Konstantin Triger <kostat@mainsoft.com>
1882 * TreeView.js, DetailsView.js, Menu.js, GridView.js:
1883 suppress exception if eval() fails.
1885 2007-01-20 Miguel de Icaza <miguel@novell.com>
1887 * DataControlFieldCollection.cs (RemoveAt): remove unused
1890 * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
1893 * RadioButton.cs (RaisePostDataChangedEvent): This method was not
1894 used in 1.0, so put the whole method in 2.0
1896 2007-01-18 Adar Wesley <adarw@mainsoft.com>
1898 * Xml.cs: added support for XPathNavigator, fixed DocumentContent
1899 to be compatible with MS 2.0, implemented EnableTheming, implemented
1900 SkinID, fixed Focus behavior.
1902 2007-01-18 Vladimir Krasnov <vladimirk@mainsoft.com>
1904 * Menu.js, Menu.js: added null reference checking for every getTree or
1907 2007-01-18 Adar Wesley <adarw@mainsoft.com>
1909 * SiteMapDataSource.cs: implemented logic of GetStartNode when
1910 StartingNodeOffset is positive.
1912 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
1914 * BaseValidator.cs: ToString the validating property value or
1915 if null return an empty string.
1917 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1919 * TreeView.cs: fixed RegisterStyle, style names should be without
1920 leading underscore. fixed RenderNode, node icons should be taken also
1923 2007-01-17 Adar Wesley <adarw@mainsoft.com>
1925 * Repeater.cs: refactored GetData to return data both from DataSource
1926 and DataSrouceID, Implemented EnableTheming, updated initialization of
1927 DataBinding according to the pattern of BaseDataBoundControl, fixed
1928 SelectArguments implementation to call the virtual
1929 CreateDataSourceSelectArguments method.
1931 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
1933 * GridView.cs: don't force creating rows collection when SelectedIndex
1934 changes; EnsureDatabound on select.
1936 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1938 * TreeNode.cs: fixed Bind, fixed Value updating
1940 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1942 * DataList.cs: fixed OnBubbleEvent, added SelectedIndex updating
1944 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1946 * DetailsView.cs: fixed CreateChildControls, PageIndex cannot be less
1949 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1951 * DetailsView.cs: fixed CreateChildControls, PageIndex should be less
1952 or equal to PageCount
1954 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
1956 * Menu.cs: added z-index attribute to popup div's.
1958 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1960 * FileUpload.cs: fixed FileName property, should return filename
1961 without full path on client side
1963 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
1968 Implemented the protected net_2_0 method 'VerifyMultiSelect' with
1969 proper overloading in derived types.
1971 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
1974 considers INavigateUIData.NavigateUrl when bound.
1976 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
1978 * CompleteWizardStep.cs
1979 * CreateUserWizard.cs
1980 * CreateUserWizardStep.cs
1981 * TemplatedWizardStep.cs
1983 make the design complied to .NET
1984 build all possible controls at once and manage render by Visible property
1986 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
1987 * Button.cs, HyperLink.cs, DataGrid.cs, ImageButton.cs, LinkButton.cs,
1988 PagedDataSource.cs: Added J2EE Portal support for TARGET_J2EE.
1990 2007-01-14 Ilya Kharmatsky <ilyak-at-mainsoft.com>
1991 * BaseCompareValidator
1993 Added support for CultureInvariantValues property, which should be
1994 counted in new 2.0 methods such as - Compare, Convert etc. The code
1995 has been changed in such way, that the old - 1.1 method implementation
1996 could use the new methods defined for 2.0 version.
1998 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2000 * XmlDataSource.cs: refactored to use cached collection.
2001 * SqlDataSource.cs: refactored to use cached collection;
2002 don't throw exception on 'DefaultView'.
2003 * ObjectDataSource.cs: refactored to use cached collection.
2005 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2007 * ObjectDataSourceView.cs: consider parameter names and
2008 DataObjectMethodAttribute during method resolution.
2010 2007-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2012 * SqlDataSourceView.cs: fixed OnUpdating, OnInserting call with
2013 SqlDataSourceCommandEventArgs
2015 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2017 * ObjectDataSourceView.cs: use case unsensitive comparer for
2018 parameters collection.
2020 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2022 * LoginStatus.cs: fixed: not causes page validation.
2024 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2026 * CreateUserWizard.cs: fixed: resolves ErrorMessage control correct.
2027 * CreateUserWizardStep.cs:
2029 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2031 * TreeView.cs: fixed: SelectedNode, CheckedNodes.
2033 * TreeNodeCollection.cs:
2035 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2037 * GridView.cs: fixed: header and footer does not appear in no items.
2038 * CompositeDataBoundControl.cs:
2040 2007-01-09 Konstantin Triger <kostat@mainsoft.com>
2042 * AdRotator.cs: Backport the fix for AdRotator AbsoluteUri to 1.1.
2044 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2046 * GridView.cs: fixed: SelectedDataKey.
2048 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2052 implemented 2.0 features.
2054 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2056 * SqlDataSourceView.cs: fixed parameters init for ExecuteUpdate
2058 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2060 * DataSourceCacheManager.cs:
2061 * ObjectDataSource.cs:
2063 fixed: cache considers parameters values changes.
2065 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2067 * DetailsView.cs: fixed DeleteItem, excluded keys for new values
2068 * SqlDataSourceView.cs: fixed ExecuteDelete, check cancel in
2071 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2073 * GridView.cs: fixed: show all rows when AllowPaging=false
2075 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2077 * SqlDataSourceView.cs: fixed CreateDbParameter, used DBNull for value=null.
2079 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2081 * ButtonField.cs: fixed: consider its CausesValidation property.
2083 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2085 * GridView.cs: fixed:
2086 ReadOnly property is false for AutoGeneratedColumn if field is DataKey.
2087 causesValidation parameter is considered properly in UpdateRow.
2088 OldValues contains readonly fields values
2090 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2092 * SqlDataSourceView.cs: fixed InitializeParameters, added
2093 ParameterPrefix when check that param is already in collection
2095 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2097 * AdRotator.cs: fixed: considers absolute uri such html://......
2099 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2101 * SqlDataSourceView.cs: fixed insert, delete, update methods, added
2102 calls to OnDataSourceViewChanged
2104 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2106 * added ProfileParameter.cs
2108 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2110 * Label.cs: fixed: according MSDN OnPreRender is not overridden.
2112 2007-01-04 Adar Wesley <adarw@mainsoft.com>
2114 * ImageButton.cs: implemented GenerateEmptyAlternateText
2116 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2118 * FormView.cs: fixed data binding flow considers Insert mode.
2120 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2122 * DataBoundControl.cs: fixed Init flow.
2124 2007-01-4 Adar Wesley <adarw@mainsoft.com>
2126 * RadioButtonList.cs: Implemented properties of IRepeatInfoUser as public virtual
2128 2007-01-03 Marek Habersack <grendello@gmail.com>
2130 * ObjectDataSourceView.cs: Look for unqualified type also in the top-level assemblies.
2132 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2134 * FormView.cs: fixed PageIndex property.
2136 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2138 * ListControl.cs: fixed SelectedValue and SelectedIndex properties.
2139 set accessor works differently in 2.0.
2141 2007-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
2143 * SqlDataSourceView.cs,ObjectDataSourceView.cs: fixed parameter merge
2144 when values and old values are null
2146 2006-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2148 * ListControl.cs: reverted r70112, fixed in r70319.
2150 2007-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2152 * DetailsView.cs: fixed CreateAutoGeneratedRows.
2154 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2156 * AutoGeneratedField.cs: is editable in Insest mode.
2157 * BoundField.cs: is editable in Insest mode.
2158 * CheckBoxField.cs: is editable in Insest mode.
2159 * DetailsView.cs: fixed DataBinding flow.
2161 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2163 * BaseDataBoundControl.cs:
2164 * CompositeDataBoundControl.cs: fixed DataBinding flow.
2166 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2168 * LinkButton.cs: show the validation summary when client validation
2169 and linkbuttons are used. Patch by Juraj Skripsky.
2171 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2173 * TextBox.cs: consider ToolTip property
2175 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2177 * ContainedTable.cs:
2178 * DataControlButton.cs:
2179 * DetailsView.cs: fixed EnablePagingCallbacks
2182 * GridView.js: fixed EnableSortingAndPagingCallbacks
2184 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2187 ResolveClientUrl used with LineImagesFolder, ExpandImageUrl,
2188 CollapseImageUrl and NoExpandImageUrl properties.
2190 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2192 * SqlDataSource.cs: Added parameters update on OnInit
2194 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2196 * LoginView.cs: fixed rendering LoggedInTemplate even after user
2199 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2204 control's behavior depends on using DataSource or DataSourceID
2205 property for binding
2207 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2209 * CommandField.cs: fixed:
2210 when ShowEditButton=false Update/Cancel button doesn't appear.
2211 when ShowInsertButton=false Insert/Cancel button doesn't appear.
2213 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2215 * Login.cs: fixed AuthenticateUser, should redirect to ReturnUrl when
2217 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2219 * Parameter.cs: fixed ConvertValue to coorect handle TypeCode.Empty
2220 * ObjectDataSourceView.cs: fixed MergeParameterValues,
2221 call Parameter.ConvertValue
2222 fixed ConvertParameter to hanlde TypeCode.Empty
2223 * SqlDataSourceView.cs: fixed InitializeParameters,
2224 call Parameter.ConvertValue
2225 fixed ParameterPrefix property
2226 fixed CreateDbParameter, added usege of ParameterPrefix
2228 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2230 * ListControl.cs: fixed: when is used with DataSourceID data bind is not
2231 perfomed on PostBack because Items collection is restored from View state.
2233 2006-12-26 Igor Zelmanovich <igorz@mainsoft.com>
2235 * DataGridPagerStyle.cs:
2240 * TableItemStyle.cs:
2245 fixed: Load/Save viewstate of WebControl does not call Load/Save viewstate
2246 for it's ControlStyle, but the shared ViewState is used to manage style's
2249 2006-12-21 Igor Zelmanovich <igorz@mainsoft.com>
2251 * CompleteWizardStep.cs:
2252 * CreateUserWizard.cs:
2253 * CreateUserWizardStep.cs:
2254 * TemplatedWizardStep.cs:
2256 fixed: CreateUserWizard works properly in advanced scenarios
2257 such being used with additional steps or/and with custom templates.
2258 Styles are aplied properly.
2260 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
2262 * SqlDataSourceView.cs: fixed InitializeParameters, parameters order
2263 parameters case insensetive search
2264 * ObjectDataSourceView.cs: fixed MergeParameterValues, parameters
2265 case insensetive search
2267 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2269 * Menu.cs: fixed: ResolveClientUrl used with src and href attributes
2271 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2275 TreeNodeCollapsed is not raised for leaf node.
2277 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2279 * DataGrid.cs, RepeatInfo.cs: fixed accessibility features
2281 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2283 * Calendar.cs: support DayNameFormat.Shortest
2285 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2287 * HiddenField.cs: implemented
2289 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2291 * FormView.cs: fixed: FillRowDataKey
2292 * DetailsView.cs: fixed: FillRowDataKey
2294 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2296 * TreeView.cs: fixed: ResolveClientUrl used with ImageUrl and NavigateUrl
2298 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2300 * Login.cs: refactored rendering, fixed OnAuthenticate event
2302 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2304 * GridView.cs: fixed: Update works not only for EditRow
2306 * CompositeDataBoundControl.cs:
2308 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2310 * RadioButton.cs: fixed:
2311 When GroupName is not defined UniqueID is used instead for name attribute.
2312 CheckedChanged is raised only when control is checked.
2314 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2316 * Menu.cs: fixed: rendering.
2318 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2320 * Menu.cs: fixed: rendering.
2322 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2327 fixed rendering for 2.0
2329 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2331 * DetaisView.cs: fixed: rendering.
2332 * DataControlButton.cs:
2335 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2337 * FormView.cs: fixed: avoid empty row rendering.
2339 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2341 * AdRotator.cs: fixed:
2342 MSDN: The ImageUrl and NavigateUrl attributes can be a full URL, a
2343 root-relative path, or a relative path. If you use a root-relative path,
2344 the path is relative to the same Web site. If you use a relative path,
2345 the path is relative to the directory that contains the advertisement file.
2347 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2349 * BaseCompareValidator.cs: fixed: support for type=Date on client side.
2351 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2353 * TreeView.cs: fixed: support for event validation.
2355 2006-12-04 Igor Zelmanovich <igorz@mainsoft.com>
2357 * DataGridPagerStyle.cs: chenged values of DataGridPagerStyles flags.
2359 2006-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2361 * CreateUserWizard.cs: implement GeneratePassword based on Membership.
2363 2006-11-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2365 * Wizard.cs: fixed GetStepType method that returned wrong type if the
2366 last step type is Complete.
2367 fixed ProcessEvent method, corrected FinishButtonClick behavior
2369 2006-11-26 Marek Habersack <grendello@gmail.com>
2371 * Calendar.cs: Fixed event validation registration. Now it
2372 registers all the arguments that can be passed by this control to
2375 2006-11-25 Marek Habersack <grendello@gmail.com>
2377 * FileUpload.cs: Implementation of SaveAs
2379 * TreeView.cs: A few optimizations for empty style collections.
2381 * Menu.cs: A few optimizations for empty style collections.
2383 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2385 * BoundField.cs: fixed: GetDesignTimeValue()
2387 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2389 * SiteMapDataSource.cs: fixed: GetViewNames()
2391 2006-11-23 Vladimir Krasnov <vladimirk@mainsoft.com>
2393 * ChangePassword.cs: implemented functionality
2394 * MailDefinition.cs: implemented CreateMailMessage method
2395 * PasswordRecovery.cs: implemented functionality
2397 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2399 * CircleHotSpot.cs: fixed:
2400 setting Radius with value <0 throws ArgumentOutOfRangeException.
2402 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2404 * CookieParameter.cs: fixed Evaluate method.
2406 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2408 * Parameter.cs: fixed Evaluate, ToString methods.
2409 * QueryStringParameter.cs: fixed Evaluate method.
2410 * SessionParameter.cs: fixed Evaluate method.
2412 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2414 * ImageMap.cs: fixed rendering.
2416 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2418 * HotSpot.cs: fixed: AccessKey and HotSpotMode
2419 throw ArgumentOutOfRangeException.
2421 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2423 * ControlParameter.cs: fixed: Evaluate method
2424 throws exceptions correctly.
2426 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2428 * CheckBox.cs: fixed: new 2.0 features such
2429 LabelAttributes and InputAttributes.
2431 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2433 * GridView.cs: fixed: header, footer and empty rows are databound.
2435 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2437 * Style.cs: added internal helper method RemoveTextStyles.
2439 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2441 * Button.cs: fixed: support for event validation.
2442 * CheckBox.cs: fixed: support for event validation.
2443 * FormView.cs: fixed: support for event validation.
2444 * ImageButton.cs: fixed: support for event validation.
2445 * ListBox.cs: fixed: support for event validation.
2446 * TextBox.cs: fixed: support for event validation.
2448 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2450 * DropDownList.cs: fixed: support for event validation.
2452 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2454 * LinkButton.cs: optimized: support for event validation.
2455 * DataControlButton.cs: Added support for event validation.
2456 * DetailsView.cs: fixed: RowIndex for DetailsViewRow.
2458 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2460 * LinkButton.cs: Added support for event validation.
2462 2006-11-17 Marek Habersack <grendello@gmail.com>
2464 * ImageButton.cs: Added support for event validation.
2466 * ListBox.cs: Added support for event validation.
2468 * Calendar.cs: Added support for event validation.
2470 * DropDownList.cs: Added support for event validation.
2472 * FormView.cs: Added support for event validation.
2474 * RadioButtonList.cs: Added support for event validation.
2476 * TextBox.cs: Added support for event validation.
2478 * BulletedList.cs: Added support for event validation.
2480 * CheckBox.cs: Added support for event validation.
2482 * Button.cs: Added support for event validation.
2484 2006-11-16 Igor Zelmanovich <igorz@mainsoft.com>
2486 * CreateUserWizard.cs: fixed: ActiveStepIndex property.
2488 2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>
2490 * ListControl.cs: fixed: DataBinding for 2.0, for 1.x - refactoring only.
2492 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2494 * GridView.cs: fixed: Rows property, DataBinding flow.
2495 * DataBoundControl.cs:
2496 * BaseDataBoundControl.cs:
2498 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2500 * CompositeDataBoundControl.cs: fixed:
2501 DataBind call Controls.Clear().
2503 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
2505 * CompositeDataBoundControl.cs: fixed:
2506 DataBind sets ChildControlsCreated=true.
2508 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2510 * Login.cs: fixed CreateChildControls, throws exception if needed
2512 * LoginView.cs: fixed CreateChildControls, check templates for null
2514 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2516 * Wizard.cs: fixed ActiveStepIndex property, fixed SideBar button
2517 rendering, fixed history updating
2518 * WizardStepCollection.cs: fixed implemented interfaces
2520 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2522 * XmlDataSource.cs: CacheKeyDependency fixed
2524 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
2526 * DetailsView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2528 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2530 * DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.
2532 2006-11-09 Vladimir Krasnov <vladimirk@mainsoft.com>
2534 * ParameterCollection.cs: fixed SetDirtyObject method
2535 * ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState
2536 utilization for control's properties, implemented caching
2537 * SqlDataSource.cs, SqlDataSourceView.cs: implemented caching
2539 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2541 * GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2543 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2545 * DataBoundControl.cs: fixed:
2546 ConfirmInitState method s called by
2547 the DataBoundControl class in its OnLoad method.
2549 2006-11-06 Igor Zelmanovich <igorz@mainsoft.com>
2551 * FormView.cs: fixed: DataBinding flow.
2553 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2555 * CustomValidator.cs: implemented ValidateEmptyText fixture.
2557 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2559 * BaseCompareValidator.cs: fixed: CultureInvariantValues, Type properties.
2561 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2563 * Menu.cs: fixed: RenderEndTag.
2564 Dynamic menu is rendered when StaticDisplayLevels=1
2566 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2568 * GridView.cs: fixed: UpdateRow, DeleteRow, RowCreated.
2570 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2572 * FormView.cs: fixed: UpdateItem, DeleteItem.
2574 2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>
2576 * DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.
2578 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2580 * RadioButtonList.cs: fixed: has no html output when Items.Count=0.
2582 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2584 * ListControl.cs: fixed: setting SelectedVolue for 2.0.
2586 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2588 * DataBoundControl: fixed: ValidateDataSource allows null as dataSource.
2590 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2592 * ListControl.cs: fixed: assigning SelectedIndex with too hight value.
2594 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2596 * ListControl.cs: fixed: DataBinding for 2.0.
2597 for 1.x refactoring only.
2599 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2601 * ChangePassword.cs: new class was implemented.
2603 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2605 * EmbeddedMailObject.cs: new class was implemented.
2606 * EmbeddedMailObjectsCollection.cs: new class was implemented.
2607 * MailDefinition.cs: new class was implemented.
2609 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2611 * PagerSettings.cs: fixed: CreatePagerControl.
2613 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2615 * CommandField.cs: fixed:
2616 considers CaseValidation, ValidationGroup, ButtonType.
2617 * DataControlButton.cs: refactoring:
2619 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2621 * DetailsView.cs: implemented: GetCallbackScript method.
2623 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2625 * FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2627 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2629 * FormFiew.cs: fixed: UpdateItem, InsertItem.
2631 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2633 * FormFiew.cs: fixed: PageIndex, rendering.
2635 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2637 * DropDownList.cs: fixed: rendering "name" attribute".
2639 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2641 * GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2642 * DataControlButton.cs:
2643 * CommandField.cs: CausesValidation feature must be implemented other way
2645 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2647 * CompositeDataBoundControl.cs: fixed: CreateChildControls flow.
2649 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2651 * FormView.cs: fixed: OnBubbleEvent returns true when event is handled.
2653 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2655 * DetailsView.cs: fixed: OnBubbleEvent works properly.
2657 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2659 * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
2661 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2663 * DetailsView.cs: fixed: CurrentMode property.
2665 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2667 * DetailsView.cs: fixed: current state are not changed during paging.
2669 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2671 * DetailsView.cs: fixed:
2672 in Insert mode Select not invoked from DataSource
2674 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
2676 * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
2678 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2680 * FormView.cs: fixed: CreateDataSourceSelectArguments method.
2681 (corresponding test does not work because bug in ObjectDataSourceView)
2683 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2685 * DataBoundControl.cs: fixed: DataBind calls
2686 CreateDataSourceSelectArguments() and stores result in SelectArguments
2688 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2692 fixed: EnablePagingCallbacks feature.
2693 when postback is invoked after callback control state is restored
2696 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2698 * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
2700 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2702 * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
2703 (corresponding test does not work because bug in ObjectDataSourceView)
2705 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2707 * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
2708 when postback is invoked after callback control state is restored
2711 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2713 * GridView.cs: fixed: Sorting feature.
2714 When sorting EditIndex and PageIndex are reseted
2716 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2718 * GridView.cs: fixed: Sorting feature.
2719 CreateDataSourceSelectArguments considers SortExpression and SortDirection.
2720 (corresponding test does not work because bug in ObjectDataSourceView)
2722 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2724 * GridView.cs: fixed:
2725 CreateDataSourceSelectArguments works according to MSDN.
2726 (corresponding test does not work because bug in ObjectDataSourceView)
2728 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2730 * ObjectDataSourceView.cs: fixed:
2731 CanRetrieveTotalRowCount returns true if EnablePaging = false
2733 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
2735 * DataBoundControl.cs: fixed: DataBind flow
2736 CreateDataSourceSelectArguments() is called
2737 each time as DataBind() is called
2739 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2741 * BoundField.cs: implemented ValidateSupportsCallback().
2743 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2745 * CommandField.cs: ValidateSupportsCallback(): exception's message.
2747 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2749 * FormView.cs: fixed: CurrentMode property.
2751 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2757 reverted r66222, problem solved in r66283: command buttons inherit ForeColor
2759 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2761 * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
2764 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2766 * HyperLink.cs: don't render the img tag 'by hand' but use an Image
2767 instead, which takes care of the 0/0px case. Also set the ToolTip
2768 property. Fixes bug #79585.
2770 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2772 * DetailsView.cs: optimization for previous patch
2774 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2776 * FormView.cs: optimization for previous patch
2778 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2781 * DetailsViewRow.cs:
2782 implemented PrepareControlHierarchy()
2783 styles are applied correct
2785 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2788 implemented PrepareControlHierarchy()
2789 styles are applied correct
2791 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2794 * DataControlButton.cs:
2795 * DataControlField.cs:
2796 implemented PrepareControlHierarchy()
2797 styles are applied correct
2798 command buttons inherit ForeColor
2800 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2802 * WebControl.cs: fixed: CreateControlStyle()
2804 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2810 corrected pager rendering: Color style applied to A tag,
2811 Input type="image" used if ImageUrl is not empty.
2813 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2815 * GridView.cs: corrected rendering
2816 * ContainedTable.cs: added new helper class
2818 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2820 * FormView.cs: fixed:
2821 in Insert mode Select not invoked from DataSource
2823 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2825 * FormView.cs: fixed:
2826 Pager is not shown when page count < 1
2827 in Edit mode use EmptyDataTemplate if there is no DataItem
2828 when page changed FormView stays in current state.
2830 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
2832 * FormView.cs: fixed: OnBubbleEvent works properly
2834 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
2836 * DataBoundControl.cs: fixed: DataBind flow
2837 GetData return "empty" DataSourceView when no DataSource and DataSourceID
2838 was assigned to cause PerformDataBinding be called.
2840 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2842 * DataList.cs: use ExtractTemplateRows to determine if the style is
2843 applied to the Table in a template or to its rows. Fixes bug #78058.
2845 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2847 * ListBox.cs: if the list is not enabled, don't require a postback.
2850 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2852 * HyperLink.cs: don't output the nabvigate url if disabled.
2853 * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
2854 the link URL if disabled.
2857 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2859 * RadioButtonList.cs:
2860 make it to consider CausesValidation and ValidationGroup properties
2862 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2865 make it to consider CausesValidation and ValidationGroup properties
2867 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2870 Page.Validate() is called when CausesValidation=true
2872 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2875 make onclick attribute to consider ValidationGroup property.
2877 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2880 make rendering of the href attribute to consider ValidationGroup property.
2881 Page.Validate() is called when CausesValidation=true
2883 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2886 make rendering of the onchange attribute to consider ValidationGroup
2888 Page.Validate() is called when CausesValidation=true
2890 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2893 make rendering of the onclick attribute to consider ValidationGroup property
2894 Page.Validate() is called when CausesValidation=true
2896 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2899 VewState saving and restoring rolled back to 1.1 implementation
2900 (fixed corresponding test), corrected public interface (there are no
2901 overriden methods SaveControlState, LoadControlState and OnInit),
2902 implemented CausesValidation and ValidationGroup properties.
2904 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2907 make rendering of the onclick attribute to consider ValidationGroup property
2908 Page.Validate() is called when CausesValidation=true
2910 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2913 implemented: RaisePostBackEvent,
2914 refactoring: GetPostBackOptions used to build onclick client event
2916 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2918 * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
2920 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2922 * BaseValidator.cs: implemented ValidationGroup feature on client side
2923 * ValidationSummary.cs:
2925 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
2927 * TreeView.cs: corrected rendering
2930 2006-09-11 Konstantin Triger <kostat@mainsoft.com>
2932 * Login.cs: ensure the urls are correctly resolved.
2934 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2936 * TreeView.cs: corrected rendering: styles are applied correct
2940 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2942 * TreeView.cs: corrected rendering: HoverNodeStyle works
2946 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2948 * TreeNodeStyle.cs: fixed: ViewState restored properly
2950 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2954 * TableItemStyle.cs:
2955 * DataGridPagerStyle.cs:
2956 refactoring: makes Style class more flexible for inheriting and reuse
2958 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2960 * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked
2961 state restored correct on PostBack.
2964 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2966 * ObjectDataSourceView.cs: correctly find the type when it is not in the
2967 executing assembly. Fixes bug #78321. Patch by Marek Habersack.
2969 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2971 * ControlParameter.cs: fix search for controls so that they use their
2972 NamingContainer, not the Page. Patch by Marek Habersack that fixes
2975 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2977 * Login.cs: fix problem with the login control and master pages.
2978 Patch by Marek Habersack that fixes bug #78219.
2980 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
2982 * TreeView.cs: fixed: populating nodes.
2985 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
2987 * TreeNode.cs: fixed: ToggleExpandState.
2989 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
2991 * SqlDataSourceView.cs: return DataView from ExecuteSelect when
2992 DataSourceMode is DataSet.
2994 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2996 * TreeView.cs: fixed: populating nodes flow.
2997 * TreeNodeCollection.cs
3000 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3002 * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.
3004 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3006 * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.
3008 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3010 * TreeView.cs: fixed: when specified value is not one of
3011 the TreeNodeTypes values exception is threw.
3013 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3015 * TreeView.cs: fixed: when specified image set is not one of
3016 the TreeViewImageSet values exception is threw.
3018 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
3020 * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.
3022 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
3024 * Style.cs: implemented SetBit().
3026 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3028 * CompareValidator.cs: fixed controltocompare attribute.
3030 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3033 when login attempt was not successful FailureText is shown.
3035 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3037 * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage
3038 is formatted correct.
3040 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3042 * CreateUserWizard.cs:
3043 * CompleteWizardStep.cs:
3044 * CreateUserWizardStep.cs:
3046 fixed: ContinueButtonClick occurs when the user clicks
3047 the Continue button in the final user account creation step.
3048 ContinueDestinationPageUrl - redirected after clicking
3049 the Continue button on the success page.
3051 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3053 * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
3054 insted internal DataControlButton.
3056 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3058 * Button.cs: implemented GetPostBackOptions + refactoring
3060 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3062 * ImageButton.cs: implemented 2.0 features
3063 OnClientClick attached to onclick attribute.
3064 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3065 generate onclick attribute.
3067 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3069 * LinkButton.cs: typo fix
3071 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3073 * Button.cs: refactoring
3075 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3077 * LinkButton.cs: implemented 2.0 features
3078 OnClientClick attached to onclick attribute.
3079 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3082 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
3084 * Button.cs: implemented 2.0 features
3086 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
3088 * Menu.cs: refactoring
3091 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3093 * TreeView.cs: fixed data binding
3095 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3097 * TreeNodeBinding.cs: fixed ToString method
3099 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3101 * MenuItem.cs: typo fix
3103 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3105 * CreateUserWizardStep.cs: fixed validators message display
3107 2006-08-25 Kornél Pál <kornelpal@gmail.com>
3109 * FileUpload.cs: Use assembly name constants.
3111 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3113 * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
3114 always creates ExtractTemplateValuesMethod delegate
3116 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
3118 * TreeNodeBinding.cs: corrected public interface
3121 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3123 * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
3124 case, but there are many others.
3126 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3128 * Menu.cs: corrected rendering of static and dynamic items
3131 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3135 fixed: AddAttributesToRender method calls FillStyleAttributes,
3136 text styles applied correct.
3138 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3141 fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
3142 refactoring: Name and Names properties has same source in bag.
3144 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3146 * Style.cs: restored r63894: for 1.x is refactoring only
3148 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3151 fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
3152 added ClearDefaults method for 2.0.
3154 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3156 * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
3159 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3161 * SubMenuStyle.cs: fixed:
3162 Unit.ToString() already include unit (e.g. "3px")
3164 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3167 * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
3168 submitted for review and it only added tests for the 2.0 profile.
3170 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3172 * FormView.cs: added explicit implementation of
3173 IDataItemContainer.DataItemIndex, as documented
3175 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
3178 When style is registered with StyleSheet AddAttributesToRender method
3179 adds class attribute but not style to writer
3181 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
3184 OnBubleEvent works properly - controls like Button, LinkButton nested into template
3185 can raise MenuItemClick event,
3186 ViewState of Items saved and restored properly.
3188 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
3190 * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
3193 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
3195 * Menu.cs: fixed databinding feature:
3196 ensure that items initialization occurs only once
3198 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
3200 * Menu.cs, MenuItem.cs: fixed databinding feature
3202 2006-08-09 Robert Jordan <robertj@gmx.net>
3204 * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
3205 replace ResolveUrl with ResolveClientUrl to match MS.NET's
3206 behaviour. Fixes bug #77539.
3208 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
3210 * HierarchicalDataBoundControl.cs: fixed DataBind flow
3212 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3218 * WebControl.cs: fixed ParseChildren attribute to be compliant
3221 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3223 * MultiView.cs: fixed: EnableTheming property
3225 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3229 * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
3231 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3233 * Style.cs: fixed restoring FontInfo from ViewState
3235 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3237 * XmlDataSource.cs: implemented caching functionality
3239 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3241 * PagerSettings.cs: Fixed the pager range calculation formula. The old
3242 one didn't work with more than 20 pages. Patch by Marek Habersack that
3245 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3247 * FormView.cs: fixes to make Render more similar to dotnet.
3249 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
3251 * Wizard.cs: fixed return value of OnBubbleEvent
3253 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3255 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
3256 handle null result of GetData().
3258 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3260 * FormView.cs: use TableStyle for ControlStyle.
3262 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3264 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
3266 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3268 * FormView.cs: init DataKeys and fix null reference.
3270 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3272 * TreeView.cs: several changes to improve compatibility with MS.
3273 Patch by Marek Habersack that fixes bug #77551.
3275 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3277 * Style.cs: output the text-decoration value even when it is 'none'.
3278 Patch by Marek Habersack that fixes bug #78968.
3280 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3282 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
3285 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3287 * DetailsViewRowCollection.cs: returns this in SyncRoot.
3289 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3291 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
3294 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3296 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
3298 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3300 * AutoGeneratedField.cs: fix the internal constructor according to test
3301 DetailsView_CreateAutoGenerateRow.
3303 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
3305 * XmlDataSource.cs: implemented XSLT, removed properties from
3307 * XmlDataSourceView.cs: fixed default xpath
3309 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
3311 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
3313 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
3315 * Wizard.cs: fixed ActiveStep property
3316 fixed templated side bar
3318 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3320 * ImageField.cs: fix null reference bug.
3322 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3324 * DetailsView.cs: init DataKey property with empty collection.
3325 * DataKey.cs: fix unexpected exception bug.
3326 * DataControlField.cs: override ToString according to MSDN.
3328 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3330 * DetailsView.cs: create table style in CreateControlStyle.
3332 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3334 * DetailsView.cs: don't throw the exception which .Net does not throw.
3336 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3338 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
3339 to match .Net; fix PageCount to match record count.
3341 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3343 * Menu.cs: fixed properties default values, fixed rendering
3346 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3348 * Wizard.cs: implemented SkipLinkText, TagKey
3349 fixed rendering bugs, fixed templated button bar rendering
3350 fixed side bar rendering
3351 * WizardStepBase.cs: fixed Name property
3353 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3355 * DetailsView.cs: fix the regressions, caused by the previous commit.
3357 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3359 * DetailsView.cs: correct handling the different default values of
3360 DetailsView.CellSpacing and Table.CellSpacing.
3362 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3364 * DetailsView.cs: create a pager row when needed.
3366 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3370 * PagedDataSource.cs:
3373 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
3374 support it. The GridView control will no longer throw an exception when
3375 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
3377 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3379 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
3380 Rows with empty collection; call EnsureChildControls from get Row;
3381 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
3382 implemented IPostBackContainer.GetPostBackOptions.
3384 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3386 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
3387 and FooterText are empty, to match .NET. Otherwise we have NullReference
3390 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3392 * DetailsView.cs: Render fix.
3394 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3396 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
3399 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3401 * DetailsView.cs: NullReferenceException fix
3403 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3405 * PagerSettings.cs: implemented PropertyGhanged event
3407 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3409 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
3410 with .Net; don't throw NotImplemented when base class implementation
3413 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3415 * DetailsViewPagerRow.cs: add a stub for this class
3417 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3419 * GridView: fixed DataKeyNames property, moved to ControlState
3420 fixed PageCount property, initial PageCount ahould be zero
3421 fixed SelectedDataKey, should throw exception if not initialized
3422 fixed CreateColumns, wrong order of columns
3423 fixed CreateControlStyle,
3424 fixed InitializePager, no columnspan attrib on only one column
3425 fixed LoadControlState, SaveControlState added DataKeyNames
3426 fixed Render, RenderGrid should render within div tag
3427 implemented GetPostBackOptions
3428 * DataControlButton.cs: fixed Render, fixed style for img button
3430 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3432 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
3435 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3437 * CommandField.cs: fixed ValidateSupportsCallback
3439 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3441 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
3442 affect the flow yet.
3444 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3446 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
3448 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3450 * WebControl.cs: fix for AddAttributesToRender - add display
3451 style when appropriate
3453 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3455 * CommandField.cs: fixed InitializeCell, wrong order of command
3457 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
3458 should be rendered as label
3459 * BoundField.cs: empty null value should be rendered as nbsp
3460 * GridViewRowCollection.cs: fixed SyncRoot
3462 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3464 * SiteMapPath.cs: create Literal instead of Label according to the
3465 MSDN and test SiteMapPath_InitializeItem.
3467 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3469 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
3470 * Image.cs: in 2.0 there is no border attribute, but border-width
3473 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3475 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
3477 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3479 * DataList.cs: correctly initialize editable items when there's an
3480 EditItemTemplate. Patch by Jarosław Pawlak.
3482 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
3484 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
3487 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3489 * BulletedList.cs: fixed Render, RenderBulletText, various properties
3490 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
3493 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3495 * MultiView.cs: 'initied' state variable was changed to views count in
3496 the views collection.
3498 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3500 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
3501 checkbox should have tooltip
3502 * HyperLinkField.cs: fixed InitializeCell, should create link control
3503 only in data cell (not in header or footer), initialization of
3505 * ImageField.cs: fixed InitializeDataCell, initialization of
3508 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3510 * MultiView.cs: removed exception throwing from ActiveViewIndex
3512 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
3514 * DataControlFieldCollection.cs: added OnClearComplete override;
3515 refactor to eliminate null reference exception.
3517 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3519 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
3520 * View.cs: fixed Visible property
3522 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
3524 * ImageField.cs: fixing .net compliancy.
3526 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
3528 * SiteMapPath.cs: fix the default PathSeparator value.
3530 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3532 * GridView.cs: always create Header/Fotter rows, but render only when
3533 ShowHeader/Footer is true. Compute Header/Footer rows from rows
3535 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
3536 add ToolTip and Text to the created CheckBox,
3537 wrap exception thrown in OnDataBindField in httpException.
3539 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3541 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
3543 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3545 * DataControlField.cs: correct handling empty header/footer text.
3546 * TemplateField.cs: correct initialization according to
3547 DataControlRowState.
3549 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
3551 * Wizard.cs: added functionality for Templated WizardStep
3552 and CreateUserWizard
3553 * added CompleteWizardStep.cs, CreateUserWizard.cs,
3554 CreateUserWizardStep.cs, TemplatedWizardStep.cs
3556 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3558 * AutoGeneratedField.cs: correcting default dataType.
3560 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3562 * DataControlField.cs: fixed Initialize, should always return false
3564 2006-07-03 Lluis Sanchez <lluis@novell.com>
3566 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
3568 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3570 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
3571 setting RequiresDataBinding in OnLoad event.
3572 * GridView.cs: DataBind rows before other control can access the data.
3573 * BoundField.cs: add unique ID to control for postback parameters.
3575 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3577 * WebControl.cs: fix typo in EnableTheming.
3579 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
3581 * MenuItemCollection.cs: save items if the collection is dirty.
3582 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
3583 Add item to collection before binding to let the state be correctly tracked.
3584 * Menu.cs: Add item to collection before binding to let the state be correctly
3587 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
3589 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
3590 test against with "^...$" if necessary. MS.NET does this too.
3592 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
3594 * WizardStepCollection.cs: Fixed Add methods to initialize
3595 WizardStep.Wizard property
3596 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
3597 Fixed GetStepType, if only one step present, it should be FinishStep
3598 Fixed styles of tables for more accurate rendering, fixed Wizard
3601 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
3603 * FormView.cs: instantiate correct template when the bounding data source is
3606 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
3608 * FormView.cs: disabling setting out of range FormView.PageIndex.
3610 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
3612 * FileUpload.cs: added
3614 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
3616 * FormView.cs: handle CssClass attribute
3618 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3620 * Button.cs: do something in PostBackUrl.
3621 * Repeater.cs: when creating the RepeaterItemCollection, initialize
3622 'items' if it hasn't been done yet. Fixes bug #78417.
3624 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
3626 * BaseDataList.cs: added ConnectToDataSource method that called from
3627 OnLoad, fixed GetData method
3628 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
3631 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
3633 * Menu.cs: add CssStyle value to the rendered class attribute
3635 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
3637 * Calendar.cs: Make sure WebControls.Enabled is respected.
3638 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
3639 to 12:00am as MS.NET does the same.
3642 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3644 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
3645 DataSourceViewChanged, looks for a datasource in its parent control
3646 fixed GetData method, should not get data if datasource is null
3648 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
3650 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
3652 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3654 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
3656 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3658 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
3660 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3662 * DataList.cs: Fixed LoadViewState method
3664 2006-05-04 Lluis Sanchez <lluis@novell.com>
3666 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
3668 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3670 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
3672 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3674 * FormView.cs: fix FormView.PageCount after data binding.
3676 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3678 * CheckBox.cs: certain attributes have to be rendered in the input tag,
3679 not the <span>. Fixes bug #71251.
3681 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3683 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
3686 ensure rebinding when FormView.PageIndex is called.
3687 and bind to the correct PageIndex.
3689 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3691 * MenuItem.cs: when binding to IHierarchyData, check whether
3692 it implements INavigateUIData and retrieve NavigateUrl.
3693 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
3695 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
3696 Provide basic CreateChildControls implementation by ensuring the control is bound.
3697 Ensure the child controls are created when the postback event is raised.
3698 Provide default implementation for SkipLinkText to let the default functionality to work.
3700 2006-04-11 Lluis Sanchez <lluis@novell.com>
3702 * TreeNodeBinding.cs: Added HasPropertyValue property
3703 to check if some properties have a value in the
3705 * TreeNode.cs: Lazily get the dataPath. Instead of getting
3706 bound properties when they are requested, get all of
3707 them when the node is bound and store their values in
3708 the state bag. In this way it won't be necessary to
3709 query every time the datasource to get the values.
3710 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
3711 * TreeView.cs: Call base in OnInit(). Bind nodes after
3712 adding them to the list, to properly keep track of
3713 changes. Don't databind in postbacks.
3715 2006-04-11 Chris Toshok <toshok@ximian.com>
3717 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
3719 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3721 * BaseDataList.cs: Fix searching control by DataSourceID.
3722 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
3725 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3727 * Login.cs: Added LayoutTemplate property support.
3728 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
3729 DataBind: correctly bind child controls.
3730 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
3732 2006-03-29 Robert Jordan <robertj@gmx.net>
3734 * DataGrid.cs: if custom paging is enabled the persisted item count
3735 must be the count of the rendered items, otherwise paging from the
3736 last to a previous page won't work correctly. Fixes bug #77556.
3738 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
3740 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
3741 when rendering disabled list control
3743 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3745 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
3747 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
3749 * FontInfo.cs: Implemented ShouldSerializeNames
3751 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3753 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
3755 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3757 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
3759 in PrepareControlHierarchy fixed style applying to AlternatingItem
3761 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
3763 * DataList.cs: fixed RepeatColumns property, added value validation
3764 in PrepareControlHierarchy method fixed style applying for
3765 AlternatingItem, EditItem and Separator item
3766 fixed RenderContents method, if no items exist, no nned to
3767 render emty table strructure.
3769 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3771 * CompareValidator.cs: when searching for the control to compare, use
3772 NamingContainer instead of Page. Fixes bug #77793.
3774 2006-03-15 Chris Toshok <toshok@ximian.com>
3776 * SiteMapPath.cs (InitializeItem): in the Current and Root node
3777 cases, apply the NodeTemplate if it exists and there isn't a
3778 CurrentNodeTemplate or RootNodeTemplate, respectively.
3780 2006-03-15 Chris Toshok <toshok@ximian.com>
3782 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
3784 * SiteMapDataSource.cs (StartingNodeOffset): new property.
3785 (GetStartNode): add code to handle StartNodeOffset < 0.
3787 * CompositeControl.cs
3788 (ICompositeControlDesignerAccessor.RecreateChildControls): just
3789 call the non-iface method.
3791 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
3792 traverse up the naming container tree looking for our datasource
3793 if we're bound using a DataSourceID. This fixes things in the
3794 sitemap1 test, which uses a mixture of templates and
3795 ContentPlaceholders with the sitemapdatasource and sitemappath at
3796 different levels in the naming container tree (let along the
3799 * SiteMapPath.cs (DataBind): implement this by chaining up to
3800 base.DataBind, then by looping over our children, emitting
3801 OnItemDataBound for each SiteMapNodeItem.
3802 (AddAttributesToRender): remove.
3803 (CreateChildControls): call DataBind as the final step here.. I
3804 have, of course, no idea if this is right.
3805 (CreateControlHierarchy): don't databind our children here, as
3806 they need to be in the Controls collection before we do.
3807 (RenderContents): render our accessibility/screenreader stuff
3808 here, if SkipLinkText != "".
3810 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
3812 * DataGridPagerStyle.cs: fixed PrevPageText property
3814 2006-03-13 Chris Toshok <toshok@ximian.com>
3816 * BaseCompareValidator.cs (Convert): make the
3817 ValidationDataType.String case a bit more compact.
3819 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3822 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
3823 Patch by Hubert Fongarnand.
3825 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3827 * FontInfo.cs: fixed CopyFrom, this method should not reset the
3828 received fontinfo if it is the same instance
3829 fixed ToString, corrected output where only font size specified
3831 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3833 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
3834 if it not set but the border has width
3835 fixes in CopyFrom, MergeWith correct unit compare when it has zero
3838 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3840 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
3841 properties of custom class
3842 fixed InitializeNumericPager, pager numbers should be a Label control
3843 fixed CreateControlHierarchy, corrected dataset index of items if
3846 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
3848 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
3850 fixed CreateControlStyle to set correct cellspacing of table style
3851 fixed InitializeItem to correct applying template to selected and
3854 2006-03-08 Chris Toshok <toshok@ximian.com>
3856 * SiteMapNodeType.cs: nuke.
3858 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
3859 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
3860 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
3861 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
3862 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
3863 ValidationCompareOperator.cs, ValidationDataType.cs,
3864 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
3865 [Serializable] in 2.0.
3867 * DayNameFormat.cs: add "Shortest".
3869 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3871 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
3874 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3876 * TextBox.cs: fixed missing value validations, fixed rendering
3877 of empty value attribute
3879 2006-03-07 Chris Toshok <toshok@ximian.com>
3881 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
3882 by chaining up to base.EnableTheming.
3884 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
3886 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
3888 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
3890 * RadioButton.cs: added ValueAttribute property to store the button
3892 * RadioButtonList.cs: fixed tab index when rendering.
3894 2006-03-02 Chris Toshok <toshok@ximian.com>
3896 * WebControl.cs (SkinID): implement setter/getter, and have them
3897 just chain up to base.SkinID.
3899 2006-02-27 Chris Toshok <toshok@ximian.com>
3901 * SqlDataSource.cs: track change to DataSourceControl's protected
3904 * AccessDataSource.cs: same.
3906 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3908 * ListControl.cs: fixed SelectedIndex property, fixed selection
3909 reset on incorrect value
3911 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3913 * TableStyle.cs: fixed AddAttributesToRender function, style
3914 BorderCollapse:Collapse was added if table's CellSpacing is zero
3916 2006-02-23 Chris Toshok <toshok@ximian.com>
3918 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
3919 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
3920 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
3921 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
3922 ImageButton.cs, ImageField.cs, Literal.cs,
3923 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
3925 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
3926 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
3927 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
3928 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
3929 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
3930 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
3931 errors. most were caused by a property/method being virtual when
3932 it shouldn't be, or vice versa.
3934 2006-02-22 Chris Toshok <toshok@ximian.com>
3936 * ObjectDataSource.cs: corcompare work.
3938 2006-02-22 Chris Toshok <toshok@ximian.com>
3940 * ParameterCollection.cs: add an EditorAttribute to the class.
3942 * Parameter.cs: cleanup, fix the Value property, and implement the
3945 * SqlDataSourceView.cs: clean things up a bit, and add handling
3948 2006-02-22 Chris Toshok <toshok@ximian.com>
3950 * SqlDataSourceFilteringEventArgs.cs: formatting.
3952 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
3953 both the property and ctor arg.
3955 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
3956 not CommandEventArgs. Also, cast the return value of
3957 oleCommand.ExecuteReader.
3959 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
3961 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
3962 (GetPhysicalDataFilePath): implement, again naively. this is
3963 where the NRE is generated when we access ConnectionString in a
3965 (ConnectionString): dynamically generate this based on our
3967 (DataFile): clear the ConnectionString in the setter so we'll
3969 (ProviderName): use base.ProviderName in the getter, not
3970 this.ProviderName, so we don't recurse infinitely.
3972 * SqlDataSourceView.cs: start reworking this class.
3974 * SqlDataSource.cs (GetDbProviderFactory): implement this,
3975 following the MS docs on the matter (if ProviderName is null/"",
3976 return SqlClientFactory.Instance.)
3977 (GetDbProviderFactoryInternal): add an internal method for use by
3979 (TrackViewState): don't invoke View.TrackViewState unless we have
3981 (Selecting): change event handler type to match MS.
3982 (Filtering): add missing event.
3983 (View): call CreateDataSourceView, don't just create an
3986 2006-02-21 Chris Toshok <toshok@ximian.com>
3988 * BoundField.cs: ues the ViewState.Get* pattern with default
3989 instead of the explicit ViewState lookup + null check, and fix the
3990 scope of InitializeDataCell.
3992 * ButtonField.cs: ues the ViewState.Get* pattern with default
3993 instead of the explicit ViewState lookup + null check.
3995 * CommandField.cs: same.
3997 * CheckBox.cs: same.
3999 * AutoGeneratedFieldProperties.cs: same.
4001 * BaseDataList.cs: same.
4003 * CircleHotSpot.cs: same.
4005 * BulletedList.cs: same.
4007 * DataBoundControl.cs: same.
4009 * CookieParameter.cs: same.
4011 * ControlParameter.cs: same.
4013 * CustomValidator.cs: same.
4015 * ButtonFieldBase.cs: same.
4017 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
4019 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
4021 * BaseValidator.cs: same, and clean up the getter/setter formatting.
4023 * CompareValidator.cs: same.
4025 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4027 * ListControl.cs: fixed DataSource property, to throw
4028 ArgumentException on incorrect value
4030 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4032 * Image.cs: fixed missing border="0" attribute, when image has style,
4033 but border width is not specified.
4035 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4037 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
4038 correct the "disabled" attribute in CheckBoxList
4039 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
4040 attribute in CheckBoxList
4042 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4044 * CheckBox.cs: fixed Render function, removed rendering of empty
4045 <span> element if ControlStyleCreated but it's empty.
4046 fixed "disabled" attribute, it should be placed into span element
4048 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4050 * BoundColumn.cs: fixed InitializeCell function, if DataField is
4051 null or empty string, the cell should not be bound.
4053 2006-02-08 Chris Toshok <toshok@ximian.com>
4055 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
4056 AppendDataBoundItems != false. Also, split all the databinding
4057 logic out to DoDataBinding, which we call from here only if
4059 (DoDataBinding): new function. actually perform the binding.
4060 (PerformDataBinding): implement.
4061 (PerformSelect): chain up to base class.
4063 2006-02-07 Chris Toshok <toshok@ximian.com>
4065 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
4067 * Content.cs: use ContentControlBuilderInternal, and add a bunch
4068 of unused (for now) EventHandler's here.
4070 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
4073 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4075 * ListControl.cs: bound checking for Items when loading the control
4076 state, as the number might have been changed on the fly. Patch by
4079 2006-01-22 Chris Toshok <toshok@ximian.com>
4081 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
4083 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
4084 the intended comparison right and quiet mcs.
4086 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4088 * Button.cs: Add semicolon after client script if does not exist.
4090 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4092 * Button.cs: preserve user logic when adding client validation.
4094 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4096 * BaseValidator.cs: fixing visibility bahavior
4098 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4100 * RangeValidator.cs: allow empty data from the control. Patch from Marek
4101 Habersack that fixes bug #77239.
4103 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4105 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
4106 by Cyrille Colin. Closes bug #77184.
4108 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
4110 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
4111 compilation pass with csc 1.1.
4113 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4115 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
4117 2005-12-07 Chris Toshok <toshok@ximian.com>
4119 * BaseValidator.cs: in the uplevel rendering case, don't render
4120 the text if the validator's Display attribute is "None". Should
4123 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4125 * RadioButton.cs: if the 'value' attribute is set explicitly (as
4126 RadioButtonList does now), use that as the 'name' attribute.
4127 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
4132 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4134 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
4135 the 'name' attribute when not aligninng to the right.
4136 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
4137 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
4139 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4141 * DataGrid.cs: clear the control collection on every call to
4142 CreateControlHierarchy. Fixes bug #76732.
4144 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4146 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
4148 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4150 * CheckBox.cs: use the NameAttribute property for setting 'name'.
4151 * RadioButton.cs: get a UniqueID based identifier for 'name'.
4154 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4156 * LinkButton.cs: don't output any javascript when the linkbutton is
4157 disabled. Fixes bug #76713.
4159 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4161 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
4162 UseAccesibleHeader property is true. Patch by Robert Jordan.
4164 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4166 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
4167 control to validate. Fixes bug #76641.
4169 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4171 * BoundColumn.cs: when the column is readonly and we're in edit mode,
4172 keep it as a TextBox. Fixes bug #76714.
4174 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4176 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
4177 enabled. Fixes bug #76608.
4179 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4181 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
4182 the logic to Render and make it render the ID, which fixes bug #76596.
4184 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4186 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
4188 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4190 * Literal.cs: allow LiteralControl as child, but instead of adding it
4191 to the control collection, it just gets the Text out of it.
4193 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4195 * PagedDataSource.cs: fix range when we're at the last page.
4196 * DataGrid.cs: only need to keep the item count in the viewstate.
4199 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4201 * ListControl.cs: made GetSelectedIndices() internal.
4202 * ListBox.cs: html-encode the item text. Fixed single and multiple
4203 selection handling. All the tests pass now. Closes bug #76478.
4205 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4207 * ListControl.cs: throw when the selected value is not in the
4208 items collection. Fixes bug #76415.
4210 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4212 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
4213 throw a nullref, so we have to do it by ourselves here to make
4216 * BaseValidator.cs: render the text of the error message even if
4217 we set IsValid programatically. Don't use 'valid' directly, as
4222 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4224 * CustomValidator.cs: an empty ControlToValidate is valid.
4226 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
4228 * RequiredFieldValidator.cs: Added missing permissions.
4230 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4232 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
4233 Now the items get the attributes from the styles in datalist. Add the
4234 separators after each item, not before. GetItemStyle returns the actual
4235 item style, not the styles in the datalist. Fixes bug #76384 and all
4238 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4240 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
4243 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4245 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
4248 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
4250 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
4251 inheritance demands.
4252 * FontUnit.cs: Structs are sealed so there's no need for inheritance
4254 * Unit.cs: Structs are sealed so there's no need for inheritance
4257 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4259 * PagedDataSource.cs: fix the upper bound for collection and ilist
4262 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4264 * DataGrid.cs: change the ListItemType for the item selected, set
4265 SelectedIndex before calling OnSelectedIndexChanged and set the selected
4266 item type correctly when creating the columns. Fixes bug #76334.
4269 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
4270 selecting the row, the button keep the regular link color.
4272 * DataGridColumn.cs: made the class internal.
4274 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4276 * DataGrid.cs: fix breakaga of alternating item style in one of my
4279 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4281 * Calendar.cs: remove Console.
4282 * ListBox.cs: the name is the UniqueID, not the ClientID.
4283 * WebControl.cs: Attributes is case insensitive.
4285 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4287 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
4288 UniqueID without appending a ".x" or ".y". Fixes several issues in
4289 mojoPortal. Thanks to Joe Audetter for his patience.
4291 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4293 * ButtonColumn.cs: it was lacking databinding, so copied most of it
4296 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4298 * FontInfo.cs: removed useless ctor.
4299 * Style.cs: keep here some commented out debugging code.
4300 * DataGrid.cs: the Items property does not create a new arraylist if
4301 the items_list was already initialized. Add case for Separator.
4302 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
4303 in the header columns has a special ForeColor handling.
4305 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4307 * DataGrid.cs: PageCount must persist in ViewState too and returns the
4308 number of pages in the paged data source once we set that. Fix checks
4309 for visibility of the pager: no more 2 pagers when custom paging is
4312 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4314 * ImageButton.cs: fix a bug reported on the list. We were triggering the
4315 command event on every POST. And the 'name' attribute was not being
4316 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
4317 and we couldn't find the values.
4319 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4321 * DataGrid.cs: fix the links for the numeric pager.
4323 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4325 * DataGrid.cs: when paging is enable, the actual number of items is not
4326 the number of items rendered before the postback, but that number times
4327 the number of pages. Now we store the page count in the viewstate. Also,
4328 as the number might be big, don't allocate an array of objects to fake
4329 the collection for the PagedDataSource, but use the new NCollection
4330 class instead, which provides cheap (memory wise) enumerator for an
4331 arbitrary number of items. Thanks to "Adriano" for the test case.
4333 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4335 * Xml.cs: the show must go on. Removed a few NotImplemented.
4337 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4339 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
4340 existing code in 1.1 (or viceversa). RenderContents() does nothing.
4342 * DataGrid.cs: changed autoid api.
4344 * EditCommandColumn.cs: only 'Update' causes validation.
4346 * TableCell.cs: changed autoid api. RenderContents checks the number
4347 of controls to decide what to do, not the value of Text in the
4350 * TableRow.cs: changed autoid api.
4352 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
4353 event. When we get an EditItem, we need a TextBox to be created and
4354 this one will be the one that gets the event. Changed
4355 ItemDataBinding to deal with a TextBox too.
4357 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4359 * PagedDataSource.cs: fix IsLastPage. All tests pass.
4360 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
4361 need to keep the old one in a field. Now all tests pass here too.
4363 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4365 * PagedDataSource.cs: don't use the properties when they just return a
4366 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
4367 before ICollection (otherwise, an IList will always fall under the
4368 ICollection case). The enumerator for lists will be empty if 'start'
4369 is beyond the list size. All existing tests pass, but one in
4370 DataGridTest that fails because of some problem with the paging.
4372 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4374 * Style.cs: fix the 2.0 build.
4376 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4378 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
4379 instead write the style attributes directly to the HtmlTextWriter.
4381 * CheckBox.cs: adapted to new API.
4383 * DataGrid.cs: handle null data sources. Fixed the contions that make
4384 the table to be added to the Controls collection.
4386 * Calendar.cs: the table needed an ID and the attributes from the
4387 parent. Also don't create the ControlStyleCollection if it has not
4388 already been created.
4390 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4392 * DataGrid.cs: handle null data sources. Fixed the contions that make
4393 the table to be added to the Controls collection.
4395 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4397 * Calendar.cs: TrackViewState should be called upon creation, not on
4398 every get_XXX call. Cleanup.
4400 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4402 * DataGrid.cs: fix another test. The ID of the table generated by the
4403 datagrid is set to the one on the datagrid if no one set the ID for the
4406 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4408 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
4411 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4413 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
4414 converted to string as X{1,2}-.*. All FontUnitTests pass now.
4415 * Unit.cs: throw a format exception when there's not number or minus
4416 sign in the first non-whitespace character.
4418 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4420 * ListControl.cs: SelectedIndex/SelectedValue can be set before
4421 DataBinding () is called on the control, so we have to keep this values
4422 around and use them after the data is read. If both properties are
4423 used, they must refer to the same item.
4425 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4427 * DataList.cs: fill in the data keys from BaseDataList so that the
4428 events can see them. Only assign DataItem when using data binding and
4429 nullify it after all events are raised.
4431 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4433 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
4436 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4438 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
4440 * DataGrid.cs: Fix TagKey (table) for 2.0.
4441 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
4442 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
4444 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
4446 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
4447 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
4449 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
4451 * TreeView.cs: Added declarative security (Link and Inheritance
4452 demands) for Minimal.
4453 * XmlDataSource.cs: Added declarative security (Link and Inheritance
4454 demands) for Minimal.
4456 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4458 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
4459 Inheritance demands) for Minimal.
4460 * Label.cs: Added declarative security (Link and Inheritance demands)
4462 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
4463 * ListItemCollection.cs: Added declarative security (LinkDemands) for
4465 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
4466 2.0, Inheritance demands) for Minimal.
4467 * PagedDataSource.cs: Added declarative security (LinkDemands) for
4469 * Panel.cs: Added declarative security (Link and Inheritance demands)
4471 * Repeater.cs: Added declarative security (Link and Inheritance
4472 demands) for Minimal.
4473 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
4474 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
4476 * TargetConverter.cs: Added declarative security (Link and Inheritance
4477 demands) for Minimal.
4478 * Unit.cs: Added, but only for 1.x, declarative security (Link and
4479 Inheritance demands) for Minimal.
4480 * ValidatedControlConverter.cs: Added declarative security (Link and
4481 Inheritance demands) for Minimal.
4482 * WebColorConverter.cs: Added declarative security (Link and
4483 Inheritance demands) for Minimal.
4484 * Xml.cs: Added declarative security (Link and Inheritance demands)
4486 * ValidationSummary.cs: Added declarative security (Link and
4487 Inheritance demands) for Minimal.
4489 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4491 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
4493 2005-09-22 Ben Maurer <bmaurer@ximian.com>
4495 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
4496 it took O(height) time, not O(1).
4498 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4500 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
4502 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4504 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
4505 2.0, Inheritance demands) for Minimal.
4506 * BaseCompareValidator.cs: Added declarative security (Link and
4507 Inheritance demands) for Minimal.
4508 * BaseDataBoundControl.cs: Added declarative security (Link and
4509 Inheritance demands) for Minimal.
4510 * BaseValidator.cs: Added declarative security (Link and Inheritance
4511 demands) for Minimal.
4512 * BoundColumn.cs: Added declarative security (Link and Inheritance
4513 demands) for Minimal.
4514 * ButtonColumn.cs: Added declarative security (Link and Inheritance
4515 demands) for Minimal.
4516 * CalendarDay.cs: Added declarative security (Link and Inheritance
4517 demands) for Minimal.
4518 * CheckBoxList.cs: Added declarative security (Link and Inheritance
4519 demands) for Minimal.
4520 * CompareValidator.cs: Added declarative security (Link and
4521 Inheritance demands) for Minimal.
4522 * CustomValidator.cs: Added declarative security (Link and Inheritance
4523 demands) for Minimal.
4524 * DataBoundControl.cs: Added declarative security (Link and
4525 Inheritance demands) for Minimal.
4526 * DataGridItemCollection.cs: Added declarative security (Link and
4527 Inheritance demands) for Minimal.
4528 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
4530 * DataListItemCollection.cs: Added declarative security (LinkDemands)
4532 * DataListItem.cs: Added declarative security (Link and Inheritance
4533 demands) for Minimal.
4534 * FontNamesConverter.cs: Added declarative security (Link and
4535 Inheritance demands) for Minimal.
4536 * HyperLink.cs: Added declarative security (Link and Inheritance
4537 demands) for Minimal.
4538 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
4539 demands) for Minimal.
4540 * Image.cs: Added declarative security (Link and Inheritance demands)
4543 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4545 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
4547 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
4548 a data source, first try reflection, then componentmodel. If we get
4549 an enumerator, keep it around, as MS only calls GetEnumerator once.
4550 Throw an exception if no columns can be created from the given data
4551 source. Tested with DbDataRecord, DataTable, ArrayList and
4552 ICustomTypeDescriptor.
4554 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
4556 * AccessDataSource.cs: Added declarative security (Link and Inheritance
4557 demands) for Minimal. Added [ToolboxBitmap] on class.
4558 * AdRotator.cs: Added declarative security (Link and Inheritance
4559 demands) for Minimal. Removed extra Page and ViewState properties.
4560 * BulletedList.cs: Added declarative security (Link and Inheritance
4561 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4562 * Button.cs: Added declarative security (Link and Inheritance demands)
4563 for Minimal. Added [SupportsEventValidation] on class (2.0).
4564 * Calendar.cs: Added declarative security (Link and Inheritance
4565 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4566 * CheckBox.cs: Added declarative security (Link and Inheritance
4567 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4568 * CompositeControl.cs: Added declarative security (Link and Inheritance
4569 demands) for Minimal. Added new protected RecreateChildControls method.
4570 * DataControlCommands.cs: Added declarative security (LinkDemands) for
4571 Minimal. Added private ctor.
4572 * DataGrid.cs: Added declarative security (Link and Inheritance
4573 demands) for Minimal. Fixed properties for 2.0 (mostly removing
4574 [Bindable]). Added override for TagKey property.
4575 * DataGridColumn.cs: Added declarative security (Link and Inheritance
4576 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
4577 * DataGridItem.cs: Added declarative security (Link and Inheritance
4578 demands) for Minimal. Added IDataItemContainer interface for 2.0.
4579 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
4580 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
4581 * DataList.cs: Removed [Load|Save]ControlState methods.
4582 * DropDownList.cs: Added declarative security (Link and Inheritance
4583 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4584 * EditCommandColumn.cs: Added declarative security (Link and
4585 Inheritance demands) for Minimal. Added missing attributes,
4586 [DefaultValue] and [Localize] for 2.0.
4587 * FontInfo.cs: Added declarative security (Link and Inheritance
4588 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
4590 * Login.cs: Added declarative security (Link and Inheritance demands)
4591 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
4592 * ImageButton.cs: Added declarative security (Link and Inheritance
4593 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4594 * LinkButton.cs: Added declarative security (Link and Inheritance
4595 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4596 * ListBox.cs: Added declarative security (Link and Inheritance demands)
4597 for Minimal. Added [SupportsEventValidation] on class (2.0).
4598 * Literal.cs: Added declarative security (Link and Inheritance demands)
4599 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
4600 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
4601 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
4602 but will be shown as extra).
4603 * RadioButton.cs: Added declarative security (Link and Inheritance
4604 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4605 * RadioButtonList.cs: Added declarative security (Link and Inheritance
4606 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4607 * RangeValidator.cs: Added declarative security (Link and Inheritance
4608 demands) for Minimal. Added missing [Themeable] attributes.
4609 * RegularExpressionValidator.cs: Added declarative security (Link and
4610 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
4612 * RoleGroupCollection.cs: Added declarative security (Link and
4613 Inheritance demands) for Minimal. Fixed base class (changed in RC).
4614 Re-implemented CopyTo. Removed some methods.
4615 * Style.cs: Added declarative security (Link and Inheritance demands)
4616 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
4617 is now public in 2.0.
4618 * Table.cs: Added declarative security (Link and Inheritance demands)
4619 for Minimal. Added [SupportsEventValidation] on class (2.0).
4620 * TableCell.cs: Fixed PersistenceMode for 2.0.
4621 * TextBox.cs: Added declarative security (Link and Inheritance demands)
4622 for Minimal. Added [SupportsEventValidation] on class (2.0).
4623 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
4624 but will be shown as extra).
4625 * WebControl.cs: Added declarative security (Link and Inheritance
4626 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
4629 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4631 * TableStyle.cs: fixed typo that prevented restoring GridLines from
4634 * DataGrid.cs: the table does not get an auto ID. When restoring from
4635 viewstate, use all the saved columns, not just that data bound ones. Set
4636 the owner of the BoundColumns created. Save/restore columns.
4637 OnItemCreated happens after the item is initialized and the data item is
4638 set before the event and nullified after OnItemDataBound.
4639 Add the render_table to the Controls immediately, otherwise we might get
4640 errors from child controls such as "must be rendered inside a form".
4641 Keep the items created in the list waiting for them.
4642 The table uses the attributes from the DataGrid and ControlStyle.
4643 Raise OnItemCommand on all bubble events and don't propagate bubble
4644 event up in the hierarchy
4646 * TableCell.cs: it does not get an automatic ID.
4647 * BoundColumn.cs: FormatDataValue returns an empty string on null input
4648 (there was already a test for this).
4652 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4654 * DataGridColumnCollection.cs: track the view state in the newly added
4657 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4659 * DataGrid.cs: merge column styles too. Fixes bug #76106.
4660 * DataGridColumn.cs: new internal method to retrieve the styles without
4661 creating an instance for them.
4663 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
4665 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
4666 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
4667 StateBag.SetDirty (true).
4669 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
4671 * Menu.cs: Fixed parameter orders for CreateStyleRule.
4673 2005-09-13 Chris Toshok <toshok@ximian.com>
4675 * Style.cs: corcompare stuff.
4677 * RequiredFieldValidator.cs: more corcompare stuff.
4679 * CheckBoxList.cs: clean up some of the interface methods vs
4680 protected virtual 2.0 calls.
4682 * SubMenuStyle.cs: corcompare says this should implement
4683 ICustomTypeDescriptor... sooo, make it.
4685 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4687 * TableCell.cs: do the same as HyperLink and others in
4688 AddParsedSubobject so that adding a literal control does not remove the
4689 existing controls if any. Fixes bug #76078.
4691 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4693 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
4695 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4697 * ImageButton.cs: fix invalid cast exception.
4699 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4701 * ListItem.cs: throw in AddParsedSubObject if the object is not a
4703 * RadioButtonList.cs: implemented LoadPostData and
4704 RaisePostDataChangedEvent.
4706 2005-09-09 Chris Toshok <toshok@ximian.com>
4708 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
4709 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
4710 LoadPostData/RaisePostDataChangedEvent.
4712 2005-09-09 Chris Toshok <toshok@ximian.com>
4714 * FontInfo.cs (IsEmpty): new internal property, used by
4717 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
4720 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4722 * ListItemCollection.cs: remove obsoleted methods.
4723 * ListBox.cs: use IStateManager on the item collection.
4725 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
4727 * Use C# 1.0 style of delegate instantiating. Needed to compile
4728 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
4730 2005-09-07 Chris Toshok <toshok@ximian.com>
4732 * Calendar.cs (WriteDay): always add BackColor=Silver,
4733 ForeColor=White to selected day cells, before copying over the
4734 selectedDayStyle, if it exists.
4735 (WriteDays): fix nunit test - if the first day of the month falls
4736 on the first day of the week, go back one week (effectively adding
4737 a row of dates from the previous month.)
4738 (WriteTitle): don't copy the control style to the tableTitle,
4739 since it might have height specifications, which would make the
4740 title look rather off.
4742 2005-09-07 Chris Toshok <toshok@ximian.com>
4744 * ValidationSummary.cs (AddAttributesToRender): we only set
4745 display=none if there are no errors.
4747 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
4748 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
4750 2005-09-07 Chris Toshok <toshok@ximian.com>
4752 * ListControl.cs (SelectedIndex): add comment about how you'd
4753 think OnSelectedIndexChanged would be called.. and you'd be wrong.
4754 (Text): implement in terms of SelectedValue.
4755 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
4756 (LoadControlState): implement - this is where the selected index
4757 ArrayList gets stuffed in 2.0.
4758 (OnInit): call Page.RegisterRequiresControlState.
4759 (OnTextChanged): implement.
4760 (RenderContents): for now just chain up to base.RenderContents.
4761 (SaveControlState): save our control state properly.
4762 (GetSelectedIndices): split this out from SaveViewState to it can
4763 be used by both that and SaveControlState.
4764 (SaveViewState): mangle this function so it works in both 2.0 and
4766 (LoadViewState): same.
4768 2005-09-06 Chris Toshok <toshok@ximian.com>
4770 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
4771 we weren't assigned an ID.
4773 * ValidationSummary.cs (AddAttributesToRender): same.
4775 2005-09-06 Chris Toshok <toshok@ximian.com>
4777 * WebControl.cs: revert the last change.
4779 2005-09-06 Chris Toshok <toshok@ximian.com>
4781 * WebControl.cs (AddAttributesToRender): always render ClientID.
4783 * ValidationSummary.cs (Render): same.
4785 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
4788 2005-09-06 Chris Toshok <toshok@ximian.com>
4790 * ValidationSummary.cs (Render): only do the JS stuff when the
4791 validators on the page are uplevel.
4793 * BaseValidator.cs (Render): remove unnecessary comment.
4795 2005-09-05 Chris Toshok <toshok@ximian.com>
4797 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
4798 stored in the ViewState.
4800 2005-09-02 Chris Toshok <toshok@ximian.com>
4802 * Repeater.cs (GetData): change this slightly so the Repeater
4803 doesn't keep a ref to the return value of GetData.
4805 2005-09-01 Chris Toshok <toshok@ximian.com>
4807 * ListControl.cs (AppendDataBoundItems): implement (2.0)
4810 2005-09-01 Chris Toshok <toshok@ximian.com>
4812 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
4813 System.Web.UI.WebControls/ValidatedControlConverter.cs,
4814 System.Web.UI.WebControls/Xml.cs,
4815 System.Web.UI.WebControls/RegularExpressionValidator.cs,
4816 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
4817 System.Web.UI.WebControls/Menu.cs,
4818 System.Web.UI.WebControls/MailMessageEventArgs.cs,
4819 System.Web.UI.WebControls/MenuItemStyle.cs,
4820 System.Web.UI.WebControls/RangeValidator.cs,
4821 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
4822 System.Web.UI.WebControls/MenuItem.cs,
4823 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
4824 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
4825 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
4826 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
4827 System.Web.UI.WebControls/XmlBuilder.cs,
4828 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
4831 2005-09-01 Chris Toshok <toshok@ximian.com>
4833 * System.Web.UI.WebControls/Button.cs,
4834 System.Web.UI.WebControls/ButtonField.cs,
4835 System.Web.UI.WebControls/DataControlField.cs,
4836 System.Web.UI.WebControls/BaseCompareValidator.cs,
4837 System.Web.UI.WebControls/AutoGeneratedField.cs,
4838 System.Web.UI.WebControls/CustomValidator.cs,
4839 System.Web.UI.WebControls/Content.cs,
4840 System.Web.UI.WebControls/BoundField.cs,
4841 System.Web.UI.WebControls/AdRotator.cs,
4842 System.Web.UI.WebControls/ButtonColumn.cs,
4843 System.Web.UI.WebControls/CompareValidator.cs,
4844 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
4845 work. Stub things out, and add attributes.
4847 2005-09-01 Chris Toshok <toshok@ximian.com>
4849 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
4850 CommandField.cs, HyperLinkColumn.cs, Table.cs,
4851 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
4852 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
4853 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
4854 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
4855 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
4856 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
4857 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
4858 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
4859 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
4860 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
4861 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
4862 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
4863 TableItemStyle.cs: Add some WebCategory and WebSysDescription
4866 2005-09-01 Chris Toshok <toshok@ximian.com>
4868 * AccessDataSource.cs: corcompare work.
4870 * SqlDataSource.cs: same.
4872 2005-09-01 Miguel de Icaza <miguel@novell.com>
4874 * Various places: make sure that the DefaultValue matches the
4875 type. Thanks to Michael for pointing this out.
4877 In future audits, you might want to use the following awk command:
4879 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
4880 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
4881 print $0; looking = 0; } /public/ && looking { looking = 0; } '
4884 The above skips bools, strings and ints as those were fine as we
4885 set them. The bug was on the other ones.
4887 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4889 * Repeater.cs: fix the build.
4891 2005-08-31 Chris Toshok <toshok@ximian.com>
4893 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
4894 {Base}DataList, and also from debug spew garnered from some
4895 Repeater subclass tests on MS.
4896 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
4897 the IEnumerable by calling GetData().
4898 (DataBind): reset RequiresDataBinding to false (2.0).
4899 (DataMember): copy the set implementation from DataList, and add
4900 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
4901 (DataSource): more c&p.
4902 (DataSourceID); implement (2.0)
4903 (Initialized): implement (2.0)
4904 (IsBoundUsingDataSource): implement (2.0)
4905 (RequiresDataBinding): implement (2.0)
4906 (SelectArguments): implement (2.0)
4907 (CreateDataSourceSelectArguments): implement (2.0)
4908 (EnsureDataBound): implement (2.0)
4909 (GetData): implement.
4910 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
4912 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
4913 leave the MonoTODO. (2.0)
4914 (OnInit): call base.OnInit instead of throwing NIE, but leave the
4916 (OnLoad): implement.
4917 (OnPreRender): implement.
4918 (ConnectToDataSource): new method - look for the right control.
4920 2005-08-31 Chris Toshok <toshok@ximian.com>
4922 * XmlDataSourceView.cs: fix the scope of our select. Don't use
4923 call SelectNodes on the XmlDocument, not on
4924 XmlDocument.DocumentElement.
4926 2005-08-31 Chris Toshok <toshok@ximian.com>
4928 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
4929 (DoXPathSelect): put the xpath selection stuff here.
4930 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
4933 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
4934 select here, the view does it.
4936 2005-08-31 Jackson Harper <jackson@ximian.com>
4938 * DataList.cs: Remove some debugging code that was starting to bug
4941 2005-08-31 Chris Toshok <toshok@ximian.com>
4943 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
4944 create our Navigator by calling node.CreateNavigator().
4946 2005-08-31 Chris Toshok <toshok@ximian.com>
4948 * XmlDataSource.cs (GetXmlDataDocument): rename this to
4949 GetXmlDocument, and change the return value from XmlDataDocument
4951 (LoadXmlDataDocument): similar change.
4952 (Save): xmlDataDocument -> xmlDocument.
4953 (CanBeSaved): there's no ReadOnly attribute.
4954 (LoadViewState, SaveViewState, TrackViewState): nuke.
4955 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
4956 (CacheDuration): stub out with NIE.
4957 (CacheExpirationPolocy): same.
4958 (CacheKeyDependency): same.
4959 (EnableCaching): same.
4961 (Data, DataFile): xmlDataDocument -> xmlDocument.
4962 (Schema, SchemaFile): nuke.
4963 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
4965 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
4967 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
4968 Don't use the obsolete IsSet method.
4969 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
4970 * CheckBox.cs: Implement some 2.0 methods.
4971 * GridView.cs: Removed some "throw new NotImplementedException"
4973 2005-08-29 Chris Toshok <toshok@ximian.com>
4975 * TreeView.cs: Use the StateBag accessors Ben added, and implement
4976 SkipLinkText and Visible.
4978 2005-08-29 Chris Toshok <toshok@ximian.com>
4980 * TreeView.cs: fix typo in an attribute.
4982 2005-08-29 Jackson Harper <jackson@ximian.com>
4984 * PagedDataSource.cs: If it's not a list or collection we don't
4985 use a bounded enumerator.
4987 2005-08-29 Chris Toshok <toshok@ximian.com>
4989 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
4991 * CheckBox.cs: same.
4993 * BaseValidator.cs: same.
4995 * DropDownList.cs: same.
4997 * ValidationSummary.cs: same.
4999 2005-08-28 Chris Toshok <toshok@ximian.com>
5001 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
5003 2005-08-26 Chris Toshok <toshok@ximian.com>
5005 * TextBox.cs: implement ValidationGroup and CausesValidation
5008 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
5010 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
5013 2005-08-26 Chris Toshok <toshok@ximian.com>
5015 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
5017 * FontUnit.cs: add two 2.0 ctors, and the 2.0
5018 ToString(IFormatProvider) method.
5020 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
5022 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
5023 no items are present in the list.
5024 * RoleGroup.cs: Added missing attributes.
5025 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
5026 documented) methods.
5027 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
5028 must be done in the HtmlTextWriter (not in the TableStyle).
5030 2005-08-26 Chris Toshok <toshok@ximian.com>
5032 * Calendar.cs (UseAccessibleHeader): implement.
5033 (RaisePostBackEvent): some #ifdef ugliness to get this all working
5034 propertly between 1.x and 2.0
5035 (WriteDayHeader): if UseAccessibleHeader == true, render header
5036 cells as th's, not td's, and add abbr and scope attributes.
5038 2005-08-25 Chris Toshok <toshok@ximian.com>
5040 * Calendar.cs (Caption, CaptionAlign): implement these properties.
5041 (Render): if we have a non-empty caption, show it.
5042 (WriteCaption): new method, output the caption.
5044 2005-08-25 Chris Toshok <toshok@ximian.com>
5046 * Calendar.cs (Render): Copy the entire style from the Calendar to
5047 the Table, not just the font.
5048 (WriteDay): don't just write the link/text/etc. Create a
5049 LiteralControl as a child of the cell, before the call to
5050 OnDayRender, with its text set to the day number. After
5051 OnDayRender, set the literal's text to either the number again (if
5052 it's not selectable) or the full text of the js __doPostBack
5053 hyperlink (if it is.) Also, use cell.RenderControl here so we can
5054 render child controls with the id's listed properly (and arguably
5056 (ApplyTitleStyleCell): remove.
5057 (WriteTitle): apply the titleStyle to the enclosing table, not the
5058 table cell containing the month name. Also, copy from the
5059 Calendar's ControlStyle to populate tableTitle's style initially.
5060 We end up with more (superfluous) style attributes than MS, but
5061 it's better than having less.
5063 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5065 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
5068 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5070 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
5071 and RegisteredCssClass property
5073 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5075 * LoginView.cs: Fixed attributes.
5076 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
5077 an exception to allow pages to work on 2.x.
5079 2005-08-25 Chris Toshok <toshok@ximian.com>
5081 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
5083 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
5086 * HiddenField.cs: stub out this class and label everything
5089 2005-08-25 Jackson Harper <jackson@ximian.com>
5091 * DataGrid.cs: Disable the pager row if there no paging enabled
5094 2005-08-25 Chris Toshok <toshok@ximian.com>
5096 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
5099 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
5100 add a using statement.
5102 2005-08-25 Chris Toshok <toshok@ximian.com>
5104 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
5107 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
5110 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5112 * Login.cs: Added rendering and fixed parts of the authentication.
5113 Now using IStateManager to allow compilation in another assembly (e.g.
5114 to test the control under IIS). Needs more tests (error conditions)
5115 once we get a "real" Membership provider running.
5116 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
5119 2005-08-25 Chris Toshok <toshok@ximian.com>
5121 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
5123 2005-08-25 Chris Toshok <toshok@ximian.com>
5125 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
5126 calling base.Foo to get the standalone adrotator (1.0) tests to
5127 run without throwing exceptions.
5129 2005-08-25 Chris Toshok <toshok@ximian.com>
5131 * ValidationSummary.cs (ValidationGroup): implement.
5132 (Render): use Page.GetValidators in .net 2.0, so we can support
5133 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
5136 2005-08-25 Chris Toshok <toshok@ximian.com>
5138 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
5139 2.0 attribute modifiers, and revert back to "override".
5141 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
5142 2.0 attribute modifiers, and revert back to "override".
5143 (BorderStyle): same.
5144 (BorderWidth): same.
5146 * TextBox.cs (SaveViewState): implement naively, calling
5148 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
5149 modifiers, and revert back to "override".
5151 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5153 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
5154 Load ViewState for derived classes; no public LoadViewState override
5155 exists in those classes
5156 * Style.cs: Added 2.0 IsStyleEmpty method
5158 2005-08-25 Jackson Harper <jackson@ximian.com>
5160 * DataGrid.cs: The number of pages set in the pager is specified
5163 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5165 * LoginView.cs: New (2.0). Work in progress.
5167 2005-08-24 Chris Toshok <toshok@ximian.com>
5169 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
5170 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
5171 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
5172 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
5173 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
5174 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
5175 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
5176 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
5177 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
5178 Add MonoTODO's for all things that throw NotImplementException.
5180 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
5182 * RoleGroup.cs: New (2.0). Complete implementation.
5183 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
5185 2005-08-23 Chris Toshok <toshok@ximian.com>
5187 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
5188 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
5189 even though they were written for the 1.0 stuff.
5191 2005-08-23 Chris Toshok <toshok@ximian.com>
5193 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
5194 output. Our tests now pass on both mono and ms, with both 1.x and
5197 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
5199 * Login.cs: Throw exception if the specified provider doesn't exists.
5200 * LoginStatus.cs: Complete events.
5202 2005-08-22 Jackson Harper <jackson@ximian.com>
5204 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
5206 (InitializeNumericPager): Now that the pager actually renders
5207 properly I can see that I was computing it incorrectly.
5209 2005-08-22 Jackson Harper <jackson@ximian.com>
5211 * DataGrid.cs (RenderTable): Make sure the new table gets the
5213 (CreateColumnSet): Clear the data source columnbs before adding
5214 new ones regardless of whether or not a property descriptor was
5216 (InitializePager): pager_cell needs to be a member so it isn't
5217 created more then once per a render.
5218 (InitializeNumericPager): Compute start and end more
5220 - Link commands are 1 indexed.
5221 (CreateControlHierarchy): Clear the table before we begin
5223 - Revert patch that made adding the pagers conditional. This is
5224 incorrect, the pagers are always added. Only their visibility is
5225 affected by the pager style.
5226 - Save the entire count in the viewstate, not just the rendered
5227 count. So when paging is enabled the pager's count isn't broken by
5230 2005-08-22 Chris Toshok <toshok@ximian.com>
5232 * LinkButton.cs (ValidationGroup): implement.
5233 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
5234 pass ValidationGroup to Page.Validate.
5236 2005-08-22 Chris Toshok <toshok@ximian.com>
5238 * ImageButton.cs (ValidationGroup): implement.
5239 (IPostBackEventHandler.RaisePostBackEvent): if we cause
5240 validation, call Page.Validate properly (in both profiles).
5242 2005-08-22 Chris Toshok <toshok@ximian.com>
5244 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
5245 case, pass ValidationGroup to Page.Validate.
5246 (ValidationGroup): implement using ViewState.
5248 2005-08-22 Chris Toshok <toshok@ximian.com>
5250 * BaseValidator.cs (Text): 2.0 only. implement naively, just
5252 (OnInit): add 2.0 support for validation groups.
5255 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
5257 * LoginName.cs: New (2.0) web control.
5258 * LoginStatus.cs: New (2.0) web control.
5260 2005-08-19 Chris Toshok <toshok@ximian.com>
5262 * LinkButton.cs (ValidationGroup): implement getter/setter.
5263 (RaisePostBackEvent): implement naively, by c&p'ing the old
5264 implementation of IPostBackEventHandler.RaisePostBackEvent, but
5265 making use of the ValidationGroup in the call to Page.Validate.
5269 * Style.cs (LoadViewState): set our style flags for all the things
5270 we have flags for. Seems like the subclass flags should be
5271 handled in overridden LoadViewState methods, but none of the Style
5272 subclasses seem to override this method.
5274 2005-08-19 Chris Toshok <toshok@ximian.com>
5276 * TableStyle.cs (Merge, MergeWith): make these look a bit more
5277 like Copy/CopyFrom, with the styles checks instead of just
5280 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
5283 2005-08-19 Chris Toshok <toshok@ximian.com>
5285 * DataGrid.cs (InitializePager): don't unconditionally set
5286 pager_cell to the numeric pager (especially after setting it
5287 conditionally to the nextprev pager.)
5288 (InitializeNumericPager): the link buttons don't participate in
5290 (InitializeNextPrevPager): same.
5291 (CreateControlHierarchy): create the top/bottom pagers only if the
5292 PagerStyle says too.
5294 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
5296 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
5298 2005-08-18 Chris Toshok <toshok@ximian.com>
5300 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
5301 the start of this method so templates are created properly.
5303 2005-08-18 Dick Porter <dick@ximian.com>
5305 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
5306 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
5307 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
5308 BaseDataList.cs, DataList.cs, BulletedList.cs,
5309 DataBoundControl.cs, Login.cs, GridView.cs,
5310 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
5311 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
5312 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
5313 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
5314 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
5315 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
5316 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
5317 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
5320 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
5322 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
5324 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
5325 empty array of objects just to get the number of items.
5326 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
5327 but we're missing some bits from the class lib to complete all this...
5329 2005-08-17 Jackson Harper <jackson@ximian.com>
5331 * DataGrid.cs: Only create one pager and add it to both the top
5332 and bottom of the grid, this way all the id numbers stay the same
5333 and we save a bunch of cycles.
5335 2005-08-17 Jackson Harper <jackson@ximian.com>
5337 * DataGrid.cs: The top and bottom pagers are always created. Just
5338 the visibility is changed by the PagerStyle::Position.
5340 2005-08-17 Chris Toshok <toshok@ximian.com>
5342 * CompositeControl.cs (RecreateChildControls): implement naively -
5343 just call CreateChildControls. We might need to call
5344 Controls.Clear() as well, but for the time being, this is ok.
5346 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
5348 * BaseDataList.cs: Completed implementation for 2.0.
5350 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5352 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
5353 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
5355 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5357 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
5359 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
5360 Adjusted size and ordering of the ViewState (new element #0 is still
5361 unknown). Properly fixed the TagKey in 2.0.
5362 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
5363 all properties using enums.
5364 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
5365 * TableItemStyle.cs: Fixed attribute rendering to use style to render
5366 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
5368 2005-08-15 Jackson Harper <jackson@ximian.com>
5370 * EditCommandColumn.cs: Use a normal LinkButton.
5372 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5374 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
5375 viewstate (even if assigned to the default value).
5376 * TableRow.cs: Implement TableSection property (2.0). It has no effect
5377 on the rendering of the table row.
5379 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5381 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
5382 and removed [Bindable] attributes for 2.0.
5383 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
5384 attributes (for 2.0).
5385 * DataListCommandEventArgs.cs: Not sealed in 2.0.
5386 * DataListItemEventArgs.cs: Not sealed in 2.0.
5387 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
5388 attributes for URLs.
5389 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
5390 attributes for URLs.
5391 * Table.cs: Fixed [Editor] attribute for 2.0.
5392 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5393 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
5394 AssociatedHeaderCellID and it's [DefaultValue] attribute.
5395 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
5396 and Scope attributes.
5397 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
5398 on TableSection attribute.
5399 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5401 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
5403 * Image.cs: Fixed attributes for 2.0 profile.
5404 * Login.cs: Fixed some attributes and default values.
5405 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
5406 RaisePostBackEvent (TODO) in 2.0 profile.
5407 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
5408 and added AssociateHeaderCellID property (TODO).
5409 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5410 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
5411 page (if the device requires to breaks the table into multiple pages).
5412 This seems to be a "flag" class, the real work will be in Table.
5413 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
5414 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
5415 page (if the device requires to breaks the table into multiple pages).
5416 This seems to be a "flag" class, the real work will be in Table.
5417 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
5418 * TableRow.cs: Remove [Bindable (true)] from properties and add
5419 [Bindable (false)] and [Designer] on class. Added new TableSection
5421 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5422 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
5423 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
5424 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
5425 FillStyleAttributes method (2.0).
5427 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
5429 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
5430 attributes from existing controls.
5431 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
5432 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
5434 2005-08-12 Jackson Harper <jackson@ximian.com>
5436 * TableRow.cs: No AutoID for TableRows.
5438 2005-08-12 Jackson Harper <jackson@ximian.com>
5440 * DataGrid.cs (CreateRenderColumns): If we aren't using data
5441 binding grab the rendercols from the data source columns.
5442 (LoadViewState): Restore the bound columns when reloading the
5444 (InitializeNumericPager): Create elipsised pagers.
5445 (CreateItem): Don't set the item's ID.
5446 (CreateItem): Add the control to the table before it is databound
5447 so that it's value is saved in the viewstate.
5448 (CreateControlHierarchy): Create a fake data source when not using
5449 databinding. Don't add controls to the table as they are added in
5451 (PrepareControlHierarchy): Make footers and header non visible if
5452 they aren't enabled.
5454 2005-08-12 Chris Toshok <toshok@ximian.com>
5456 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
5457 docs says these methods/properties "ensure the child controls are
5458 created" -- so call EnsureChildControls() before invoking the base
5461 2005-08-12 Jackson Harper <jackson@ximian.com>
5463 * BoundColumn.cs: Set the controls text instead of adding a
5464 literal control. So it is saved in the controls viewstate.
5466 2005-08-11 Jackson Harper <jackson@ximian.com>
5468 * CheckBoxList.cs: Set the tabindex on the checkbox control and
5469 don't render it on the main table (Setting it to zero causes it to
5470 not be rendered). Also use the invariant culture on the id.
5472 2005-08-11 Dick Porter <dick@ximian.com>
5474 * CheckBox.cs: Let ViewState manage removals; apply styles and
5475 "style" attributes in a surrounding <span>. Fixes unit tests.
5477 2005-08-10 Chris Toshok <toshok@ximian.com>
5479 * Label.cs (LoadViewState): set the Text attribute from our
5480 ViewState (if it exists) to clear out any child controls. Fixes
5481 jsunit test label/label-child-control-postback.aspx.
5483 2005-08-10 Jackson Harper <jackson@ximian.com>
5485 * PagedDataSource.cs: Respect paging with all data source types.
5487 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
5489 * BaseDataList.cs: Changed Controls property from "virtual new"
5490 (2.0 doc) to "override" (monop) to fix the Visible bug (see
5491 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
5492 any controls (required due to change to Controls). Implemented
5493 DataBind(bool) for 2.0.
5494 * DataListItem.cs: Fix the multiple table when extractRows is used.
5495 Removed extra span tags by rendering contents (not control). Added
5496 support for IDataItemContainer (2.0).
5498 2005-08-08 Jackson Harper <jackson@ximian.com>
5500 * DataGrid.cs: Apply the styles to each item type.
5502 2005-08-08 Jackson Harper <jackson@ximian.com>
5504 * PagedDataSource.cs: If paging is not enabled keep enumerating to
5505 the end of the list.
5507 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
5509 * BaseDataList.cs: Remove old compatibility stuff.
5510 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
5511 * WebControl.cs: Always call CreateControlStyle to create the
5512 ControlStyle. Fix the exception for datalist-style-edit.aspx.
5514 2005-08-05 Jackson Harper <jackson@ximian.com>
5516 * DataGrid.cs: Don't make the current page index a link in the
5519 2005-08-05 Jackson Harper <jackson@ximian.com>
5521 * DataGrid.cs: Honour PagerPosition.
5523 2005-08-05 Jackson Harper <jackson@ximian.com>
5525 * PagedDataSource.cs: Round PageCount properly.
5527 2005-08-05 Dick Porter <dick@ximian.com>
5529 * CheckBox.cs: Shut corcompare up a bit more. Still need to
5530 figure out how to not use AddAttributesToRender to get it
5533 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
5535 * DataGridColumn.cs: Added the duplicate viewstate manipulation
5538 2005-08-05 Chris Toshok <toshok@ximian.com>
5540 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
5541 null when it comes to the format string.
5542 (FormatDataTextValue): same.
5544 2005-08-04 Chris Toshok <toshok@ximian.com>
5546 * BaseValidator.cs (Validate): only test a validator if it's both
5547 enabled and visible.
5549 2005-08-04 Chris Toshok <toshok@ximian.com>
5551 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
5554 2005-08-04 Jackson Harper <jackson@ximian.com>
5556 * DataGrid.cs: Add a new space control for each link. Also make
5557 the link's text 1 indexed. Don't add the space after the last
5560 2005-08-04 Ben Maurer <bmaurer@ximian.com>
5562 * LinkButton.cs: Fix up the test suite here.
5564 * Panel.cs: Fix up nowrap
5566 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5568 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
5569 * ListControl.cs: Clear item list before adding data (again)
5571 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
5573 * Calendar.cs: fixes issues with OnDayRender event and others
5575 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5577 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
5579 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
5580 if DataTextField is bound
5581 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
5582 two controls in edit mode, lets do the same
5584 2005-08-03 Jackson Harper <jackson@ximian.com>
5586 * BoundColumn.cs: Respek for the thisExpr when data binding.
5588 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5590 * EditCommandColumn.cs: No need to offer edit when in edit mode.
5593 2005-08-04 Dick Porter <dick@ximian.com>
5595 * DataGridColumn.cs: New implementation
5598 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
5600 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5602 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
5605 2005-08-03 Ben Maurer <bmaurer@ximian.com>
5607 * RepeatInfo.cs: Finally figured out how to use base control
5609 2005-08-03 Jackson Harper <jackson@ximian.com>
5611 * ButtonColumn.cs: Partial implementation.
5613 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5615 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
5618 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5620 * Calendar.cs: fixes Save/Load state
5622 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5624 * Calendar.cs: bug fixes
5626 2005-08-03 Jackson Harper <jackson@ximian.com>
5628 * DataGrid.cs: Merge the table style with the render table. Some
5629 initial work on the numeric pager. Remove some debugging code.
5631 2005-08-03 Jackson Harper <jackson@ximian.com>
5633 * BoundColumn.cs: Implement Initialize and InitializeCell. When
5634 Data is formated it uses the DataFormatString that was set at the
5635 time Initialize was called (or null if initialize was never
5638 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5640 * RadioButtonList.cs: bug fixes
5642 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5644 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
5645 AddAttributesToRender
5646 * RadioButtonList.cs: Implementation
5648 2005-08-01 Jackson Harper <jackson@ximian.com>
5650 * TableStyle.cs: Copy style bit when copying from another style.
5652 2005-08-01 Jackson Harper <jackson@ximian.com>
5654 * PagedDataSource.cs: Implement missing properties, use yield for
5655 the Enumerator methods. Only allow the enums to return one page at
5658 2005-08-01 Chris Toshok <toshok@ximian.com>
5660 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
5662 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5664 * WebControl.cs: Track enabled state across sessions
5666 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5668 * ListControl.cs(OnDatabinding): Value is equivalent to text if
5671 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
5673 * ImageButton.cs: fixes, complete missing parts
5675 2005-07-31 Ben Maurer <bmaurer@ximian.com>
5677 * TextBox.cs: Html encode for multiline text boxes
5679 * HyperLink.cs: Resolve images
5681 2005-07-30 Chris Toshok <toshok@ximian.com>
5683 * BaseValidator.cs: initial version of 2.0 properties
5684 ValidationGroup and SetFocusOnError.
5686 2005-07-30 Chris Toshok <toshok@ximian.com>
5688 * HyperLinkColumn.cs (InitializeCell): clean this up.
5690 2005-07-30 Chris Toshok <toshok@ximian.com>
5692 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
5693 DataBinder.FormatResult.
5694 (FormatDataTextValue): same.
5695 (Initialize): call base.Initialize.
5696 (ItemDataBinding): new function, get the text/navigateurl and set
5697 them on our HyperLink control.
5698 (InitializeCell): create a hyperlink control in the
5699 Item/EditItem/AlternatingItem case.
5701 2005-07-30 Ben Maurer <bmaurer@ximian.com>
5703 * RepeatInfo.cs: Handle 0 items situations correctly
5705 * HyperLink.cs: Resolve urls correctly
5707 * CheckBox.cs: use the correct ID for the label element.
5709 * Label.cs: Correct AddParsedSubObject impl. See FAQ
5711 2005-07-29 Chris Toshok <toshok@ximian.com>
5713 * BaseCompareValidator.cs (GetDateElementOrder): implement.
5715 2005-07-29 Chris Toshok <toshok@ximian.com>
5717 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
5718 #if'ed out version follows microsoft's docs on msdn, but doesn't
5719 match ms's behavior. The other matches their behavior but not
5720 their docs. we use the latter. go figure.
5721 (get_CutoffYear): implement using
5722 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
5724 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5727 - Name property now throws exception when set to null
5728 - Names now handles situation where our bit tells us we have
5729 a font, but it's not in the StateBag (null removal)
5730 * RangeValidator.cs: Removed unused vars
5732 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5734 * Label.cs: ClientID should be used rather than UniqueID to get
5737 2005-07-29 Chris Toshok <toshok@ximian.com>
5739 * BaseValidator.cs (Validatate): not sure if this is entirely
5740 correct (some fairly deep testing required), but setting Enabled =
5741 false has the effect of setting IsValid = true.
5743 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5745 * RadioButton.cs: The "remove from groupstate" isn't needed any
5746 more, now that statebag is correct.
5748 2005-07-29 Dick Porter <dick@ximian.com>
5750 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
5751 ViewState when it is null.
5753 * CheckBox.cs: Hide nonstandard API
5755 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
5757 * Calendar.cs: fixes exceptions, bug fixes, new features
5758 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
5759 * CalendarDay.cs: fixes default value
5761 2005-07-28 Ben Maurer <bmaurer@ximian.com>
5763 * CompositeControl.cs: Stub
5765 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5767 * EditCommandColumn.cs: Implemented
5769 2005-07-27 Chris Toshok <toshok@ximian.com>
5771 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
5773 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5775 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
5778 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5780 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
5781 for it's constructor, so remove it
5782 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
5784 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5786 * DataGridPagerStyle.cs: Implemented
5787 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
5788 * Style.cs: Added Styles enum values for DataGridPagerStyle
5790 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
5792 * Calendar.cs: get the styles right, honors more properties, fixes, fix
5795 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5797 * DataGridItem.cs: Implemented
5799 2005-07-26 Chris Toshok <toshok@ximian.com>
5801 * LinkButton.cs (AddParsedSubObject): reversed the order of
5802 Controls.Add() and Text = null
5803 (set_Text): call Controls.Clear()
5804 (RenderContents): use HasControls() for the if test instead of
5807 * HyperLink.cs (AddParsedSubObject): reversed the order of
5808 Controls.Add () and Text = null;
5810 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5812 * DataGridItemCollection.cs: Implemented
5814 2005-07-26 Chris Toshok <toshok@ximian.com>
5816 * LinkButton.cs (AddParsedSubObject): copy implementation from
5818 (RenderContents): only call writer.Write(Text) if Text != "".
5819 Otherwise default to base.RenderContents.
5821 2005-07-26 Chris Toshok <toshok@ximian.com>
5823 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5824 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
5825 (Page != null) around my last commit.
5827 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5829 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
5830 Fixed use of literal strings, instead using Consts
5831 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
5832 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
5833 Panel.cs, Literal.cs: Added attributes
5834 * BaseValidator.cs: Added missing override
5836 2005-07-26 Chris Toshok <toshok@ximian.com>
5838 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5839 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
5840 Page.VerifyRenderingInServerFormHere.
5842 2005-07-26 Chris Toshok <toshok@ximian.com>
5844 * BaseValidator.cs: remove some MonoTODO's about the client side
5847 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
5849 * Calendar.cs: selection of dates, state load, save, track, support
5850 for new properties, many fixes.
5852 2005-07-26 Miguel de Icaza <miguel@novell.com>
5854 * Style.cs: Temporary methods to help buliding .NET 2.x
5856 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5858 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
5860 * Xml.cs: Fixed base class, attributes
5861 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
5862 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
5863 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
5864 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
5865 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
5867 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5869 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
5872 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5874 * RepeatInfo.cs: If the repeater has one column, the separators
5875 are rendered on a different line
5877 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5879 * DataGridSortCommandEventArgs: Sealed class
5880 * ButtonColumn.cs, Calendar.cs: Added Attributes
5882 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5884 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
5885 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
5887 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5889 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
5890 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
5892 2005-07-25 Chris Toshok <toshok@ximian.com>
5894 * ValidationSummary.cs (AddAttributesToRender): add client side
5896 (OnPreRender): set the "been here" flag.
5897 (Render): add client side support.
5899 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5901 * RepeatInfo.cs: Split the horiz and vertical cases, because this
5902 class has rules that are beyond strange. Continue working to make
5905 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5907 * RepeatInfo.cs: Misc fixes for my test suite.
5909 2005-07-25 Jackson Harper <jackson@ximian.com>
5911 * DataGrid.cs: Set the command name and args on the link buttons.
5913 2005-07-25 Jackson Harper <jackson@ximian.com>
5915 * DataGrid.cs: Lots o implementation.
5917 2005-07-25 Jackson Harper <jackson@ximian.com>
5919 * BoundColumn.cs: Partial implementation to get the DataGrid tests
5922 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
5924 * Button.cs: fixes events, adds attributes
5926 2005-07-23 Chris Toshok <toshok@ximian.com>
5928 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
5929 prop.GetValue results.
5930 (Render): fix the static non-uplevel case, so that we display text
5931 when there's an error.
5933 2005-07-22 Chris Toshok <toshok@ximian.com>
5935 * RegularExpressionValidator.cs (AddAttributesToRender): only
5936 output ValidationExpression if it's != null.
5938 2005-07-22 Chris Toshok <toshok@ximian.com>
5940 * BaseValidator.cs (AddAttributesToRender): fix up the Display
5941 rendering such it matches MS's output.
5942 (Render): stop using the huge complicated if's for each output
5943 stage and move to boolean flags, and fix the static-nonuplevel
5944 case, where a validator outputs as nothing but
5946 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
5947 * Calendar.cs: Initial implementation
5948 * CalendarSelectionMode.cs: fix enum order
5950 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
5952 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
5953 (or more?) specific cases - including correct support for separators.
5954 Added some (commented) debugging code.
5955 * HyperLink.cs: Only render href and target attributes if they're not
5956 empty. Add "border=0" when rendering <img> tag. Fix Target default
5959 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
5961 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
5963 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
5965 * Style.cs (CopyFrom): Reset our styles and don't set bits from
5966 target explicitly, properties will set them
5968 2005-07-22 Dick Porter <dick@ximian.com>
5971 * ButtonColumn.cs: Initial stubs
5973 2005-07-22 Dick Porter <dick@ximian.com>
5976 * CheckBox.cs: Add assembly attributes
5978 2005-07-22 Ben Maurer <bmaurer@ximian.com>
5980 * HyperLink.cs: Handle non-literal children.
5982 2005-07-21 Ben Maurer <bmaurer@ximian.com>
5984 * Label.cs: SP1 stuff
5986 2005-07-21 Chris Toshok <toshok@ximian.com>
5988 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
5989 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
5990 stuff WebUIValidation.js uses, so we don't support it for uplevel
5993 2005-07-21 Chris Toshok <toshok@ximian.com>
5995 * BaseValidator.cs (DetermineRenderUplevel): include checks for
5996 the EcmaScriptVersion and W3CDomVersion.
5998 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6000 * BaseDataList.cs: Support IEnumerable.
6001 * DataList.cs: Fix alternate items.
6002 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
6003 controls and the Text property.
6005 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6007 * TextBoxMode.cs: Wrong ordering of enum...
6009 2005-07-21 Chris Toshok <toshok@ximian.com>
6011 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
6014 2005-07-21 Chris Toshok <toshok@ximian.com>
6016 * BaseValidator.cs (get_PropertiesValid): use our containing
6017 NamingContainer, not ourselves, to look up controls.
6018 (CheckControlValidationProperty): same.
6019 (GetControlRenderID): same.
6020 (GetControlValidationValue): same.
6021 (AddAttributesToRender): add the display style attribute if
6022 Display != Static, and add the value of IsValid if it's false.
6023 (DetermineRenderUplevel): use a try block around (Page.Request)
6024 since that can raise an exception.
6025 (OnPreRender): set pre_render_called, so we can consult it in
6027 (Render): complicate this method more to handle more of the
6028 Display/pre_render_called permutations.
6030 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
6032 * CustomValidator.cs: Initial implementation, still work in progress
6034 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6036 * DataList.cs: Fix rendering for special items (-1).
6038 2005-07-21 Ben Maurer <bmaurer@ximian.com>
6040 * RepeatInfo.cs: Fix most of the tests.
6042 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6044 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
6045 Add a border=0 attribute if no style is defined.
6046 * TableCell.cs: Use HtmlTextWriterTag (not a string).
6047 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
6048 * TableRow.cs: Use HtmlTextWriterTag (not a string).
6050 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6052 * BaseDataList.cs: Fix attributes.
6053 * HorizontalAlign.cs: Fix attributes.
6054 * Image.cs: Fix attributes and enums checks.
6055 * Table.cs: Fix attributes an enums checks.
6056 * TableCell.cs: Fix attributes.
6057 * TableCellCollection.cs: Fix attributes.
6058 * TableItemStyle.cs: Fix attributes and enums checks.
6059 * TableRowCollection.cs: Fix attributes.
6060 * TableRow.cs: Fix attributes.
6061 * TableStyle.cs: Fix attributes and enums checks.
6062 * VerticalAlign.cs: Fix attributes.
6064 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6066 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
6067 * DataList.cs: Added rendering support when ExtractTemplatesRows
6068 property is true (but RepeatInfo needs to be fixed to see it works).
6069 * DataListItem.cs: Added rendering support when extractRows parameter
6070 is true (but RepeatInfo still needs to be fixed ;-)
6072 2005-07-21 Duncan Mak <duncan@novell.com>
6074 * HyperLinkColumn.cs: Initial implementation.
6075 Todo: Figure out Initialize and InitializeCell.
6077 2005-07-20 Chris Toshok <toshok@ximian.com>
6079 * BaseValidator.cs: don't use Page.FindControl, use this Control's
6080 FindControl, so it'll use the same naming container.
6082 2005-07-21 Duncan Mak <duncan@novell.com>
6084 * DataGridCommandEventArgs.cs:
6085 * DataGridPageChangedEventArgs.cs:
6086 * RepeaterCommandEventArgs.cs: Fixed visibility.
6088 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
6089 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
6091 2005-07-20 Chris Toshok <toshok@ximian.com>
6093 * Button.cs: hook up the client side validation stuff.
6095 * ImageButton.cs: same.
6097 * LinkButton.cs: same, although it's a little more complicated
6100 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6103 - Implemented RaisePostDataChangedEvent()
6104 - Spewing postback command if AutoPostBack is true
6106 2005-07-20 Chris Toshok <toshok@ximian.com>
6108 * BaseValidator.cs: another Page != null check when uplevel
6111 2005-07-20 Chris Toshok <toshok@ximian.com>
6113 * BaseValidator.cs: check Page != null when determining if we're
6114 rendering uplevel or not.
6116 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6118 * ListItemCollection.cs: Removed obsolete method that's no longer
6121 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6123 * DropDownList.cs: Oops. Forgot to implement LoadPostData
6124 * ListItemCollection.cs: Added convenience method to have faster
6127 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6130 - Automatically select the first item if none are selected
6131 - Throw exception if more than one item is selected
6133 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6135 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
6136 handled by RepeatInfo).
6138 2005-07-20 Jackson Harper <jackson@ximian.com>
6140 * DataGrid.cs: Store the data source created columns in a
6141 DataGridColumnCollection. This way they can be put in the
6142 view state more easily, and accessed without casting.
6144 2005-07-20 Chris Toshok <toshok@ximian.com>
6146 * BaseValidator.cs (AddAttributesToRender): render the client side
6147 attributes if we're in uplevel mode.
6148 (DetermineRenderUplevel): flesh out a bit - for now basically
6149 return true unless the control has it disabled.
6150 (OnInit): only add the validator to Page's list if there is, in
6152 (OnUnload): same for removal.
6153 (OnPreRender): hook up client scripting stuff here. Only the call
6154 to RegisterValidatorCommonScript is a for sure thing here, the
6155 registering of the submit statement and startup script should
6156 probably go elsewhere, but I don't know where.
6157 (RegisterValidatorCommonScript): register the <script
6158 src=".../WebUIValidation.js"> tag, if it's not already there.
6159 (RegisterValidatorDeclaration): add our span object to the
6160 Page_Validators JS array.
6161 (Render): always render the tags (although this is probably not
6162 right), and call RegisterValidatorDeclaration here.
6164 * BaseCompareValidator.cs (AddAttributesToRender): render the
6165 client side attributes if we're in uplevel mode.
6166 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
6167 call base.DetermineRenderUplevel for now.
6169 * RegularExpressionValidator.cs (AddAttributesToRender): render
6170 the client side attributes if we're in uplevel mode.
6172 * RequiredFieldValidator.cs (AddAttributesToRender): same.
6174 * CompareValidator.cs (AddAttributesToRender): same.
6176 2005-07-20 Jackson Harper <jackson@ximian.com>
6178 * DataGrid.cs: Save the data source created column set in the
6181 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6183 * DataList.cs: Fix events and properties exceptions. Give the right
6184 informations to RenderItem.
6186 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6188 * ValidationSummary.cs: Implemented rendering
6190 2005-07-20 Jackson Harper <jackson@ximian.com>
6192 * DataGrid.cs: column names are cached and only regenerated if useDataSource
6193 is set to true. Otherwise they are just fetched from the last set that
6194 was generated from the source.
6196 2005-07-20 Jackson Harper <jackson@ximian.com>
6198 * DataGrid.cs: Assign some properties of newly created BoundColumns.
6200 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6202 * DataList.cs: Fix viewstate ordering.
6204 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6206 * SelectedDatesCollection.cs: Apprarently, I don't write code well
6209 * Repeater.cs: Uh, actually add stuff to the items collection
6212 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6214 * BaseDataList.cs: EnsureChildControls on Controls property.
6215 * DataList.cs: Fix rendering and Controls/Items differences.
6216 * DataListItem.cs: Added rendering of controls.
6218 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6220 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
6222 2005-07-20 Jackson Harper <jackson@ximian.com>
6224 * DataGrid.cs: Add some of the collections. Implement
6227 2005-07-20 Jackson Harper <jackson@ximian.com>
6229 * PagedDataSource.cs: Implement GetItemProperties, this is
6230 needed for the datagrid.
6232 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6234 * DataGridColumnCollection.cs: New impl
6236 * TemplateColumn.cs: New impl
6238 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6240 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
6241 * DataList.cs: Work in progress... Added attributes, proper
6242 IRepeatInfoUser support and cool things stolen from other classes.
6243 * DataListCommandEventArgs.cs: Class is sealed.
6244 * DataListItem.cs: RenderItem is public.
6246 2005-07-19 Jackson Harper <jackson@ximian.com>
6248 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
6249 a viewstate object if all the viewstate stuff is null.
6251 2005-07-19 Jackson Harper <jackson@ximian.com>
6253 * DataGrid.cs: Implement style properties and viewstate
6254 saving/loading/tracking.
6256 2005-07-19 Chris Toshok <toshok@ximian.com>
6258 * BaseValidator.cs: more fixes from pdb.
6260 2005-07-19 Chris Toshok <toshok@ximian.com>
6262 * BaseValidator.cs: some test-driven fixes.
6264 2005-07-19 Chris Toshok <toshok@ximian.com>
6266 * BaseValidator.cs: Initial implementation.
6268 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6270 * Repeater.cs: Fix small typo.
6272 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
6274 * ValidationSummaryTest.cs: Started implementation
6275 * RangeValidator.cs: Implemented
6276 * ValidatedControlConverter.cs: Implemented
6277 * DropDownList.cs: Implemented
6279 2005-07-19 Jackson Harper <jackson@ximian.com>
6281 * DataGrid.cs: Implement bubble event.
6283 2005-07-19 Jackson Harper <jackson@ximian.com>
6285 * DataGrid.cs: New implementation. Just properties and events for
6288 2005-07-18 Chris Toshok <toshok@ximian.com>
6290 * BaseCompareValidator.cs: Initial implementation, with some NYI.
6292 2005-07-19 Ben Maurer <bmaurer@ximian.com>
6294 * FontUnit.cs: Corcompare fixes
6296 * UnitConverter.cs: Fix api diffs
6298 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6300 * ListControl.cs: Fix api differences
6302 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6304 * Table.cs: Fix indentation for caption. Simplify check when adding
6306 * TableRow.cs: Simplify check when adding controls.
6308 2005-07-18 Chris Toshok <toshok@ximian.com>
6310 * CompareValidator.cs: wtf, just use the base class's methods.
6312 2005-07-18 Chris Toshok <toshok@ximian.com>
6314 * CompareValidator.cs: do comparisons based on
6315 BaseCompareValidator.Type.
6317 2005-07-18 Chris Toshok <toshok@ximian.com>
6319 * CompareValidator.cs: initial implementation.
6321 2005-07-18 Chris Toshok <toshok@ximian.com>
6323 * RegularExpressionValidator.cs: initial implementation.
6325 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6327 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
6329 2005-07-18 Jackson Harper <jackson@ximian.com>
6331 * CheckBoxList.cs: Implement LoadPostBackData. Also register
6332 checkboxes for postback if they are checked so we can find
6333 out when they are unchecked. Copy the AutoPostBack variable
6334 to the to be rendered checkbox when rendering.
6336 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6338 * TextBox.cs: Finish this up.
6340 * AdRotator.cs: Fix issues in the test suite. Minor style
6343 * Repeater.cs: Fix a bug where the datasource is null and we do
6346 * WebColorConverter.cs: Optimize by not doing a concat on a
6349 2005-07-17 Ben Maurer <bmaurer@ximian.com>
6351 * ListItemCollection.cs: Multiple uses of equals rather than
6352 string.compare as below. Remove unreachable code warning.
6354 * WebColorConverter.cs (ConvertTo): Use the == operator on string
6355 rather than an invariant non-case ignoring compare. They are
6356 exactly the same thing. Use proper coding style in this method.
6358 * WebControl.cs: Return null when saving the view state if there
6359 is no state in any of the things we save. This creates a fairly
6360 large savings, because we can avoid saving anything about many
6361 levels of deaply nested controls.
6363 2005-07-15 Jackson Harper <jackson@ximian.com>
6365 * CheckBoxList.cs: Use the index as the ID, the rest of the
6366 id is built by being in the NamingContainer.
6368 2005-07-15 Jackson Harper <jackson@ximian.com>
6370 * ListControl.cs: Use enum instead of string. Saves a lookup.
6372 2005-07-15 Jackson Harper <jackson@ximian.com>
6374 * CheckBoxList.cs: FindControl always returns 'this' according
6377 2005-07-15 Jackson Harper <jackson@ximian.com>
6379 * CheckBoxList.cs: New impl.
6381 2005-07-15 Jackson Harper <jackson@ximian.com>
6383 * WebControl.cs: Use the ClientID when rendering a controls ID
6384 attribute so that naming containers are honoured.
6386 2005-07-15 Jackson Harper <jackson@ximian.com>
6388 * ListControl.cs: use the state manager interface for tracking
6391 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6393 * Repeater.cs (DoItem): Add the DataItem before we call user
6394 methods, as it seems to be there with msft.
6396 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
6398 * BaseDataList.cs: New. (mostly complete) implementation.
6399 * DataKeyCollection.cs: New. Implementation (complete).
6400 * DataList.cs: New. (mostly incomplete) implementation.
6401 * DataListItem.cs: New. (mostly complete) implementation.
6402 * DataListItemCollection.cs: New. Implementation (complete).
6404 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6406 * Repeater.cs (DoItem): We need to .Add the control *before* we
6407 data bind it so that the state gets tracked correctly. Fixes the
6410 2005-07-15 Jackson Harper <jackson@ximian.com>
6412 * ListControl.cs: Simplify comparison.
6414 2005-07-15 Jackson Harper <jackson@ximian.com>
6417 * Repeater.cs: Use new utility class for resolving data sources.
6419 2005-07-15 Jackson Harper <jackson@ximian.com>
6421 * ListControl.cs: Add attributes so the sub items get parsed
6422 properly. Remove old unneeded code for resolving lists.
6424 2005-07-15 Jackson Harper <jackson@ximian.com>
6426 * ListControl.cs: Use the DataSourceHelper so DataMembers are
6429 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6432 - Some optimizations
6433 * Don't use enum formatting stuff, it is 1) expensive 2) does
6434 allocations. Use a new method in HtmlControl to do the right
6436 * Don't use Enum.IsDefined but an explicit check.
6437 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
6438 - Use the correct coding style.
6440 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6442 * WebColorConverter.cs:
6443 - Alpha of 255 is only set if the hex number is exactly 6 digits
6444 - Ben didn't like the catch { throw; } (even though MS documents to
6446 - Use Invariant Culture for parsing (thanks, Ben)
6448 2005-07-14 Jackson Harper <jackson@ximian.com>
6450 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
6451 code-reuse-arific. Also use the IStateManager interface for loading
6452 data instead of the old internal method.
6454 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6456 * WebColorConverter.cs: Implemented
6458 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6460 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
6462 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6464 * Repeater.cs: Get it working
6466 2005-07-14 Jackson Harper <jackson@ximian.com>
6468 * ListControl.cs: Initial implementation of Databinding. Make sure
6469 that the ListItemCollection is created when we load its ViewState.
6471 2005-07-14 Jackson Harper <jackson@ximian.com>
6473 * ListControl.cs: Fix typo.
6475 2005-07-14 Jackson Harper <jackson@ximian.com>
6477 * ListControl.cs: New Implementation. Lacks databinding support.
6479 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6481 * Repeater.cs: The beginnings of this control
6483 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6485 * TargetConverter.cs: Implemented
6487 2005-07-14 Duncan Mak <duncan@novell.com>
6489 * PagedDataSource.cs: Initial implementation.
6491 Methods that need to be figured out:
6492 CopyTo, GetItemProperties, PageCount, IsLastPage.
6494 To complete: CollectionEnumerator, ListEnumerator.
6496 2005-07-13 Duncan Mak <duncan@novell.com>
6498 * RepeatDirection.cs:
6500 * ValidationCompareOperator.cs:
6501 * ValidationDataType.cs:
6502 * ValidationSummaryDisplayMode.cs:
6503 * ValidatorDisplay.cs: Added remaining enumerations.
6505 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6507 * FontNamesConverter.cs: Implemented
6509 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6511 * RepeaterItem.cs: Compile fix
6513 * RepeaterItemCollection.cs: New file
6515 * RepeaterItem.cs: get OnBubbleEvent right.
6517 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6519 * ListItemCollection.cs: Count can be derived from the array, which
6520 allows us to use a Pair instead of a Triplet and save some space
6522 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6524 * RepeaterItem.cs: Stub
6526 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6528 * ListItemCollection.cs: Implemented
6529 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
6531 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6533 * RepeatInfo.cs: Impl.
6535 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6537 * FirstDayOfWeek.cs: Added
6539 2005-07-13 Jackson Harper <jackson@ximian.com>
6541 * ListBox.cs: Some parameter checking.
6543 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6545 * Image.cs: Added support for DescriptionUrl as this property was
6546 added in Fx 1.1 SP1.
6548 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6550 * Style.cs (AddAttributesToRender): Don't render attributes if they
6551 contain only their default value
6553 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6555 * Table.cs: New. Initial re-implementation.
6556 * TableCell.cs: New. Initial re-implementation.
6557 * TableCellCollection.cs: New. Initial re-implementation.
6558 * TableHeaderCell.cs: New. Initial re-implementation.
6559 * TableItemStyle.cs: New. Initial re-implementation.
6560 * TableRow.cs: New. Initial re-implementation.
6561 * TableRowCollection.cs: New. Initial re-implementation.
6562 * TableStyle.cs: New. Initial re-implementation.
6564 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6566 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
6567 unit tests (for Style) and more tests in Table* classes.
6569 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6571 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
6572 however IsEmpty returns false if any of their properties are set.
6573 Looks ugly but it's compatible with MS implementation (feature and
6576 2005-07-13 Dick Porter <dick@ximian.com>
6578 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
6579 null Text properties from the ViewState, test for TextAlign being
6580 out of range. All to make tests pass on both mono and ms
6583 2005-07-13 Jackson Harper <jackson@ximian.com>
6585 * ListBox.cs: Use invariant culture when doing a ToString,
6586 set value to the item's value, not to its Text.
6588 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6590 * WebControl.cs (AddAttributesToRender): Added ID to rendered
6593 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6595 * Style.cs(MergeWith): Handle null styles
6597 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
6599 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
6600 the #if NET_2_0 on it.
6602 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6604 * Style.cs: Only render font elements if fontinfo object exists
6606 - Implemented SaveViewState()
6607 - Added loading of Style to LoadViewState
6608 - Implemented IAttributeAccessor methods
6610 2005-07-12 Jackson Harper <jackson@ximian.com>
6612 * ListBox.cs: Even track default values in the viewstate. Call
6613 base's RenderContents.
6615 2005-07-12 Jackson Harper <jackson@ximian.com>
6617 * ListBox.cs: New impl.
6619 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6622 - Implemented methods
6625 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6627 * ListItem.cs: New impl.
6629 2005-07-12 Duncan Mak <duncan@novell.com>
6631 * DayNameFormat.cs: Added.
6633 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6635 * WebControl.cs: Implemented properties
6637 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6639 * TextBox.cs: Passwords seem 1) not to be rendered to the client
6640 if set, 2) not kept in view state (for security reasons...)
6643 * Button.cs: Page.Validate () if needed. Gets the validator tests
6646 * TextBox.cs: Properties to get the validator stuff to work.
6648 2005-07-12 Miguel de Icaza <miguel@novell.com>
6650 * Unit.cs: If the units are pixels, then truncate the value.
6652 2005-07-12 Dick Porter <dick@ximian.com>
6654 * RadioButton.cs: New implementation
6656 * CheckBox.cs: Rearrange the attributes rendering to allow
6657 RadioButton to derive from this
6659 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6661 * TitleFormat.cs: Add attribute
6662 * TextBoxMode.cs: Add attribute
6663 * CalendarDay.cs: Initial implementation
6664 * ImageButton.cs: Initial implementation
6665 * CalendarSelectionMode.cs:Initial implementation
6667 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6669 * TextBoxMode.cs: simple enum
6670 * TitleFormat.cs: simple enum
6672 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6674 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
6676 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6678 * FontUnit.cs: Added TypeConverter attribute to class
6679 * FontUnitConverter.cs: Implemented
6681 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6684 * Button.cs: Bubble the Command event.
6686 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6689 - Clean up style (with my wonderful state bag hack!)
6690 - Fix a view state typo.
6691 - Use AddAttributesToRender
6692 - Don't add an extra <span>
6694 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6696 * Style.cs: Handle null constructor argument for bag
6698 2005-07-11 Dick Porter <dick@ximian.com>
6700 * CheckBox.cs: New implementation
6702 * RadioButton.cs: Initial stubbed version that just compiles
6704 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
6706 * Button.cs: Initial Button implementation
6708 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
6710 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
6712 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6714 * HorizontalAlign.cs: Typo in header.
6715 * VerticalAlign.cs: New. Required enum for TableRow control.
6717 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6719 * TextBox.cs: More work on this
6721 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6723 * GridLines.cs: New. Required enum for Table control.
6724 * HorizontalAlign.cs: New. Required enum for Table control.
6726 2005-07-09 Duncan Mak <duncan@novell.com>
6728 * CommandEventHandler.cs:
6729 * DataGridCommandEventHandler.cs:
6730 * DataGridItemEventHandler.cs:
6731 * DataGridPageChangedEventHandler.cs:
6732 * DataGridSortCommandEventHandler.cs:
6733 * DataListCommandEventHandler.cs:
6734 * DayRenderEventHandler.cs:
6735 * RepeaterCommandEventHandler.cs:
6736 * ServerValidateEventHandler.cs: Add delegates.
6739 * ListSelectionMode.cs:
6740 * NextPrevFormat.cs:
6742 * PagerPosition.cs: Add enums.
6744 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6746 * TextBox.cs: Add the work I did on this today. It's not complete
6747 yet, but its a start!
6749 2005-07-09 Duncan Mak <duncan@novell.com>
6751 * CommandEventArgs.cs:
6752 * DataGridCommandEventArgs.cs:
6753 * DataGridItemEventArgs.cs:
6754 * DataGridPageChangedEventArgs.cs:
6755 * DataGridSortCommandEventArgs.cs:
6756 * DataListCommandEventArgs.cs:
6757 * DataListItemEventArgs.cs:
6758 * DayRenderEventArgs.cs:
6759 * RepeaterCommandEventArgs.cs:
6760 * RepeaterItemEventArgs.cs:
6761 * ServerValidateEventArgs.cs: Implemented.
6763 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
6765 * Image.cs: New. Image class implementation.
6766 * ImageAlign.cs: New. ImageAlign enum definitions.
6768 2005-07-08 Jackson Harper <jackson@ximian.com>
6770 * Literal.cs: New implentation.
6771 * MonthChangedEventArgs.cs: new
6772 * MonthChangedEventHandler.cs: new
6774 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6776 * LinkButton.cs: Command impl
6778 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6780 * LinkButton.cs: Initial impl
6782 2005-07-08 Jackson Harper <jackson@ximian.com>
6784 * AdCreatedeventArgs.cs: New implementation.
6786 2005-07-08 Dick Porter <dick@ximian.com>
6789 * BorderStyle.cs: Added
6791 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6793 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
6795 2005-07-07 Miguel de Icaza <miguel@novell.com>
6797 * Xml.cs: New implementation. R00lz.
6799 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6801 * FontInfo.cs: Added and implemented.
6802 * Style.cs: Fixed behaviour discrepancies showed by tests
6804 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6806 * PlaceHolderControlBuilder.cs: new file
6808 * LabelControlBuilder.cs: New file
6810 * HyperLink.cs: use control builder; fix parsing stuff
6812 * HyperLinkControlBuilder.cs: new file
6814 * Panel.cs: misc fixes
6816 2005-07-07 Miguel de Icaza <miguel@novell.com>
6818 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
6820 * UnitConverter.cs: Add new file, learned from the
6821 System.Drawing.ColorConverter.
6823 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6825 * PlaceHolder.cs: New file. Seems to do nothing
6827 * Label.cs: Use my new statebag trick to reduce typing
6829 * HyperLink.cs: New file
6831 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6833 * Style.cs: Added and implemented.
6835 2005-07-06 Miguel de Icaza <miguel@novell.com>
6837 * FontUnit.cs: New file.
6839 * Unit.cs: New file.
6841 Added support for null and empty string constructors.
6843 2005-07-06 Ben Maurer <bmaurer@ximian.com>
6845 * Unit.cs: cctor not needed; static fields are 0 init'd by default
6847 * WebControl.cs: Kothari & Datye's book explains how these work.
6849 * IRepeatInfoUser.cs: Reimpl.
6851 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6853 * WebControl.cs: Added stub
6855 2005-07-05 Miguel de Icaza <miguel@novell.com>
6857 * Label.cs: First control.
6859 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
6861 * DataControlField.cs: Ignore the ShowHeader property when
6862 building the control's content. It is the resposability of
6863 the field container to decide if the header should be shown
6866 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
6869 * ImageFieldMode.cs:
6870 * DynamicImageParameterMode.cs:
6871 * TableViewMode.cs: Removed.
6875 * TableRowSection.cs:
6876 * AutoCompleteType.cs:
6877 * DayNameFormat.cs: Track changes in 2.0 api.
6879 * StringArrayConverter.cs: This class is 2.0 only.
6881 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
6885 * DetailsView.cs: Bind the control after creating all child
6887 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
6888 the correct methods.
6889 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
6890 in this class. This is done in DataBoundControl. All this fixes
6893 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6895 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
6896 FindByText. Closes bug #74205.
6898 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6900 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
6901 1 when there's a datasource and 0 pages. Closes bug #73864.
6903 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
6910 * MenuItemTemplateContainer.cs:
6911 * DetailsView.cs: Track changes in the IDataItemContainer interface.
6913 * CommandField.cs: Added CausesValidation property. Set that
6914 property value to all buttons of the field.
6916 * SqlDataSourceView.cs:
6917 * CollectionDataSource.cs:
6918 * XmlDataSourceView.cs: Properly initialize the base class.
6920 * SiteMapDataSource.cs:
6921 * SiteMapHierarchicalDataSourceView.cs:
6922 * SiteMapNodeItem.cs:
6923 * SiteMapDataSourceView.cs:
6924 * SiteMapPath.cs: Mostly implemented.
6926 * HierarchicalDataBoundControl.cs: Always bind the control when the
6927 page is loaded for the first time.
6929 * TreeView.cs: Properly bind the control when loaded from a callback.
6931 2005-05-21 Ben Maurer <bmaurer@ximian.com>
6933 * BaseDataList.cs: Caption is in 1.1 too, though not
6934 documented. Gonz owes me [more] ice cream. Yummmmm.
6936 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6938 * BaseDataList.cs: implemented 2.0 Caption property.
6940 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
6942 * TreeView.cs: Always render the startup script. This fixes
6945 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
6947 * WizardStepBase.cs:
6948 * WizardStep.cs: Added missing attributes.
6949 * Wizard.cs: Implemented missing methods and properties. It can now
6950 be considered feature complete.
6952 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6954 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
6955 the method if the data source was en empty IEnumerator. Fixes
6958 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
6962 * Menu.cs: Implemented some new properties from beta 2.
6964 * DataControlButton.cs: Render the ControlStyle if it
6968 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
6969 It will now generate an object creation, instead of a Parse call.
6971 * GridViewCommandEventArgs.cs: Added missing property.
6972 * SubMenuStyleCollection.cs: This class is not sealed.
6973 * MultiView.cs: Set Visible=false to all views that are not
6974 shown. This ensures that it's view state is saved.
6976 * BaseDataBoundControl.cs:
6977 * GridViewDeletedEventArgs.cs: Minor api fixes.
6979 * FormViewDeleteEventArgs.cs:
6980 * DetailsViewDeletedEventArgs.cs:
6981 * ListControl.cs: Fix warnings.
6985 * HotSpotCollection.cs
6988 * RectangleHotSpot.cs
6989 * WizardStepCollection.cs : Implemented.
6993 * Wizard.cs: Initial implementation.
6995 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
6997 * DataControlField.cs:
7001 * DataControlCommands.cs:
7002 * DetailsView.cs: Use constants to identify commands.
7004 * SubMenuStyle.cs: Use Unit instead of int for padding.
7005 * SubMenuStyleCollection.cs: Implemented.
7008 * Menu.cs: Added some missing methods and properties.
7011 * DataGridPagerStyle.cs: Fixed default value attributes.
7012 * ListControl.cs: Implemented IEditableTextControl interface.
7014 * MenuItemBinding.cs: Added Selectable property.
7015 * CustomValidator.cs: removed interface.
7017 * MenuItem.cs: Added support for custom binding.
7018 * DropDownList.cs: Moved text properties to base class.
7020 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7022 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
7024 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7026 * Calendar.cs: when the day is active, modify the text of the literal
7027 control that holds the number, not the text of the TableCell. Also call
7028 OnDayRender before updating that text. Fixes bug #74718.
7030 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
7032 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
7034 * DataControlFieldHeaderCell.cs: Save Scope in view state.
7035 Added AbbreviatedText property.
7036 * AutoGeneratedField.cs: The constructor should actually be internal.
7037 * DataGridItem.cs: Added implemented interface in 2.0.
7038 * DataControlFieldCollection.cs: Implemented CloneFields and
7042 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7044 * StringArrayConverter.cs:
7045 * Calendar.cs: warnings.
7047 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
7049 * FormViewDeleteEventArgs.cs:
7050 * FormViewInsertEventArgs.cs:
7051 * FormViewUpdateEventArgs.cs:
7052 * FormViewDeletedEventArgs.cs:
7053 * FormViewUpdatedEventArgs.cs:
7054 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
7057 * IButtonControl.cs:
7058 * Button.cs: Removed SoftKey property.
7060 * CheckBox.cs: Don't try to load post back data if the control
7064 * AutoGeneratedField.cs:
7065 * DataControlField.cs:
7067 * ButtonFieldBase.cs:
7071 * ButtonField.cs: Don't bind fields in Insert state.
7072 Implemented CreateField and CopyProperties.
7075 * DetailsView.cs: Removed some unneeded interfaces. Don't
7076 generate the field rows if there are no items in the data source.
7077 Don't get the current keys until the whole control has been
7080 * DetailsViewInsertedEventArgs.cs:
7081 * DataBoundControl.cs:
7082 * ObjectDataSourceView.cs: Made some methods private.
7085 * Menu.cs: Changed some properties from int to Unit.
7087 * DataControlButton.cs: javascript prefix is needed when raising
7088 the postback event from a link.
7090 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
7091 The result was wrong when the total data source count was 0.
7093 * FormView.cs: Implemented.
7094 * FormViewRow.cs: Implemented.
7097 * Localize.cs: Fixed base interface.
7099 * BaseDataBoundControl.cs: In DataBind() call the base class
7100 DataBind method, so the binding context is properly set.
7102 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
7104 * DetailsView.cs: Added some null checks.
7105 * TemplateField.cs: Implemented support for two-way bindings.
7107 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
7109 * DetailsView.cs: Implemented support for Insert operation.
7110 Added header and footer templates. Added missing style
7112 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
7113 to get filter values. Other minor fixes.
7114 * CommandField.cs: Properly render the Insert and New buttons.
7115 * ObjectDataSource.cs: Update the parameter collections after
7116 the page is loaded. This will fire the ParameterChanged event
7118 * DataBoundControl.cs: The OnDataSourceViewChanged method
7119 is called when the view changes, not when the datasource
7122 * DetailsViewInsertedEventArgs.cs:
7123 * DetailsViewInsertEventArgs.cs: Implement Values property.
7126 * AutoGeneratedField.cs
7129 Take into account the Insert mode.
7131 * ParameterCollection.cs: Implemented UpdateValues and fixed
7132 GetValues (values can't be cached because can change).
7133 * Parameter.cs: Detect value changes in GetValue, and fire
7134 the change event if needed. Removed unused ParameterValue
7135 property. Other fixes.
7137 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
7139 * DetailsView.cs: Initial implementation.
7140 * ObjectDataSourceView.cs: Notify changes in the parameters.
7141 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
7142 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
7143 Implemented some properties.
7144 * GridView.cs: Added null check in SelectedValue. Don't return null
7145 for empty DataKeyNames list.
7146 * DetailsViewRowCollection.cs: Implemented.
7147 * DetailsViewRow.cs: Implemented.
7148 * ButtonFieldBase.cs: By default button field don't have headers.
7149 * BoundField.cs: Don't bind header fields.
7151 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
7153 * ButtonField.cs: Get data item properties using TypeDescriptor.
7154 Made OnDataBindField private.
7155 * ObjectDataSourceView.cs: Implemented support for Delete and
7156 Insert operations, support for filtering and sorting,
7157 conflict detection, etc. It's now complete.
7158 * ObjectDataSource.cs: Completed most of functionality. Only
7159 caching support is missing.
7160 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
7161 * TreeNode.cs: Get data item properties using TypeDescriptor.
7162 * PagerSettings.cs: Flush.
7163 * ObjectDataSourceFilteringEventArgs.cs: New event args.
7164 * GridView.cs: Get data item properties using TypeDescriptor
7165 and cache them. Properly set descending order in the sort
7166 expression. In UpdateRow, make sure we get the old values
7167 before the control is bound again.
7168 * ImageField.cs: Implemented.
7169 * AutoGeneratedField.cs: Initialize the field's sort
7170 expression in the constructor.
7171 * MenuItem.cs: Get data item properties using TypeDescriptor.
7172 * BoundField.cs: Get data item properties using TypeDescriptor.
7173 * CheckBoxField.cs: Added missing attributes.
7174 * TemplateField.cs: Implemented.
7176 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7179 * FontUnitConverter.cs: fixed ConvertTo to work with target
7180 InstanceDescriptor and value as a string.
7182 * Unit.cs: culture might be null.
7186 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
7188 * ButtonField.cs: Mostly implemented.
7189 * DataControlFieldHeaderCell.cs: Implemented.
7190 * ObjectDataSourceView.cs: Initial implementation.
7191 * DataControlButton.cs: Added support for real buttons.
7192 * Label.cs, DataControlField.cs: Flush.
7193 * ObjectDataSource.cs: Initial implementation.
7194 * HiddenField.cs: Added class stub.
7195 * GridView.cs: Load autogenerated field properties before
7196 creating the children, to make sure that column info is ready.
7197 * ControlParameter.cs: Implemented Evaluate method.
7198 * ImageField.cs: Added class stub.
7199 * BoundField.cs: Added HtmlEncode property.
7200 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
7202 * CheckBoxField.cs: Mostly implemented.
7203 * TemplateField.cs: Added class stub.
7204 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
7205 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
7206 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
7208 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
7210 * DataControlField.cs: Added missing InsertVisible property.
7211 * AutoGeneratedFieldProperties.cs: Implemented.
7212 * PagerSettings.cs: Minor fix.
7213 * GridView.cs: Implemented support for autogenerated fields, templates,
7214 accessible headers. Implemented paging using PagedDataSource.
7215 Implemented missing overridable methods.
7216 * AutoGeneratedField.cs: Initial implementation.
7217 * BoundField.cs: Added ReadOnly property.
7218 * PagedDataSource.cs: Implemented 2.0 api.
7219 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
7220 cell class to be used by accessible headers.
7221 * TableCell.cs: Removed unneded constructor. If the cell is bound to
7222 a template, call the default RenderContents method.
7224 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7226 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
7227 event when loading the view state. Fixes #73746.
7229 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7231 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
7233 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
7235 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
7237 * CommandField.cs: Mostly implemented.
7238 * Menu.cs: Use callback methods moved to ClientScriptManager.
7239 * DataControlButton.cs: Internal control used to implement buttons
7240 for navigating in data bound controls.
7241 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
7242 to render the column headers.
7243 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
7244 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
7245 Don't use Page.GetPostBackClientEvent
7246 since it is deprecated in 2.0.
7247 * GridView.cs: Implemented some several interfaces.
7248 Implemented support client sorting and page navigation (using callbacks).
7249 Implemented the autogenerated command column using the new CommandField
7251 * ButtonFieldBase.cs: Implemented.
7252 * GridView.js: New helper script to support client side sorting and
7253 paging in the grid view.
7255 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
7257 * DataKey.cs: Implemented.
7258 * XmlDataSourceView.cs: Implemented support for row pagging.
7259 * Table.cs: Fixed attribute value.
7260 * DataControlField.cs: Added support for sorting headers.
7261 * ChildTable.cs: Created.
7262 * ListControl.cs: Delay selection assignment, since control state
7263 is now loaded before view state.
7264 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
7265 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
7266 several missing properties.
7267 * PagerSettings.cs: Fully implemented.
7268 * BaseDataList.cs: Added null check.
7269 * GridView.cs: Implemented more functionality.
7270 * BoundField.cs: Added support for cell editing.
7271 * StringArrayConverter.cs: Implemented.
7272 * DataKeyArray.cs: Implemented.
7273 * BaseDataBoundControl.cs: Reset the requires binding flag before
7274 executing the query. This avoids recursive query calls.
7275 * GridViewRow.cs: Handler commands raised from row childs.
7277 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
7279 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
7280 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
7281 it is possible to query for properties fore each data item.
7282 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
7283 when loading its view state.
7284 * DataControlField.cs: Implement properties using a StateBag.
7285 * XmlDataSourcePropertyDescriptor.cs: Implemented.
7286 * PagerSettings.cs: Mostly implemented.
7287 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
7288 * DataBoundControl.cs: Added null check.
7289 * GridView.cs: Initial implementation.
7290 * CompositeDataBoundControl.cs: Implemented.
7291 * BoundField.cs: Initial implementation.
7292 * GridViewRowCollection.cs: Initial implementation.
7293 * DataControlFieldCollection.cs: Initial implementation.
7294 * DataControlFieldCell.cs: Fixed control tag.
7295 * GridViewRow: Initial implementation.
7296 * XmlDataSourceNodeDescriptor.cs: Implemented.
7298 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7300 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
7301 is zero, use the TagName no matter its value. Fixes bug #72415.
7303 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
7305 * Style.cs: Method name fix.
7306 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
7307 * BaseCompareValidator.cs: Method signature fix.
7308 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
7309 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
7310 * BulletedList.cs: Added missing method.
7311 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
7313 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
7315 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
7316 * RadioButton.cs: Added missing 2.0 methods.
7317 * ListItem.cs: Added Enabled property.
7318 * MailMessageEventArgs.cs: Use the correct message class.
7319 * ListControl.cs: Implemented missing properties and support for
7320 control state. Implemented base RenderContents method.
7321 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
7323 * BaseCompareValidator.cs: Implemented methods that support conditional
7324 use of the invariant culture.
7325 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
7326 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
7327 It takes a DbCommand instead of a IDbCommand.
7328 * GridViewSortEventArgs.cs: Added SortDirection property.
7329 * TextBox.cs, CheckBoxList.cs: Added protected version of
7330 IPostBackDataHandler methods.
7331 * RadioButtonList.cs: Added protected version of
7332 IPostBackDataHandler and IRepeatInfoUser methods.
7333 * Repeater.cs: Updated some method names.
7334 * DropDownList.cs: Added protected version of
7335 IPostBackDataHandler methods. Reuse RenderContents from base class.
7336 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
7337 * GridViewUpdatedEventArgs.cs: Fix typo.
7338 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
7339 Reuse RenderContents from base class.
7340 * BaseDataBoundControl.cs: Several fixes.
7341 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
7343 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7345 * CheckBoxList.cs: Fix build.
7347 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7349 * Button.cs: Use validation group when validating page.
7350 * XmlDataSourceView.cs: Implemented ExecuteSelect.
7351 * Menu.cs: Minor fix.
7352 * CheckBox.cs: Added 2.0 properties and methods.
7353 * BaseDataList.cs: Always databind the control if view state
7355 * DataList.cs: In 2.0, use control state to save the selected index.
7356 * DetailsViewUpdatedEventArgs.cs: Fix typo.
7357 * CustomValidator.cs: Implement IStaticTextControl interface.
7358 * CheckBoxList.cs: Added missing 2.0 methods.
7359 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
7361 * XmlDataSource.cs: Return childs of DocumentElement, not the root
7363 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
7364 Implemented 2.0 API.
7367 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
7369 * Button.cs: Implemented all missing 2.0 features.
7370 * Table.cs: Render the table caption, when specified.
7371 * Calendar.cs: Implemented most of missing 2.0 features.
7372 * TableCell.cs: Fixed attributes.
7374 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7376 * ControlPropertyNameConverter.cs: Added file.
7378 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7380 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
7381 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
7382 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
7383 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
7384 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
7385 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
7386 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
7387 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
7388 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
7389 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
7390 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
7391 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
7392 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
7393 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
7394 DataGridSortCommandEventArgs.cs, Repeater.cs,
7395 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
7396 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
7397 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
7398 CompareValidator.cs, HierarchicalDataBoundControl.cs,
7399 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
7400 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
7401 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
7402 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
7403 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
7404 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
7405 AdCreatedEventArgs.cs:
7407 General 2.0 API fixes: missing attributes, incorrect inheritance,
7408 missing sealed keywords, wrong signatures, etc.
7410 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
7412 * Table.cs: Added some 2.0 properties.
7413 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
7415 * BaseValidator.cs: Fix warning.
7416 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
7418 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
7420 * Menu.cs: Rendering fixes.
7422 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
7424 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
7425 ContentPlaceHolderBuilder.cs: Implemented.
7427 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7429 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
7430 attributes that are meant to be in the input tag in their place.
7432 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
7434 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
7435 generates invalid html).
7437 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
7439 * Menu.cs: Implemented most of missing properties. Added support for
7440 item templates. Implemented menu scrolling.
7441 * MenuItemBinding.cs: Implemented most of missing properties.
7442 * MenuItem.cs: Implemented most of missing properties.
7443 * Menu.js: Implemented scrolling and menu reposition into screen.
7444 * MenuItemTemplateContainer.cs: Implemented.
7445 * SubMenuStyle.cs: Implemented.
7447 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
7449 * Style.cs: Implemented RegisteredCssClass property. Added
7450 CopyTextStylesFrom method, which copies styles that only apply to text.
7451 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
7452 in the page stylesheet. Added support for ItemSpacing property.
7453 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
7455 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
7457 * Style.cs: Generate styles using a CssStyleCollection, so the code can
7458 be reused for the 2.0 FillStyleAttributes method.
7459 * Menu.cs: Implemented more properties and events. Rendering is very
7461 * MenuItem.cs: Added PopOutImageUrl property.
7462 * Menu.js: More work on submenu management.
7464 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
7466 * Menu.cs: Implemented basic rendering. Added some missing properties.
7467 * MenuItem.cs: Improved implementation of Depth.
7468 * Unit.cs: Added serializable attribute.
7469 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
7470 so it can be reused.
7471 * Menu.js: New script to support he Menu control.
7473 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
7475 * MenuEventArgs.cs: Changed to sealed.
7476 * TreeView.cs: Minor fix.
7477 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
7478 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
7479 MenuItemStyleCollection.cs: Initial Menu code.
7481 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
7483 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
7484 Implemented SetDirtyObject.
7485 * Style.cs: Implemented SetDirty().
7486 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
7487 * TreeNode.cs: Added missing attributes added support for
7488 PopulateOnDemand. Added some missing property bindings.
7489 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
7490 to newly added elements to make sure al new data is saved.
7491 * TreeView.js: Implemented support for client population of nodes.
7492 * TreeNodeStyle.cs: Added missing attributes.
7493 * TreeView.cs: Implemented support for PopulateNodesFromClient and
7494 PopulateOnDemand. Improved rendering.
7496 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
7498 * DataControlField.cs:
7499 * DataControlFieldCell.cs: Initial implementation.
7501 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
7503 * TreeNodeBindingCollection.cs: Implemented.
7504 * TreeNodeBinding.cs: Implemented.
7505 * TreeNode.cs: Added support for data binding.
7506 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
7507 TreeView_Default_NoExpand.gif: Moved to resources directory.
7508 * ListControl.cs: Fixed api.
7509 * XmlHierarchicalEnumerable.cs: Made internal.
7510 * DataBoundControl.cs: Modified api to match latest ms.net.
7511 * TreeView.js: New javascript file to support TreeView in the client.
7512 * XmlDataSource.cs: Added missing attributes.
7513 * HierarchicalDataBoundControl.cs: Mostly implemented.
7514 * BaseDataBoundControl.cs: Mostly implemented.
7515 * XmlHierarchyData.cs: Made internal.
7516 * TreeView.cs: Mostly implemented. The major missing feature is
7517 client side tree population.
7519 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
7522 * DataBountControl.cs:
7523 * Repeater.cs: Added SelectArguments property and updated.
7524 * SiteMapDataSourceView.cs:
7525 * SqlDataSourceView.cs:
7526 * XmlDataSourceView.cs: Removed extra method, which was there to
7527 keep things compiling.
7529 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
7531 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
7532 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
7533 TreeView.cs: Initial implementation.
7534 * DataBoundControl.cs: Set the correct base class.
7535 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
7536 * TreeNodeSelectAction.cs: Formatting.
7537 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
7538 TreeView_Default_NoExpand.gif: TreeView images.
7540 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
7542 * SqlDataSourceView.cs: Updated methods and added one property.
7544 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7546 * AccessDataSource.cs:
7547 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
7548 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7550 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
7551 * SqlDataSourceView.cs: Updated constructor.
7553 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7555 * AccessDataSourceView.cs: Added new class.
7557 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7559 * SqlDataSourceView.cs: Corrected exception handling in
7560 ExecuteSelect method.
7562 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
7564 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
7565 * SiteMapDataSourceView.cs: Minor fix.
7567 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7569 * SqlDataSourceView.cs: Updated ExecuteSelect method.
7571 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7573 * SqlDataSource.cs: Corrected Select method.
7575 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7577 * SqlDataSource.cs: Updated Select method definition.
7578 * SqlDataSourceStatusEventArgs.cs: Updated class.
7580 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
7582 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
7583 from DataSourceView.cs).
7585 2004-11-10 Raja R Harinath <rharinath@novell.com>
7587 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
7589 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
7591 * SqlDataSource.cs: Corrected method calls.
7592 * SqlDataSourceView.cs: Partial implementation of few methods.
7594 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7596 * ListItemCollection.cs: fixed bug when indexing changed elements in
7597 LoadViewState. Patch from Alois Bělaška.
7599 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
7601 * SiteMapDataSourceView.cs:
7602 * SqlDataSourceView.cs:
7603 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
7604 base class, DataSourceView. Changes are to keep things compiling.
7606 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
7608 * SiteMapDataSourceView.cs: Corrected class definition and updated.
7609 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
7612 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
7614 * AdRotator.cs: Updated.
7616 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
7618 * AccessDataSource.cs: Updated.
7620 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7622 * ValidatedControlConverter.cs: Updated.
7624 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7626 * AssociatedControlConverter.cs: Implemented.
7628 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7630 * ControlIDConverter.cs: Initial implementation.
7632 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7634 * IButtonControl.cs: Corrected property name.
7636 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7638 * ParameterCollection.cs: Updated.
7640 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7642 * Parameter.cs: Updated and completed implementation.
7644 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7646 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
7649 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7651 * AccessDataSource.cs: Initial implementation.
7653 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
7655 * DataControlRowState.cs:
7657 * TreeNodeTypes.cs: Added attribute.
7658 * DataControlRowType.cs:
7660 * SortDirection.cs: Corrected enumeration values.
7661 * TableRowSection.cs: Added new enumeration.
7662 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
7664 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7666 * TableStyle.cs: don't render empty 'rules' attribute (again).
7668 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
7670 * FormViewUpdatedEventArgs.cs: Spelling mistake.
7672 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
7674 * Literal.cs: Added new method Focus().
7676 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7678 * RadioButton.cs: fix GroupName when the control is inside a
7679 NamingContainer different from Page. Closes bug #65586.
7681 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
7683 * Localize.cs: Added new class.
7685 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
7687 * CompositeControl.cs : Completed
7688 * Login.cs : Initial implementation.
7690 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7692 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
7693 don't call MapPathSecure on the content itself.
7695 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
7696 document is checked at parse time and will be checked again at run time.
7700 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
7702 * AuthenticateEventHandler.cs:
7703 * CreateUserErrorEventArgs.cs:
7704 * CreateUserErrorEventHandler.cs:
7705 * DetailsViewCommandEventHandler.cs:
7706 * DetailsViewDeleteEventArgs.cs:
7707 * DetailsViewDeleteEventHandler.cs:
7708 * DetailsViewDeletedEventArgs.cs:
7709 * DetailsViewDeletedEventHandler.cs:
7710 * DetailsViewInsertEventArgs.cs:
7711 * DetailsViewInsertEventHandler.cs:
7712 * DetailsViewInsertedEventArgs.cs:
7713 * DetailsViewInsertedEventHandler.cs:
7714 * DetailsViewModeEventArgs.cs:
7715 * DetailsViewModeEventHandler.cs:
7716 * DetailsViewPageEventHandler.cs:
7717 * DetailsViewUpdateEventArgs.cs:
7718 * DetailsViewUpdateEventHandler.cs:
7719 * DetailsViewUpdatedEventArgs.cs:
7720 * DetailsViewUpdatedEventHandler.cs:
7721 * FormViewCommandEventHandler.cs:
7722 * FormViewDeleteEventArgs.cs:
7723 * FormViewDeleteEventHandler.cs:
7724 * FormViewDeletedEventArgs.cs:
7725 * FormViewDeletedEventHandler.cs:
7726 * FormViewInsertEventArgs.cs:
7727 * FormViewInsertEventHandler.cs:
7728 * FormViewInsertedEventArgs.cs:
7729 * FormViewInsertedEventHandler.cs:
7730 * FormViewModeEventHandler.cs:
7731 * FormViewPageEventHandler.cs:
7732 * FormViewUpdateEventArgs.cs:
7733 * FormViewUpdateEventHandler.cs:
7734 * FormViewUpdatedEventArgs.cs:
7735 * FormViewUpdatedEventHandler.cs:
7736 * GridViewCancelEditEventArgs.cs:
7737 * GridViewCancelEditEventHandler.cs:
7738 * GridViewCommandEventHandler.cs:
7739 * GridViewDeleteEventArgs.cs:
7740 * GridViewDeleteEventHandler.cs:
7741 * GridViewDeletedEventArgs.cs:
7742 * GridViewDeletedEventHandler.cs:
7743 * GridViewEditEventHandler.cs:
7744 * GridViewPageEventHandler.cs:
7745 * GridViewRowEventHandler.cs:
7746 * GridViewSelectEventHandler.cs:
7747 * GridViewSortEventArgs.cs:
7748 * GridViewSortEventHandler.cs:
7749 * GridViewUpdateEventArgs.cs:
7750 * GridViewUpdateEventHandler.cs:
7751 * GridViewUpdatedEventArgs.cs:
7752 * GridViewUpdatedEventHandler.cs:
7753 * ImageMapEventHandler.cs:
7754 * MailMessageEventHandler.cs:
7755 * MenuEventHandler.cs:
7756 * ObjectDataSourceDisposingEventHandler.cs:
7757 * ObjectDataSourceEventHandler.cs:
7758 * ObjectDataSourceMethodEventArgs.cs:
7759 * ObjectDataSourceMethodEventHandler.cs:
7760 * ObjectDataSourceSelectingEventArgs.cs:
7761 * ObjectDataSourceSelectingEventHandler.cs:
7762 * ObjectDataSourceStatusEventArgs.cs:
7763 * ObjectDataSourceStatusEventHandler.cs:
7764 * SendMailErrorEventHandler.cs:
7765 * SiteMapNodeItemEventHandler.cs:
7766 * SqlDataSourceSelectingEventArgs.cs:
7767 * SqlDataSourceSelectingEventHandler.cs:
7768 * TreeNodeEventHandler.cs:
7769 * WizardNavigationEventArgs.cs:
7770 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
7771 corrections and removing "sealed" access specifier from *EventHandler.cs
7773 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
7775 * Literal.cs: Added new attributes and property for .Net 2.0
7777 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
7779 * GridViewDeleteEventArgs.cs: Removed extra code.
7781 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
7783 * SendMailErrorEventArgs.cs:
7784 * SendMailErrorEventHandler.cs:
7785 * SiteMapNodeItemEventArgs.cs:
7786 * SiteMapNodeItemEventHandler.cs:
7787 * SqlDataSourceSelectingEventArgs.cs:
7788 * SqlDataSourceSelectingEventHandler.cs:
7789 * TreeNodeEventArgs.cs:
7790 * TreeNodeEventHandler.cs:
7791 * WizardNavigationEventArgs.cs:
7792 * WizardNavigationEventHandler.cs: Added new delegates.
7794 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7796 * ImageMapEventArgs.cs:
7797 * ImageMapEventHandler.cs:
7798 * MailMessageEventArgs.cs:
7799 * MailMessageEventHandler.cs:
7801 * MenuEventHandler.cs:
7802 * ObjectDataSourceDisposingEventArgs.cs:
7803 * ObjectDataSourceDisposingEventHandler.cs:
7804 * ObjectDataSourceEventArgs.cs:
7805 * ObjectDataSourceEventHandler.cs:
7806 * ObjectDataSourceMethodEventArgs.cs:
7807 * ObjectDataSourceMethodEventHandler.cs:
7808 * ObjectDataSourceSelectingEventArgs.cs:
7809 * ObjectDataSourceSelectingEventHandler.cs:
7810 * ObjectDataSourceStatusEventArgs.cs:
7811 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
7813 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7815 * DetailsViewCommandEventArgs.cs:
7816 * FormViewCommandEventArgs.cs:
7817 * GridViewCommandEventArgs.cs: Corrected constructor.
7819 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7821 * GridViewCancelEditEventArgs.cs:
7822 * GridViewCancelEditEventHandler.cs:
7823 * GridViewCommandEventArgs.cs:
7824 * GridViewCommandEventHandler.cs:
7825 * GridViewDeletedEventArgs.cs:
7826 * GridViewDeletedEventHandler.cs:
7827 * GridViewDeleteEventArgs.cs:
7828 * GridViewDeleteEventHandler.cs:
7829 * GridViewEditEventArgs.cs:
7830 * GridViewEditEventHandler.cs:
7831 * GridViewPageEventArgs.cs:
7832 * GridViewPageEventHandler.cs:
7833 * GridViewRowEventArgs.cs:
7834 * GridViewRowEventHandler.cs:
7835 * GridViewSelectEventArgs.cs:
7836 * GridViewSelectEventHandler.cs:
7837 * GridViewSortEventArgs.cs:
7838 * GridViewSortEventHandler.cs:
7839 * GridViewUpdatedEventArgs.cs:
7840 * GridViewUpdatedEventHandler.cs:
7841 * GridViewUpdateEventArgs.cs:
7842 * GridViewUpdateEventHandler.cs: Added new delegates.
7844 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7846 * FormViewUpdatedEventArgs.cs: Corrected constructor.
7848 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7850 * FormViewCommandEventArgs.cs: Corrected name of class.
7852 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7854 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
7857 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7859 * FormViewCommandEventArgs.cs:
7860 * FormViewCommandEventHandler.cs:
7861 * FormViewDeletedEventArgs.cs:
7862 * FormViewDeletedEventHandler.cs:
7863 * FormViewDeleteEventArgs.cs:
7864 * FormViewDeleteEventHandler.cs:
7865 * FormViewInsertedEventArgs.cs:
7866 * FormViewInsertedEventHandler.cs:
7867 * FormViewInsertEventArgs.cs:
7868 * FormViewInsertEventHandler.cs:
7869 * FormViewModeEventArgs.cs:
7870 * FormViewModeEventHandler.cs:
7871 * FormViewPageEventArgs.cs:
7872 * FormViewPageEventHandler.cs:
7873 * FormViewUpdatedEventArgs.cs:
7874 * FormViewUpdatedEventHandler.cs:
7875 * FormViewUpdateEventArgs.cs:
7876 * FormViewUpdateEventHandler.cs: Added new delegates.
7878 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7880 * DetailsViewCommandEventArgs.cs:
7881 * DetailsViewCommandEventHandler.cs:
7882 * DetailsViewDeletedEventArgs.cs:
7883 * DetailsViewDeletedEventHandler.cs:
7884 * DetailsViewDeleteEventArgs.cs:
7885 * DetailsViewDeleteEventHandler.cs:
7886 * DetailsViewInsertedEventArgs.cs:
7887 * DetailsViewInsertedEventHandler.cs:
7888 * DetailsViewInsertEventArgs.cs:
7889 * DetailsViewInsertEventHandler.cs:
7890 * DetailsViewModeEventArgs.cs:
7891 * DetailsViewModeEventHandler.cs:
7892 * DetailsViewPageEventArgs.cs:
7893 * DetailsViewPageEventHandler.cs:
7894 * DetailsViewUpdatedEventArgs.cs:
7895 * DetailsViewUpdatedEventHandler.cs:
7896 * DetailsViewUpdateEventArgs.cs:
7897 * DetailsViewUpdateEventHandler.cs: Added new delegates.
7899 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
7901 * AuthenticateEventArgs.cs:
7902 * AuthenticateEventHandler.cs:
7903 * CreateUserErrorEventArgs.cs:
7904 * CreateUserErrorEventHandler.cs: Added new delegates.
7906 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
7908 * IButtonControl.cs:
7909 * ICallbackContainer.cs:
7910 * ICompositeControlDesignerAccessor.cs:
7911 * IPostBackContainer.cs: Added new interfaces.
7913 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
7916 * AutoCompleteType.cs:
7917 * ContentDirection.cs:
7918 * DataControlCellType.cs:
7919 * DataControlRowState.cs:
7920 * DataControlRowType.cs:
7921 * DetailsViewMode.cs:
7922 * DynamicImageParameterMode.cs:
7925 * ImageFieldMode.cs:
7932 * SiteMapNodeItemType.cs:
7933 * SiteMapNodeType.cs:
7934 * SiteMapViewType.cs:
7936 * TableCaptionAlign.cs:
7937 * TableHeaderScope.cs:
7939 * TreeNodeSelectAction.cs:
7941 * TreeViewImageSet.cs:
7942 * WizardStepType.cs: Added enumerations
7944 2004-08-02 Duncan Mak <duncan@ximian.com>
7947 * LoginFailureAction.cs:
7948 * LoginTextLayout.cs: Added enumerations.
7950 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7952 * BaseValidator.cs: in Validate(), when the control is not visible or
7953 enabled, return inmediately after setting IsValid to true. Fixes bug
7956 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7958 * DataList.cs: s/HasChildren/HasControls()/.
7960 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7962 * DataList.cs: style.
7964 2004-07-27 Alon Gazit <along@mainsoft.com>
7965 * DataList.cs: Replaced foreach statement with for statement,
7966 in order to improve performence.
7968 2004-07-27 Alon Gazit <along@mainsoft.com>
7969 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
7971 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
7972 switch statements in order to improve performance.
7974 2004-06-10 Alon Gazit <along@mainsoft.com>
7975 * WebControl.cs: fixed LoadViewState().
7976 Creates new attributes state bag only when the current is null.
7978 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7980 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
7982 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7984 * Calendar.cs: set the title class attribute if we have it. Fixes bug
7987 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7989 * Style.cs: added SetBit.
7991 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7994 * CompareValidator.cs:
7997 * WebControl.cs: Added protected missing members and attributes.
7999 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8001 * TextBox.cs: don't save the Text if in ViewState if it's a password.
8002 Save it if the control is not visible or not enabled. Fixes bug #58497.
8004 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8006 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
8009 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
8011 * SqlDataSourceCommandEventArgs:
8012 * XmlDataSource.cs : removed temporary workarounds for CLS
8013 compliance as System.Data is now CLS compliant
8015 2004-05-06 Alon Gazit <along@mainsoft.com>
8016 * WebControl.cs: fixed LoadViewState() and SaveViewState().
8017 Before the change the Enabled property wasn't updated when a postback
8019 * ListControl.cs: fixed SelectedIndex property implementation.
8020 Prevents throwing ArgumentOutOfRangeException (that should not be
8021 thrown), when the list is empty.
8023 2004-04-28 Alon Gazit <along@mainsoft.com>
8024 * WebControl.cs: fixed LoadViewState().
8025 Always loading the saved attributes collection.
8027 2004-04-18 Alon Gazit <along@mainsoft.com>
8028 * Repeater.cs: fixed InstantiateItem() and DataSource property.
8029 The change in DataSource prevents throwing ArgumentException while
8030 setting property value to null.
8031 The change in InstantiateItem() prevents NullReferenceException.
8033 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
8035 * BaseValidator.cs: Store Display property in the correct ViewState
8036 property. Don't render anything if Display is ValidatorDisplay.None.
8038 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
8040 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
8041 since it is already a physical path. Fixes bug #55334.
8043 2004-02-13 Jackson Harper <jackson@ximian.com>
8045 * Calendar.cs: Match MS postback data. This allows sites that
8046 parse the postback data manually to work.
8048 2004-02-04 Alon Gazit <along@mainsoft.com>
8049 * EditCommandColumn.cs: fixed InitializeCell().
8050 The rendered LiteralControl should contain " " and not " ".
8052 2004-02-01 Alon Gazit <along@mainsoft.com>
8054 * DataGrid.cs: fixed a problem in the paging mechanism in the method
8056 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
8057 while clicking the "..." link in the second page.
8059 2004-01-28 Alon Gazit <along@mainsoft.com>
8061 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
8063 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8065 * Calendar.cs: when rendering days, add a LiteralControl containing the
8066 day before OnDayRender is called. Only generate the default links for
8067 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
8069 2004-01-21 Martin Baulig <martin@ximian.com>
8071 * XmlHierarchyData.cs: Make this compile with csc.
8073 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
8074 accessor since the base class doesn't have one.
8076 2004-01-18 Alon Gazit <along@mainsoft.com>
8078 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
8080 2004-01-18 Alon Gazit <along@mainsoft.com>
8082 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
8083 Property default value.
8084 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
8085 Property default value.
8087 2004-01-15 Alon Gazit <along@mainsoft.com>
8089 * RadioButtonList.cs: RepeatLayout property should affect the rendered
8092 2004-01-15 Alon Gazit <along@mainsoft.com>
8093 * FontInfo.cs: Add validation check to Size property.
8095 2004-01-07 Alon Gazit <along@mainsoft.com>
8096 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8097 merge the column's style to the cell's style and not to
8098 the item's(row) style.
8100 2004-01-04 Alon Gazit <along@mainsoft.com>
8101 * RangeValidator.cs: Fixed ControlPropertiesValid().
8103 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8105 * Xml.cs: mono-stylized and removed warnings.
8107 2004-1-1 Alon Gazit <along@mainsoft.com>
8108 * RadioButtonList.cs: update RenderItem() so that each RadioButton
8109 is enabled or disabled like the RadioButtonList.
8110 * CheckBoxList.cs: update RenderItem() so that each CheckBox
8111 is enabled or disabled like the CheckBoxList.
8113 2004-1-1 Alon Gazit <along@mainsoft.com>
8114 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8115 The Header or Footer Style shouldn't merge with the cells Style.
8117 2004-1-1 Alon Gazit <along@mainsoft.com>
8118 * DataGridColumn.cs: Headers and Footers are initialized
8119 with the relevant Style object.
8121 2003-12-30 Alon Gazit <along@mainsoft.com>
8122 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8123 DoHorizontalRendering().
8124 Current implementation produces few extra html tags.
8126 2003-12-29 Alon Gazit <along@mainsoft.com>
8128 * CheckBox.cs: change the implementation of LoadPostData.
8129 Currently, while the AutoPostBack property equals true ,
8130 it isn't possible to perform uncheck.
8132 2003-12-19 Jackson Harper <jackson@ximian.com>
8134 * TableCell.cs: Setting a cells text should clear its control
8135 collection as per la specification. This fixes bug #51825.
8137 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8139 * DataGridColumn.cs: stylized LoadViewState.
8140 * DataGridColumnCollection.cs: when TrackViewState is called, also
8141 call it on all the existing columns. Fixes bug #52334.
8143 2003-12-18 Alon Gazit <along@mainsoft.com>
8145 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
8148 2003-12-18 Alon Gazit <along@mainsoft.com>
8150 * TableStyle.cs: merge TableStyle properties when Style is empty.
8152 2003-12-16 Alon Gazit <along@mainsoft.com>
8154 * HyperLink.cs: Change Text property implementation. in MS when the Text
8155 property is set, all the controls in the HyperLink are being deleted.
8156 This fixes bug #52239.
8158 2003-12-15 Alon Gazit <along@mainsoft.com>
8159 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8160 DoHorizontalRendering().
8161 Both methods add additional empty table row in the head of each item
8162 table when the variable named isTable equals true (happenes with the
8163 default instantiation of RepeatInfo). These additional rows should be
8164 added when isTable equals false.
8165 This fixes bug #52225.
8167 2003-12-15 Alon Gazit <along@mainsoft.com>
8169 * RepeatInfo.cs: Fixed DoVerticalRendering() and
8170 DoHorizontalRendering().
8171 Both methods add to rendered Header a colspan attribute according to the
8172 rows count. after the change the colspan is added according to the
8175 2003-12-15 Alon Gazit <along@mainsoft.com>
8176 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
8177 In .NET if the checkbox is disabled ,its text appears disabled too.
8178 In Mono the text appears enabled. the fix is in Render().
8179 This fixes bug #52180.
8181 2003-12-15 Alon Gazit <along@mainsoft.com>
8182 * Repeater.cs: Change the implementation of CreateControlHierarchy().
8183 The current implementation renders extra Header and footer
8184 without Repeater.DataSource assign.
8185 This fixes bug #52179.
8187 2003-12-15 Alon Gazit <along@mainsoft.com>
8188 * DataGrid.cs: Change the implementation of the property
8189 BackImageUrl. The current implementation has no influence
8190 on the rendered Html.
8192 2003-12-15 Alon Gazit <along@mainsoft.com>
8193 * WebControl.cs: Change the implementation of the property
8194 Enabled. Before the change the WebControl also looked at
8195 parent.Enabled . fixed bug #52171.
8197 2003-12-11 Jackson Harper <jackson@ximian.com>
8199 * RepeatInfo.cs: When rendering vertically figure out how many
8200 colmns are not going to be filled in in the last row, and adjust
8201 things accordingly. This fixes bug #51863.
8203 2003-12-10 Alon Gazit <along@mainsoft.com>
8204 * TableRow.cs: Change the implementation of the properties
8205 HorizontalAlign and VerticalAlign. The current implementation
8206 has no influence on the rendered Html.
8208 2003-12-10 Alon Gazit <along@mainsoft.com>
8209 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
8210 property's set method.
8212 2003-12-09 Jackson Harper <jackson@ximian.com>
8214 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
8215 Increment counter when moving to start. Fixes bug #51926.
8217 2003-12-08 Jackson Harper <jackson@ximian.com>
8219 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
8220 Benjamin Jemlich. Fixes bug #51823.
8222 2003-12-07 Alon Gazit <along@mainsoft.com>
8223 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
8224 property is set to false. Fixes bug #58120.
8226 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8228 * TableItemStyle.cs: merge TableItemStyle properties when Style is
8229 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
8231 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8233 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
8236 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8238 * WebControl.cs: don't create the attributes when GetAttribute is
8241 2003-12-01 Jackson Harper <jackson@ximian.com>
8243 * WebControl.cs: Only allow access keys to be null or a single
8244 char. Patch by Alon Gazit <along@mainsoft.com>.
8246 2003-11-30 Jackson Harper <jackson@ximian.com>
8248 * CheckBoxList.cs: A checkbox will have null post data if it is
8249 unselected. This fixes bug #51516.
8251 2003-11-29 Jackson Harper <jackson@ximian.com>
8253 * DataGrid.cs: Display paging controls even when there is no
8254 data. Path by Mohammad DAMT. Fixes bug #51487.
8256 2003-11-29 Jackson Harper <jackson@ximian.com>
8258 * DataGrid.cs: Call TrackViewState when loading bound columns view
8259 state. So that their state is saved. This fixes bug #51424. Also
8262 2003-11-26 Jackson Harper <jackson@ximian.com>
8264 * BaseDataList.cs: Change && to || We will call that a typo so no
8265 one gets embarrased.
8267 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8269 * BaseDataList.cs: allow setting null as Datasource.
8271 * DataGrid.cs: keep autogenerated columns in the ViewState.
8273 Patches by Alon Gazit <along@mainsoft.com>.
8275 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8277 * SqlDataSource*: Implement almost everything. Data access is
8280 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8282 * Calendar.cs (SaveViewState):
8283 - We were allocating a 11 item array, we only used 10 items,
8284 so only allocate 10.
8285 - We only need to save the selected dates if there are any.
8286 * DataGrid.cs (SaveViewState):
8287 * DataGridColumn.cs (SaveViewState):
8288 * DataGridColumnCollection.cs (SaveViewState):
8289 - Only return the array if there is anything in it
8290 * Style.cs (SaveViewState):
8291 - Only save the bits if there were changes.
8292 * WebControl.cs (SaveViewState), (LoadViewState):
8293 - Don't save Enabled into the viewstate here, we already
8294 do it in the property. This just caused *EVERY* control
8295 to have a non-null state, taking up lots of extra room
8297 - The style will always be created with this control's
8298 viewstate, so the style will always return null for the
8299 viewstate. As such, we do not need to store it. We can
8300 also reduce the triplet to a pair because of this.
8302 2003-11-22 Jackson Harper <jackson@ximian.com>
8304 * ValidationSummary.cs: Fix number of messages and message array computation.
8306 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8308 * Xml.cs: Corrected attribute
8309 * XmlBuilder.cs: Added
8311 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8313 * Xml.cs: class status based fixes.
8315 2003-11-19 Jackson Harper <jackson@ximian.com>
8317 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
8319 2003-11-19 Jackson Harper <jackson@ximian.com>
8321 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
8322 teh applications base directory. This fixes bug #51092.
8324 2003-11-18 Todd Berman <tberman@gentoo.org>
8326 * ControlParameter.cs:
8327 * CookieParameter.cs:
8329 * QueryStringParameter.cs:
8330 * SessionParameter.cs: added public .ctor ()
8331 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
8332 and handling, as well as internal ParameterValue for easy access.
8333 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
8334 * ParameterCollection.cs: implementation redux.
8336 2003-11-18 Todd Berman <tberman@gentoo.org>
8338 * ParameterCollection.cs: Implemented
8339 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
8340 ToString () now matches asp.net
8342 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
8344 * ControlParameter.cs:
8345 * CookieParameter.cs:
8348 * QueryStringParameter.cs: New v2 files. Mostly
8349 implemented, still need a few methods.
8351 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8353 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
8354 Gazit <along@mainsoft.com>.
8356 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8358 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
8359 Patch by Alon Gazit <along@mainsoft.com>.
8361 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8363 * DataBoundControl.cs: Implement
8364 * ListControl.cs: inherit from the above.
8365 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
8367 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8372 * Repeater.cs: add v2 databinding stuff
8373 * XmlDataSource.cs: make it load the xml.
8375 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8378 * XmlDataSourceView.cs:
8379 * XmlHierarchicalDataSourceView.cs:
8380 * XmlHierarchicalEnumerable.cs:
8381 * XmlHierarchyData.cs: Implement
8383 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
8385 * SiteMapDataSourceView.cs: Implement.
8387 2003-11-07 Jackson Harper <jackson@ximian.com>
8389 * ImageButton.cs: This is a workaround for bug #49819. It appears
8390 that the .x and .y values are not being posted, and only the x
8391 value is being posted with the ctrl's id as the key.
8393 2003-11-07 Jackson Harper <jackson@ximian.com>
8395 * DataGrid.cs (CreateControlHierarchy): Current page index is
8396 alolowed to equal page count. This prevents an exception being
8397 thrown when both are zero.
8399 2003-11-06 Jackson Harper <jackson@ximian.com>
8401 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
8402 * BaseValidator.cs: Disable base control so the isValid flag is
8405 2003-11-03 Jackson Harper <jackson@ximian.com>
8407 * TemplateColumn.cs: Use the same renderer for selected items as
8408 normal items. This fixes bug #49744.
8410 2003-11-03 Jackson Harper <jackson@ximian.com>
8413 * WebControl.cs: Fix argument out of range exceptions on
8414 properties. Patch by Yaron Shkop.
8416 2003-11-03 Jackson Harper <jackson@ximian.com>
8418 * TemplateColumn.cs: If the item is selected but there is no
8419 editItemTemplate use the itemTemplate. This matches MS behvoir.
8421 2003-11-03 Jackson Harper <jackson@ximian.com>
8423 * Repeater.cs: Always set alternating items to the AlternatingItem
8424 type, when instantiating alternating items use the itemTemplate if
8425 the alternatingItem template is null. This matches MS behavoir and
8428 2003-11-03 Jackson Harper <jackson@ximian.com>
8430 * DataGridPagerStyle.cs: Name of view state attribute is
8431 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
8432 visibility is changed. Patch by Yaron Shkop.
8434 2003-11-03 Jackson Harper <jackson@ximian.com>
8436 * RepeatInfo.cs: When doing horizontal rendering use the repeat
8437 columns as the number of columns in a row. This fixes bug #49016.
8439 2003-11-03 Jackson Harper <jackson@ximian.com>
8441 * PagedDataSource.cs (PageCount): Return page count of 1 if there
8442 paging is disabled. Patch by Yaron Shkop.
8443 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
8444 * TableStyle.cs (AddAttributesToRender): Render border style
8445 collapse. Patch by Yaron Shkop.
8447 * TableItemStyle.cs:
8448 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
8449 the wrong type. Patch by Yaron Shkop.
8451 2003-11-03 Jackson Harper <jackson@ximian.com>
8453 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
8455 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
8458 * BulletedListDisplayMode.cs:
8459 * BulletedListEventHandler.cs:
8461 * BulletedListEventArgs.cs: V2 controls (yay!)
8463 2003-10-30 Jackson Harper <jackson@ximian.com>
8465 * Repeater.cs: Throw an exception if the datasource is set to
8466 something that does not implement either IListSource or
8467 IEnumerable. This fixes bug #50155.
8469 2003-10-30 Jackson Harper <jackson@ximian.com>
8471 * DataGridPagerStyle.cs: Do not allow page button counts to be set
8472 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
8474 2003-10-29 Jackson Harper <jackson@ximian.com>
8476 * ButtonColumn.cs: Format string and text to format were
8477 inversed. This fixes bug #50171.
8479 2003-10-29 Jackson Harper <jackson@ximian.com>
8481 * DataGridColumn.cs: If an item style is set apply it to the
8482 cell. This fixes bug #50173.
8484 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
8486 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
8487 old debugging value.
8489 2003-10-29 Jackson Harper <jackson@ximian.com>
8491 * PagedDataSource.cs:
8492 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
8493 end of the last page. Fixes bug #5085.
8495 2003-10-29 Jackson Harper <jackson@ximian.com>
8497 * CheckBox.cs: Do not change the status of a checkbox when there
8498 is no post data. This fixes bug #49091.
8499 * CheckBoxList.cs: Do not change the status of the checkboxes when
8500 there is no post data. This fixes bug #49093.
8502 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
8504 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
8505 RadioButton. Fixes #50132
8507 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8509 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
8510 paging from working. Fixes #48814.
8512 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8514 * DataGrid.cs: A few typos kept us from viewing datagrids
8515 that were based on customized collections.
8517 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
8519 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
8521 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
8523 * Calendar.cs: render the next month button so that aligns to the
8526 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8528 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
8529 was just changing && by || after the first Match.
8531 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8533 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
8534 Patch by Yaron Shkop.
8536 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8538 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
8539 that fixes bug #49744. Now the selection doesn't lose its data.
8541 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8543 * EditCommandColumn.cs: Implement; fix #49736
8545 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8547 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
8548 the forground color. bug #49738
8550 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8552 * Calendar.cs: fixed bug #49727.
8554 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
8556 * TableStyle.cs: fix #49740.
8558 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8560 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
8561 * ValidationSummary.cs: fixes bug #49669.
8563 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8565 * Calendar.cs: apply the calendar style to the new Table, not to itself.
8568 * CheckBox.cs: render the hidden fields if AutoPostBack.
8570 * Style.cs: don't render empty width/height. Small improvement in
8573 * Table.cs: fixed condition for border width.
8576 (CopyFrom): always call the base class to copy other attributes. Fixes
8577 bug #49408. Don't render empty 'rules' attribute.
8579 * WebControl.cs: track viewstate when enabled. Don't overwrite source
8580 control attributes in CopyBaseAttributes.
8582 * ChangeLog: fixed dates.
8585 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8587 * WebControl.cs : Attributes { get; } - Is Complete.
8588 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
8591 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8593 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
8594 : RegisterValidatorCommonScript()
8595 - More code, I need HELP!
8596 : RegisterValidatorDeclaration()
8597 - More code, I need HELP!
8599 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8601 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
8604 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8606 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
8607 ClearViewState only called when no items.
8609 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8611 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
8613 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8615 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
8617 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8619 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
8622 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8624 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
8627 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8629 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
8630 * WebControl.cs: fixed Enabled property and save it in ViewState.
8634 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8636 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
8638 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8640 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
8643 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8645 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
8646 <rich@velvetsea.net>.
8648 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8650 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
8651 Skripsky <juraj@hotfeet.ch>
8653 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8655 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
8656 fixes rendering of the end tag.
8658 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8660 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
8661 (Yaron Shkop). Closes bug #48060.
8663 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8665 * CheckBox.cs: in LoadPostData, only return
8666 true when the new data is different from the one we had. Fixed
8667 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
8670 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8672 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
8674 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8676 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
8677 of Enable in ViewState. Fixes bug #47865.
8679 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8681 * Style.cs: the MARKED bit is not send set in ViewState unless something
8682 is changed. Fixed TrackViewState condition.
8684 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
8685 because it uses the same ViewState as the control. Fixes bug #47725.
8687 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8689 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
8690 that fixes databinding when only DataTextField or DataNavigateUrlField
8693 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8695 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
8696 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
8697 values before assigning a data source and other issues.
8699 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8701 * CheckBox.cs: save viewstate when needed and correctly handle post
8702 data. Fixes bug #47462.
8704 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8706 * ButtonColumn.cs: Removed additional attributes
8707 * CheckBox.cs: Added attribute
8708 * DataGrid.cs: Added attributes
8709 * HyperLinkColumn.cs: Changed attributes, added lamespec
8710 * Style.cs: Removed attributes
8711 * TextBox.cs: Added/ removed attributes
8713 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8715 * AdRotator.cs: Added all attributes
8716 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
8717 * BaseValidator.cs: Added all attributes
8718 * BoundColumn.cs: Added all attributes
8719 * Button.cs: Added all attributes
8720 * ButtonColumn.cs: Added all attributes, added lamespec
8721 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
8722 * CheckBox.cs: Added all attributes
8723 * CheckBoxList.cs: Added all attributes
8724 * CompareValidator.cs: Added all attributes
8725 * CustomValidator.cs: Added all attributes
8726 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
8727 * DataGridColumn.cs: Added all attributes
8728 * DataGridColumnCollection.cs: Added all attributes
8729 * DataGridPagerStyle.cs: Added all attributes
8730 * DataGridTableInternal.cs: Made DataGridTableInternal internal
8731 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
8732 * DropDownList.cs: Added all attributes
8733 * FontInfo.cs: Added all attributes
8734 * HyperLink.cs: Added all attributes
8735 * HyperLinkColumn.cs: Added all attributes
8736 * Image.cs: Added all attributes
8737 * ImageButton.cs: Added all attributes
8738 * Label.cs: Added all attributes
8739 * LinkButton.cs: Added all attributes
8740 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
8741 * ListControl.cs: Added all attributes
8742 * ListItem.cs: Added all attributes
8743 * ListItemCollection.cs: Added attribute
8744 * Literal.cs: Added all attributes
8745 * Panel.cs: Added all attributes
8746 * RadioButton.cs: Added all attributes
8747 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
8748 * RangeValidator.cs: Added all attributes
8749 * RegularExpressionValidator.cs: Added all attributes
8750 * Repeater.cs: Added all attributes
8752 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8754 * RequiredFieldValidator.cs: Added all attributes
8755 * Style.cs: Added all attributes
8756 * Table.cs: Added all attributes
8757 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
8758 * TableCellCollection.cs: Added attribute
8759 * TableRow.cs: Added all attributes
8760 * TableRowCollection: Added attribute
8761 * TableStyle.cs: Added all attributes, improved error messages
8762 * TemplateColumn.cs: Added all attributes
8763 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
8764 * ValidationSummary.cs: Added all attributes
8765 * WebControl.cs: Added all attributes
8766 * Xml.cs: Added all attributes
8768 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8770 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
8771 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
8773 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8775 * CheckBoxList.cs: fixes bug reported on the list about the state of
8776 the CheckButtons not being preserved across posts.
8778 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8780 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
8782 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8784 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
8786 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8788 * ListControl.cs: save viewstate data when any of the 3 values is not
8789 null. Fixed condition to save selection indices. Closes bug #45493.
8791 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8793 * DataGrid.cs: fixed bug #43823.
8795 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8797 * DataGrid.cs: fixed delegate type for SortCommand.
8799 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8801 * DataGridColumnCollection.cs: added missing return in RemoveAt.
8803 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8805 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
8806 Don't save ViewState is the number of columns is 0.
8808 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8810 * DataGrid.cs: get the right item Type for the property we're reading
8811 fromt the data source.
8813 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8816 * TextBox.cs: added control builder attribute.
8818 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8820 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
8822 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
8824 * Unit.cs: Called the correct method to get the Numeric locale for the
8827 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8829 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
8830 correctly the header of the column.
8832 * DataGridTableInternal.cs: don't assign a default ID to this control.
8834 * LinkButton.cs: raise bubble event in OnCommand.
8836 * TableCellCollection.cs: fixed the index returned by Add.
8838 * TableRowCollection.cs: ditto.
8840 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8842 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
8844 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8846 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
8847 for reporting the bug and providing the fix.
8849 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8851 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
8852 CreateColumnSet. Set the owner of the column when auto generated.
8853 In PrepareControlHierarchyForItem, fixed for loop bound.
8855 * LinkButtonInternal.cs: fixed infinite recursion bug.
8859 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
8861 * Xml.cs: a few fixes.
8863 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8865 * DataList.cs: handle the exception when adding new keys to
8868 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8870 * BaseDataList.cs: what can I say for this one? I spent so many time
8871 until I finally found this that I'm gonna miss this f....g bug... ;-).
8872 Farewell. Now we can get events from image buttons inside Data*.
8874 * DataList.cs: now the value stored in ViewState for item count is
8877 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8879 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
8881 * DataGridColumn.cs: added SetOwner method.
8882 * DataGridColumnCollection.cs: set the owner of the column when added.
8884 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8886 * BoundColumn.cs: typo.
8887 * DataGrid.cs: use 'as' instead of casting. Typo.
8888 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
8891 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8893 * HyperLink.cs: fixes bug #36336.
8895 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8897 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
8899 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8901 * BaseValidator.cs: return an empty string in GetControlValidationValue
8902 when GetValue returned null.
8904 * CompareValidator.cs: fixed EvaluateIsValid.
8906 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
8908 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8910 * Xml.cs: use MapPathSecure to get the path of the document.
8912 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8914 * DataList.cs: fixed header & footer.
8916 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8918 * DataList.cs: for header and footer don't use data source.
8919 Instantiate in the DataListItem, not in the DataList.
8920 databind-template.aspx works now.
8922 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8925 (Render): call RenderContents (), not base.RenderContents ().
8927 * DataList.cs: style.
8929 But I still haven't found what i'm looking for....
8931 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8933 * Calendar.cs: fixed loading/saving selected dates.
8934 * SelectedDatesCollection.cs: added internal function to get the
8935 underlying ArrayList.
8937 Calendar navigation works again. Selecting dates too.
8939 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8941 * DataList.cs: added a few attributes and fixed infinite recursion.
8943 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8945 * ListItemCollection.cs: fixed LoadViewState.
8947 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8949 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
8950 Commented out some code until it works.
8952 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
8954 * BaseCompareValidator.cs - Fixed operator bug in
8955 Compare(string, string, ...)
8956 * CompareValidator.cs - EvaluateIsValid() : Implemented.
8958 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8960 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
8962 - All Properties : Now make use of ViewState.
8964 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8966 * BaseValidator.cs - Uncomment NotImplementedException.
8968 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8970 * BaseValidator.cs - Minor changes in TODO comments.
8972 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8974 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
8975 the NotImplementedException being thrown.
8976 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
8977 * DataGridLinkButton.cs - Added new class (private) : Implemented.
8978 * DataGrid.cs - InitializePager(DataGridItem, int,
8979 PagedDataSource) : Implemented.
8981 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8983 * DataList.cs - PrepareControlHierarchy() : Implemented.
8985 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8987 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
8988 - GetItem(ListItemType, int) : Removed TODO.
8989 - CreateControlHierarchy(bool) : Implemented.
8990 - CreateItem(int, ListItemType) : Implemented.
8991 - CreateItem(int, ListItemType,
8992 bool, object) : Implemented.
8993 - InitializeItem(DataItem) : Implemented.
8994 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
8995 The ViewState["_!ItemCount"],
8996 ViewState["_!DataSource_ItemCount"]
8997 are shared by DataList and DataGrid, and hence
8998 should share the same name.
8999 - ResolveDataSource(object, string)
9000 : Removed. Use System.Web.UI.Utils.DataSourceHelper
9001 ::GetResolvedDataSource(object, string).
9004 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9006 * DataGrid.cs: fixed compilation
9008 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
9010 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
9011 * DataGrid.cs - CreateControlHierarchy(bool)
9012 : working towards completion.
9013 - ResolveDataSource(object, string)
9014 : stubbed new method
9016 : stubbed new method
9017 Well. It's almost done.
9018 * DataGridTableInternal.cs
9019 - Added new internal class.
9021 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
9023 * DataSourceInternal.cs - Added new class (internal).
9025 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9028 * HorizontalAlign.cs:
9030 * VerticalAlign.cs: fixes based on class status page.
9032 * HorizontalAlignConverter.cs: implemented.
9033 * VerticalAlignConverter.cs: implemented.
9035 * FontUnitConverter.cs: implemented GetStandardValues ().
9037 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
9039 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9041 * DataGrid.cs - AutoCreateColumns: Bug fixes.
9043 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9045 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
9047 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9049 * DataGrid.cs - Working on the undocumented protected
9050 method CreateColumnSet. AutoCreateColumns method
9051 stubbed. Left CreateControlHierarchy for the time
9052 being, looks like I'm going insane. ;-)
9054 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9056 * Button.cs - Steffen's OnCommand bug fix.
9058 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
9060 * DataGrid.cs - Added protected method (skeleton)
9061 CreateColumnSet(PagedDataSource, bool)
9062 Still trying to know how will it be used
9065 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9067 * PagedDataSource.cs: fixed compilation.
9069 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
9071 * DataGrid.cs - Added private method
9072 CreatePagedDataSource
9074 CreateControlHierarchy(bool)
9075 * PagedDataSource.cs - Bug fixed.
9076 CurrentPageIndex is writable.
9078 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9080 * DataGrid.cs: fixed typo.
9081 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
9083 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9085 * DataGridColumn.cs - Added internal methods to get the
9086 various styles (needed in DataGrid.cs)
9087 * DataGrid.cs - Completed the method
9088 PrepareControlHierarchy()
9090 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9092 * DataGrid.cs - Wokring on PrepareControlHierarchy()
9093 - Added private method
9094 PrepareControlHierarchyForItem()
9096 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
9098 * DataGrid.cs - Completed method
9099 OnBubbleEvent(object, EventArgs)
9101 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9103 * Xml.cs: implemented document/transform load.
9105 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9107 * Calendar.cs: added myself to the list of authors.
9108 * DropDownList.cs: fixed a few properties.
9109 * ListControl.cs: fixed SelectedIndex.
9111 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9113 * Calendar.cs: lots of fixes. Render days. Still left to persist
9114 selected days when changing month.
9116 * Unit.cs: fixed Percentage and Pixel.
9118 * WebControl.cs: a few properties are now using ControlStyle instead
9119 of ViewState to persist.
9121 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9123 * BaseValidator.cs: it works now.
9124 * DataGridColumn.cs: added attribute and made it abstract.
9125 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
9127 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9129 * TextBox.cs: default for Wrap is true.
9130 (OnPreRender): don't save Text if there are no listeners on TextChanged.
9132 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9138 (LoadViewState): fixed.
9140 * ListItemCollection.cs:
9141 (TrackViewState): use items instead of 'this' in foreach.
9144 (LoadViewState): more checking of parameters.
9146 * WebControl.cs: implemented LoadViewState and SaveViewState.
9149 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9151 * ListItem.cs: there was no code to unset the flags!!!
9153 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9155 * FontUnit.cs: use a hashtable for mapping size name to value.
9156 * HyperLink.cs: fixed a bug and a typo.
9157 * Unit.cs: some fixes to internal constructor.
9159 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9161 * ListControl.cs: fixed a couple of range checks.
9162 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
9163 an HtmlForm (p.e., Label).
9165 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9175 * HyperLinkColumn.cs:
9184 * RadioButtonList.cs:
9188 * WebControl.cs: removed attributes added by mistake (i used
9189 GetCustomAttributes (true), d'oh!).
9191 * DataListItem.cs: implemented RenderItem.
9193 * Repeater.cs: implemented CreateItem and InitializeItem.
9195 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9197 * BaseDataList.cs: a couple of fiex and added attributes.
9198 * DataGrid.cs: little fixes.
9200 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9209 * RadioButtonList.cs:
9212 * Xml.cs: forgot to add using System.ComponentModel.
9214 * BaseValidator.cs: use explicitly
9215 System.ComponentModel.AttributeCollection as there is another class
9216 with the same name under System.Web.UI.
9218 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9237 * RadioButtonList.cs:
9242 * Xml.cs: added/fixed all attributes used by xsp.
9244 * BaseValidator.cs: some fixes.
9246 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9249 (AddAttributesToRender): correctly default to border=1.
9251 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9254 (LoadAdFile): make the dictionary null after every iteration.
9258 * ListItem.cs: fixed warnings.
9260 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
9262 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
9264 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9266 * DataGridColumn.cs:
9267 * DataGridPagerStyle.cs:
9274 * ListItemCollection.cs:
9276 * ServerValidateEventArgs.cs:
9280 * Xml.cs: more class status page based changes.
9282 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9285 (.ctor): fixed to render the correct tag.
9286 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
9288 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9291 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
9292 WebControl derived classes should be rendered inside a HtmlForm.
9294 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9296 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
9299 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9301 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9302 * RepeatInfo.cs: implemented DoHorizontalRendering.
9304 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9306 * System.Web.UI.WebControls/Repeater.cs:
9308 (OnDataBinding): fixed stack overflow.
9310 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9312 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9313 * RepeatInfo.cs: implemented DoHorizontalRendering.
9315 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9318 (CopyBaseAttributes): copy Attributes and don't throw exception.
9320 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9322 * ListBox.cs: mono-stylized.
9323 (AddAttributesToRender): call parent class method.
9325 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9327 * Style.cs: fixed IsEmpty and Width.
9329 * Table.cs: mono-stylized.
9330 (TableRowControlCollection.AddAt): fixed.
9331 (AddAttributesToRender): fixed.
9333 * TableCell.cs: mono-stylized.
9334 (.ctor): use PreventAutoID.
9335 (AddAttributesToRender): fixed.
9336 (AddParsedSubObject): fixed.
9338 * TableRow.cs: mono-stylized. Added
9339 ParseChildren attribute.
9342 (get_GridLine): fixed.
9344 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9346 * Panel.cs: fixed stack overflow.
9347 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
9348 and SingleConverter.
9350 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9352 * RadioButton.cs: mono-stylized and some little fixes.
9354 * TextBox.cs: mono-stylized.
9355 (MaxLength): fixed typo.
9357 (AddAttributesToRender): don't render the text between the tags for
9358 SingleLine, use value attribute for it. Don't render the text for
9361 (OnPreRender): don't throw exception and call base.OnPreRender.
9363 (Render): for MultiLine, render the text between the opening and
9364 closing tags encoded as HTML.
9366 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9369 (AddAttributesToRender): fixer another stack overflow.
9372 (TagName): modified to use TagKey instead of tagKey as the property
9375 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9377 * LinkButton.cs: mono-stylized.
9378 (AddParsedSubObject):
9379 (RenderControls): little fixes.
9382 (AddAttributesToRender): fixed usage of IEnumerator.
9384 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9386 * Literal.cs: beautified.
9388 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9390 * Label.cs: beautified and fixed a couple of 'classic' bugs.
9392 * WebControl.cs: use Span as default tag when no other provided in
9393 constructor. That is what MS renders.
9395 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9398 (AddAttributesToRender): fixed (classic) stack overflow.
9400 * CheckBox.cs: mono-stylized.
9401 (AutoPostBack): fixed stack overflow.
9402 (Render): fixed alignment issues. Also set the For attribute always
9405 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9407 * AdRotator.cs: GetData does not work as it should, but now it returns
9408 useful data (only the first ad in the file). Set the NavigateUrl
9409 property in the hyperlink if available.
9411 * HyperLink.cs: fixed constructor and a couple of stack overflows.
9413 * Image.cs: added an attribute and fixed stack overflow.
9416 (RenderBeginTag): fixed.
9417 (TagName): don't call Enum.IsDefined twice.
9419 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9421 * WebControl.cs: added attributes PersistChildrenAttribute and
9422 ParseChildrenAttribute.
9424 2002-05-24 Duncan Mak <duncan@ximian.com>
9426 * DataGridItem.cs (SetItemType): Changed function signature to
9429 * ListItemCollection.cs (this): Changes the visibility level of
9432 * Repeater.cs (OnItemCommand):
9434 (OnItemDataBound): Added necessary casts.
9436 2002-05-07 Duncan Mak <duncan@ximian.com>
9438 * Button.cs (AddAttributesToRender):
9439 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
9440 GetClientValidatedEvent method.
9442 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
9444 * Removed extra methods, corrected access modifiers to several
9447 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
9449 * <SeveralFiles>.cs - Added some attributes
9450 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
9451 methods. Will complete them later. Right now, busy with
9452 the attributes part.
9453 * RepeaterItem.cs - Completed.
9455 Oh God! Mercy! I will die applying attributes. I look at the missing
9456 part in the class-status - daemon! Kyrie eleison!
9458 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
9462 * AdRotator.cs - Added definition for Font.
9463 * BaseCompareValidator.cs - Added definition for Controls.
9464 * Calendar.cs - SelectMonthText definition corrected.
9465 * DataList.cs - Added definition for SeparatorTemplate.
9466 * BorderStyle.cs - Namespace correction. It belongs not to UI,
9467 but to UI.WebControls.
9469 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
9471 Finally, I have made it. Today I did a second build for the
9472 System.Web assembly. It compiled 195 classes today.
9473 I am waiting eagerly for the runtime to come up so that the objects
9474 may be tested to their last levels. Several of the methods are still
9475 under the tag of "TODO" throwing NotImplementedException. Well, I
9476 hope to remove them soon, but how far is this soon - even I don't
9477 know, though I am happy to make the build a success even before
9478 the vacations to come.
9480 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
9482 Yesterday and today I tried to do some building of the aseembly,
9483 but was dumped with uncoutably infinite errors. ;-)
9484 I have put the copies of the recent errors on my home page, want
9485 to have a look at them? See:
9486 http://mastergaurav.virtualave.net/mono/
9487 I don't know what to do with these errors. Oh! The buggy me! How
9488 will I overcome myself. Hopefully, by when my vacations over, I
9489 should have made a repository where the build will not fail.
9491 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
9493 I am now going to do a build that will include the
9494 System.Web.UI.WebControls namespace. Hoping that I will make it
9495 soon. My exams are coming near and I have to pack up soon.
9498 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
9501 And with this, ie, today's work, all the objects mentioned in the
9502 namespace appear in the implementation. But it may not be worth
9503 trying to go for a build because of dependence of several of the
9504 internal methods that may clash with already available assembly
9507 Also, the classes lack possible attributes, like those informing
9508 about child-controls etc. But I have to first create the attribute
9509 classes before I attach the attributes to the classes.
9511 * CustomValidator.cs - Completed. In process realized that
9512 I have to complete / rejuvinate BaseValidator class.
9513 * BaseValidator.cs - Complete rejuvination. Completed 80%
9514 of the job. All that is left is Render(HtmlTextWriter),
9515 DetermineRenderUplevel(), RegisterValidatorCommonScript()
9516 RegisterValidatorDeclaration()
9517 * DataGridPagerStyle.cs - Completed. That adds one more missle
9519 * DataKeyCollection.cs - Completed. Petty small.
9520 * Repeater.cs - Work started off. This is a quite
9522 * DataGridItemEventArgs.cs,
9523 * DataGridShortCommandEventArgs.cs,
9524 * DataListItemEventArgs.cs,
9525 * MonthChangedEventArgs.cs,
9526 * RepeaterItemEventArgs.cs,
9527 * ServerValidateEventArgs.cs,
9528 * DataGridPageChangedEventArgs.cs
9529 - Damn, I marked them "*", while they
9531 * Repeater.cs - Done all except for an undocumented
9532 method CreateControlHierarchy(bool). Though the method
9533 is quite clear by its name, but it will take some time
9534 for me to come with some material to flush in.
9536 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
9538 * SelectedDatesCollection.cs - Completed.
9539 * PagedDataSource.cs - Completed. Pathetically nice class.
9540 * RegularExpressionValidator.cs
9541 - Completed. Ridiculously small and
9542 annoyinglyc crazy-driving class, basically the method
9544 * RangeValidator.cs - Completed.
9545 * DataGridColumn.cs - Completed.
9546 * EditCommandColumn.cs - All is complete except for the
9547 InitializeCell(TableCell, int, ListItemType) method.
9548 * DataListItem.cs - All done except for a longish method
9549 RenderItem(HtmlTextWriter, bool, bool)
9551 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
9553 * RepeaterItemCollection.cs - Completed.
9554 I love *Collection classes. I am planning to make a
9555 program that will generate a *Collection class. It's so
9556 simple and the same. ;-)
9557 * DataGridColumnCollection.cs - Completed.
9558 ... except probably for *ColumnCollection classes, where
9559 you have to put in some more effort. Still, these class
9560 generation can be automated.
9561 * DataListItemCollection.cs - Completed.
9562 See, how easily, in less than a quarter of a minute, I
9563 completed this class - manually. Copy-Paste/Cut-Replace.
9565 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
9567 * DataGrid.cs - Following methods implemented:
9568 TrackViewState(), LoadViewState(object), SaveViewState(),
9569 On* -- The event raisers.
9570 OnBubbleEvent(object, EventArgs) is still incomplete.
9571 * DataGridItem.cs - Initial Implementation
9572 * DataGridItemCollection.cs - Completed.
9574 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
9576 * DataGrid.cs - Initial Implementation. Worked
9577 primarily with some properties.
9579 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
9581 * ListBox.cs - Completed. Implemented
9582 LoadPostData(string, NameValueCollection)
9583 * RequiredFieldValidator.cs - Completed. Pretty simple class.
9585 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
9587 * ListBox.cs - Implemented the following:
9588 RaisePostDataChangedEvent()
9590 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
9592 * ListBox.cs - Supports the following properties:
9593 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
9596 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
9597 RenderContents(HtmlTextWriter)
9600 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
9602 * TargetConverter.cs - Completed
9603 * TemplateColumn.cs - Completed
9604 * DataList.cs - Corrected the get-er methods for the
9605 *Style objects. Corrected the get/set-er methods for ViewState
9607 Addded support for properties:
9608 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
9609 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
9610 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
9611 SeparatorStyle, SeparatorItemTemplate.
9613 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
9614 ItemCreated, ItemDataBound, UpdateCommand.
9616 CreateControlStyle(), LoadViewState(object),
9617 SaveViewState(), TrackViewState
9619 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
9620 OnEditCommand, OnItemCommand, OnItemCreated,
9621 OnItemDataBound, OnUpdateCommand
9622 Added dummy methods for some undocumented methods:
9623 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
9624 CreateItem(int, ListItemType, bool, object),
9625 PrepareControlHierarchy(), InitializeItem(DataListItem)
9626 * ListBox.cs - Started working.
9630 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
9632 * RepeaterInfo.cs - Initial Implementation. Done all
9633 except for RepeatDirection.Vertical
9634 * TableStyle.cs - Completed
9636 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
9638 * DropDownList.cs - Completed
9639 * ListItemCollection.cs - Added method FindByValueInternal to
9640 assist in the derived classes.
9641 Discovered bug in FindByValue. Removed
9642 * UnitConverter.cs - Completed
9643 * PlaceHolder.cs - What can be simpler than this?
9644 * PlaceHolderControlBuilder.cs
9645 - Uh! Damn cool one.
9646 * RadioButtonList.cs - Initial Implementation. All is done
9647 except for the implementation of
9648 method IRepeatInfoUser.RenderItem(...)
9649 * ValidatedControlConverter.cs
9650 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
9651 * ValidationSummary.cs - Initial Implementation.
9652 * WebColorConverter.cs - Initial Implementation
9654 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9656 * FontNamesConverter.cs - Completed
9657 * FontUnitConverter.cs - Partial Implementation
9658 * ListItemControlBuilder.cs - Completed
9660 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9662 * TextBox.cs - All done except *Render* methods
9663 * TextBoxControlBuilder.cs - Completed
9664 * Xml.cs - Partial Implementation
9666 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
9668 * RadioButton.cs - Completed
9669 * TextBox.cs - Partial Implementation
9671 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
9673 * Panel.cs - Completed
9674 * TableItemStyle.cs - Completed
9676 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
9678 * TableCellCollection.cs - Completed
9679 * TableRowCollection.cs - Completed
9680 * TableHeaderCell.cs - Completed
9681 * TableRow.cs - Completed
9683 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
9685 * TableCellControlBuilder.cs - Completed
9686 * Table.cs - Completed
9687 * TableCell.cs - Completed
9689 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
9691 * CheckBoxList.cs - Completed
9692 * ButtonColumn.cs - Completed
9693 * Button.cs - Completed
9695 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
9697 * HyperLink.cs - Completed
9698 * Image.cs - Completed
9699 * ImageButton.cs - Completed
9700 * Label.cs - Completed
9701 * LabelControlBuilder.cs - Completed
9702 * LinkButton.cs - Completed
9703 * LinkButtonControlBuilder.cs - Completed
9704 * Literal.cs - Completed
9705 * LieteralControlBuilder.cs - Completed
9706 * FontUnit.cs - Completed
9709 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
9711 * Calendar.cs - Completed the functions of Render*,
9712 ViewStates (Track/View/Save),
9714 Left: RenderAllDays (partially)
9716 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
9718 * Calendar.cs - Added some more functions
9719 * Style.cs - Completed
9720 * ListItem.cs - Completed
9721 * ListItemCollection.cs - Completed
9723 Made the first successful build of System.Web.dll that included
9724 System.Web.UI.WebControls!
9726 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
9728 FontInfo.cs - Complete revamp. Completed
9730 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
9732 ListItemCollection.cs - Completed
9733 ListItem.cs - Initial Implementation
9734 Style.cs - Initial Implementation
9736 Right now I am in a total mood to do a successful build. Creating so many
9737 classes, completing classes in System.Web System.Web.UI namespaces.
9739 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
9741 TODO - Properly added
9742 CheckBox.cs - Completed
9743 BaseDataList.cs - Completed
9744 DayRenderEventArgs.cs - Completed
9745 RepeaterItem.cs - Initial implementation
9747 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
9749 BaseCompareValidator.cs - Completed
9750 AdRotator.cs - Completed
9752 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
9754 CommandEventArgs.cs - Completed
9755 DataGridCommandEventArgs.cs - Completed
9756 RepeaterCommandEventArgs.cs - Completed
9757 DataListCommandEventArgs.cs - Completed
9758 CompareValidator.cs - Partial Implementation
9760 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
9762 CheckBoxList.cs - Partial Implementation.
9765 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
9767 ListControl.cs - Completed
9769 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
9771 CheckBox.cs - Completed
9772 ListControl.cs - Initial Implementation
9773 CheckBoxList.cs - Started with it, but first needed
9774 ListControl. Left it.
9776 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
9778 CalendarDay.cs - Making a note that this
9779 has been implemented
9780 Calendar.cs - Making a note that have made some changes.
9781 Unimplmented functions throw
9782 NotImplementedException
9783 CheckBox.cs - Can now "Render" and "LoadPostData"
9786 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
9787 WebControl.cs - Total Revamp, Partial Implementation
9788 AdRotator.cs - Able to load files
9789 AdCreatedEventArgs.cs - Implemented
9791 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
9792 Calendar.cs - Initial Implementation
9793 ButtonColumn.cs - Initial Implementation
9794 Button.cs - Initial Implementation
9795 BoundColumn.cs - Initial Implementation
9796 BaseCompareValidator.cs - Minor Changes
9797 DataList.cs, BaseValidator.cs, BaseDataList.cs
9798 - Added more functions, other changes
9800 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
9801 WebControl.cs - Initial Implementation
9802 DataList.cs - Initial Implementation
9803 BaseValidator.cs - Initial Implementation
9804 BaseDataList.cs - Initial Implementation
9806 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
9808 AdCreatedEventArgs.cs - Initial Implementation
9809 AdCratedEventHandler.cs - Implemented
9810 AdRotator.cs - Initial Implementation
9811 BorderStyle.cs - Implemented
9812 ButtonColumnStyle.cs - Implemented
9813 CalendarSelectionMode.cs - Implemented
9814 DayNameFormat.cs - Implemented
9815 FirstDayOfWeek - Implemented
9816 FontInfo.cs - Partial Implementation
9817 FontSize.cs - Implemented
9818 GridLines.cs - Implemented
9819 HorizontalAlign.cs - Implemented
9820 HyperLink.cs - Initial Implementation
9821 ImageAlign.cs - Implemented
9822 IRepeatInfoUser.cs - Implemented
9823 ListItemType.cs - Implemented
9824 ListSelectionMode.cs - Implemented
9825 NextPrevFormat.cs - Implemented
9826 PagerMode.cs - Implemented
9827 PagerPosition.cs - Implemented
9828 RepeatDirection.cs - Implemented
9829 RepeatLayout.cs - Implemented
9830 TextAlign.cs - Implemented
9831 TextBoxMode.cs - Implemented
9832 TitleFormat.cs - Implemented
9833 UnitType.cs - Implemented
9834 ValidationCompareOperator.cs
9836 ValidationDataType.cs - Implemented
9837 ValidationSummaryDisplayMode.cs
9839 ValidatorDisplay.cs - Implemented
9840 VerticalAlign.cs - Implemented
9844 i/ File Created 2001-11-13