1 2010-02-19 Marek Habersack <mhabersack@novell.com>
3 * SqlDataSource.cs: call base.OnInit in OnInit. Fixes bug #572781
5 2010-02-18 Marek Habersack <mhabersack@novell.com>
7 * ListItemCollection.cs: ItemsEnabled and associated code removed
8 - there's no need to alter ListItem's Enabled property when
11 * ListControl.cs: SaveViewState doesn't set the items collection's
12 ItemsEnabled property as it was removed from ListItemCollection
14 * CheckBoxList.cs: LoadPostData never unselects any item. A better
16 RenderItem renders items as disabled when Enabled is false, but if
17 Enabled is true, item is rendered according to the value of its
18 own Enabled property. Fixes bug #578770
20 * TreeView.cs: RegisterStyle must copy CssClass in addition to
21 other style properties. Fixes bug #580692
23 2010-01-18 Marek Habersack <mhabersack@novell.com>
25 * Parameter.cs: added missing 3.5 APIs - constructors taking
26 DbType as one of the parameters, ConvertDbTypeToTypeCode,
27 ConvertTypeCodeToDbType and GetDatabaseType. Fixes bug #567850
29 2010-01-15 Marek Habersack <mhabersack@novell.com>
31 * ChangePassword.cs: BaseChangePasswordContainer forwards
32 EnsureChildControls call to its owner, so that finding controls in
33 the container works correctly.
35 2009-11-30 Marek Habersack <mhabersack@novell.com>
37 * WebControl.cs: HasAttributes made available as internal for 1.1
38 Avoid calling the Attributes getter many times in
40 If TrackViewState is called and attributes state bag already
41 exists, mark all items in the latter as dirty.
43 * CheckBox.cs, Button.cs, ImageButton.cs, LinkButton.cs: do not
44 create the Attributes collection if not necessary.
46 2009-11-16 Marek Habersack <mhabersack@novell.com>
48 * TreeNodeCollection.cs: whenever a node is added, let the owner
51 * TreeNode.cs: added internal property HadChildrenBeforePopulating
52 which is used to let TreeView know about an error condition where
53 a populate-on-demand node contains children added outside the
54 OnTreeNodePopulate event
56 * TreeView.cs: if a node has any child nodes and PopulatOnDemand
57 is set, throw an exception from RenderNode. This is the behavior
60 2009-11-13 Marek Habersack <mhabersack@novell.com>
62 * TableRowCollection.cs: added .NET compatibility NREX throws to
64 Whenever a row is added/removed, its Container property is
65 set. Fixes bug #551666
67 * TableRow.cs: introduced an internal property, Container, which
68 is set by TableRowCollection whenever this row is added/removed
69 to/from the collection. This allows the row to notify the
70 collectio and, in consequence, collection owner that TableSection
71 has been set and thead/tbody/tfoot elements need to be
72 generated. Fixes bug #551666
74 2009-11-10 Marek Habersack <mhabersack@novell.com>
76 * PasswordRecovery.cs:
77 {Question,Success,UserName}TemplateContainer must all be populated
78 the first time the property is accessed, so that calling
79 FindControl on the container returns valid and expected
80 results. If the associated template is not defined, though,
81 populating is postponed till CreateChildControls is called -
82 that's where default, empty, template will be created. This is
83 required to fix YetAnotherForum's password recovery control.
84 Mail template used in SendPasswordByMail must match the one used
85 in .NET (it has to end with a newline) as YAF parses the message
86 to retrieve user name and password and breaks if the last line
87 doesn't end with a newline character.
89 2009-10-30 Marek Habersack <mhabersack@novell.com>
91 * PasswordRecovery.cs: mail message replacements should include <%
92 Password %> and <% UserName %> and matching should be
93 case-insensitive. Fixes bug #545370
95 2009-10-28 Marek Habersack <mhabersack@novell.com>
97 * ListControl.cs: OnDataBinding must call base implementation
98 before performing the binding, so that DataSource can be assigned
99 from within the handler.
101 2009-10-13 Marek Safar <marek.safar@novell.com>
103 * WebColorConverter.cs: Delegate ConvertFrom to
104 ColorTranslator.FromHtml, it is correctly implemented and knows
107 2009-10-13 Marek Habersack <mhabersack@novell.com>
109 * WebColorConverter.cs: don't use a dictionary to check for valid
110 color names, use Color.IsKnownColor instead. Update for bug
112 Added more CSS2 color name mappings.
114 2009-10-12 Marek Habersack <mhabersack@novell.com>
116 * WebColorConverter.cs: when converting from color name, check if
117 the returned color's name is a member of the
118 System.Drawing.KnownColor enumeration to test for error condition,
119 as some colors might be #000000. Preserve the old error check as a
121 Map "captiontext" and "background" color names to
122 "ActiveCaptionText" and "Desktop", respectively, before passing
123 them to Color.FromName (). Fixes bug #546173
125 2009-10-02 Marek Habersack <mhabersack@novell.com>
127 * GridView.cs: added two 3.5 properties - SelectedPersistedDataKey
128 and IPersistedSelector.DataKey.
130 * BaseDataBoundControl.cs: slight optimizations to FindDataSource
132 2009-09-28 Marek Habersack <mhabersack@novell.com>
134 * DataBoundControl.cs: Initialize sets RequiresDataBinding
135 properly, only when we're not data-bound already, when we aren't
136 in postback or when we are in postback, but with viewstate
137 enabled. Fixes bug #542076
139 2009-09-01 Marek Habersack <mhabersack@novell.com>
141 * ObjectDataSourceView.cs: ExecuteSelect must call
142 QueryTotalRowCount after executing the select method (that's what
145 2009-08-25 Marek Habersack <mhabersack@novell.com>
147 * WebColorConverter.cs: inform the user that the might need to
148 check if libgdiplus is installed when parsing a color name
149 fails. Fixes bug #533749
151 2009-08-21 Marek Habersack <mhabersack@novell.com>
153 * Menu.cs: separator image is rendered next to the item in
154 horizontal layout and is preceeded by 3px spacer (unless
155 itemSpacing is set) to make output match .NET. Fixes bug #474716
157 * TreeNodeCollection.cs: {Save,Load}ViewState now store/load the
158 type of the node, if node is a of a custom type. Fixes bug #475997
160 2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
162 * Parameter.cs: add new DbType property.
164 2009-06-16 Marek Habersack <mhabersack@novell.com>
166 * IPersistedSelector.cs: removed AspNetHostingPermission
167 attributes from the 4.0 profile.
169 * IDataBoundControl.cs, IDataBoundItemControl.cs,
170 IDataBoundListControl.cs, IFieldControl.cs: added
172 * DetailsView.cs: control implements 4.0 IDataBoundItemControl
175 * DataBoundControl.cs: implemented 4.0 property DataSourceObject
176 (internal for 2.0) and made the InternalPerformDataBinding method
177 internal for the 4.0 profile.
179 2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
181 * ContentControlBuilderInternal.cs: detect missing
182 ContentPlaceHolderID attribute when parsing instead of throwing a
185 2009-05-29 Marek Habersack <mhabersack@novell.com>
187 * ListItem.cs: when tracking view state is turned on after
188 attributes have been set, make sure that the associated state bag
189 begins tracking state and that all of its existing items are
190 marked as dirty. Do the same after loading view state. Fixes bug
193 2009-04-29 Marek Habersack <mhabersack@novell.com>
195 * DataBoundControl.cs: added InternalGetDataSource method, used by
198 2009-04-28 Marek Habersack <mhabersack@novell.com>
200 * GridView.cs: implemented ColumnsGenerator and enabled its use in
203 * DetailsView.cs: implemented the RowsGenerator property and
204 enabled its use in CreateFieldSet.
206 2009-04-07 Marek Habersack <mhabersack@novell.com>
208 * TreeView.js: removed nodeText parameter from the JS calls.
210 * TreeView.cs: encode | characters into U+007C, so that
211 RaiseCallbackEvent doesn't get confused.
212 Removed nodeText parameter from the JS calls.
214 2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
216 * TreeNode.cs: reset the path data for all child nodes too.
217 * TreeView.cs: HtmlAttribute encode the node text. When rebuilding the
218 node tree, set the correct index for the nodes so that the Path is
221 2009-04-06 Marek Habersack <mhabersack@novell.com>
223 * TreeView.js: TreeView_ToggleExpand now takes more parameters - a
224 full definition of treeview's node contents.
225 Added new function, TreeView_PopulateNode, which partially takes
226 over role of the PopulateNode function generated in
227 TreeView.OnPreRender (see below). Fixes bug #492307
229 * TreeView.cs: RaiseCallbackEvent needs to recreate the event
230 target's parental tree all the way from the root to the node and
231 populate only the leaf (requested) node. This avoids calling the
232 TreeNodePopulate handler more times than needed. Fixes bug #492307
233 OnPreRender: moved the script code to constants and the script
234 body is now generated using StringBuilder instead of a series of
236 GetClientExpandEvent: adjusted code for new TreeView JavaScript
239 2009-03-17 Marek Habersack <mhabersack@novell.com>
241 * Unit.cs: introduced a field to tell the difference between empty
242 (as in Unit.Empty) and 0px units.
244 2009-03-06 Marek Habersack <mhabersack@novell.com>
246 * WebControl.cs: if savedState is not an instance of Pair in
247 LoadViewState, do not attempt to load from it.
249 2009-02-10 Marek Habersack <mhabersack@novell.com>
251 * ImageButton.cs: AddAttributesToRender renders the onclick
252 attribute only if any of the following is true:
253 - OnClientClick is not empty
254 - Validation is enabled for the control
255 - PostBackUrl is used
256 PostBackOptions now indicate that control requires the javascript
257 protocol for the handler.
258 RaisePostBackEvent passes String.Empty as the argument.
261 2009-02-09 Marek Habersack <mhabersack@novell.com>
263 * ObjectDataSourceView.cs: ExecuteSelect returns a single-item
264 array of objects containing the result, if the result isn't one of
265 DataSet, DataTable or IEnumerable. Fixes bug #471767
267 2009-02-06 Marek Habersack <mhabersack@novell.com>
269 * Style.cs: if CssClass is null, return String.Empty. Fixes bug
271 Added a range check to the BorderStyle property.
273 2009-02-05 Marek Habersack <mhabersack@novell.com>
275 * Login.cs: check the value of DisplayRememberMe when creating
276 the child controls. Fixes #468359
278 2009-01-20 Marek Habersack <mhabersack@novell.com>
280 * Substitution.cs: added. Fixes bug #467460
282 2009-01-13 Marek Habersack <mhabersack@novell.com>
284 * XmlBuilder.cs: updates related to ControlBuilder cleanup.
286 2008-12-01 Marek Habersack <mhabersack@novell.com>
288 * Style.cs: WriteStyleAttributes must not use the fontinfo field
289 directly, it has to be done via the Font property. Fixes bug
292 2008-11-15 Marek Habersack <mhabersack@novell.com>
294 * ContentPlaceHolder.cs, Content.cs, FormViewPagerRow.cs,
295 ChangePassword.cs, DetailsViewPagerRow.cs: implements
296 INonBindingContainer interface.
298 * Wizard.cs: implement INonBindingContainer interface for several
299 private/internal classes.
301 2008-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
303 * ImageButton.cs: clicking an image causes a postback.
306 2008-10-24 Marek Habersack <mhabersack@novell.com>
308 * CheckBox.cs: register for event validation in Render ().
310 2008-10-21 Marek Habersack <mhabersack@novell.com>
312 * XmlDataSource.cs: DataFile may be an URL.
314 2008-10-17 Marek Habersack <mhabersack@novell.com>
316 * ImageMap.cs: added the SupportsEventValidation attribute to the
318 Validate the event in RaisePostBackEvent ().
319 Register for event validation in Render ().
321 * DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().
323 * TextBox.cs: validate the event in LoadPostData ().
324 Register for event validation in AddAttributesToRender ().
326 * HiddenField.cs: validate the event in RaisePostDataChangedEvent.
327 Register for event validation in Render ().
329 * RadioButton.cs: validate the event in LoadPostData ().
330 Register for event validation in InternalAddAttributesToRender.
332 * CheckBox.cs, RadioButtonList.cs: validate the event in
333 RaisePostDataChangedEvent.
335 * Menu.cs: added the SupportsEventValidation attribute to the
337 Validate the event in RaisePostBackEvent ().
338 Register for event validation in GetClientEvent ().
340 * DetailsView.cs, GridView.cs: validate the event in
341 RaisePostBackEvent ().
342 Register for validation in GetCallbackScript () and in OnPreRender
344 * Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
345 ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().
347 2008-10-14 Marek Habersack <mhabersack@novell.com>
349 * CompositeDataBoundControl.cs: renamed the itemcount ViewState
350 item from "_ItemCount" to "_!ItemCount" for .NET
351 compatibility. This item is accessed and used by some commercial
354 * DataBoundControl.cs: OnPagePreLoad must force databinding also
355 when the request is not a postback.
357 2008-10-13 Marek Habersack <mhabersack@novell.com>
359 * Table.cs, TableRowCollection.cs, TableRow.cs: render table
360 sections when necessary. Fixes bug #434555
362 2008-10-08 Marek Habersack <mhabersack@novell.com>
364 * ControlParameter.cs: Evaluate calls DataBinder.Eval to do the
365 evaluation now. This makes it support complex expressions.
367 2008-09-30 Sebastien Pouliot <sebastien@ximian.com>
369 * RoleGroupCollection.cs: Fix recursive calls (wrong target)
370 [Found using Gendarme's BadRecursiveInvocationRule]
372 2008-09-28 Sebastien Pouliot <sebastien@ximian.com>
374 * XmlDataSource.cs: Make sure the result of the multiplication is a
375 long (not an integer casted into a long since it could overflow).
376 [Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
378 2008-09-17 Juraj Skripsky <js@hotfeet.ch>
380 * RadioButton.cs (ValueAttribute, LoadPostData): Fixes bug #426959.
382 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
384 * IPersistedSelector.cs : new in 3.5 SP1.
386 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
388 * DataBoundControlMode.cs : new 3.5 SP1 type.
390 2008-08-25 Marek Habersack <mhabersack@novell.com>
392 * DataBoundControl.cs: set RequiresDataBinding to true in
393 Initialize only if not in a postback, if not data bound and if the
394 view state is enabled. Fixes bug #398318
395 UpdateViewData removes the OnDataSourceViewChanged handler before
396 connecting to the datasource and restores it before returning to
398 OnLoad gets the data source before initialization, to avoid
399 premature OnDataSourceViewChanged triggers. Fixes bug #398318
400 Do not reconnect to the data source if we already have a valid one.
402 2008-08-18 Marek Habersack <mhabersack@novell.com>
404 * Unit.cs: rewrote the unit parser in a slightly slower, but more
405 correct, way. Fixes bug #417502
407 2008-07-28 Marek Habersack <mhabersack@novell.com>
409 * TreeView.cs: when TreeView is displaying a site map and there is
410 no node selected by the user, select the node corresponding to the
411 current page, if any.
413 2008-07-24 Marek Habersack <mhabersack@novell.com>
415 * DataGrid.cs: removed the private class TableID and moved its
416 code to ChildTable.cs (see below). 2.0 instantiates teh ChildTable
417 with the owner parameter now. Fixes bug #400377
419 * ChildTable.cs: refactoring - moved code from TableID previously
420 defined in DataGrid.cs to here and made the class available under
421 different names for both 1.x and 2.x profiles. Fixes bug #400377
423 * MailDefinition.cs: look for the mail body file in the correct
424 path. Patch from Jackson Harper <jaharper@novell.com>,
425 thanks! Fixes bug #408699
427 * PasswordRecovery.cs: do not ask password recovery question if
428 it's disabled. Patch from Jackson Harper <jaharper@novell.com>,
429 thanks! Fixes bug #408696
431 2008-07-16 Marek Habersack <mhabersack@novell.com>
433 * XmlDataSource.cs: check if Page isn't null before stringifying
434 it in GetDataKey (), fixes bug #409492
436 2008-07-13 Roei Erez <roeie@mainsoft.com>
438 * GridView.cs: When the RowDataBound event is invoked, the value
439 of GridView1.DataKeys should contains all the keys up untill the
440 current row, and not be empty.
441 I only changed the order of the user event invocation and the addition
444 2008-07-13 Roei Erez <roeie@mainsoft.com>
446 * TreeView.cs: In case of multiple tree node bingings, select
447 The first one and not the last one.
449 2008-07-10 Roei Erez <roeie@mainsoft.com>
451 * HyperlinkField.cs: Changed behavior of HyperLinkField bound field key
452 to be case insensitive.
454 2008-07-03 Marek Habersack <mhabersack@novell.com>
456 * CheckBox.cs: do not render the language="javascript" attribute
459 2008-07-02 Marek Habersack <mhabersack@novell.com>
461 * GridView.cs: minor optimizations (removed a foreach loop,
462 replaced calls to Array.Length with a variable containing the
465 2008-06-30 Marek Habersack <mhabersack@novell.com>
467 * ObjectDataSourceView.cs, Menu.cs, DataList.cs,
468 CustomValidator.cs: hush the warnings
470 2008-06-10 Noam Lampert <noaml@mainsoft.com>
472 * ListItemCollection.cs: Provide viewstate for dirty collection even if it is empty.
474 2008-05-30 Marek Habersack <mhabersack@novell.com>
476 * BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
477 DataControlFieldCollection.cs, DataControlField.cs,
478 PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
479 event accessors (to avoid locks).
481 2008-05-18 Marek Habersack <mhabersack@novell.com>
483 * HierarchicalDataBoundControl.cs: Modified GetData method to check if
484 DataSource implements IHierarchicalEnumerable and if so constructs and
485 returns a new instance of ReadOnlyDataSourceView. This provides functional
486 compatibility with the Microsoft.NET framework. Fixes bug
487 #395209. Patch contributed by James Fitzsimons
488 <james.fitzsimons@gmail.com>, thanks!
490 2008-05-06 Marek Habersack <mhabersack@novell.com>
492 * Calendar.cs: do not create dateInfo in the constructor - culture
493 might be not set yet at this point. Fixes bug #323566
494 Added a private property, DateInfo, which creates the dateInfo
497 2008-05-05 Sebastien Pouliot <sebastien@ximian.com>
499 * BulletedList.cs: Avoid calling ToString on a string.
500 * ButtonField.cs: Throw, not just create, the exceptions.
501 * HyperLinkField.cs: Throw, not just create, the exceptions.
502 * ImageField.cs: Throw, not just create, the exception. Avoid calling
503 ToString on a string.
504 * ListControl.cs: Avoid calling ToString on a string.
505 [All issues were found using Gendarme]
507 2008-04-30 Marek Habersack <mhabersack@novell.com>
509 * SiteMapDataSource.cs: when no starting node is found, return
510 null instead of Provider.RootNode. Fixes bug #323994
512 2008-04-24 Marek Habersack <mhabersack@novell.com>
514 * SqlDataSource.cs: raise the DataSourceChangedEvent when setting
515 ConnectionString, ProviderName or DataSourceMode properties only
516 when the new value differs from the old one. Fixes bug #359392
518 2008-04-16 Marek Habersack <mhabersack@novell.com>
520 * ObjectDataSourceView.cs: ExecuteSelect should return an empty
521 aray when no data has been retrieved from the specified source
522 type. Fixes bug #380106
524 2008-04-15 Marek Habersack <mhabersack@novell.com>
526 * MailDefinition.cs: dispose of streams the way it should
529 2008-04-10 Marek Habersack <mhabersack@novell.com>
531 * RadioButton.cs: adjust 'name' and 'value' attribute values to
532 match MS.NET. Fixes bug #378024
534 * CheckBoxList.cs: set the Selected property to the value in POST
535 data only if the item in question was enabled before postback
536 occurred. Fixes bug #377703
538 * ListControl.cs: make sure the owned items' Enabled property is
539 set to the same value what ListControl's. Fixes bug #377703
541 * ListItemCollection.cs: fixed SetDirty to store the index of the
542 last dirtied item properly. Fixes bug #377703
543 For the 2.0 profile, set the ListItem instances Enabled property
544 to the value of the owning ListControl (internal ItemsEnabled
545 property was added to make it possible). Fixes bug #377703
547 2008-04-08 Dean Brettle <dean@brettle.com>
549 * DataBoundControl.cs (InternalPerformDataBinding),
550 HierarchicalDataBoundControl.cs (InternalPerformDataBinding),
551 WebControl.cs (Render): fixed cast errors when a ControlAdapter
552 that wasn't of the type corresponding to the control was used.
554 2008-04-03 Marek Habersack <mhabersack@novell.com>
556 * DataList.cs: use the value of SelectedIndex, not selectedIndex,
557 to return the key value in the SelectedValue property. Fixes bug
558 #376519. Patch from Sergey Kuleshov <svyatogor@gmail.com>, thanks!
560 2008-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
562 * AutoGeneratedField.cs, CheckBoxField.cs: fixed OnDataBindField,
563 should hide checkbox only if DataItem is not defined
565 2008-03-09 Dean Brettle <dean@brettle.com>
567 * DetailsView.cs, ListControl.cs, DataBoundControl.cs,
568 FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs:
569 added support for using ControlAdapters when present.
571 * WebControl.cs: fixed implementation of IsEnabled to match
574 * Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of
575 RenderMenuItem() if an adapter is present. MenuAdapter.RenderItem()
576 calls back to new Menu.RenderItem() internal method which calls
577 RenderMenuItem() with the appropriate parameters.
579 2008-02-25 Igor Zelmanovich <igorz@mainsoft.com>
582 at Update and Delete use not read only coppies of dictionaries
583 in event argumens, that allows user to change them before corresponding
584 DataSource's method is called.
586 2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>
588 * Login.cs: render id attribute of root element correctly.
590 2008-02-18 Marek Habersack <mhabersack@novell.com>
592 * FormView.cs: the ItemCreated must be fired before data is bound
593 to the FormView. Fixes bug #360434
595 2008-02-07 Igor Zelmanovich <igorz@mainsoft.com>
597 * Login.cs: render id attribute of root element correctly.
599 2008-02-05 Marek Habersack <mhabersack@novell.com>
601 * FileUpload.cs: make sure FileContent always returns the input
602 stream positioned at the beginning. Fixes bug #356846
604 2008-01-31 Igor Zelmanovich <igorz@mainsoft.com>
606 * Calendar.cs: resolve Next/Prev. month link date correctly.
608 2008-01-29 Igor Zelmanovich <igorz@mainsoft.com>
610 * TreeView.cs: add XPFileExplorer icon set.
612 2008-01-28 Igor Zelmanovich <igorz@mainsoft.com>
614 * Menu.js: dynamic nodes are positioned after hover style of
615 parent node is applied.
617 2008-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
619 * DataSourceCacheManager.cs: fixed GetKeyFromParameters, incase more
620 than one datasource using the same object with the same select method
622 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
624 * ValidationSummary.cs:
625 refactoring: If page contents instance of IScriptManager, it calls
626 it's API instead Page.ClientScript.
628 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
630 * Menu.cs: fixed rendering.
632 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
635 manage history state on "MovePrevious" action.
637 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
640 resolve BulletImageUrl,
641 register for event validation.
643 2008-01-13 Igor Zelmanovich <igorz@mainsoft.com>
647 upgrade client side script due to changes in webform.js.
649 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
651 * BaseCompareValidator.cs:
653 * CompareValidator.cs:
654 * CustomValidator.cs:
656 * RegularExpressionValidator.cs:
657 * RequiredFieldValidator.cs:
658 refactoring: If page contents instance of IScriptManager, validators call
659 it's API instead Page.ClientScript.
661 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
666 for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
667 in GetPostBackOptions.
669 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
671 * DetailsView.cs: render invisible rows correct.
673 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
675 * DataControlField.cs: prevent infinite recursion
677 2008-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
679 * DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding
682 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
684 * DataSourceCacheManager.cs: fixed SetCachedObject, fixed
687 2007-12-24 Igor Zelmanovich <igorz@mainsoft.com>
689 * TreeView.cs: revert changes from r91230
691 2007-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
693 * ListControl.cs: fixed Load/SaveViewState, removed selected indices
695 * ListItem.cs: fixed Load/SaveViewState, added selected state storing
696 * ListItemCollection.cs: fixed Load/SaveViewState, added flag to not
697 rebuild the collection if was'nt changed
699 2007-12-13 Marek Habersack <mhabersack@novell.com>
701 * Menu.cs, TreeView.cs: optimize use of String.Format in
703 Speed optimization - use String.Concat instead of String.Format in
706 * GridView.cs, DetailsView.cs: optimize use of String.Format in
709 * CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
710 WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
711 ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
712 optimization - use String.Concat instead of String.Format in some cases.
714 2007-12-13 Vladimir Krasnov <vladimirk@mainsoft.com>
716 * Menu.cs: fixed rendering without head tag on page
718 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
720 * Calendar.cs: performance optimizations:
721 BuildLink fixed, StringBuilder used.
722 TodaysDate DateTime.Today call cahced.
724 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
726 * Unit.cs: performance optimization: ToString fixed, string.Concat used
727 instead of string.Format
729 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
731 * Style.cs: performance optimization: suppress finalizer added
733 2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>
737 evaluate bound value using ThisExpession ("!") properly
739 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
741 * WebControl.cs: enabled state restored properly.
743 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
746 refactoring for NET_2_0:
747 Text is removed from view state in case of need at SaveViewState phase.
749 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
752 SelectedValue/SelectedIndex is set during DataBinding always.
754 2007-11-06 Marek Habersack <mhabersack@novell.com>
756 * DataGrid.cs: add RenderTable before the DataGridItems, so that
757 numbering of children is the same what on MS.NET.
758 If there are any data items, require a postback script.
761 * ChildTable.cs: removed DOS EOLs.
763 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
766 does not perform authentication if Page.IsValid returns false;
767 the fix makes control works with disabled client side validation.
769 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
772 state of DataList.Items are restored correct on PostBack
773 such Items.Count and ItemType.
775 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
778 validator is rendered correct if EnabledClientClient is false.
780 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
782 * Image.cs: fixed management state of Enabled property.
783 * WebControl.cs: refactoring in management state of Enabled property.
785 2007-10-23 Marek Habersack <mhabersack@novell.com>
787 * ListBox.cs, Table.cs: use Render{Begin,End}Tag
788 instead of the Write* counterparts when rendering contents.
790 2007-10-18 Marek Habersack <mhabersack@novell.com>
792 * Menu.js: a workaround for an IE bug. IE recalculates element's
793 offsetWidth when the element's _height_ is set - which in case of
794 elements with overflowing content results in a value that's just
795 slightly smaller than the client window width. In effect, a long
796 submenu will also be very wide, which isn't desirable. Fixes bug
799 2007-10-15 Marek Habersack <mhabersack@novell.com>
801 * ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
804 * BulletedList.cs: html encode the item text. Fixes bug #333550.
806 2007-10-01 Marek Habersack <mhabersack@novell.com>
808 * ListItem.cs: make HasAttributes available for the 1.1 profile as
811 * DropDownList.cs: render custom ListItem attributes in the 1.1
812 profile. Fixes bug #326288
814 2007-09-27 Marek Habersack <mhabersack@novell.com>
816 * Button.cs: added missing OnPreRender method.
818 2007-09-25 Marek Habersack <mhabersack@novell.com>
820 * WebControl.cs: added an internal method, BuildScriptAttribute,
821 which merges the specified JavaScript code in an attribute, with
822 the value of that attribute specified by the user.
824 * CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
825 preserve user-specified attribute value, if present.
827 * ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
828 after doing its job. AutoPostBack handling makes sure to preserve
829 user-specified attribute value, if present. Fixes bug #327816.
831 2007-09-21 Marek Habersack <mhabersack@novell.com>
833 * ListItem.cs: don't save StateBag in the control state - the
834 class is not serializable and therefore ObjectStateFormatter
835 cannot convert it. Instead have the sb object save its own state
836 and store the returned value. Fixes bug #326288.
838 2007-09-20 Marek Habersack <mhabersack@novell.com>
840 * LoginView.cs: implemented RoleGroups support. Fixes bug
843 2007-09-19 Marek Habersack <mhabersack@novell.com>
845 * GridView.cs: copy attributes from GridView to the child table,
846 as this is where the rendering takes place. Fixes bug #326309.
848 2007-09-18 Marek Habersack <mhabersack@novell.com>
850 * Calendar.cs: correctly apply day cell style. Fixes bug #315903
852 2007-09-17 Marek Habersack <mhabersack@novell.com>
854 * Calendar.cs: style attribute value must be enclosed in quotes.
856 * TableStyle.cs: do not capitalize the align styles. Fixes bug
859 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
861 * ListControl.cs: partially restored r85314
862 whenever a property that can affect data binding
863 is set, make sure to set RequiresDataBinding.
865 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
867 * DataBoundControl.cs: fixed DataBind flow:
868 prevent double binding when not necessary.
871 2007-08-31 Marek Habersack <mhabersack@novell.com>
873 * GridView.cs: instead of not adding hidden fields to the rows,
874 mark the cells they would contain as invisible. Fixes bug #82615.
876 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
880 make Menu work in multi form environment.
882 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
884 * ListControl.cs: fixed selected items state management.
886 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
888 * BaseCompareValidator.cs:
890 * CompareValidator.cs:
891 * CustomValidator.cs:
893 * RegularExpressionValidator.cs:
894 * RequiredFieldValidator.cs:
895 all Validators use RegisterExpandoAttribute for
896 not XHTML compliant attributes.
898 2007-08-23 Igor Zelmanovich <igorz@mainsoft.com>
900 * Panel.cs: client script consider MultiForm environment.
902 2007-08-21 Marek Habersack <mhabersack@novell.com>
904 * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
907 2007-08-20 Marek Habersack <mhabersack@novell.com>
909 * ContentPlaceHolderBuilder.cs: store place holder id in the
910 parser's internal place holder id list for later reference. Fixes
913 2007-08-19 Vladimir Krasnov <vladimirk@mainsoft.com>
915 * BoundField.cs: FormatDataValue, refactored multiple use of ToString
917 2007-08-14 Marek Habersack <mhabersack@novell.com>
919 * ObjectDataSourceView.cs: remove unused variable.
921 * ChangePassword.cs: remove unused variable.
922 The change password button id changed to
923 "ChangePasswordPushButton", the cancel button id changed to
924 "CancelPushButton". The change makes the generated ids the same
925 what on MS.NET. Fixes bug #82418.
927 * RoleGroupCollection.cs: OnValidate shouldn't be overridden.
929 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
931 * ParameterCollection.cs: fixed IndexOfString, should use ordinal
934 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
936 * Menu.cs: performance refactoring, used AddAttribute overload without
937 encoding on known attribute values, optimized DynamicMenu rendering
939 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
941 * TreeView.cs: refactoring, used AddAttribute overload without encoding
942 on known attribute values,
943 used Page.ClientScript.GetWebResourceUrl call instead of
944 AssemblyResourceLoader.GetResourceUrl
946 2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
948 * AccessDataSource.cs: does not subscribed on view changed event.
949 * ObjectDataSource.cs: fixed state management.
950 * SqlDataSource.cs: fixed state management.
952 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
955 DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs,
956 RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs,
957 TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs,
958 BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs,
959 RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs,
960 ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs,
961 TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs:
962 refactoring, used AddAttribute overload without encoding on known attribute
965 2007-08-01 Igor Zelmanovich <igorz@mainsoft.com>
967 * DropDownList.cs: fixed onchange attibute.
969 2007-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
971 * ListItemCollection.cs: fixed LoadViewState, items restored from
972 viewstate were not saved, fixes bug #82192
974 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
976 * BaseValidator.cs: All client scripts are rendered
977 according IsMultiForm property.
979 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
981 * TreeView.cs: refactoring:
983 used ClientScriptManager.GetCallbackEventReference API instead calling
984 WebForm_DoCallback explicit.
986 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
988 * BaseValidator.cs: for NET_2_0: fixed client side validation.
989 validation is performed in WebForm_DoPostback,
990 and there is no need to do it twice in ValidatorOnSubmit.
992 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
994 * Calendar.cs: fixed: correct 'id' attribute is rendered.
996 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
998 * ListItemCollection.cs: optimized SetDirty method
1000 2007-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1004 * ListItemCollection.cs: controls based on ListControl should not save
1005 view state before than TrackViewState called
1007 2007-07-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1009 * WebControl.cs: fixed AddDisplayStyleAttribute, returns if
1010 ControlStyle is not created
1012 2007-07-02 Marek Habersack <mhabersack@novell.com>
1014 * WebControl.cs: Revert r80368, as it wasn't the correct
1015 fix. Fixes bug #81945.
1017 * ListControl.cs: if there are no items in the collection, do not
1018 return an empty ArrayList from GetSelectedIndicesInternal. Fixes
1019 bug #81945 and properly fixes bug #78533.
1021 * ListItemCollection.cs: if there are no items in collection,
1024 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1027 the Pager is created but unvisible for only one page.
1028 the Patch submitted by Dumitru Ban [dban@dako.ro]
1030 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1035 does not requires data binding if any ITemplate property is set.
1037 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1039 * CheckBox.cs: fixed Render, HasAttributes called instead
1042 2007-06-24 Igor Zelmanovich <igorz@mainsoft.com>
1044 * GridView.cs: fixed AllowPaging feature:
1045 When the AllowPaging is true the GridView control should automatically
1046 hide the pager row when the data source contains fewer than 2 records.
1047 patch Patch submitted by Dumitru Ban [dban@dako.ro]
1049 2007-06-20 Marek Habersack <mhabersack@novell.com>
1051 * WebControl.cs: if savedState is a Triplet, take the actual state
1052 data from savedState.First. Also make sure that the data is a
1053 Pair. Fixes bug #78533.
1055 * DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
1056 to keep private entries.
1057 * XmlDataSource.cs: as above
1059 2007-05-31 Vladimir Krasnov <vladimirk@mainsoft.com>
1061 * BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed
1062 to ClientScriptManager
1064 2007-05-29 Igor Zelmanovich <igorz@mainsoft.com>
1066 * ObjectDataSourceView.cs:
1067 * SiteMapDataSource.cs:
1069 * SqlDataSourceView.cs:
1070 DataSourceChanged and DataSourceViewChanged are raised in right case, when
1071 different properties changed their value.
1073 2007-05-27 Igor Zelmanovich <igorz@mainsoft.com>
1075 * ObjectDataSourceView.cs: fixed SelectMethod and SelectCountMethod properties:
1076 when changed, DataSourceViewChanged event is raised.
1078 * SqlDataSourceView: fixed SelectCommand property:
1079 when changed, DataSourceViewChanged event is raised.
1081 2007-05-25 Marek Habersack <mhabersack@novell.com>
1083 * ObjectDataSourceView.cs: CreateDataObject must pay attention to
1084 TypeConverter attributes on the property being converted.
1086 2007-05-24 Igor Zelmanovich <igorz@mainsoft.com>
1088 * Menu.cs: fixed: alt attribute is rendered as well.
1090 2007-05-16 Marek Habersack <mhabersack@novell.com>
1092 * CompareValidator.cs: formatting changes
1094 2007-05-15 Marek Habersack <mhabersack@novell.com>
1096 * ObjectDataSourceView.cs: refactoring - use
1097 HttpApplication.LoadType to look up types.
1099 2007-05-10 Marek Habersack <mhabersack@novell.com>
1101 * Table.cs: render rows, not controls
1103 * HyperLink.cs: RenderContents must check if the render method
1104 delegate is present and, if yes, call the base RenderContents.
1106 * LinkButton.cs: as above.
1108 * Label.cs: as above.
1110 * TableCell.cs: as above.
1111 This change makes the HeaderTemplate in the Wizard control work.
1113 * Wizard.cs: if a next/previous step handler modifies
1114 ActiveStepIndex do not, respectively, increase/decrease the
1115 current step, but use whatever was set in the handler.
1117 2007-05-09 Marek Habersack <mhabersack@novell.com>
1119 * TreeNodeStyleCollection.cs: do not set font's underline flag to
1120 false, set it to its own value instead.
1122 * TreeView.cs: if level style exists and has ChildNodesPadding
1123 set, it takes precedence over the node style setting (if any).
1125 2007-05-08 Marek Habersack <mhabersack@novell.com>
1127 * TreeView.cs: children padding is rendered only before and after
1128 the children are rendered, not between them. Also, render padding
1129 only if there are any nodes to follow the current one.
1131 2007-05-07 Marek Habersack <mhabersack@novell.com>
1133 * Wizard.cs: additional checks to see whether the wizard needs to
1134 move to a next step or not. Fixes bug #81532. Patch sent by Mike
1135 Morano <mmorano@mikeandwan.us>, thanks!
1137 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1139 * FormView.cs: fixed:
1140 avoid NullReferenceException when used EditTemplate w/o binding
1141 directive such Eval or Bind.
1143 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1145 * MenuItem.cs: fixed:
1146 when 'Value' property is not set, value of 'Text' property is used
1147 instead and vice versa.
1149 2007-05-06 Igor Zelmanovich <igorz@mainsoft.com>
1151 * TreeNode.cs: fixed:
1152 when 'Value' property is not set, value of 'Text' property is used
1153 instead and vice versa.
1155 2007-05-04 Marek Habersack <mhabersack@novell.com>
1157 * AdRotator.cs: use the new GetPhysicalFilePath method to look up
1158 the physical path of the ad file.
1160 2007-05-03 Marek Habersack <mhabersack@novell.com>
1162 * TreeView.cs: honor ChildNodesPadding of the NodeStyle.
1164 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1166 * ControlPropertyNameConverter.css:
1167 * FontUnitConverter.cs:
1169 * ValidatedControlConverter.cs:
1172 2007-05-03 Marek Habersack <mhabersack@novell.com>
1174 * TreeNode.cs: correct version of the fix in r76488. Nodes
1175 retrieved from a navigation data source which have empty URL will
1178 * TreeView.cs: revert r76488, it wasn't entirely correct. I need
1179 to investigate the special cases it solved a bit more.
1181 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
1183 * SqlDataSourceView.cs:
1184 make CancelSelectOnNullParameter property works.
1186 2007-05-01 Marek Habersack <mhabersack@novell.com>
1188 * BaseValidator.cs: do not use User-Agent directly, we must take
1189 ClientTarget into account.
1191 2007-04-30 Marek Habersack <mhabersack@novell.com>
1193 * TreeView.cs: bring rendering closer to the MS.NET rendering.
1195 * SqlDataSource.cs: do not catch the exception if ProviderName is
1196 not null or empty (as per docs and what MS.NET does).
1198 2007-04-19 Igor Zelmanovich <igorz@mainsoft.com>
1200 * ChangePassword.cs:
1201 does not accept invalid new password.
1203 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1207 added MonoLimitation attributes
1209 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1211 * BaseValidator.cs: for TARGET_J2EE:
1212 used Page.Request.Browser to determine RenderUplevel
1214 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1217 when databound with AutoGenerateColumns = true,
1218 data source enumerator created only once.
1220 2007-04-18 Marek Habersack <mhabersack@novell.com>
1222 * SiteMapDataSource.cs: query the site map for the current node
1223 when configured to use it as the start point. Fixes bug #81376,
1224 patch from Mike Morano <mmorano@mikeandwan.us>.
1226 * Calendar.cs: change year/month format to be culture aware. Fix
1227 for bug #81390. Patch submitted by Atsushi Enomoto
1228 <atsushi@ximian.com>
1230 2007-04-17 Daniel Nauck <dna@mono-project.de>
1232 * PasswordRecovery.cs: fixed typo (AnswerLabel.Text).
1234 2007-04-17 Marek Habersack <mhabersack@novell.com>
1236 * BaseValidator.cs: use the new uplevel browser detection code.
1238 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1240 * SqlDataSourceView.cs: fixed: InitializeParameters:
1241 restored flow, broken in r75137.
1243 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1245 * Menu.cs: popup menu is posed correctly if menu is placed within
1246 container with position=relative
1248 2007-04-12 Marek Habersack <mhabersack@novell.com>
1250 * LoginView.cs: do not call CreateChildControls directly from the
1251 IsAuthenticated setter since that would destroy the controls the
1252 user might've configured from their Page_PreRender method.
1253 Do not use IsAuthenticated in CreateChildControls since that
1254 prevents the _correct_ template from being instantiated before the
1255 control is transferred to the user's OnPreRender handler. Fixes
1258 2007-04-11 Marek Habersack <mhabersack@novell.com>
1260 * ImageButton.cs: implement the Enable property and do not
1261 register for post back if the control isn't enabled.
1263 2007-04-06 Marek Habersack <mhabersack@novell.com>
1265 * GridView.cs: don't render invisible fields. Fixes bug #80061.
1267 * DetailsView.cs: don't render invisible fields.
1269 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1271 * Menu.cs: resolve selected MenuItem if bounded with SiteMapeDataSource.
1273 2007-04-05 Marek Habersack <mhabersack@novell.com>
1275 * BaseDataBoundControl.cs: restore the LAMESPEC note and code it
1276 describes - tests show this is what's happening on MS.NET as
1279 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1282 * BaseDataBoundControl.cs:
1283 Break recursion when the property is set from within the OnSelect handler
1284 in user's code. fixes bug #81175.
1286 2007-04-05 Marek Habersack <mhabersack@novell.com>
1288 * SiteMapDataSource.cs: fix GetStartNode for situations when the
1289 current URL is not defined in the sitemap file. Fixes bug
1290 #81314. Patch from Mike Morano <mmorano@mikeandwan.us>.
1292 2007-04-03 Marek Habersack <mhabersack@novell.com>
1294 * BaseDataBoundControl.cs: adjust for lame specs on MSDN.
1296 2007-04-02 Gert Driesen <drieseng@users.sourceforge.net>
1298 * MenuItem.cs: Use INavigateUIData.Description as ToolTip. Fixed line
1301 2007-03-29 Adar Wesley <adarw@mainsoft.com>
1303 * ObjectDataSourceView.cs: fixed events so they are raized at the
1304 right times. Added many tests to verify the correct time.
1305 * SqlDataSourceView.cs: fixed events so they are raized at the right
1306 times. Added many tests to verify the correct time.
1308 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1312 avoid Exception if HierarchicalDataSourceView.Select() returns null.
1314 2007-03-22 Igor Zelmanovich <igorz@mainsoft.com>
1316 * ObjectDataSource.cs:
1317 * ObjectDataSourceView.cs:
1319 * SqlDataSourceView.cs:
1320 fixed flow: changes in Insert/Update/DeleteParameters does not
1321 cause DataSourceViewChanged event.
1323 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1325 * BaseDataBoundControl.cs: fix as per MSDN - the property is set
1326 only if data binding doesn't occur.
1328 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1330 * GridView.cs: fixed: PageIndex considers PageCount.
1332 2007-03-20 Marek Habersack <mhabersack@novell.com>
1334 * DataBoundControl.cs: avoid endless recursion here. Fixes bug #81175
1336 * LoginStatus.cs: render login/logout controls with the CssClass
1337 set from the parent control. Fixes bug #81196
1339 2007-03-19 Igor Zelmanovich <igorz@mainsoft.com>
1341 * DataGrid.cs: fixed Save/Load view state, applying styles.
1343 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
1345 * Style.cs: optimization: used CssStyleCollection .ctor w/o parameters.
1347 2007-03-09 Marek Habersack <mhabersack@novell.com>
1349 * Login.cs: Make command name comparison case-insensitive in
1350 OnBubbleEvent. Patch from Mike Morano <mmorano@mikeandwan.us>
1352 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1354 * DataGrid.cs: fixed:
1355 Auto-generated columns are restored properly on postback from view state.
1357 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1360 when AddAttributesToRender(System.Web.UI.HtmlTextWriter, WebControl)
1361 is called, WebControl parameter is passed as argument to
1362 FillStyleAttributes (CssStyleCollection, IUrlResolutionService) method.
1364 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1368 fixed applying styles if ExtractTemplateRows=true.
1370 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1372 * DropDownList.cs: in 2.0 first item is rendered with selected attribute
1373 is Enabled=false and no selected items.
1375 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1377 * CheckBoxList.cs: in 2.0 access key attribute is rendered in 'input' tags.
1379 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1385 * RadioButtonList.cs:
1386 fixed: list controls consider ListItem.Attributes property on render.
1388 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1390 * CheckBox.cs: fixed: 'span' tag is not rendered if all attributes
1391 are rendered in 'input' tag.
1393 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1397 used "ONLY_1_1" instead "!NET_2_0"
1399 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1401 * BaseDataBoundControl.cs:
1402 * DataBoundControl.cs:
1403 * HierarchicalDataBoundControl.cs:
1404 refactoring: DataBoundControl and HierarchicalDataBoundControl use internal
1405 method in BaseDataBoundControl to find a data source control.
1407 2007-03-05 Marek Habersack <mhabersack@novell.com>
1409 * Unit.cs: Support parsing of units in the form ".9em" etc.
1411 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1413 * TemplateColumn.cs: fixed: if ItemTemplate is null, " " is rendered.
1415 2007-03-05 Marek Habersack <mhabersack@novell.com>
1417 * BaseValidator.cs: make validators work correctly with
1418 ListItems. Patch from Daniel Nauck <dna@informatik.uni-kiel.de>
1420 2007-03-04 Marek Habersack <mhabersack@novell.com>
1422 * HierarchicalDataBoundControl.cs: Use the method described below
1423 to get the data source named in DataSourceID.
1425 * BaseDataBoundControl.cs: add an internal method to find a data
1426 source control within all the naming containers above a given
1427 control. The method makes it possible to find controls that reside
1430 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1432 * Repeater.cs: fixed: data-binding flow for 2.0 features.
1434 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1437 * ParameterCollection.cs:
1438 fixed GetValue/s and UpdateValue/s.
1440 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1442 * TreeNodeCollection.cs:
1443 fixed Save/Load viewstate.
1445 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1447 * MenuItemCollection.cs:
1448 fixed Save/Load viewstate.
1450 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1452 * CreateUserWizard.cs:
1454 fixed CausesValidaion and ValidationGroup for navigation buttons.
1456 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1460 fixed LoadPostData to restore checked state for node's checkboxes.
1462 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1464 * TreeNodeCollection.cs: 'dirty' flag is assigned if 'marked' only
1466 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1468 * BaseDataBoundControl.cs: setting DataSource to null does not
1469 call ValidateDataSource.
1470 * HierarchicalDataBoundControl.cs: ValidateDataSource does not
1471 throw exception if argument is null.
1473 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1475 * WebControl.cs: implemented IsEnabled and HasAttributes.
1477 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1479 * BaseDataList.cs: fixed: data-binding flow for 2.0 features.
1481 2007-02-27 Marek Habersack <grendello@gmail.com>
1483 * FileUpload.cs: HasFile is true only if PostedFile is not null
1484 and it actually has an associated file.
1486 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1488 * LoginView.cs: fixed:
1489 ViewChanging and ViewChanged are fired.
1490 optimized Save/Load control state.
1492 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1494 * CreateUserWizard.cs: fixed: does not attempt to send email if
1495 MailDefinition is not defined.
1497 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1500 considers FormsAuthentication.ReturnUrl only if is placed in
1501 the login page defined in web.config.
1503 2007-02-23 Marek Habersack <grendello@gmail.com>
1505 * ObjectDataSourceView.cs: Fix saving/restoring the view state.
1507 * CreateUserWizard.cs: support for sending mail when a new user is
1508 created. Patch from dban@dako.ro.
1510 2007-02-22 Marek Habersack <grendello@gmail.com>
1512 * LoginStatus.cs: Handle OnLoggedOut properly. Patch from
1515 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1517 * ObjectDataSourceView.cs: fixed ViewState behavior to match MS. Added relevant tests.
1519 2007-02-20 Gert Driesen <drieseng@users.sourceforge.net>
1521 * Calendar.cs: Fixed bug #80881 by using Thread's CurrentCulture
1522 instead of CurrentUICulture for DateFormatInfo.
1524 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1526 * SqlDataSource.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1527 * SqlDataSourceView.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1529 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
1531 * ChangePassword.cs: fixed:
1532 ChangePasswordContainer and SuccessContainer cannot be BindingContainer.
1534 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1536 * SqlDataSourceView.cs: Fixed parameter merging logic and some bug fixing.
1539 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
1544 implemented Form.SubmitDisabledControls feature.
1546 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1548 * GridView.cs: IsBindableType for decimal returns true.
1550 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1552 * Menu.js: client script: support IE6.
1554 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1556 * Menu.cs: fixed: considers item.ToolTip, render image inside 'a' tag.
1558 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
1560 * Button.cs, ImageButton.cs, LinkButton.cs: Hanlding of PostbackOptions for
1561 TARGET_J2EE is now centralized in ClientScriptManager.
1562 * TreeView.cs, DetailsView.cs, GridView.cs, TreeView.js, DetailsView.js,
1563 GridView.js: Added a field to the controls JavaScript 'data' object. The
1564 form is initialized to the page 'theForm'. This is used for J2EE portlets
1567 2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1570 first step is recognized as 'finish' if only two steps
1571 and last step is 'complete'
1573 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1575 * BaseValidator: ControlPropertiesValid is called on PreRender
1576 * CompareValidator.cs:
1577 * RangeValidator.cs: fixed ControlPropertiesValid, EvaluateIsValid.
1579 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1581 * BaseCompareValidator.cs: fixed: support for type=Currency on client side.
1583 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1585 * ParameterCollection.cs: fixed IndexOfString, this indexer should be
1588 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
1590 * TreeView.js: refactoring:
1591 removed TreeView_ErrorCallback, used TreeView_PopulateCallback instead.
1593 2007-02-13 Adar Wesley <adarw@mainsoft.com>
1595 * ObjectDataSourceView.cs: fixed parameter merging and added more tests
1597 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1599 * Literal.cs: implemented 2.0 feature - Mode.
1601 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1603 * ViewCollection.cs: fixed public API.
1605 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1607 * RepeaterItem.cs: implemented IDataItemContainer interface.
1609 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1611 * TreeNodeStyle.cs: fixed public API.
1613 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1615 * MenuItemStyle.cs: fixed public API.
1617 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1620 * DayRenderEventArgs.cs:
1621 implemented 2.0 feature - SelectUrl.
1623 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1625 * GridViewRowCollection.cs: implemented IsReadOnly property.
1627 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1629 * BaseValidator.cs: implemented SetFocusOnError feature.
1631 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1633 * Wizard.cs: refactoring:
1634 used ContainedTable for ID attribute is rendered properly.
1636 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1638 * CreateUserWizard.cs:
1642 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1644 * DataList.cs: fixed: OnBubbleEvent() will return true if event is handled
1646 2007-02-09 Gert Driesen <drieseng@users.sourceforge.net>
1648 * FontUnit.cs: Fixed ToString () to use current locale.
1650 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1652 * BaseValidator.cs: fixed render, works in static mode properly
1653 * CreateUserWizard.cs: fixed display mode for validators.
1655 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1659 implemented FormViewPagerRow class
1661 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1664 header and footer visibility is set at creation.
1666 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1668 * FormView.cs: fixed:
1669 header and footer are not created with empty row.
1671 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1673 * FormView.cs: fixed:
1674 works properly with not ICollection data source.
1676 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1678 * DetailsView.cs: fixed:
1679 PageIndex, CreateChildControls,
1680 works properly with not ICollection data source.
1682 2007-02-06 Eyal Alaluf <eyala@mainsoft.com>
1684 * Menu.cs ImageMap.cs Panel.cs TreeView.cs: Ensure that the NavigateUrl
1685 property is rendered as a RenderURL for J2EE portlets.
1687 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1689 * BaseValidator.cs: refactored RegisterValidatorCommonScript to use
1690 RegisterClientScriptInclude instead of RegisterClientScriptBlock
1692 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1694 * DataBoundControl.cs:
1697 PerformDataBinding is called with RequiresDataBinding was set false
1699 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1702 fixed validation flow.
1704 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1707 fixed validation flow.
1709 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1711 * CustomValidator.cs:
1712 ValidateEmptyText is considered on client side.
1714 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1719 * DataControlButton.cs:
1720 * DataControlField.cs:
1723 Internal classes are used in databound controls for buttons
1724 are derived from right types. It allows to have access to them by casting
1725 to public types. This trick is used in one of starter kits of MS.
1727 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1729 * Panel.cs: fixed: reverted r71441.
1730 * TreeView.cs: used internal RegisterWebFormClientScript API
1731 to cause the relevant script be included.
1733 2007-02-01 Adar Wesley <adarw@mainsoft.com>
1735 * FormView.cs: fixed events ModeChanging and ModeChanged
1736 to be raized in all relevant situations.
1738 2007-02-01 Igor Zelmanovich <igorz@mainsoft.com>
1740 * ValidationSammary.cs: fixed:
1741 control is rendered even if there is no validators on the page.
1742 important if the page contain a client side script that refer to the
1743 id of the validation summary div.
1745 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1750 * RadioButtonList.cs:
1751 EnsureDataBound is called when PostData is processed to restore
1752 'state' of control if EnableViewState is false
1754 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1756 * GridView.cs: fixed:
1757 RowDataBound is fired for PagerRow.
1758 Styles are applied using MergeWith instead CopyFrom
1759 to allow using custom styles for rows in code-behind.
1761 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1763 * GridView.cs: fixed: RowCommand event is fired properly.
1765 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1767 * GridView.cs: fixed: created rows are added in table after initialization.
1770 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1772 * Panel.cs: fixed 'background-image' attribute.
1774 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1776 * BaseDataBoundControl.cs:
1777 * DataBoundControl.cs:
1778 fixed DataBinding flow: RequiresDataBinding is set to false in
1780 * HierarchicalDataBoundControl.cs: implemented MarkAsDataBound().
1782 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1786 fixed DataBinding flow for Insert mode.
1788 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1791 does not RegisterRequiresPostBack if is not enabled.
1793 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1797 fixed PopulateOnDemand: used UniqueID to call WebForms_DoCallBack().
1799 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
1801 * MultyView.cs: OnActiveViewChanged is called.
1803 2007-01-29 Vladimir Krasnov <vladimirk@mainsoft.com>
1805 * Panel.cs: fixed AddAttributesToRender for 2.0, text align should be
1808 2007-01-29 Adar Wesley <adarw@mainsoft.com>
1810 * EditCommandColumn.cs: implemented CausesValidation and
1811 ValidationGroup and coresponding tests.
1812 * DataGrid.cs: fixed generated table to be compatible with MS 2.0
1814 2007-01-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1816 * WebControl.cs: added internal method AddDisplayStyleAttribute for
1817 display:inline-block style attribute
1820 * CheckBox.cs: added call to AddDisplayStyleAttribute on rendering
1822 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
1824 * TreeView.js: Used WebForm_GetFormFromCtrl to lookup the form.
1826 2007-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1828 * TextBox.cs: implemented AutoCompleteType property, fixed
1829 AddAttributesToRender
1831 2007-01-24 Ilya Kharmatsky <ilya -at- decode-systems.com>
1833 * DetailsView.cs: fixed problems with rendering of control, when
1834 empty data source is provided. Respective tests are provided
1835 in DetailsViewTest.cs
1837 2007-01-21 Konstantin Triger <kostat@mainsoft.com>
1839 * TreeView.js, DetailsView.js, Menu.js, GridView.js:
1840 suppress exception if eval() fails.
1842 2007-01-20 Miguel de Icaza <miguel@novell.com>
1844 * DataControlFieldCollection.cs (RemoveAt): remove unused
1847 * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
1850 * RadioButton.cs (RaisePostDataChangedEvent): This method was not
1851 used in 1.0, so put the whole method in 2.0
1853 2007-01-18 Adar Wesley <adarw@mainsoft.com>
1855 * Xml.cs: added support for XPathNavigator, fixed DocumentContent
1856 to be compatible with MS 2.0, implemented EnableTheming, implemented
1857 SkinID, fixed Focus behavior.
1859 2007-01-18 Vladimir Krasnov <vladimirk@mainsoft.com>
1861 * Menu.js, Menu.js: added null reference checking for every getTree or
1864 2007-01-18 Adar Wesley <adarw@mainsoft.com>
1866 * SiteMapDataSource.cs: implemented logic of GetStartNode when
1867 StartingNodeOffset is positive.
1869 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
1871 * BaseValidator.cs: ToString the validating property value or
1872 if null return an empty string.
1874 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1876 * TreeView.cs: fixed RegisterStyle, style names should be without
1877 leading underscore. fixed RenderNode, node icons should be taken also
1880 2007-01-17 Adar Wesley <adarw@mainsoft.com>
1882 * Repeater.cs: refactored GetData to return data both from DataSource
1883 and DataSrouceID, Implemented EnableTheming, updated initialization of
1884 DataBinding according to the pattern of BaseDataBoundControl, fixed
1885 SelectArguments implementation to call the virtual
1886 CreateDataSourceSelectArguments method.
1888 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
1890 * GridView.cs: don't force creating rows collection when SelectedIndex
1891 changes; EnsureDatabound on select.
1893 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1895 * TreeNode.cs: fixed Bind, fixed Value updating
1897 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1899 * DataList.cs: fixed OnBubbleEvent, added SelectedIndex updating
1901 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1903 * DetailsView.cs: fixed CreateChildControls, PageIndex cannot be less
1906 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1908 * DetailsView.cs: fixed CreateChildControls, PageIndex should be less
1909 or equal to PageCount
1911 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
1913 * Menu.cs: added z-index attribute to popup div's.
1915 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1917 * FileUpload.cs: fixed FileName property, should return filename
1918 without full path on client side
1920 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
1925 Implemented the protected net_2_0 method 'VerifyMultiSelect' with
1926 proper overloading in derived types.
1928 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
1931 considers INavigateUIData.NavigateUrl when bound.
1933 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
1935 * CompleteWizardStep.cs
1936 * CreateUserWizard.cs
1937 * CreateUserWizardStep.cs
1938 * TemplatedWizardStep.cs
1940 make the design complied to .NET
1941 build all possible controls at once and manage render by Visible property
1943 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
1944 * Button.cs, HyperLink.cs, DataGrid.cs, ImageButton.cs, LinkButton.cs,
1945 PagedDataSource.cs: Added J2EE Portal support for TARGET_J2EE.
1947 2007-01-14 Ilya Kharmatsky <ilyak-at-mainsoft.com>
1948 * BaseCompareValidator
1950 Added support for CultureInvariantValues property, which should be
1951 counted in new 2.0 methods such as - Compare, Convert etc. The code
1952 has been changed in such way, that the old - 1.1 method implementation
1953 could use the new methods defined for 2.0 version.
1955 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
1957 * XmlDataSource.cs: refactored to use cached collection.
1958 * SqlDataSource.cs: refactored to use cached collection;
1959 don't throw exception on 'DefaultView'.
1960 * ObjectDataSource.cs: refactored to use cached collection.
1962 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
1964 * ObjectDataSourceView.cs: consider parameter names and
1965 DataObjectMethodAttribute during method resolution.
1967 2007-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1969 * SqlDataSourceView.cs: fixed OnUpdating, OnInserting call with
1970 SqlDataSourceCommandEventArgs
1972 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
1974 * ObjectDataSourceView.cs: use case unsensitive comparer for
1975 parameters collection.
1977 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1979 * LoginStatus.cs: fixed: not causes page validation.
1981 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1983 * CreateUserWizard.cs: fixed: resolves ErrorMessage control correct.
1984 * CreateUserWizardStep.cs:
1986 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1988 * TreeView.cs: fixed: SelectedNode, CheckedNodes.
1990 * TreeNodeCollection.cs:
1992 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1994 * GridView.cs: fixed: header and footer does not appear in no items.
1995 * CompositeDataBoundControl.cs:
1997 2007-01-09 Konstantin Triger <kostat@mainsoft.com>
1999 * AdRotator.cs: Backport the fix for AdRotator AbsoluteUri to 1.1.
2001 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2003 * GridView.cs: fixed: SelectedDataKey.
2005 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2009 implemented 2.0 features.
2011 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2013 * SqlDataSourceView.cs: fixed parameters init for ExecuteUpdate
2015 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2017 * DataSourceCacheManager.cs:
2018 * ObjectDataSource.cs:
2020 fixed: cache considers parameters values changes.
2022 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2024 * DetailsView.cs: fixed DeleteItem, excluded keys for new values
2025 * SqlDataSourceView.cs: fixed ExecuteDelete, check cancel in
2028 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2030 * GridView.cs: fixed: show all rows when AllowPaging=false
2032 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2034 * SqlDataSourceView.cs: fixed CreateDbParameter, used DBNull for value=null.
2036 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2038 * ButtonField.cs: fixed: consider its CausesValidation property.
2040 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2042 * GridView.cs: fixed:
2043 ReadOnly property is false for AutoGeneratedColumn if field is DataKey.
2044 causesValidation parameter is considered properly in UpdateRow.
2045 OldValues contains readonly fields values
2047 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2049 * SqlDataSourceView.cs: fixed InitializeParameters, added
2050 ParameterPrefix when check that param is already in collection
2052 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2054 * AdRotator.cs: fixed: considers absolute uri such html://......
2056 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2058 * SqlDataSourceView.cs: fixed insert, delete, update methods, added
2059 calls to OnDataSourceViewChanged
2061 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2063 * added ProfileParameter.cs
2065 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2067 * Label.cs: fixed: according MSDN OnPreRender is not overridden.
2069 2007-01-04 Adar Wesley <adarw@mainsoft.com>
2071 * ImageButton.cs: implemented GenerateEmptyAlternateText
2073 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2075 * FormView.cs: fixed data binding flow considers Insert mode.
2077 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2079 * DataBoundControl.cs: fixed Init flow.
2081 2007-01-4 Adar Wesley <adarw@mainsoft.com>
2083 * RadioButtonList.cs: Implemented properties of IRepeatInfoUser as public virtual
2085 2007-01-03 Marek Habersack <grendello@gmail.com>
2087 * ObjectDataSourceView.cs: Look for unqualified type also in the top-level assemblies.
2089 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2091 * FormView.cs: fixed PageIndex property.
2093 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2095 * ListControl.cs: fixed SelectedValue and SelectedIndex properties.
2096 set accessor works differently in 2.0.
2098 2007-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
2100 * SqlDataSourceView.cs,ObjectDataSourceView.cs: fixed parameter merge
2101 when values and old values are null
2103 2006-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2105 * ListControl.cs: reverted r70112, fixed in r70319.
2107 2007-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2109 * DetailsView.cs: fixed CreateAutoGeneratedRows.
2111 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2113 * AutoGeneratedField.cs: is editable in Insest mode.
2114 * BoundField.cs: is editable in Insest mode.
2115 * CheckBoxField.cs: is editable in Insest mode.
2116 * DetailsView.cs: fixed DataBinding flow.
2118 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2120 * BaseDataBoundControl.cs:
2121 * CompositeDataBoundControl.cs: fixed DataBinding flow.
2123 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2125 * LinkButton.cs: show the validation summary when client validation
2126 and linkbuttons are used. Patch by Juraj Skripsky.
2128 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2130 * TextBox.cs: consider ToolTip property
2132 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2134 * ContainedTable.cs:
2135 * DataControlButton.cs:
2136 * DetailsView.cs: fixed EnablePagingCallbacks
2139 * GridView.js: fixed EnableSortingAndPagingCallbacks
2141 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2144 ResolveClientUrl used with LineImagesFolder, ExpandImageUrl,
2145 CollapseImageUrl and NoExpandImageUrl properties.
2147 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2149 * SqlDataSource.cs: Added parameters update on OnInit
2151 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2153 * LoginView.cs: fixed rendering LoggedInTemplate even after user
2156 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2161 control's behavior depends on using DataSource or DataSourceID
2162 property for binding
2164 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2166 * CommandField.cs: fixed:
2167 when ShowEditButton=false Update/Cancel button doesn't appear.
2168 when ShowInsertButton=false Insert/Cancel button doesn't appear.
2170 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2172 * Login.cs: fixed AuthenticateUser, should redirect to ReturnUrl when
2174 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2176 * Parameter.cs: fixed ConvertValue to coorect handle TypeCode.Empty
2177 * ObjectDataSourceView.cs: fixed MergeParameterValues,
2178 call Parameter.ConvertValue
2179 fixed ConvertParameter to hanlde TypeCode.Empty
2180 * SqlDataSourceView.cs: fixed InitializeParameters,
2181 call Parameter.ConvertValue
2182 fixed ParameterPrefix property
2183 fixed CreateDbParameter, added usege of ParameterPrefix
2185 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2187 * ListControl.cs: fixed: when is used with DataSourceID data bind is not
2188 perfomed on PostBack because Items collection is restored from View state.
2190 2006-12-26 Igor Zelmanovich <igorz@mainsoft.com>
2192 * DataGridPagerStyle.cs:
2197 * TableItemStyle.cs:
2202 fixed: Load/Save viewstate of WebControl does not call Load/Save viewstate
2203 for it's ControlStyle, but the shared ViewState is used to manage style's
2206 2006-12-21 Igor Zelmanovich <igorz@mainsoft.com>
2208 * CompleteWizardStep.cs:
2209 * CreateUserWizard.cs:
2210 * CreateUserWizardStep.cs:
2211 * TemplatedWizardStep.cs:
2213 fixed: CreateUserWizard works properly in advanced scenarios
2214 such being used with additional steps or/and with custom templates.
2215 Styles are aplied properly.
2217 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
2219 * SqlDataSourceView.cs: fixed InitializeParameters, parameters order
2220 parameters case insensetive search
2221 * ObjectDataSourceView.cs: fixed MergeParameterValues, parameters
2222 case insensetive search
2224 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2226 * Menu.cs: fixed: ResolveClientUrl used with src and href attributes
2228 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2232 TreeNodeCollapsed is not raised for leaf node.
2234 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2236 * DataGrid.cs, RepeatInfo.cs: fixed accessibility features
2238 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2240 * Calendar.cs: support DayNameFormat.Shortest
2242 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2244 * HiddenField.cs: implemented
2246 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2248 * FormView.cs: fixed: FillRowDataKey
2249 * DetailsView.cs: fixed: FillRowDataKey
2251 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2253 * TreeView.cs: fixed: ResolveClientUrl used with ImageUrl and NavigateUrl
2255 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2257 * Login.cs: refactored rendering, fixed OnAuthenticate event
2259 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2261 * GridView.cs: fixed: Update works not only for EditRow
2263 * CompositeDataBoundControl.cs:
2265 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2267 * RadioButton.cs: fixed:
2268 When GroupName is not defined UniqueID is used instead for name attribute.
2269 CheckedChanged is raised only when control is checked.
2271 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2273 * Menu.cs: fixed: rendering.
2275 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2277 * Menu.cs: fixed: rendering.
2279 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2284 fixed rendering for 2.0
2286 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2288 * DetaisView.cs: fixed: rendering.
2289 * DataControlButton.cs:
2292 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2294 * FormView.cs: fixed: avoid empty row rendering.
2296 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2298 * AdRotator.cs: fixed:
2299 MSDN: The ImageUrl and NavigateUrl attributes can be a full URL, a
2300 root-relative path, or a relative path. If you use a root-relative path,
2301 the path is relative to the same Web site. If you use a relative path,
2302 the path is relative to the directory that contains the advertisement file.
2304 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2306 * BaseCompareValidator.cs: fixed: support for type=Date on client side.
2308 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2310 * TreeView.cs: fixed: support for event validation.
2312 2006-12-04 Igor Zelmanovich <igorz@mainsoft.com>
2314 * DataGridPagerStyle.cs: chenged values of DataGridPagerStyles flags.
2316 2006-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2318 * CreateUserWizard.cs: implement GeneratePassword based on Membership.
2320 2006-11-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2322 * Wizard.cs: fixed GetStepType method that returned wrong type if the
2323 last step type is Complete.
2324 fixed ProcessEvent method, corrected FinishButtonClick behavior
2326 2006-11-26 Marek Habersack <grendello@gmail.com>
2328 * Calendar.cs: Fixed event validation registration. Now it
2329 registers all the arguments that can be passed by this control to
2332 2006-11-25 Marek Habersack <grendello@gmail.com>
2334 * FileUpload.cs: Implementation of SaveAs
2336 * TreeView.cs: A few optimizations for empty style collections.
2338 * Menu.cs: A few optimizations for empty style collections.
2340 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2342 * BoundField.cs: fixed: GetDesignTimeValue()
2344 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2346 * SiteMapDataSource.cs: fixed: GetViewNames()
2348 2006-11-23 Vladimir Krasnov <vladimirk@mainsoft.com>
2350 * ChangePassword.cs: implemented functionality
2351 * MailDefinition.cs: implemented CreateMailMessage method
2352 * PasswordRecovery.cs: implemented functionality
2354 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2356 * CircleHotSpot.cs: fixed:
2357 setting Radius with value <0 throws ArgumentOutOfRangeException.
2359 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2361 * CookieParameter.cs: fixed Evaluate method.
2363 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2365 * Parameter.cs: fixed Evaluate, ToString methods.
2366 * QueryStringParameter.cs: fixed Evaluate method.
2367 * SessionParameter.cs: fixed Evaluate method.
2369 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2371 * ImageMap.cs: fixed rendering.
2373 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2375 * HotSpot.cs: fixed: AccessKey and HotSpotMode
2376 throw ArgumentOutOfRangeException.
2378 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2380 * ControlParameter.cs: fixed: Evaluate method
2381 throws exceptions correctly.
2383 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2385 * CheckBox.cs: fixed: new 2.0 features such
2386 LabelAttributes and InputAttributes.
2388 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2390 * GridView.cs: fixed: header, footer and empty rows are databound.
2392 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2394 * Style.cs: added internal helper method RemoveTextStyles.
2396 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2398 * Button.cs: fixed: support for event validation.
2399 * CheckBox.cs: fixed: support for event validation.
2400 * FormView.cs: fixed: support for event validation.
2401 * ImageButton.cs: fixed: support for event validation.
2402 * ListBox.cs: fixed: support for event validation.
2403 * TextBox.cs: fixed: support for event validation.
2405 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2407 * DropDownList.cs: fixed: support for event validation.
2409 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2411 * LinkButton.cs: optimized: support for event validation.
2412 * DataControlButton.cs: Added support for event validation.
2413 * DetailsView.cs: fixed: RowIndex for DetailsViewRow.
2415 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2417 * LinkButton.cs: Added support for event validation.
2419 2006-11-17 Marek Habersack <grendello@gmail.com>
2421 * ImageButton.cs: Added support for event validation.
2423 * ListBox.cs: Added support for event validation.
2425 * Calendar.cs: Added support for event validation.
2427 * DropDownList.cs: Added support for event validation.
2429 * FormView.cs: Added support for event validation.
2431 * RadioButtonList.cs: Added support for event validation.
2433 * TextBox.cs: Added support for event validation.
2435 * BulletedList.cs: Added support for event validation.
2437 * CheckBox.cs: Added support for event validation.
2439 * Button.cs: Added support for event validation.
2441 2006-11-16 Igor Zelmanovich <igorz@mainsoft.com>
2443 * CreateUserWizard.cs: fixed: ActiveStepIndex property.
2445 2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>
2447 * ListControl.cs: fixed: DataBinding for 2.0, for 1.x - refactoring only.
2449 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2451 * GridView.cs: fixed: Rows property, DataBinding flow.
2452 * DataBoundControl.cs:
2453 * BaseDataBoundControl.cs:
2455 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2457 * CompositeDataBoundControl.cs: fixed:
2458 DataBind call Controls.Clear().
2460 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
2462 * CompositeDataBoundControl.cs: fixed:
2463 DataBind sets ChildControlsCreated=true.
2465 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2467 * Login.cs: fixed CreateChildControls, throws exception if needed
2469 * LoginView.cs: fixed CreateChildControls, check templates for null
2471 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2473 * Wizard.cs: fixed ActiveStepIndex property, fixed SideBar button
2474 rendering, fixed history updating
2475 * WizardStepCollection.cs: fixed implemented interfaces
2477 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2479 * XmlDataSource.cs: CacheKeyDependency fixed
2481 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
2483 * DetailsView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2485 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2487 * DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.
2489 2006-11-09 Vladimir Krasnov <vladimirk@mainsoft.com>
2491 * ParameterCollection.cs: fixed SetDirtyObject method
2492 * ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState
2493 utilization for control's properties, implemented caching
2494 * SqlDataSource.cs, SqlDataSourceView.cs: implemented caching
2496 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2498 * GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2500 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2502 * DataBoundControl.cs: fixed:
2503 ConfirmInitState method s called by
2504 the DataBoundControl class in its OnLoad method.
2506 2006-11-06 Igor Zelmanovich <igorz@mainsoft.com>
2508 * FormView.cs: fixed: DataBinding flow.
2510 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2512 * CustomValidator.cs: implemented ValidateEmptyText fixture.
2514 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2516 * BaseCompareValidator.cs: fixed: CultureInvariantValues, Type properties.
2518 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2520 * Menu.cs: fixed: RenderEndTag.
2521 Dynamic menu is rendered when StaticDisplayLevels=1
2523 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2525 * GridView.cs: fixed: UpdateRow, DeleteRow, RowCreated.
2527 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2529 * FormView.cs: fixed: UpdateItem, DeleteItem.
2531 2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>
2533 * DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.
2535 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2537 * RadioButtonList.cs: fixed: has no html output when Items.Count=0.
2539 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2541 * ListControl.cs: fixed: setting SelectedVolue for 2.0.
2543 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2545 * DataBoundControl: fixed: ValidateDataSource allows null as dataSource.
2547 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2549 * ListControl.cs: fixed: assigning SelectedIndex with too hight value.
2551 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2553 * ListControl.cs: fixed: DataBinding for 2.0.
2554 for 1.x refactoring only.
2556 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2558 * ChangePassword.cs: new class was implemented.
2560 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2562 * EmbeddedMailObject.cs: new class was implemented.
2563 * EmbeddedMailObjectsCollection.cs: new class was implemented.
2564 * MailDefinition.cs: new class was implemented.
2566 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2568 * PagerSettings.cs: fixed: CreatePagerControl.
2570 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2572 * CommandField.cs: fixed:
2573 considers CaseValidation, ValidationGroup, ButtonType.
2574 * DataControlButton.cs: refactoring:
2576 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2578 * DetailsView.cs: implemented: GetCallbackScript method.
2580 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2582 * FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2584 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2586 * FormFiew.cs: fixed: UpdateItem, InsertItem.
2588 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2590 * FormFiew.cs: fixed: PageIndex, rendering.
2592 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2594 * DropDownList.cs: fixed: rendering "name" attribute".
2596 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2598 * GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2599 * DataControlButton.cs:
2600 * CommandField.cs: CausesValidation feature must be implemented other way
2602 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2604 * CompositeDataBoundControl.cs: fixed: CreateChildControls flow.
2606 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2608 * FormView.cs: fixed: OnBubbleEvent returns true when event is handled.
2610 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2612 * DetailsView.cs: fixed: OnBubbleEvent works properly.
2614 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2616 * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
2618 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2620 * DetailsView.cs: fixed: CurrentMode property.
2622 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2624 * DetailsView.cs: fixed: current state are not changed during paging.
2626 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2628 * DetailsView.cs: fixed:
2629 in Insert mode Select not invoked from DataSource
2631 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
2633 * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
2635 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2637 * FormView.cs: fixed: CreateDataSourceSelectArguments method.
2638 (corresponding test does not work because bug in ObjectDataSourceView)
2640 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2642 * DataBoundControl.cs: fixed: DataBind calls
2643 CreateDataSourceSelectArguments() and stores result in SelectArguments
2645 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2649 fixed: EnablePagingCallbacks feature.
2650 when postback is invoked after callback control state is restored
2653 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2655 * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
2657 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2659 * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
2660 (corresponding test does not work because bug in ObjectDataSourceView)
2662 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2664 * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
2665 when postback is invoked after callback control state is restored
2668 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2670 * GridView.cs: fixed: Sorting feature.
2671 When sorting EditIndex and PageIndex are reseted
2673 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2675 * GridView.cs: fixed: Sorting feature.
2676 CreateDataSourceSelectArguments considers SortExpression and SortDirection.
2677 (corresponding test does not work because bug in ObjectDataSourceView)
2679 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2681 * GridView.cs: fixed:
2682 CreateDataSourceSelectArguments works according to MSDN.
2683 (corresponding test does not work because bug in ObjectDataSourceView)
2685 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2687 * ObjectDataSourceView.cs: fixed:
2688 CanRetrieveTotalRowCount returns true if EnablePaging = false
2690 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
2692 * DataBoundControl.cs: fixed: DataBind flow
2693 CreateDataSourceSelectArguments() is called
2694 each time as DataBind() is called
2696 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2698 * BoundField.cs: implemented ValidateSupportsCallback().
2700 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2702 * CommandField.cs: ValidateSupportsCallback(): exception's message.
2704 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2706 * FormView.cs: fixed: CurrentMode property.
2708 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2714 reverted r66222, problem solved in r66283: command buttons inherit ForeColor
2716 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2718 * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
2721 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2723 * HyperLink.cs: don't render the img tag 'by hand' but use an Image
2724 instead, which takes care of the 0/0px case. Also set the ToolTip
2725 property. Fixes bug #79585.
2727 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2729 * DetailsView.cs: optimization for previous patch
2731 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2733 * FormView.cs: optimization for previous patch
2735 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2738 * DetailsViewRow.cs:
2739 implemented PrepareControlHierarchy()
2740 styles are applied correct
2742 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2745 implemented PrepareControlHierarchy()
2746 styles are applied correct
2748 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2751 * DataControlButton.cs:
2752 * DataControlField.cs:
2753 implemented PrepareControlHierarchy()
2754 styles are applied correct
2755 command buttons inherit ForeColor
2757 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2759 * WebControl.cs: fixed: CreateControlStyle()
2761 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2767 corrected pager rendering: Color style applied to A tag,
2768 Input type="image" used if ImageUrl is not empty.
2770 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2772 * GridView.cs: corrected rendering
2773 * ContainedTable.cs: added new helper class
2775 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2777 * FormView.cs: fixed:
2778 in Insert mode Select not invoked from DataSource
2780 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2782 * FormView.cs: fixed:
2783 Pager is not shown when page count < 1
2784 in Edit mode use EmptyDataTemplate if there is no DataItem
2785 when page changed FormView stays in current state.
2787 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
2789 * FormView.cs: fixed: OnBubbleEvent works properly
2791 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
2793 * DataBoundControl.cs: fixed: DataBind flow
2794 GetData return "empty" DataSourceView when no DataSource and DataSourceID
2795 was assigned to cause PerformDataBinding be called.
2797 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2799 * DataList.cs: use ExtractTemplateRows to determine if the style is
2800 applied to the Table in a template or to its rows. Fixes bug #78058.
2802 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2804 * ListBox.cs: if the list is not enabled, don't require a postback.
2807 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2809 * HyperLink.cs: don't output the nabvigate url if disabled.
2810 * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
2811 the link URL if disabled.
2814 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2816 * RadioButtonList.cs:
2817 make it to consider CausesValidation and ValidationGroup properties
2819 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2822 make it to consider CausesValidation and ValidationGroup properties
2824 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2827 Page.Validate() is called when CausesValidation=true
2829 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2832 make onclick attribute to consider ValidationGroup property.
2834 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2837 make rendering of the href attribute to consider ValidationGroup property.
2838 Page.Validate() is called when CausesValidation=true
2840 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2843 make rendering of the onchange attribute to consider ValidationGroup
2845 Page.Validate() is called when CausesValidation=true
2847 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2850 make rendering of the onclick attribute to consider ValidationGroup property
2851 Page.Validate() is called when CausesValidation=true
2853 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2856 VewState saving and restoring rolled back to 1.1 implementation
2857 (fixed corresponding test), corrected public interface (there are no
2858 overriden methods SaveControlState, LoadControlState and OnInit),
2859 implemented CausesValidation and ValidationGroup properties.
2861 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2864 make rendering of the onclick attribute to consider ValidationGroup property
2865 Page.Validate() is called when CausesValidation=true
2867 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2870 implemented: RaisePostBackEvent,
2871 refactoring: GetPostBackOptions used to build onclick client event
2873 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2875 * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
2877 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2879 * BaseValidator.cs: implemented ValidationGroup feature on client side
2880 * ValidationSummary.cs:
2882 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
2884 * TreeView.cs: corrected rendering
2887 2006-09-11 Konstantin Triger <kostat@mainsoft.com>
2889 * Login.cs: ensure the urls are correctly resolved.
2891 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2893 * TreeView.cs: corrected rendering: styles are applied correct
2897 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2899 * TreeView.cs: corrected rendering: HoverNodeStyle works
2903 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2905 * TreeNodeStyle.cs: fixed: ViewState restored properly
2907 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2911 * TableItemStyle.cs:
2912 * DataGridPagerStyle.cs:
2913 refactoring: makes Style class more flexible for inheriting and reuse
2915 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2917 * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked
2918 state restored correct on PostBack.
2921 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2923 * ObjectDataSourceView.cs: correctly find the type when it is not in the
2924 executing assembly. Fixes bug #78321. Patch by Marek Habersack.
2926 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2928 * ControlParameter.cs: fix search for controls so that they use their
2929 NamingContainer, not the Page. Patch by Marek Habersack that fixes
2932 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2934 * Login.cs: fix problem with the login control and master pages.
2935 Patch by Marek Habersack that fixes bug #78219.
2937 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
2939 * TreeView.cs: fixed: populating nodes.
2942 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
2944 * TreeNode.cs: fixed: ToggleExpandState.
2946 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
2948 * SqlDataSourceView.cs: return DataView from ExecuteSelect when
2949 DataSourceMode is DataSet.
2951 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2953 * TreeView.cs: fixed: populating nodes flow.
2954 * TreeNodeCollection.cs
2957 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2959 * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.
2961 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2963 * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.
2965 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2967 * TreeView.cs: fixed: when specified value is not one of
2968 the TreeNodeTypes values exception is threw.
2970 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2972 * TreeView.cs: fixed: when specified image set is not one of
2973 the TreeViewImageSet values exception is threw.
2975 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
2977 * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.
2979 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
2981 * Style.cs: implemented SetBit().
2983 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
2985 * CompareValidator.cs: fixed controltocompare attribute.
2987 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
2990 when login attempt was not successful FailureText is shown.
2992 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
2994 * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage
2995 is formatted correct.
2997 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
2999 * CreateUserWizard.cs:
3000 * CompleteWizardStep.cs:
3001 * CreateUserWizardStep.cs:
3003 fixed: ContinueButtonClick occurs when the user clicks
3004 the Continue button in the final user account creation step.
3005 ContinueDestinationPageUrl - redirected after clicking
3006 the Continue button on the success page.
3008 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3010 * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
3011 insted internal DataControlButton.
3013 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3015 * Button.cs: implemented GetPostBackOptions + refactoring
3017 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3019 * ImageButton.cs: implemented 2.0 features
3020 OnClientClick attached to onclick attribute.
3021 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3022 generate onclick attribute.
3024 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3026 * LinkButton.cs: typo fix
3028 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3030 * Button.cs: refactoring
3032 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3034 * LinkButton.cs: implemented 2.0 features
3035 OnClientClick attached to onclick attribute.
3036 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3039 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
3041 * Button.cs: implemented 2.0 features
3043 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
3045 * Menu.cs: refactoring
3048 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3050 * TreeView.cs: fixed data binding
3052 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3054 * TreeNodeBinding.cs: fixed ToString method
3056 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3058 * MenuItem.cs: typo fix
3060 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3062 * CreateUserWizardStep.cs: fixed validators message display
3064 2006-08-25 Kornél Pál <kornelpal@gmail.com>
3066 * FileUpload.cs: Use assembly name constants.
3068 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3070 * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
3071 always creates ExtractTemplateValuesMethod delegate
3073 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
3075 * TreeNodeBinding.cs: corrected public interface
3078 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3080 * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
3081 case, but there are many others.
3083 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3085 * Menu.cs: corrected rendering of static and dynamic items
3088 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3092 fixed: AddAttributesToRender method calls FillStyleAttributes,
3093 text styles applied correct.
3095 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3098 fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
3099 refactoring: Name and Names properties has same source in bag.
3101 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3103 * Style.cs: restored r63894: for 1.x is refactoring only
3105 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3108 fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
3109 added ClearDefaults method for 2.0.
3111 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3113 * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
3116 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3118 * SubMenuStyle.cs: fixed:
3119 Unit.ToString() already include unit (e.g. "3px")
3121 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3124 * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
3125 submitted for review and it only added tests for the 2.0 profile.
3127 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3129 * FormView.cs: added explicit implementation of
3130 IDataItemContainer.DataItemIndex, as documented
3132 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
3135 When style is registered with StyleSheet AddAttributesToRender method
3136 adds class attribute but not style to writer
3138 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
3141 OnBubleEvent works properly - controls like Button, LinkButton nested into template
3142 can raise MenuItemClick event,
3143 ViewState of Items saved and restored properly.
3145 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
3147 * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
3150 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
3152 * Menu.cs: fixed databinding feature:
3153 ensure that items initialization occurs only once
3155 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
3157 * Menu.cs, MenuItem.cs: fixed databinding feature
3159 2006-08-09 Robert Jordan <robertj@gmx.net>
3161 * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
3162 replace ResolveUrl with ResolveClientUrl to match MS.NET's
3163 behaviour. Fixes bug #77539.
3165 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
3167 * HierarchicalDataBoundControl.cs: fixed DataBind flow
3169 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3175 * WebControl.cs: fixed ParseChildren attribute to be compliant
3178 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3180 * MultiView.cs: fixed: EnableTheming property
3182 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3186 * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
3188 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3190 * Style.cs: fixed restoring FontInfo from ViewState
3192 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3194 * XmlDataSource.cs: implemented caching functionality
3196 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3198 * PagerSettings.cs: Fixed the pager range calculation formula. The old
3199 one didn't work with more than 20 pages. Patch by Marek Habersack that
3202 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3204 * FormView.cs: fixes to make Render more similar to dotnet.
3206 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
3208 * Wizard.cs: fixed return value of OnBubbleEvent
3210 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3212 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
3213 handle null result of GetData().
3215 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3217 * FormView.cs: use TableStyle for ControlStyle.
3219 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3221 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
3223 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3225 * FormView.cs: init DataKeys and fix null reference.
3227 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3229 * TreeView.cs: several changes to improve compatibility with MS.
3230 Patch by Marek Habersack that fixes bug #77551.
3232 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3234 * Style.cs: output the text-decoration value even when it is 'none'.
3235 Patch by Marek Habersack that fixes bug #78968.
3237 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3239 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
3242 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3244 * DetailsViewRowCollection.cs: returns this in SyncRoot.
3246 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3248 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
3251 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3253 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
3255 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3257 * AutoGeneratedField.cs: fix the internal constructor according to test
3258 DetailsView_CreateAutoGenerateRow.
3260 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
3262 * XmlDataSource.cs: implemented XSLT, removed properties from
3264 * XmlDataSourceView.cs: fixed default xpath
3266 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
3268 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
3270 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
3272 * Wizard.cs: fixed ActiveStep property
3273 fixed templated side bar
3275 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3277 * ImageField.cs: fix null reference bug.
3279 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3281 * DetailsView.cs: init DataKey property with empty collection.
3282 * DataKey.cs: fix unexpected exception bug.
3283 * DataControlField.cs: override ToString according to MSDN.
3285 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3287 * DetailsView.cs: create table style in CreateControlStyle.
3289 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3291 * DetailsView.cs: don't throw the exception which .Net does not throw.
3293 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3295 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
3296 to match .Net; fix PageCount to match record count.
3298 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3300 * Menu.cs: fixed properties default values, fixed rendering
3303 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3305 * Wizard.cs: implemented SkipLinkText, TagKey
3306 fixed rendering bugs, fixed templated button bar rendering
3307 fixed side bar rendering
3308 * WizardStepBase.cs: fixed Name property
3310 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3312 * DetailsView.cs: fix the regressions, caused by the previous commit.
3314 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3316 * DetailsView.cs: correct handling the different default values of
3317 DetailsView.CellSpacing and Table.CellSpacing.
3319 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3321 * DetailsView.cs: create a pager row when needed.
3323 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3327 * PagedDataSource.cs:
3330 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
3331 support it. The GridView control will no longer throw an exception when
3332 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
3334 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3336 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
3337 Rows with empty collection; call EnsureChildControls from get Row;
3338 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
3339 implemented IPostBackContainer.GetPostBackOptions.
3341 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3343 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
3344 and FooterText are empty, to match .NET. Otherwise we have NullReference
3347 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3349 * DetailsView.cs: Render fix.
3351 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3353 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
3356 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3358 * DetailsView.cs: NullReferenceException fix
3360 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3362 * PagerSettings.cs: implemented PropertyGhanged event
3364 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3366 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
3367 with .Net; don't throw NotImplemented when base class implementation
3370 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3372 * DetailsViewPagerRow.cs: add a stub for this class
3374 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3376 * GridView: fixed DataKeyNames property, moved to ControlState
3377 fixed PageCount property, initial PageCount ahould be zero
3378 fixed SelectedDataKey, should throw exception if not initialized
3379 fixed CreateColumns, wrong order of columns
3380 fixed CreateControlStyle,
3381 fixed InitializePager, no columnspan attrib on only one column
3382 fixed LoadControlState, SaveControlState added DataKeyNames
3383 fixed Render, RenderGrid should render within div tag
3384 implemented GetPostBackOptions
3385 * DataControlButton.cs: fixed Render, fixed style for img button
3387 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3389 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
3392 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3394 * CommandField.cs: fixed ValidateSupportsCallback
3396 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3398 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
3399 affect the flow yet.
3401 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3403 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
3405 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3407 * WebControl.cs: fix for AddAttributesToRender - add display
3408 style when appropriate
3410 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3412 * CommandField.cs: fixed InitializeCell, wrong order of command
3414 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
3415 should be rendered as label
3416 * BoundField.cs: empty null value should be rendered as nbsp
3417 * GridViewRowCollection.cs: fixed SyncRoot
3419 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3421 * SiteMapPath.cs: create Literal instead of Label according to the
3422 MSDN and test SiteMapPath_InitializeItem.
3424 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3426 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
3427 * Image.cs: in 2.0 there is no border attribute, but border-width
3430 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3432 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
3434 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3436 * DataList.cs: correctly initialize editable items when there's an
3437 EditItemTemplate. Patch by Jarosław Pawlak.
3439 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
3441 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
3444 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3446 * BulletedList.cs: fixed Render, RenderBulletText, various properties
3447 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
3450 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3452 * MultiView.cs: 'initied' state variable was changed to views count in
3453 the views collection.
3455 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3457 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
3458 checkbox should have tooltip
3459 * HyperLinkField.cs: fixed InitializeCell, should create link control
3460 only in data cell (not in header or footer), initialization of
3462 * ImageField.cs: fixed InitializeDataCell, initialization of
3465 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3467 * MultiView.cs: removed exception throwing from ActiveViewIndex
3469 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
3471 * DataControlFieldCollection.cs: added OnClearComplete override;
3472 refactor to eliminate null reference exception.
3474 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3476 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
3477 * View.cs: fixed Visible property
3479 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
3481 * ImageField.cs: fixing .net compliancy.
3483 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
3485 * SiteMapPath.cs: fix the default PathSeparator value.
3487 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3489 * GridView.cs: always create Header/Fotter rows, but render only when
3490 ShowHeader/Footer is true. Compute Header/Footer rows from rows
3492 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
3493 add ToolTip and Text to the created CheckBox,
3494 wrap exception thrown in OnDataBindField in httpException.
3496 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3498 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
3500 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3502 * DataControlField.cs: correct handling empty header/footer text.
3503 * TemplateField.cs: correct initialization according to
3504 DataControlRowState.
3506 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
3508 * Wizard.cs: added functionality for Templated WizardStep
3509 and CreateUserWizard
3510 * added CompleteWizardStep.cs, CreateUserWizard.cs,
3511 CreateUserWizardStep.cs, TemplatedWizardStep.cs
3513 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3515 * AutoGeneratedField.cs: correcting default dataType.
3517 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3519 * DataControlField.cs: fixed Initialize, should always return false
3521 2006-07-03 Lluis Sanchez <lluis@novell.com>
3523 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
3525 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3527 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
3528 setting RequiresDataBinding in OnLoad event.
3529 * GridView.cs: DataBind rows before other control can access the data.
3530 * BoundField.cs: add unique ID to control for postback parameters.
3532 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3534 * WebControl.cs: fix typo in EnableTheming.
3536 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
3538 * MenuItemCollection.cs: save items if the collection is dirty.
3539 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
3540 Add item to collection before binding to let the state be correctly tracked.
3541 * Menu.cs: Add item to collection before binding to let the state be correctly
3544 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
3546 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
3547 test against with "^...$" if necessary. MS.NET does this too.
3549 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
3551 * WizardStepCollection.cs: Fixed Add methods to initialize
3552 WizardStep.Wizard property
3553 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
3554 Fixed GetStepType, if only one step present, it should be FinishStep
3555 Fixed styles of tables for more accurate rendering, fixed Wizard
3558 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
3560 * FormView.cs: instantiate correct template when the bounding data source is
3563 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
3565 * FormView.cs: disabling setting out of range FormView.PageIndex.
3567 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
3569 * FileUpload.cs: added
3571 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
3573 * FormView.cs: handle CssClass attribute
3575 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3577 * Button.cs: do something in PostBackUrl.
3578 * Repeater.cs: when creating the RepeaterItemCollection, initialize
3579 'items' if it hasn't been done yet. Fixes bug #78417.
3581 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
3583 * BaseDataList.cs: added ConnectToDataSource method that called from
3584 OnLoad, fixed GetData method
3585 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
3588 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
3590 * Menu.cs: add CssStyle value to the rendered class attribute
3592 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
3594 * Calendar.cs: Make sure WebControls.Enabled is respected.
3595 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
3596 to 12:00am as MS.NET does the same.
3599 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3601 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
3602 DataSourceViewChanged, looks for a datasource in its parent control
3603 fixed GetData method, should not get data if datasource is null
3605 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
3607 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
3609 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3611 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
3613 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3615 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
3617 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3619 * DataList.cs: Fixed LoadViewState method
3621 2006-05-04 Lluis Sanchez <lluis@novell.com>
3623 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
3625 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3627 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
3629 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3631 * FormView.cs: fix FormView.PageCount after data binding.
3633 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3635 * CheckBox.cs: certain attributes have to be rendered in the input tag,
3636 not the <span>. Fixes bug #71251.
3638 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3640 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
3643 ensure rebinding when FormView.PageIndex is called.
3644 and bind to the correct PageIndex.
3646 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3648 * MenuItem.cs: when binding to IHierarchyData, check whether
3649 it implements INavigateUIData and retrieve NavigateUrl.
3650 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
3652 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
3653 Provide basic CreateChildControls implementation by ensuring the control is bound.
3654 Ensure the child controls are created when the postback event is raised.
3655 Provide default implementation for SkipLinkText to let the default functionality to work.
3657 2006-04-11 Lluis Sanchez <lluis@novell.com>
3659 * TreeNodeBinding.cs: Added HasPropertyValue property
3660 to check if some properties have a value in the
3662 * TreeNode.cs: Lazily get the dataPath. Instead of getting
3663 bound properties when they are requested, get all of
3664 them when the node is bound and store their values in
3665 the state bag. In this way it won't be necessary to
3666 query every time the datasource to get the values.
3667 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
3668 * TreeView.cs: Call base in OnInit(). Bind nodes after
3669 adding them to the list, to properly keep track of
3670 changes. Don't databind in postbacks.
3672 2006-04-11 Chris Toshok <toshok@ximian.com>
3674 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
3676 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3678 * BaseDataList.cs: Fix searching control by DataSourceID.
3679 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
3682 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3684 * Login.cs: Added LayoutTemplate property support.
3685 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
3686 DataBind: correctly bind child controls.
3687 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
3689 2006-03-29 Robert Jordan <robertj@gmx.net>
3691 * DataGrid.cs: if custom paging is enabled the persisted item count
3692 must be the count of the rendered items, otherwise paging from the
3693 last to a previous page won't work correctly. Fixes bug #77556.
3695 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
3697 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
3698 when rendering disabled list control
3700 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3702 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
3704 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
3706 * FontInfo.cs: Implemented ShouldSerializeNames
3708 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3710 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
3712 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3714 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
3716 in PrepareControlHierarchy fixed style applying to AlternatingItem
3718 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
3720 * DataList.cs: fixed RepeatColumns property, added value validation
3721 in PrepareControlHierarchy method fixed style applying for
3722 AlternatingItem, EditItem and Separator item
3723 fixed RenderContents method, if no items exist, no nned to
3724 render emty table strructure.
3726 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3728 * CompareValidator.cs: when searching for the control to compare, use
3729 NamingContainer instead of Page. Fixes bug #77793.
3731 2006-03-15 Chris Toshok <toshok@ximian.com>
3733 * SiteMapPath.cs (InitializeItem): in the Current and Root node
3734 cases, apply the NodeTemplate if it exists and there isn't a
3735 CurrentNodeTemplate or RootNodeTemplate, respectively.
3737 2006-03-15 Chris Toshok <toshok@ximian.com>
3739 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
3741 * SiteMapDataSource.cs (StartingNodeOffset): new property.
3742 (GetStartNode): add code to handle StartNodeOffset < 0.
3744 * CompositeControl.cs
3745 (ICompositeControlDesignerAccessor.RecreateChildControls): just
3746 call the non-iface method.
3748 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
3749 traverse up the naming container tree looking for our datasource
3750 if we're bound using a DataSourceID. This fixes things in the
3751 sitemap1 test, which uses a mixture of templates and
3752 ContentPlaceholders with the sitemapdatasource and sitemappath at
3753 different levels in the naming container tree (let along the
3756 * SiteMapPath.cs (DataBind): implement this by chaining up to
3757 base.DataBind, then by looping over our children, emitting
3758 OnItemDataBound for each SiteMapNodeItem.
3759 (AddAttributesToRender): remove.
3760 (CreateChildControls): call DataBind as the final step here.. I
3761 have, of course, no idea if this is right.
3762 (CreateControlHierarchy): don't databind our children here, as
3763 they need to be in the Controls collection before we do.
3764 (RenderContents): render our accessibility/screenreader stuff
3765 here, if SkipLinkText != "".
3767 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
3769 * DataGridPagerStyle.cs: fixed PrevPageText property
3771 2006-03-13 Chris Toshok <toshok@ximian.com>
3773 * BaseCompareValidator.cs (Convert): make the
3774 ValidationDataType.String case a bit more compact.
3776 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3779 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
3780 Patch by Hubert Fongarnand.
3782 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3784 * FontInfo.cs: fixed CopyFrom, this method should not reset the
3785 received fontinfo if it is the same instance
3786 fixed ToString, corrected output where only font size specified
3788 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3790 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
3791 if it not set but the border has width
3792 fixes in CopyFrom, MergeWith correct unit compare when it has zero
3795 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3797 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
3798 properties of custom class
3799 fixed InitializeNumericPager, pager numbers should be a Label control
3800 fixed CreateControlHierarchy, corrected dataset index of items if
3803 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
3805 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
3807 fixed CreateControlStyle to set correct cellspacing of table style
3808 fixed InitializeItem to correct applying template to selected and
3811 2006-03-08 Chris Toshok <toshok@ximian.com>
3813 * SiteMapNodeType.cs: nuke.
3815 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
3816 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
3817 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
3818 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
3819 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
3820 ValidationCompareOperator.cs, ValidationDataType.cs,
3821 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
3822 [Serializable] in 2.0.
3824 * DayNameFormat.cs: add "Shortest".
3826 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3828 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
3831 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3833 * TextBox.cs: fixed missing value validations, fixed rendering
3834 of empty value attribute
3836 2006-03-07 Chris Toshok <toshok@ximian.com>
3838 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
3839 by chaining up to base.EnableTheming.
3841 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
3843 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
3845 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
3847 * RadioButton.cs: added ValueAttribute property to store the button
3849 * RadioButtonList.cs: fixed tab index when rendering.
3851 2006-03-02 Chris Toshok <toshok@ximian.com>
3853 * WebControl.cs (SkinID): implement setter/getter, and have them
3854 just chain up to base.SkinID.
3856 2006-02-27 Chris Toshok <toshok@ximian.com>
3858 * SqlDataSource.cs: track change to DataSourceControl's protected
3861 * AccessDataSource.cs: same.
3863 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3865 * ListControl.cs: fixed SelectedIndex property, fixed selection
3866 reset on incorrect value
3868 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3870 * TableStyle.cs: fixed AddAttributesToRender function, style
3871 BorderCollapse:Collapse was added if table's CellSpacing is zero
3873 2006-02-23 Chris Toshok <toshok@ximian.com>
3875 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
3876 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
3877 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
3878 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
3879 ImageButton.cs, ImageField.cs, Literal.cs,
3880 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
3882 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
3883 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
3884 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
3885 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
3886 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
3887 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
3888 errors. most were caused by a property/method being virtual when
3889 it shouldn't be, or vice versa.
3891 2006-02-22 Chris Toshok <toshok@ximian.com>
3893 * ObjectDataSource.cs: corcompare work.
3895 2006-02-22 Chris Toshok <toshok@ximian.com>
3897 * ParameterCollection.cs: add an EditorAttribute to the class.
3899 * Parameter.cs: cleanup, fix the Value property, and implement the
3902 * SqlDataSourceView.cs: clean things up a bit, and add handling
3905 2006-02-22 Chris Toshok <toshok@ximian.com>
3907 * SqlDataSourceFilteringEventArgs.cs: formatting.
3909 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
3910 both the property and ctor arg.
3912 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
3913 not CommandEventArgs. Also, cast the return value of
3914 oleCommand.ExecuteReader.
3916 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
3918 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
3919 (GetPhysicalDataFilePath): implement, again naively. this is
3920 where the NRE is generated when we access ConnectionString in a
3922 (ConnectionString): dynamically generate this based on our
3924 (DataFile): clear the ConnectionString in the setter so we'll
3926 (ProviderName): use base.ProviderName in the getter, not
3927 this.ProviderName, so we don't recurse infinitely.
3929 * SqlDataSourceView.cs: start reworking this class.
3931 * SqlDataSource.cs (GetDbProviderFactory): implement this,
3932 following the MS docs on the matter (if ProviderName is null/"",
3933 return SqlClientFactory.Instance.)
3934 (GetDbProviderFactoryInternal): add an internal method for use by
3936 (TrackViewState): don't invoke View.TrackViewState unless we have
3938 (Selecting): change event handler type to match MS.
3939 (Filtering): add missing event.
3940 (View): call CreateDataSourceView, don't just create an
3943 2006-02-21 Chris Toshok <toshok@ximian.com>
3945 * BoundField.cs: ues the ViewState.Get* pattern with default
3946 instead of the explicit ViewState lookup + null check, and fix the
3947 scope of InitializeDataCell.
3949 * ButtonField.cs: ues the ViewState.Get* pattern with default
3950 instead of the explicit ViewState lookup + null check.
3952 * CommandField.cs: same.
3954 * CheckBox.cs: same.
3956 * AutoGeneratedFieldProperties.cs: same.
3958 * BaseDataList.cs: same.
3960 * CircleHotSpot.cs: same.
3962 * BulletedList.cs: same.
3964 * DataBoundControl.cs: same.
3966 * CookieParameter.cs: same.
3968 * ControlParameter.cs: same.
3970 * CustomValidator.cs: same.
3972 * ButtonFieldBase.cs: same.
3974 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
3976 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
3978 * BaseValidator.cs: same, and clean up the getter/setter formatting.
3980 * CompareValidator.cs: same.
3982 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3984 * ListControl.cs: fixed DataSource property, to throw
3985 ArgumentException on incorrect value
3987 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3989 * Image.cs: fixed missing border="0" attribute, when image has style,
3990 but border width is not specified.
3992 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3994 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
3995 correct the "disabled" attribute in CheckBoxList
3996 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
3997 attribute in CheckBoxList
3999 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4001 * CheckBox.cs: fixed Render function, removed rendering of empty
4002 <span> element if ControlStyleCreated but it's empty.
4003 fixed "disabled" attribute, it should be placed into span element
4005 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4007 * BoundColumn.cs: fixed InitializeCell function, if DataField is
4008 null or empty string, the cell should not be bound.
4010 2006-02-08 Chris Toshok <toshok@ximian.com>
4012 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
4013 AppendDataBoundItems != false. Also, split all the databinding
4014 logic out to DoDataBinding, which we call from here only if
4016 (DoDataBinding): new function. actually perform the binding.
4017 (PerformDataBinding): implement.
4018 (PerformSelect): chain up to base class.
4020 2006-02-07 Chris Toshok <toshok@ximian.com>
4022 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
4024 * Content.cs: use ContentControlBuilderInternal, and add a bunch
4025 of unused (for now) EventHandler's here.
4027 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
4030 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4032 * ListControl.cs: bound checking for Items when loading the control
4033 state, as the number might have been changed on the fly. Patch by
4036 2006-01-22 Chris Toshok <toshok@ximian.com>
4038 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
4040 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
4041 the intended comparison right and quiet mcs.
4043 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4045 * Button.cs: Add semicolon after client script if does not exist.
4047 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4049 * Button.cs: preserve user logic when adding client validation.
4051 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4053 * BaseValidator.cs: fixing visibility bahavior
4055 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4057 * RangeValidator.cs: allow empty data from the control. Patch from Marek
4058 Habersack that fixes bug #77239.
4060 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4062 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
4063 by Cyrille Colin. Closes bug #77184.
4065 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
4067 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
4068 compilation pass with csc 1.1.
4070 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4072 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
4074 2005-12-07 Chris Toshok <toshok@ximian.com>
4076 * BaseValidator.cs: in the uplevel rendering case, don't render
4077 the text if the validator's Display attribute is "None". Should
4080 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4082 * RadioButton.cs: if the 'value' attribute is set explicitly (as
4083 RadioButtonList does now), use that as the 'name' attribute.
4084 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
4089 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4091 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
4092 the 'name' attribute when not aligninng to the right.
4093 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
4094 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
4096 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4098 * DataGrid.cs: clear the control collection on every call to
4099 CreateControlHierarchy. Fixes bug #76732.
4101 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4103 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
4105 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4107 * CheckBox.cs: use the NameAttribute property for setting 'name'.
4108 * RadioButton.cs: get a UniqueID based identifier for 'name'.
4111 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4113 * LinkButton.cs: don't output any javascript when the linkbutton is
4114 disabled. Fixes bug #76713.
4116 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4118 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
4119 UseAccesibleHeader property is true. Patch by Robert Jordan.
4121 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4123 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
4124 control to validate. Fixes bug #76641.
4126 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4128 * BoundColumn.cs: when the column is readonly and we're in edit mode,
4129 keep it as a TextBox. Fixes bug #76714.
4131 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4133 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
4134 enabled. Fixes bug #76608.
4136 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4138 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
4139 the logic to Render and make it render the ID, which fixes bug #76596.
4141 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4143 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
4145 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4147 * Literal.cs: allow LiteralControl as child, but instead of adding it
4148 to the control collection, it just gets the Text out of it.
4150 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4152 * PagedDataSource.cs: fix range when we're at the last page.
4153 * DataGrid.cs: only need to keep the item count in the viewstate.
4156 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4158 * ListControl.cs: made GetSelectedIndices() internal.
4159 * ListBox.cs: html-encode the item text. Fixed single and multiple
4160 selection handling. All the tests pass now. Closes bug #76478.
4162 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4164 * ListControl.cs: throw when the selected value is not in the
4165 items collection. Fixes bug #76415.
4167 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4169 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
4170 throw a nullref, so we have to do it by ourselves here to make
4173 * BaseValidator.cs: render the text of the error message even if
4174 we set IsValid programatically. Don't use 'valid' directly, as
4179 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4181 * CustomValidator.cs: an empty ControlToValidate is valid.
4183 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
4185 * RequiredFieldValidator.cs: Added missing permissions.
4187 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4189 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
4190 Now the items get the attributes from the styles in datalist. Add the
4191 separators after each item, not before. GetItemStyle returns the actual
4192 item style, not the styles in the datalist. Fixes bug #76384 and all
4195 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4197 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
4200 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4202 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
4205 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
4207 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
4208 inheritance demands.
4209 * FontUnit.cs: Structs are sealed so there's no need for inheritance
4211 * Unit.cs: Structs are sealed so there's no need for inheritance
4214 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4216 * PagedDataSource.cs: fix the upper bound for collection and ilist
4219 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4221 * DataGrid.cs: change the ListItemType for the item selected, set
4222 SelectedIndex before calling OnSelectedIndexChanged and set the selected
4223 item type correctly when creating the columns. Fixes bug #76334.
4226 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
4227 selecting the row, the button keep the regular link color.
4229 * DataGridColumn.cs: made the class internal.
4231 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4233 * DataGrid.cs: fix breakaga of alternating item style in one of my
4236 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4238 * Calendar.cs: remove Console.
4239 * ListBox.cs: the name is the UniqueID, not the ClientID.
4240 * WebControl.cs: Attributes is case insensitive.
4242 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4244 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
4245 UniqueID without appending a ".x" or ".y". Fixes several issues in
4246 mojoPortal. Thanks to Joe Audetter for his patience.
4248 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4250 * ButtonColumn.cs: it was lacking databinding, so copied most of it
4253 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4255 * FontInfo.cs: removed useless ctor.
4256 * Style.cs: keep here some commented out debugging code.
4257 * DataGrid.cs: the Items property does not create a new arraylist if
4258 the items_list was already initialized. Add case for Separator.
4259 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
4260 in the header columns has a special ForeColor handling.
4262 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4264 * DataGrid.cs: PageCount must persist in ViewState too and returns the
4265 number of pages in the paged data source once we set that. Fix checks
4266 for visibility of the pager: no more 2 pagers when custom paging is
4269 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4271 * ImageButton.cs: fix a bug reported on the list. We were triggering the
4272 command event on every POST. And the 'name' attribute was not being
4273 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
4274 and we couldn't find the values.
4276 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4278 * DataGrid.cs: fix the links for the numeric pager.
4280 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4282 * DataGrid.cs: when paging is enable, the actual number of items is not
4283 the number of items rendered before the postback, but that number times
4284 the number of pages. Now we store the page count in the viewstate. Also,
4285 as the number might be big, don't allocate an array of objects to fake
4286 the collection for the PagedDataSource, but use the new NCollection
4287 class instead, which provides cheap (memory wise) enumerator for an
4288 arbitrary number of items. Thanks to "Adriano" for the test case.
4290 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4292 * Xml.cs: the show must go on. Removed a few NotImplemented.
4294 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4296 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
4297 existing code in 1.1 (or viceversa). RenderContents() does nothing.
4299 * DataGrid.cs: changed autoid api.
4301 * EditCommandColumn.cs: only 'Update' causes validation.
4303 * TableCell.cs: changed autoid api. RenderContents checks the number
4304 of controls to decide what to do, not the value of Text in the
4307 * TableRow.cs: changed autoid api.
4309 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
4310 event. When we get an EditItem, we need a TextBox to be created and
4311 this one will be the one that gets the event. Changed
4312 ItemDataBinding to deal with a TextBox too.
4314 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4316 * PagedDataSource.cs: fix IsLastPage. All tests pass.
4317 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
4318 need to keep the old one in a field. Now all tests pass here too.
4320 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4322 * PagedDataSource.cs: don't use the properties when they just return a
4323 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
4324 before ICollection (otherwise, an IList will always fall under the
4325 ICollection case). The enumerator for lists will be empty if 'start'
4326 is beyond the list size. All existing tests pass, but one in
4327 DataGridTest that fails because of some problem with the paging.
4329 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4331 * Style.cs: fix the 2.0 build.
4333 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4335 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
4336 instead write the style attributes directly to the HtmlTextWriter.
4338 * CheckBox.cs: adapted to new API.
4340 * DataGrid.cs: handle null data sources. Fixed the contions that make
4341 the table to be added to the Controls collection.
4343 * Calendar.cs: the table needed an ID and the attributes from the
4344 parent. Also don't create the ControlStyleCollection if it has not
4345 already been created.
4347 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4349 * DataGrid.cs: handle null data sources. Fixed the contions that make
4350 the table to be added to the Controls collection.
4352 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4354 * Calendar.cs: TrackViewState should be called upon creation, not on
4355 every get_XXX call. Cleanup.
4357 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4359 * DataGrid.cs: fix another test. The ID of the table generated by the
4360 datagrid is set to the one on the datagrid if no one set the ID for the
4363 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4365 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
4368 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4370 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
4371 converted to string as X{1,2}-.*. All FontUnitTests pass now.
4372 * Unit.cs: throw a format exception when there's not number or minus
4373 sign in the first non-whitespace character.
4375 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4377 * ListControl.cs: SelectedIndex/SelectedValue can be set before
4378 DataBinding () is called on the control, so we have to keep this values
4379 around and use them after the data is read. If both properties are
4380 used, they must refer to the same item.
4382 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4384 * DataList.cs: fill in the data keys from BaseDataList so that the
4385 events can see them. Only assign DataItem when using data binding and
4386 nullify it after all events are raised.
4388 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4390 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
4393 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4395 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
4397 * DataGrid.cs: Fix TagKey (table) for 2.0.
4398 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
4399 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
4401 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
4403 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
4404 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
4406 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
4408 * TreeView.cs: Added declarative security (Link and Inheritance
4409 demands) for Minimal.
4410 * XmlDataSource.cs: Added declarative security (Link and Inheritance
4411 demands) for Minimal.
4413 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4415 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
4416 Inheritance demands) for Minimal.
4417 * Label.cs: Added declarative security (Link and Inheritance demands)
4419 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
4420 * ListItemCollection.cs: Added declarative security (LinkDemands) for
4422 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
4423 2.0, Inheritance demands) for Minimal.
4424 * PagedDataSource.cs: Added declarative security (LinkDemands) for
4426 * Panel.cs: Added declarative security (Link and Inheritance demands)
4428 * Repeater.cs: Added declarative security (Link and Inheritance
4429 demands) for Minimal.
4430 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
4431 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
4433 * TargetConverter.cs: Added declarative security (Link and Inheritance
4434 demands) for Minimal.
4435 * Unit.cs: Added, but only for 1.x, declarative security (Link and
4436 Inheritance demands) for Minimal.
4437 * ValidatedControlConverter.cs: Added declarative security (Link and
4438 Inheritance demands) for Minimal.
4439 * WebColorConverter.cs: Added declarative security (Link and
4440 Inheritance demands) for Minimal.
4441 * Xml.cs: Added declarative security (Link and Inheritance demands)
4443 * ValidationSummary.cs: Added declarative security (Link and
4444 Inheritance demands) for Minimal.
4446 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4448 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
4450 2005-09-22 Ben Maurer <bmaurer@ximian.com>
4452 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
4453 it took O(height) time, not O(1).
4455 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4457 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
4459 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4461 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
4462 2.0, Inheritance demands) for Minimal.
4463 * BaseCompareValidator.cs: Added declarative security (Link and
4464 Inheritance demands) for Minimal.
4465 * BaseDataBoundControl.cs: Added declarative security (Link and
4466 Inheritance demands) for Minimal.
4467 * BaseValidator.cs: Added declarative security (Link and Inheritance
4468 demands) for Minimal.
4469 * BoundColumn.cs: Added declarative security (Link and Inheritance
4470 demands) for Minimal.
4471 * ButtonColumn.cs: Added declarative security (Link and Inheritance
4472 demands) for Minimal.
4473 * CalendarDay.cs: Added declarative security (Link and Inheritance
4474 demands) for Minimal.
4475 * CheckBoxList.cs: Added declarative security (Link and Inheritance
4476 demands) for Minimal.
4477 * CompareValidator.cs: Added declarative security (Link and
4478 Inheritance demands) for Minimal.
4479 * CustomValidator.cs: Added declarative security (Link and Inheritance
4480 demands) for Minimal.
4481 * DataBoundControl.cs: Added declarative security (Link and
4482 Inheritance demands) for Minimal.
4483 * DataGridItemCollection.cs: Added declarative security (Link and
4484 Inheritance demands) for Minimal.
4485 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
4487 * DataListItemCollection.cs: Added declarative security (LinkDemands)
4489 * DataListItem.cs: Added declarative security (Link and Inheritance
4490 demands) for Minimal.
4491 * FontNamesConverter.cs: Added declarative security (Link and
4492 Inheritance demands) for Minimal.
4493 * HyperLink.cs: Added declarative security (Link and Inheritance
4494 demands) for Minimal.
4495 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
4496 demands) for Minimal.
4497 * Image.cs: Added declarative security (Link and Inheritance demands)
4500 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4502 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
4504 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
4505 a data source, first try reflection, then componentmodel. If we get
4506 an enumerator, keep it around, as MS only calls GetEnumerator once.
4507 Throw an exception if no columns can be created from the given data
4508 source. Tested with DbDataRecord, DataTable, ArrayList and
4509 ICustomTypeDescriptor.
4511 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
4513 * AccessDataSource.cs: Added declarative security (Link and Inheritance
4514 demands) for Minimal. Added [ToolboxBitmap] on class.
4515 * AdRotator.cs: Added declarative security (Link and Inheritance
4516 demands) for Minimal. Removed extra Page and ViewState properties.
4517 * BulletedList.cs: Added declarative security (Link and Inheritance
4518 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4519 * Button.cs: Added declarative security (Link and Inheritance demands)
4520 for Minimal. Added [SupportsEventValidation] on class (2.0).
4521 * Calendar.cs: Added declarative security (Link and Inheritance
4522 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4523 * CheckBox.cs: Added declarative security (Link and Inheritance
4524 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4525 * CompositeControl.cs: Added declarative security (Link and Inheritance
4526 demands) for Minimal. Added new protected RecreateChildControls method.
4527 * DataControlCommands.cs: Added declarative security (LinkDemands) for
4528 Minimal. Added private ctor.
4529 * DataGrid.cs: Added declarative security (Link and Inheritance
4530 demands) for Minimal. Fixed properties for 2.0 (mostly removing
4531 [Bindable]). Added override for TagKey property.
4532 * DataGridColumn.cs: Added declarative security (Link and Inheritance
4533 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
4534 * DataGridItem.cs: Added declarative security (Link and Inheritance
4535 demands) for Minimal. Added IDataItemContainer interface for 2.0.
4536 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
4537 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
4538 * DataList.cs: Removed [Load|Save]ControlState methods.
4539 * DropDownList.cs: Added declarative security (Link and Inheritance
4540 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4541 * EditCommandColumn.cs: Added declarative security (Link and
4542 Inheritance demands) for Minimal. Added missing attributes,
4543 [DefaultValue] and [Localize] for 2.0.
4544 * FontInfo.cs: Added declarative security (Link and Inheritance
4545 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
4547 * Login.cs: Added declarative security (Link and Inheritance demands)
4548 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
4549 * ImageButton.cs: Added declarative security (Link and Inheritance
4550 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4551 * LinkButton.cs: Added declarative security (Link and Inheritance
4552 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4553 * ListBox.cs: Added declarative security (Link and Inheritance demands)
4554 for Minimal. Added [SupportsEventValidation] on class (2.0).
4555 * Literal.cs: Added declarative security (Link and Inheritance demands)
4556 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
4557 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
4558 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
4559 but will be shown as extra).
4560 * RadioButton.cs: Added declarative security (Link and Inheritance
4561 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4562 * RadioButtonList.cs: Added declarative security (Link and Inheritance
4563 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4564 * RangeValidator.cs: Added declarative security (Link and Inheritance
4565 demands) for Minimal. Added missing [Themeable] attributes.
4566 * RegularExpressionValidator.cs: Added declarative security (Link and
4567 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
4569 * RoleGroupCollection.cs: Added declarative security (Link and
4570 Inheritance demands) for Minimal. Fixed base class (changed in RC).
4571 Re-implemented CopyTo. Removed some methods.
4572 * Style.cs: Added declarative security (Link and Inheritance demands)
4573 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
4574 is now public in 2.0.
4575 * Table.cs: Added declarative security (Link and Inheritance demands)
4576 for Minimal. Added [SupportsEventValidation] on class (2.0).
4577 * TableCell.cs: Fixed PersistenceMode for 2.0.
4578 * TextBox.cs: Added declarative security (Link and Inheritance demands)
4579 for Minimal. Added [SupportsEventValidation] on class (2.0).
4580 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
4581 but will be shown as extra).
4582 * WebControl.cs: Added declarative security (Link and Inheritance
4583 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
4586 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4588 * TableStyle.cs: fixed typo that prevented restoring GridLines from
4591 * DataGrid.cs: the table does not get an auto ID. When restoring from
4592 viewstate, use all the saved columns, not just that data bound ones. Set
4593 the owner of the BoundColumns created. Save/restore columns.
4594 OnItemCreated happens after the item is initialized and the data item is
4595 set before the event and nullified after OnItemDataBound.
4596 Add the render_table to the Controls immediately, otherwise we might get
4597 errors from child controls such as "must be rendered inside a form".
4598 Keep the items created in the list waiting for them.
4599 The table uses the attributes from the DataGrid and ControlStyle.
4600 Raise OnItemCommand on all bubble events and don't propagate bubble
4601 event up in the hierarchy
4603 * TableCell.cs: it does not get an automatic ID.
4604 * BoundColumn.cs: FormatDataValue returns an empty string on null input
4605 (there was already a test for this).
4609 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4611 * DataGridColumnCollection.cs: track the view state in the newly added
4614 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4616 * DataGrid.cs: merge column styles too. Fixes bug #76106.
4617 * DataGridColumn.cs: new internal method to retrieve the styles without
4618 creating an instance for them.
4620 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
4622 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
4623 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
4624 StateBag.SetDirty (true).
4626 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
4628 * Menu.cs: Fixed parameter orders for CreateStyleRule.
4630 2005-09-13 Chris Toshok <toshok@ximian.com>
4632 * Style.cs: corcompare stuff.
4634 * RequiredFieldValidator.cs: more corcompare stuff.
4636 * CheckBoxList.cs: clean up some of the interface methods vs
4637 protected virtual 2.0 calls.
4639 * SubMenuStyle.cs: corcompare says this should implement
4640 ICustomTypeDescriptor... sooo, make it.
4642 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4644 * TableCell.cs: do the same as HyperLink and others in
4645 AddParsedSubobject so that adding a literal control does not remove the
4646 existing controls if any. Fixes bug #76078.
4648 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4650 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
4652 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4654 * ImageButton.cs: fix invalid cast exception.
4656 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4658 * ListItem.cs: throw in AddParsedSubObject if the object is not a
4660 * RadioButtonList.cs: implemented LoadPostData and
4661 RaisePostDataChangedEvent.
4663 2005-09-09 Chris Toshok <toshok@ximian.com>
4665 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
4666 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
4667 LoadPostData/RaisePostDataChangedEvent.
4669 2005-09-09 Chris Toshok <toshok@ximian.com>
4671 * FontInfo.cs (IsEmpty): new internal property, used by
4674 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
4677 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4679 * ListItemCollection.cs: remove obsoleted methods.
4680 * ListBox.cs: use IStateManager on the item collection.
4682 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
4684 * Use C# 1.0 style of delegate instantiating. Needed to compile
4685 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
4687 2005-09-07 Chris Toshok <toshok@ximian.com>
4689 * Calendar.cs (WriteDay): always add BackColor=Silver,
4690 ForeColor=White to selected day cells, before copying over the
4691 selectedDayStyle, if it exists.
4692 (WriteDays): fix nunit test - if the first day of the month falls
4693 on the first day of the week, go back one week (effectively adding
4694 a row of dates from the previous month.)
4695 (WriteTitle): don't copy the control style to the tableTitle,
4696 since it might have height specifications, which would make the
4697 title look rather off.
4699 2005-09-07 Chris Toshok <toshok@ximian.com>
4701 * ValidationSummary.cs (AddAttributesToRender): we only set
4702 display=none if there are no errors.
4704 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
4705 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
4707 2005-09-07 Chris Toshok <toshok@ximian.com>
4709 * ListControl.cs (SelectedIndex): add comment about how you'd
4710 think OnSelectedIndexChanged would be called.. and you'd be wrong.
4711 (Text): implement in terms of SelectedValue.
4712 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
4713 (LoadControlState): implement - this is where the selected index
4714 ArrayList gets stuffed in 2.0.
4715 (OnInit): call Page.RegisterRequiresControlState.
4716 (OnTextChanged): implement.
4717 (RenderContents): for now just chain up to base.RenderContents.
4718 (SaveControlState): save our control state properly.
4719 (GetSelectedIndices): split this out from SaveViewState to it can
4720 be used by both that and SaveControlState.
4721 (SaveViewState): mangle this function so it works in both 2.0 and
4723 (LoadViewState): same.
4725 2005-09-06 Chris Toshok <toshok@ximian.com>
4727 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
4728 we weren't assigned an ID.
4730 * ValidationSummary.cs (AddAttributesToRender): same.
4732 2005-09-06 Chris Toshok <toshok@ximian.com>
4734 * WebControl.cs: revert the last change.
4736 2005-09-06 Chris Toshok <toshok@ximian.com>
4738 * WebControl.cs (AddAttributesToRender): always render ClientID.
4740 * ValidationSummary.cs (Render): same.
4742 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
4745 2005-09-06 Chris Toshok <toshok@ximian.com>
4747 * ValidationSummary.cs (Render): only do the JS stuff when the
4748 validators on the page are uplevel.
4750 * BaseValidator.cs (Render): remove unnecessary comment.
4752 2005-09-05 Chris Toshok <toshok@ximian.com>
4754 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
4755 stored in the ViewState.
4757 2005-09-02 Chris Toshok <toshok@ximian.com>
4759 * Repeater.cs (GetData): change this slightly so the Repeater
4760 doesn't keep a ref to the return value of GetData.
4762 2005-09-01 Chris Toshok <toshok@ximian.com>
4764 * ListControl.cs (AppendDataBoundItems): implement (2.0)
4767 2005-09-01 Chris Toshok <toshok@ximian.com>
4769 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
4770 System.Web.UI.WebControls/ValidatedControlConverter.cs,
4771 System.Web.UI.WebControls/Xml.cs,
4772 System.Web.UI.WebControls/RegularExpressionValidator.cs,
4773 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
4774 System.Web.UI.WebControls/Menu.cs,
4775 System.Web.UI.WebControls/MailMessageEventArgs.cs,
4776 System.Web.UI.WebControls/MenuItemStyle.cs,
4777 System.Web.UI.WebControls/RangeValidator.cs,
4778 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
4779 System.Web.UI.WebControls/MenuItem.cs,
4780 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
4781 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
4782 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
4783 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
4784 System.Web.UI.WebControls/XmlBuilder.cs,
4785 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
4788 2005-09-01 Chris Toshok <toshok@ximian.com>
4790 * System.Web.UI.WebControls/Button.cs,
4791 System.Web.UI.WebControls/ButtonField.cs,
4792 System.Web.UI.WebControls/DataControlField.cs,
4793 System.Web.UI.WebControls/BaseCompareValidator.cs,
4794 System.Web.UI.WebControls/AutoGeneratedField.cs,
4795 System.Web.UI.WebControls/CustomValidator.cs,
4796 System.Web.UI.WebControls/Content.cs,
4797 System.Web.UI.WebControls/BoundField.cs,
4798 System.Web.UI.WebControls/AdRotator.cs,
4799 System.Web.UI.WebControls/ButtonColumn.cs,
4800 System.Web.UI.WebControls/CompareValidator.cs,
4801 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
4802 work. Stub things out, and add attributes.
4804 2005-09-01 Chris Toshok <toshok@ximian.com>
4806 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
4807 CommandField.cs, HyperLinkColumn.cs, Table.cs,
4808 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
4809 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
4810 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
4811 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
4812 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
4813 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
4814 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
4815 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
4816 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
4817 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
4818 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
4819 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
4820 TableItemStyle.cs: Add some WebCategory and WebSysDescription
4823 2005-09-01 Chris Toshok <toshok@ximian.com>
4825 * AccessDataSource.cs: corcompare work.
4827 * SqlDataSource.cs: same.
4829 2005-09-01 Miguel de Icaza <miguel@novell.com>
4831 * Various places: make sure that the DefaultValue matches the
4832 type. Thanks to Michael for pointing this out.
4834 In future audits, you might want to use the following awk command:
4836 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
4837 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
4838 print $0; looking = 0; } /public/ && looking { looking = 0; } '
4841 The above skips bools, strings and ints as those were fine as we
4842 set them. The bug was on the other ones.
4844 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4846 * Repeater.cs: fix the build.
4848 2005-08-31 Chris Toshok <toshok@ximian.com>
4850 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
4851 {Base}DataList, and also from debug spew garnered from some
4852 Repeater subclass tests on MS.
4853 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
4854 the IEnumerable by calling GetData().
4855 (DataBind): reset RequiresDataBinding to false (2.0).
4856 (DataMember): copy the set implementation from DataList, and add
4857 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
4858 (DataSource): more c&p.
4859 (DataSourceID); implement (2.0)
4860 (Initialized): implement (2.0)
4861 (IsBoundUsingDataSource): implement (2.0)
4862 (RequiresDataBinding): implement (2.0)
4863 (SelectArguments): implement (2.0)
4864 (CreateDataSourceSelectArguments): implement (2.0)
4865 (EnsureDataBound): implement (2.0)
4866 (GetData): implement.
4867 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
4869 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
4870 leave the MonoTODO. (2.0)
4871 (OnInit): call base.OnInit instead of throwing NIE, but leave the
4873 (OnLoad): implement.
4874 (OnPreRender): implement.
4875 (ConnectToDataSource): new method - look for the right control.
4877 2005-08-31 Chris Toshok <toshok@ximian.com>
4879 * XmlDataSourceView.cs: fix the scope of our select. Don't use
4880 call SelectNodes on the XmlDocument, not on
4881 XmlDocument.DocumentElement.
4883 2005-08-31 Chris Toshok <toshok@ximian.com>
4885 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
4886 (DoXPathSelect): put the xpath selection stuff here.
4887 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
4890 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
4891 select here, the view does it.
4893 2005-08-31 Jackson Harper <jackson@ximian.com>
4895 * DataList.cs: Remove some debugging code that was starting to bug
4898 2005-08-31 Chris Toshok <toshok@ximian.com>
4900 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
4901 create our Navigator by calling node.CreateNavigator().
4903 2005-08-31 Chris Toshok <toshok@ximian.com>
4905 * XmlDataSource.cs (GetXmlDataDocument): rename this to
4906 GetXmlDocument, and change the return value from XmlDataDocument
4908 (LoadXmlDataDocument): similar change.
4909 (Save): xmlDataDocument -> xmlDocument.
4910 (CanBeSaved): there's no ReadOnly attribute.
4911 (LoadViewState, SaveViewState, TrackViewState): nuke.
4912 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
4913 (CacheDuration): stub out with NIE.
4914 (CacheExpirationPolocy): same.
4915 (CacheKeyDependency): same.
4916 (EnableCaching): same.
4918 (Data, DataFile): xmlDataDocument -> xmlDocument.
4919 (Schema, SchemaFile): nuke.
4920 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
4922 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
4924 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
4925 Don't use the obsolete IsSet method.
4926 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
4927 * CheckBox.cs: Implement some 2.0 methods.
4928 * GridView.cs: Removed some "throw new NotImplementedException"
4930 2005-08-29 Chris Toshok <toshok@ximian.com>
4932 * TreeView.cs: Use the StateBag accessors Ben added, and implement
4933 SkipLinkText and Visible.
4935 2005-08-29 Chris Toshok <toshok@ximian.com>
4937 * TreeView.cs: fix typo in an attribute.
4939 2005-08-29 Jackson Harper <jackson@ximian.com>
4941 * PagedDataSource.cs: If it's not a list or collection we don't
4942 use a bounded enumerator.
4944 2005-08-29 Chris Toshok <toshok@ximian.com>
4946 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
4948 * CheckBox.cs: same.
4950 * BaseValidator.cs: same.
4952 * DropDownList.cs: same.
4954 * ValidationSummary.cs: same.
4956 2005-08-28 Chris Toshok <toshok@ximian.com>
4958 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
4960 2005-08-26 Chris Toshok <toshok@ximian.com>
4962 * TextBox.cs: implement ValidationGroup and CausesValidation
4965 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
4967 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
4970 2005-08-26 Chris Toshok <toshok@ximian.com>
4972 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
4974 * FontUnit.cs: add two 2.0 ctors, and the 2.0
4975 ToString(IFormatProvider) method.
4977 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
4979 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
4980 no items are present in the list.
4981 * RoleGroup.cs: Added missing attributes.
4982 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
4983 documented) methods.
4984 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
4985 must be done in the HtmlTextWriter (not in the TableStyle).
4987 2005-08-26 Chris Toshok <toshok@ximian.com>
4989 * Calendar.cs (UseAccessibleHeader): implement.
4990 (RaisePostBackEvent): some #ifdef ugliness to get this all working
4991 propertly between 1.x and 2.0
4992 (WriteDayHeader): if UseAccessibleHeader == true, render header
4993 cells as th's, not td's, and add abbr and scope attributes.
4995 2005-08-25 Chris Toshok <toshok@ximian.com>
4997 * Calendar.cs (Caption, CaptionAlign): implement these properties.
4998 (Render): if we have a non-empty caption, show it.
4999 (WriteCaption): new method, output the caption.
5001 2005-08-25 Chris Toshok <toshok@ximian.com>
5003 * Calendar.cs (Render): Copy the entire style from the Calendar to
5004 the Table, not just the font.
5005 (WriteDay): don't just write the link/text/etc. Create a
5006 LiteralControl as a child of the cell, before the call to
5007 OnDayRender, with its text set to the day number. After
5008 OnDayRender, set the literal's text to either the number again (if
5009 it's not selectable) or the full text of the js __doPostBack
5010 hyperlink (if it is.) Also, use cell.RenderControl here so we can
5011 render child controls with the id's listed properly (and arguably
5013 (ApplyTitleStyleCell): remove.
5014 (WriteTitle): apply the titleStyle to the enclosing table, not the
5015 table cell containing the month name. Also, copy from the
5016 Calendar's ControlStyle to populate tableTitle's style initially.
5017 We end up with more (superfluous) style attributes than MS, but
5018 it's better than having less.
5020 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5022 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
5025 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5027 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
5028 and RegisteredCssClass property
5030 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5032 * LoginView.cs: Fixed attributes.
5033 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
5034 an exception to allow pages to work on 2.x.
5036 2005-08-25 Chris Toshok <toshok@ximian.com>
5038 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
5040 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
5043 * HiddenField.cs: stub out this class and label everything
5046 2005-08-25 Jackson Harper <jackson@ximian.com>
5048 * DataGrid.cs: Disable the pager row if there no paging enabled
5051 2005-08-25 Chris Toshok <toshok@ximian.com>
5053 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
5056 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
5057 add a using statement.
5059 2005-08-25 Chris Toshok <toshok@ximian.com>
5061 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
5064 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
5067 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5069 * Login.cs: Added rendering and fixed parts of the authentication.
5070 Now using IStateManager to allow compilation in another assembly (e.g.
5071 to test the control under IIS). Needs more tests (error conditions)
5072 once we get a "real" Membership provider running.
5073 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
5076 2005-08-25 Chris Toshok <toshok@ximian.com>
5078 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
5080 2005-08-25 Chris Toshok <toshok@ximian.com>
5082 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
5083 calling base.Foo to get the standalone adrotator (1.0) tests to
5084 run without throwing exceptions.
5086 2005-08-25 Chris Toshok <toshok@ximian.com>
5088 * ValidationSummary.cs (ValidationGroup): implement.
5089 (Render): use Page.GetValidators in .net 2.0, so we can support
5090 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
5093 2005-08-25 Chris Toshok <toshok@ximian.com>
5095 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
5096 2.0 attribute modifiers, and revert back to "override".
5098 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
5099 2.0 attribute modifiers, and revert back to "override".
5100 (BorderStyle): same.
5101 (BorderWidth): same.
5103 * TextBox.cs (SaveViewState): implement naively, calling
5105 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
5106 modifiers, and revert back to "override".
5108 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5110 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
5111 Load ViewState for derived classes; no public LoadViewState override
5112 exists in those classes
5113 * Style.cs: Added 2.0 IsStyleEmpty method
5115 2005-08-25 Jackson Harper <jackson@ximian.com>
5117 * DataGrid.cs: The number of pages set in the pager is specified
5120 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5122 * LoginView.cs: New (2.0). Work in progress.
5124 2005-08-24 Chris Toshok <toshok@ximian.com>
5126 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
5127 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
5128 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
5129 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
5130 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
5131 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
5132 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
5133 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
5134 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
5135 Add MonoTODO's for all things that throw NotImplementException.
5137 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
5139 * RoleGroup.cs: New (2.0). Complete implementation.
5140 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
5142 2005-08-23 Chris Toshok <toshok@ximian.com>
5144 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
5145 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
5146 even though they were written for the 1.0 stuff.
5148 2005-08-23 Chris Toshok <toshok@ximian.com>
5150 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
5151 output. Our tests now pass on both mono and ms, with both 1.x and
5154 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
5156 * Login.cs: Throw exception if the specified provider doesn't exists.
5157 * LoginStatus.cs: Complete events.
5159 2005-08-22 Jackson Harper <jackson@ximian.com>
5161 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
5163 (InitializeNumericPager): Now that the pager actually renders
5164 properly I can see that I was computing it incorrectly.
5166 2005-08-22 Jackson Harper <jackson@ximian.com>
5168 * DataGrid.cs (RenderTable): Make sure the new table gets the
5170 (CreateColumnSet): Clear the data source columnbs before adding
5171 new ones regardless of whether or not a property descriptor was
5173 (InitializePager): pager_cell needs to be a member so it isn't
5174 created more then once per a render.
5175 (InitializeNumericPager): Compute start and end more
5177 - Link commands are 1 indexed.
5178 (CreateControlHierarchy): Clear the table before we begin
5180 - Revert patch that made adding the pagers conditional. This is
5181 incorrect, the pagers are always added. Only their visibility is
5182 affected by the pager style.
5183 - Save the entire count in the viewstate, not just the rendered
5184 count. So when paging is enabled the pager's count isn't broken by
5187 2005-08-22 Chris Toshok <toshok@ximian.com>
5189 * LinkButton.cs (ValidationGroup): implement.
5190 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
5191 pass ValidationGroup to Page.Validate.
5193 2005-08-22 Chris Toshok <toshok@ximian.com>
5195 * ImageButton.cs (ValidationGroup): implement.
5196 (IPostBackEventHandler.RaisePostBackEvent): if we cause
5197 validation, call Page.Validate properly (in both profiles).
5199 2005-08-22 Chris Toshok <toshok@ximian.com>
5201 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
5202 case, pass ValidationGroup to Page.Validate.
5203 (ValidationGroup): implement using ViewState.
5205 2005-08-22 Chris Toshok <toshok@ximian.com>
5207 * BaseValidator.cs (Text): 2.0 only. implement naively, just
5209 (OnInit): add 2.0 support for validation groups.
5212 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
5214 * LoginName.cs: New (2.0) web control.
5215 * LoginStatus.cs: New (2.0) web control.
5217 2005-08-19 Chris Toshok <toshok@ximian.com>
5219 * LinkButton.cs (ValidationGroup): implement getter/setter.
5220 (RaisePostBackEvent): implement naively, by c&p'ing the old
5221 implementation of IPostBackEventHandler.RaisePostBackEvent, but
5222 making use of the ValidationGroup in the call to Page.Validate.
5226 * Style.cs (LoadViewState): set our style flags for all the things
5227 we have flags for. Seems like the subclass flags should be
5228 handled in overridden LoadViewState methods, but none of the Style
5229 subclasses seem to override this method.
5231 2005-08-19 Chris Toshok <toshok@ximian.com>
5233 * TableStyle.cs (Merge, MergeWith): make these look a bit more
5234 like Copy/CopyFrom, with the styles checks instead of just
5237 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
5240 2005-08-19 Chris Toshok <toshok@ximian.com>
5242 * DataGrid.cs (InitializePager): don't unconditionally set
5243 pager_cell to the numeric pager (especially after setting it
5244 conditionally to the nextprev pager.)
5245 (InitializeNumericPager): the link buttons don't participate in
5247 (InitializeNextPrevPager): same.
5248 (CreateControlHierarchy): create the top/bottom pagers only if the
5249 PagerStyle says too.
5251 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
5253 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
5255 2005-08-18 Chris Toshok <toshok@ximian.com>
5257 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
5258 the start of this method so templates are created properly.
5260 2005-08-18 Dick Porter <dick@ximian.com>
5262 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
5263 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
5264 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
5265 BaseDataList.cs, DataList.cs, BulletedList.cs,
5266 DataBoundControl.cs, Login.cs, GridView.cs,
5267 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
5268 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
5269 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
5270 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
5271 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
5272 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
5273 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
5274 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
5277 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
5279 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
5281 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
5282 empty array of objects just to get the number of items.
5283 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
5284 but we're missing some bits from the class lib to complete all this...
5286 2005-08-17 Jackson Harper <jackson@ximian.com>
5288 * DataGrid.cs: Only create one pager and add it to both the top
5289 and bottom of the grid, this way all the id numbers stay the same
5290 and we save a bunch of cycles.
5292 2005-08-17 Jackson Harper <jackson@ximian.com>
5294 * DataGrid.cs: The top and bottom pagers are always created. Just
5295 the visibility is changed by the PagerStyle::Position.
5297 2005-08-17 Chris Toshok <toshok@ximian.com>
5299 * CompositeControl.cs (RecreateChildControls): implement naively -
5300 just call CreateChildControls. We might need to call
5301 Controls.Clear() as well, but for the time being, this is ok.
5303 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
5305 * BaseDataList.cs: Completed implementation for 2.0.
5307 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5309 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
5310 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
5312 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5314 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
5316 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
5317 Adjusted size and ordering of the ViewState (new element #0 is still
5318 unknown). Properly fixed the TagKey in 2.0.
5319 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
5320 all properties using enums.
5321 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
5322 * TableItemStyle.cs: Fixed attribute rendering to use style to render
5323 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
5325 2005-08-15 Jackson Harper <jackson@ximian.com>
5327 * EditCommandColumn.cs: Use a normal LinkButton.
5329 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5331 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
5332 viewstate (even if assigned to the default value).
5333 * TableRow.cs: Implement TableSection property (2.0). It has no effect
5334 on the rendering of the table row.
5336 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5338 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
5339 and removed [Bindable] attributes for 2.0.
5340 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
5341 attributes (for 2.0).
5342 * DataListCommandEventArgs.cs: Not sealed in 2.0.
5343 * DataListItemEventArgs.cs: Not sealed in 2.0.
5344 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
5345 attributes for URLs.
5346 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
5347 attributes for URLs.
5348 * Table.cs: Fixed [Editor] attribute for 2.0.
5349 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5350 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
5351 AssociatedHeaderCellID and it's [DefaultValue] attribute.
5352 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
5353 and Scope attributes.
5354 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
5355 on TableSection attribute.
5356 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5358 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
5360 * Image.cs: Fixed attributes for 2.0 profile.
5361 * Login.cs: Fixed some attributes and default values.
5362 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
5363 RaisePostBackEvent (TODO) in 2.0 profile.
5364 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
5365 and added AssociateHeaderCellID property (TODO).
5366 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5367 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
5368 page (if the device requires to breaks the table into multiple pages).
5369 This seems to be a "flag" class, the real work will be in Table.
5370 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
5371 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
5372 page (if the device requires to breaks the table into multiple pages).
5373 This seems to be a "flag" class, the real work will be in Table.
5374 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
5375 * TableRow.cs: Remove [Bindable (true)] from properties and add
5376 [Bindable (false)] and [Designer] on class. Added new TableSection
5378 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5379 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
5380 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
5381 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
5382 FillStyleAttributes method (2.0).
5384 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
5386 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
5387 attributes from existing controls.
5388 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
5389 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
5391 2005-08-12 Jackson Harper <jackson@ximian.com>
5393 * TableRow.cs: No AutoID for TableRows.
5395 2005-08-12 Jackson Harper <jackson@ximian.com>
5397 * DataGrid.cs (CreateRenderColumns): If we aren't using data
5398 binding grab the rendercols from the data source columns.
5399 (LoadViewState): Restore the bound columns when reloading the
5401 (InitializeNumericPager): Create elipsised pagers.
5402 (CreateItem): Don't set the item's ID.
5403 (CreateItem): Add the control to the table before it is databound
5404 so that it's value is saved in the viewstate.
5405 (CreateControlHierarchy): Create a fake data source when not using
5406 databinding. Don't add controls to the table as they are added in
5408 (PrepareControlHierarchy): Make footers and header non visible if
5409 they aren't enabled.
5411 2005-08-12 Chris Toshok <toshok@ximian.com>
5413 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
5414 docs says these methods/properties "ensure the child controls are
5415 created" -- so call EnsureChildControls() before invoking the base
5418 2005-08-12 Jackson Harper <jackson@ximian.com>
5420 * BoundColumn.cs: Set the controls text instead of adding a
5421 literal control. So it is saved in the controls viewstate.
5423 2005-08-11 Jackson Harper <jackson@ximian.com>
5425 * CheckBoxList.cs: Set the tabindex on the checkbox control and
5426 don't render it on the main table (Setting it to zero causes it to
5427 not be rendered). Also use the invariant culture on the id.
5429 2005-08-11 Dick Porter <dick@ximian.com>
5431 * CheckBox.cs: Let ViewState manage removals; apply styles and
5432 "style" attributes in a surrounding <span>. Fixes unit tests.
5434 2005-08-10 Chris Toshok <toshok@ximian.com>
5436 * Label.cs (LoadViewState): set the Text attribute from our
5437 ViewState (if it exists) to clear out any child controls. Fixes
5438 jsunit test label/label-child-control-postback.aspx.
5440 2005-08-10 Jackson Harper <jackson@ximian.com>
5442 * PagedDataSource.cs: Respect paging with all data source types.
5444 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
5446 * BaseDataList.cs: Changed Controls property from "virtual new"
5447 (2.0 doc) to "override" (monop) to fix the Visible bug (see
5448 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
5449 any controls (required due to change to Controls). Implemented
5450 DataBind(bool) for 2.0.
5451 * DataListItem.cs: Fix the multiple table when extractRows is used.
5452 Removed extra span tags by rendering contents (not control). Added
5453 support for IDataItemContainer (2.0).
5455 2005-08-08 Jackson Harper <jackson@ximian.com>
5457 * DataGrid.cs: Apply the styles to each item type.
5459 2005-08-08 Jackson Harper <jackson@ximian.com>
5461 * PagedDataSource.cs: If paging is not enabled keep enumerating to
5462 the end of the list.
5464 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
5466 * BaseDataList.cs: Remove old compatibility stuff.
5467 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
5468 * WebControl.cs: Always call CreateControlStyle to create the
5469 ControlStyle. Fix the exception for datalist-style-edit.aspx.
5471 2005-08-05 Jackson Harper <jackson@ximian.com>
5473 * DataGrid.cs: Don't make the current page index a link in the
5476 2005-08-05 Jackson Harper <jackson@ximian.com>
5478 * DataGrid.cs: Honour PagerPosition.
5480 2005-08-05 Jackson Harper <jackson@ximian.com>
5482 * PagedDataSource.cs: Round PageCount properly.
5484 2005-08-05 Dick Porter <dick@ximian.com>
5486 * CheckBox.cs: Shut corcompare up a bit more. Still need to
5487 figure out how to not use AddAttributesToRender to get it
5490 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
5492 * DataGridColumn.cs: Added the duplicate viewstate manipulation
5495 2005-08-05 Chris Toshok <toshok@ximian.com>
5497 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
5498 null when it comes to the format string.
5499 (FormatDataTextValue): same.
5501 2005-08-04 Chris Toshok <toshok@ximian.com>
5503 * BaseValidator.cs (Validate): only test a validator if it's both
5504 enabled and visible.
5506 2005-08-04 Chris Toshok <toshok@ximian.com>
5508 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
5511 2005-08-04 Jackson Harper <jackson@ximian.com>
5513 * DataGrid.cs: Add a new space control for each link. Also make
5514 the link's text 1 indexed. Don't add the space after the last
5517 2005-08-04 Ben Maurer <bmaurer@ximian.com>
5519 * LinkButton.cs: Fix up the test suite here.
5521 * Panel.cs: Fix up nowrap
5523 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5525 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
5526 * ListControl.cs: Clear item list before adding data (again)
5528 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
5530 * Calendar.cs: fixes issues with OnDayRender event and others
5532 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5534 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
5536 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
5537 if DataTextField is bound
5538 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
5539 two controls in edit mode, lets do the same
5541 2005-08-03 Jackson Harper <jackson@ximian.com>
5543 * BoundColumn.cs: Respek for the thisExpr when data binding.
5545 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5547 * EditCommandColumn.cs: No need to offer edit when in edit mode.
5550 2005-08-04 Dick Porter <dick@ximian.com>
5552 * DataGridColumn.cs: New implementation
5555 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
5557 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5559 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
5562 2005-08-03 Ben Maurer <bmaurer@ximian.com>
5564 * RepeatInfo.cs: Finally figured out how to use base control
5566 2005-08-03 Jackson Harper <jackson@ximian.com>
5568 * ButtonColumn.cs: Partial implementation.
5570 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5572 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
5575 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5577 * Calendar.cs: fixes Save/Load state
5579 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5581 * Calendar.cs: bug fixes
5583 2005-08-03 Jackson Harper <jackson@ximian.com>
5585 * DataGrid.cs: Merge the table style with the render table. Some
5586 initial work on the numeric pager. Remove some debugging code.
5588 2005-08-03 Jackson Harper <jackson@ximian.com>
5590 * BoundColumn.cs: Implement Initialize and InitializeCell. When
5591 Data is formated it uses the DataFormatString that was set at the
5592 time Initialize was called (or null if initialize was never
5595 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5597 * RadioButtonList.cs: bug fixes
5599 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5601 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
5602 AddAttributesToRender
5603 * RadioButtonList.cs: Implementation
5605 2005-08-01 Jackson Harper <jackson@ximian.com>
5607 * TableStyle.cs: Copy style bit when copying from another style.
5609 2005-08-01 Jackson Harper <jackson@ximian.com>
5611 * PagedDataSource.cs: Implement missing properties, use yield for
5612 the Enumerator methods. Only allow the enums to return one page at
5615 2005-08-01 Chris Toshok <toshok@ximian.com>
5617 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
5619 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5621 * WebControl.cs: Track enabled state across sessions
5623 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5625 * ListControl.cs(OnDatabinding): Value is equivalent to text if
5628 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
5630 * ImageButton.cs: fixes, complete missing parts
5632 2005-07-31 Ben Maurer <bmaurer@ximian.com>
5634 * TextBox.cs: Html encode for multiline text boxes
5636 * HyperLink.cs: Resolve images
5638 2005-07-30 Chris Toshok <toshok@ximian.com>
5640 * BaseValidator.cs: initial version of 2.0 properties
5641 ValidationGroup and SetFocusOnError.
5643 2005-07-30 Chris Toshok <toshok@ximian.com>
5645 * HyperLinkColumn.cs (InitializeCell): clean this up.
5647 2005-07-30 Chris Toshok <toshok@ximian.com>
5649 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
5650 DataBinder.FormatResult.
5651 (FormatDataTextValue): same.
5652 (Initialize): call base.Initialize.
5653 (ItemDataBinding): new function, get the text/navigateurl and set
5654 them on our HyperLink control.
5655 (InitializeCell): create a hyperlink control in the
5656 Item/EditItem/AlternatingItem case.
5658 2005-07-30 Ben Maurer <bmaurer@ximian.com>
5660 * RepeatInfo.cs: Handle 0 items situations correctly
5662 * HyperLink.cs: Resolve urls correctly
5664 * CheckBox.cs: use the correct ID for the label element.
5666 * Label.cs: Correct AddParsedSubObject impl. See FAQ
5668 2005-07-29 Chris Toshok <toshok@ximian.com>
5670 * BaseCompareValidator.cs (GetDateElementOrder): implement.
5672 2005-07-29 Chris Toshok <toshok@ximian.com>
5674 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
5675 #if'ed out version follows microsoft's docs on msdn, but doesn't
5676 match ms's behavior. The other matches their behavior but not
5677 their docs. we use the latter. go figure.
5678 (get_CutoffYear): implement using
5679 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
5681 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5684 - Name property now throws exception when set to null
5685 - Names now handles situation where our bit tells us we have
5686 a font, but it's not in the StateBag (null removal)
5687 * RangeValidator.cs: Removed unused vars
5689 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5691 * Label.cs: ClientID should be used rather than UniqueID to get
5694 2005-07-29 Chris Toshok <toshok@ximian.com>
5696 * BaseValidator.cs (Validatate): not sure if this is entirely
5697 correct (some fairly deep testing required), but setting Enabled =
5698 false has the effect of setting IsValid = true.
5700 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5702 * RadioButton.cs: The "remove from groupstate" isn't needed any
5703 more, now that statebag is correct.
5705 2005-07-29 Dick Porter <dick@ximian.com>
5707 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
5708 ViewState when it is null.
5710 * CheckBox.cs: Hide nonstandard API
5712 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
5714 * Calendar.cs: fixes exceptions, bug fixes, new features
5715 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
5716 * CalendarDay.cs: fixes default value
5718 2005-07-28 Ben Maurer <bmaurer@ximian.com>
5720 * CompositeControl.cs: Stub
5722 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5724 * EditCommandColumn.cs: Implemented
5726 2005-07-27 Chris Toshok <toshok@ximian.com>
5728 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
5730 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5732 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
5735 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5737 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
5738 for it's constructor, so remove it
5739 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
5741 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5743 * DataGridPagerStyle.cs: Implemented
5744 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
5745 * Style.cs: Added Styles enum values for DataGridPagerStyle
5747 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
5749 * Calendar.cs: get the styles right, honors more properties, fixes, fix
5752 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5754 * DataGridItem.cs: Implemented
5756 2005-07-26 Chris Toshok <toshok@ximian.com>
5758 * LinkButton.cs (AddParsedSubObject): reversed the order of
5759 Controls.Add() and Text = null
5760 (set_Text): call Controls.Clear()
5761 (RenderContents): use HasControls() for the if test instead of
5764 * HyperLink.cs (AddParsedSubObject): reversed the order of
5765 Controls.Add () and Text = null;
5767 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5769 * DataGridItemCollection.cs: Implemented
5771 2005-07-26 Chris Toshok <toshok@ximian.com>
5773 * LinkButton.cs (AddParsedSubObject): copy implementation from
5775 (RenderContents): only call writer.Write(Text) if Text != "".
5776 Otherwise default to base.RenderContents.
5778 2005-07-26 Chris Toshok <toshok@ximian.com>
5780 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5781 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
5782 (Page != null) around my last commit.
5784 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5786 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
5787 Fixed use of literal strings, instead using Consts
5788 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
5789 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
5790 Panel.cs, Literal.cs: Added attributes
5791 * BaseValidator.cs: Added missing override
5793 2005-07-26 Chris Toshok <toshok@ximian.com>
5795 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5796 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
5797 Page.VerifyRenderingInServerFormHere.
5799 2005-07-26 Chris Toshok <toshok@ximian.com>
5801 * BaseValidator.cs: remove some MonoTODO's about the client side
5804 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
5806 * Calendar.cs: selection of dates, state load, save, track, support
5807 for new properties, many fixes.
5809 2005-07-26 Miguel de Icaza <miguel@novell.com>
5811 * Style.cs: Temporary methods to help buliding .NET 2.x
5813 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5815 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
5817 * Xml.cs: Fixed base class, attributes
5818 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
5819 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
5820 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
5821 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
5822 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
5824 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5826 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
5829 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5831 * RepeatInfo.cs: If the repeater has one column, the separators
5832 are rendered on a different line
5834 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5836 * DataGridSortCommandEventArgs: Sealed class
5837 * ButtonColumn.cs, Calendar.cs: Added Attributes
5839 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5841 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
5842 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
5844 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5846 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
5847 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
5849 2005-07-25 Chris Toshok <toshok@ximian.com>
5851 * ValidationSummary.cs (AddAttributesToRender): add client side
5853 (OnPreRender): set the "been here" flag.
5854 (Render): add client side support.
5856 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5858 * RepeatInfo.cs: Split the horiz and vertical cases, because this
5859 class has rules that are beyond strange. Continue working to make
5862 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5864 * RepeatInfo.cs: Misc fixes for my test suite.
5866 2005-07-25 Jackson Harper <jackson@ximian.com>
5868 * DataGrid.cs: Set the command name and args on the link buttons.
5870 2005-07-25 Jackson Harper <jackson@ximian.com>
5872 * DataGrid.cs: Lots o implementation.
5874 2005-07-25 Jackson Harper <jackson@ximian.com>
5876 * BoundColumn.cs: Partial implementation to get the DataGrid tests
5879 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
5881 * Button.cs: fixes events, adds attributes
5883 2005-07-23 Chris Toshok <toshok@ximian.com>
5885 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
5886 prop.GetValue results.
5887 (Render): fix the static non-uplevel case, so that we display text
5888 when there's an error.
5890 2005-07-22 Chris Toshok <toshok@ximian.com>
5892 * RegularExpressionValidator.cs (AddAttributesToRender): only
5893 output ValidationExpression if it's != null.
5895 2005-07-22 Chris Toshok <toshok@ximian.com>
5897 * BaseValidator.cs (AddAttributesToRender): fix up the Display
5898 rendering such it matches MS's output.
5899 (Render): stop using the huge complicated if's for each output
5900 stage and move to boolean flags, and fix the static-nonuplevel
5901 case, where a validator outputs as nothing but
5903 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
5904 * Calendar.cs: Initial implementation
5905 * CalendarSelectionMode.cs: fix enum order
5907 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
5909 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
5910 (or more?) specific cases - including correct support for separators.
5911 Added some (commented) debugging code.
5912 * HyperLink.cs: Only render href and target attributes if they're not
5913 empty. Add "border=0" when rendering <img> tag. Fix Target default
5916 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
5918 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
5920 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
5922 * Style.cs (CopyFrom): Reset our styles and don't set bits from
5923 target explicitly, properties will set them
5925 2005-07-22 Dick Porter <dick@ximian.com>
5928 * ButtonColumn.cs: Initial stubs
5930 2005-07-22 Dick Porter <dick@ximian.com>
5933 * CheckBox.cs: Add assembly attributes
5935 2005-07-22 Ben Maurer <bmaurer@ximian.com>
5937 * HyperLink.cs: Handle non-literal children.
5939 2005-07-21 Ben Maurer <bmaurer@ximian.com>
5941 * Label.cs: SP1 stuff
5943 2005-07-21 Chris Toshok <toshok@ximian.com>
5945 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
5946 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
5947 stuff WebUIValidation.js uses, so we don't support it for uplevel
5950 2005-07-21 Chris Toshok <toshok@ximian.com>
5952 * BaseValidator.cs (DetermineRenderUplevel): include checks for
5953 the EcmaScriptVersion and W3CDomVersion.
5955 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5957 * BaseDataList.cs: Support IEnumerable.
5958 * DataList.cs: Fix alternate items.
5959 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
5960 controls and the Text property.
5962 2005-07-21 Ben Maurer <bmaurer@ximian.com>
5964 * TextBoxMode.cs: Wrong ordering of enum...
5966 2005-07-21 Chris Toshok <toshok@ximian.com>
5968 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
5971 2005-07-21 Chris Toshok <toshok@ximian.com>
5973 * BaseValidator.cs (get_PropertiesValid): use our containing
5974 NamingContainer, not ourselves, to look up controls.
5975 (CheckControlValidationProperty): same.
5976 (GetControlRenderID): same.
5977 (GetControlValidationValue): same.
5978 (AddAttributesToRender): add the display style attribute if
5979 Display != Static, and add the value of IsValid if it's false.
5980 (DetermineRenderUplevel): use a try block around (Page.Request)
5981 since that can raise an exception.
5982 (OnPreRender): set pre_render_called, so we can consult it in
5984 (Render): complicate this method more to handle more of the
5985 Display/pre_render_called permutations.
5987 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
5989 * CustomValidator.cs: Initial implementation, still work in progress
5991 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5993 * DataList.cs: Fix rendering for special items (-1).
5995 2005-07-21 Ben Maurer <bmaurer@ximian.com>
5997 * RepeatInfo.cs: Fix most of the tests.
5999 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6001 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
6002 Add a border=0 attribute if no style is defined.
6003 * TableCell.cs: Use HtmlTextWriterTag (not a string).
6004 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
6005 * TableRow.cs: Use HtmlTextWriterTag (not a string).
6007 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6009 * BaseDataList.cs: Fix attributes.
6010 * HorizontalAlign.cs: Fix attributes.
6011 * Image.cs: Fix attributes and enums checks.
6012 * Table.cs: Fix attributes an enums checks.
6013 * TableCell.cs: Fix attributes.
6014 * TableCellCollection.cs: Fix attributes.
6015 * TableItemStyle.cs: Fix attributes and enums checks.
6016 * TableRowCollection.cs: Fix attributes.
6017 * TableRow.cs: Fix attributes.
6018 * TableStyle.cs: Fix attributes and enums checks.
6019 * VerticalAlign.cs: Fix attributes.
6021 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6023 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
6024 * DataList.cs: Added rendering support when ExtractTemplatesRows
6025 property is true (but RepeatInfo needs to be fixed to see it works).
6026 * DataListItem.cs: Added rendering support when extractRows parameter
6027 is true (but RepeatInfo still needs to be fixed ;-)
6029 2005-07-21 Duncan Mak <duncan@novell.com>
6031 * HyperLinkColumn.cs: Initial implementation.
6032 Todo: Figure out Initialize and InitializeCell.
6034 2005-07-20 Chris Toshok <toshok@ximian.com>
6036 * BaseValidator.cs: don't use Page.FindControl, use this Control's
6037 FindControl, so it'll use the same naming container.
6039 2005-07-21 Duncan Mak <duncan@novell.com>
6041 * DataGridCommandEventArgs.cs:
6042 * DataGridPageChangedEventArgs.cs:
6043 * RepeaterCommandEventArgs.cs: Fixed visibility.
6045 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
6046 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
6048 2005-07-20 Chris Toshok <toshok@ximian.com>
6050 * Button.cs: hook up the client side validation stuff.
6052 * ImageButton.cs: same.
6054 * LinkButton.cs: same, although it's a little more complicated
6057 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6060 - Implemented RaisePostDataChangedEvent()
6061 - Spewing postback command if AutoPostBack is true
6063 2005-07-20 Chris Toshok <toshok@ximian.com>
6065 * BaseValidator.cs: another Page != null check when uplevel
6068 2005-07-20 Chris Toshok <toshok@ximian.com>
6070 * BaseValidator.cs: check Page != null when determining if we're
6071 rendering uplevel or not.
6073 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6075 * ListItemCollection.cs: Removed obsolete method that's no longer
6078 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6080 * DropDownList.cs: Oops. Forgot to implement LoadPostData
6081 * ListItemCollection.cs: Added convenience method to have faster
6084 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6087 - Automatically select the first item if none are selected
6088 - Throw exception if more than one item is selected
6090 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6092 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
6093 handled by RepeatInfo).
6095 2005-07-20 Jackson Harper <jackson@ximian.com>
6097 * DataGrid.cs: Store the data source created columns in a
6098 DataGridColumnCollection. This way they can be put in the
6099 view state more easily, and accessed without casting.
6101 2005-07-20 Chris Toshok <toshok@ximian.com>
6103 * BaseValidator.cs (AddAttributesToRender): render the client side
6104 attributes if we're in uplevel mode.
6105 (DetermineRenderUplevel): flesh out a bit - for now basically
6106 return true unless the control has it disabled.
6107 (OnInit): only add the validator to Page's list if there is, in
6109 (OnUnload): same for removal.
6110 (OnPreRender): hook up client scripting stuff here. Only the call
6111 to RegisterValidatorCommonScript is a for sure thing here, the
6112 registering of the submit statement and startup script should
6113 probably go elsewhere, but I don't know where.
6114 (RegisterValidatorCommonScript): register the <script
6115 src=".../WebUIValidation.js"> tag, if it's not already there.
6116 (RegisterValidatorDeclaration): add our span object to the
6117 Page_Validators JS array.
6118 (Render): always render the tags (although this is probably not
6119 right), and call RegisterValidatorDeclaration here.
6121 * BaseCompareValidator.cs (AddAttributesToRender): render the
6122 client side attributes if we're in uplevel mode.
6123 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
6124 call base.DetermineRenderUplevel for now.
6126 * RegularExpressionValidator.cs (AddAttributesToRender): render
6127 the client side attributes if we're in uplevel mode.
6129 * RequiredFieldValidator.cs (AddAttributesToRender): same.
6131 * CompareValidator.cs (AddAttributesToRender): same.
6133 2005-07-20 Jackson Harper <jackson@ximian.com>
6135 * DataGrid.cs: Save the data source created column set in the
6138 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6140 * DataList.cs: Fix events and properties exceptions. Give the right
6141 informations to RenderItem.
6143 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6145 * ValidationSummary.cs: Implemented rendering
6147 2005-07-20 Jackson Harper <jackson@ximian.com>
6149 * DataGrid.cs: column names are cached and only regenerated if useDataSource
6150 is set to true. Otherwise they are just fetched from the last set that
6151 was generated from the source.
6153 2005-07-20 Jackson Harper <jackson@ximian.com>
6155 * DataGrid.cs: Assign some properties of newly created BoundColumns.
6157 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6159 * DataList.cs: Fix viewstate ordering.
6161 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6163 * SelectedDatesCollection.cs: Apprarently, I don't write code well
6166 * Repeater.cs: Uh, actually add stuff to the items collection
6169 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6171 * BaseDataList.cs: EnsureChildControls on Controls property.
6172 * DataList.cs: Fix rendering and Controls/Items differences.
6173 * DataListItem.cs: Added rendering of controls.
6175 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6177 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
6179 2005-07-20 Jackson Harper <jackson@ximian.com>
6181 * DataGrid.cs: Add some of the collections. Implement
6184 2005-07-20 Jackson Harper <jackson@ximian.com>
6186 * PagedDataSource.cs: Implement GetItemProperties, this is
6187 needed for the datagrid.
6189 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6191 * DataGridColumnCollection.cs: New impl
6193 * TemplateColumn.cs: New impl
6195 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6197 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
6198 * DataList.cs: Work in progress... Added attributes, proper
6199 IRepeatInfoUser support and cool things stolen from other classes.
6200 * DataListCommandEventArgs.cs: Class is sealed.
6201 * DataListItem.cs: RenderItem is public.
6203 2005-07-19 Jackson Harper <jackson@ximian.com>
6205 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
6206 a viewstate object if all the viewstate stuff is null.
6208 2005-07-19 Jackson Harper <jackson@ximian.com>
6210 * DataGrid.cs: Implement style properties and viewstate
6211 saving/loading/tracking.
6213 2005-07-19 Chris Toshok <toshok@ximian.com>
6215 * BaseValidator.cs: more fixes from pdb.
6217 2005-07-19 Chris Toshok <toshok@ximian.com>
6219 * BaseValidator.cs: some test-driven fixes.
6221 2005-07-19 Chris Toshok <toshok@ximian.com>
6223 * BaseValidator.cs: Initial implementation.
6225 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6227 * Repeater.cs: Fix small typo.
6229 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
6231 * ValidationSummaryTest.cs: Started implementation
6232 * RangeValidator.cs: Implemented
6233 * ValidatedControlConverter.cs: Implemented
6234 * DropDownList.cs: Implemented
6236 2005-07-19 Jackson Harper <jackson@ximian.com>
6238 * DataGrid.cs: Implement bubble event.
6240 2005-07-19 Jackson Harper <jackson@ximian.com>
6242 * DataGrid.cs: New implementation. Just properties and events for
6245 2005-07-18 Chris Toshok <toshok@ximian.com>
6247 * BaseCompareValidator.cs: Initial implementation, with some NYI.
6249 2005-07-19 Ben Maurer <bmaurer@ximian.com>
6251 * FontUnit.cs: Corcompare fixes
6253 * UnitConverter.cs: Fix api diffs
6255 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6257 * ListControl.cs: Fix api differences
6259 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6261 * Table.cs: Fix indentation for caption. Simplify check when adding
6263 * TableRow.cs: Simplify check when adding controls.
6265 2005-07-18 Chris Toshok <toshok@ximian.com>
6267 * CompareValidator.cs: wtf, just use the base class's methods.
6269 2005-07-18 Chris Toshok <toshok@ximian.com>
6271 * CompareValidator.cs: do comparisons based on
6272 BaseCompareValidator.Type.
6274 2005-07-18 Chris Toshok <toshok@ximian.com>
6276 * CompareValidator.cs: initial implementation.
6278 2005-07-18 Chris Toshok <toshok@ximian.com>
6280 * RegularExpressionValidator.cs: initial implementation.
6282 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6284 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
6286 2005-07-18 Jackson Harper <jackson@ximian.com>
6288 * CheckBoxList.cs: Implement LoadPostBackData. Also register
6289 checkboxes for postback if they are checked so we can find
6290 out when they are unchecked. Copy the AutoPostBack variable
6291 to the to be rendered checkbox when rendering.
6293 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6295 * TextBox.cs: Finish this up.
6297 * AdRotator.cs: Fix issues in the test suite. Minor style
6300 * Repeater.cs: Fix a bug where the datasource is null and we do
6303 * WebColorConverter.cs: Optimize by not doing a concat on a
6306 2005-07-17 Ben Maurer <bmaurer@ximian.com>
6308 * ListItemCollection.cs: Multiple uses of equals rather than
6309 string.compare as below. Remove unreachable code warning.
6311 * WebColorConverter.cs (ConvertTo): Use the == operator on string
6312 rather than an invariant non-case ignoring compare. They are
6313 exactly the same thing. Use proper coding style in this method.
6315 * WebControl.cs: Return null when saving the view state if there
6316 is no state in any of the things we save. This creates a fairly
6317 large savings, because we can avoid saving anything about many
6318 levels of deaply nested controls.
6320 2005-07-15 Jackson Harper <jackson@ximian.com>
6322 * CheckBoxList.cs: Use the index as the ID, the rest of the
6323 id is built by being in the NamingContainer.
6325 2005-07-15 Jackson Harper <jackson@ximian.com>
6327 * ListControl.cs: Use enum instead of string. Saves a lookup.
6329 2005-07-15 Jackson Harper <jackson@ximian.com>
6331 * CheckBoxList.cs: FindControl always returns 'this' according
6334 2005-07-15 Jackson Harper <jackson@ximian.com>
6336 * CheckBoxList.cs: New impl.
6338 2005-07-15 Jackson Harper <jackson@ximian.com>
6340 * WebControl.cs: Use the ClientID when rendering a controls ID
6341 attribute so that naming containers are honoured.
6343 2005-07-15 Jackson Harper <jackson@ximian.com>
6345 * ListControl.cs: use the state manager interface for tracking
6348 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6350 * Repeater.cs (DoItem): Add the DataItem before we call user
6351 methods, as it seems to be there with msft.
6353 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
6355 * BaseDataList.cs: New. (mostly complete) implementation.
6356 * DataKeyCollection.cs: New. Implementation (complete).
6357 * DataList.cs: New. (mostly incomplete) implementation.
6358 * DataListItem.cs: New. (mostly complete) implementation.
6359 * DataListItemCollection.cs: New. Implementation (complete).
6361 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6363 * Repeater.cs (DoItem): We need to .Add the control *before* we
6364 data bind it so that the state gets tracked correctly. Fixes the
6367 2005-07-15 Jackson Harper <jackson@ximian.com>
6369 * ListControl.cs: Simplify comparison.
6371 2005-07-15 Jackson Harper <jackson@ximian.com>
6374 * Repeater.cs: Use new utility class for resolving data sources.
6376 2005-07-15 Jackson Harper <jackson@ximian.com>
6378 * ListControl.cs: Add attributes so the sub items get parsed
6379 properly. Remove old unneeded code for resolving lists.
6381 2005-07-15 Jackson Harper <jackson@ximian.com>
6383 * ListControl.cs: Use the DataSourceHelper so DataMembers are
6386 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6389 - Some optimizations
6390 * Don't use enum formatting stuff, it is 1) expensive 2) does
6391 allocations. Use a new method in HtmlControl to do the right
6393 * Don't use Enum.IsDefined but an explicit check.
6394 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
6395 - Use the correct coding style.
6397 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6399 * WebColorConverter.cs:
6400 - Alpha of 255 is only set if the hex number is exactly 6 digits
6401 - Ben didn't like the catch { throw; } (even though MS documents to
6403 - Use Invariant Culture for parsing (thanks, Ben)
6405 2005-07-14 Jackson Harper <jackson@ximian.com>
6407 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
6408 code-reuse-arific. Also use the IStateManager interface for loading
6409 data instead of the old internal method.
6411 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6413 * WebColorConverter.cs: Implemented
6415 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6417 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
6419 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6421 * Repeater.cs: Get it working
6423 2005-07-14 Jackson Harper <jackson@ximian.com>
6425 * ListControl.cs: Initial implementation of Databinding. Make sure
6426 that the ListItemCollection is created when we load its ViewState.
6428 2005-07-14 Jackson Harper <jackson@ximian.com>
6430 * ListControl.cs: Fix typo.
6432 2005-07-14 Jackson Harper <jackson@ximian.com>
6434 * ListControl.cs: New Implementation. Lacks databinding support.
6436 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6438 * Repeater.cs: The beginnings of this control
6440 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6442 * TargetConverter.cs: Implemented
6444 2005-07-14 Duncan Mak <duncan@novell.com>
6446 * PagedDataSource.cs: Initial implementation.
6448 Methods that need to be figured out:
6449 CopyTo, GetItemProperties, PageCount, IsLastPage.
6451 To complete: CollectionEnumerator, ListEnumerator.
6453 2005-07-13 Duncan Mak <duncan@novell.com>
6455 * RepeatDirection.cs:
6457 * ValidationCompareOperator.cs:
6458 * ValidationDataType.cs:
6459 * ValidationSummaryDisplayMode.cs:
6460 * ValidatorDisplay.cs: Added remaining enumerations.
6462 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6464 * FontNamesConverter.cs: Implemented
6466 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6468 * RepeaterItem.cs: Compile fix
6470 * RepeaterItemCollection.cs: New file
6472 * RepeaterItem.cs: get OnBubbleEvent right.
6474 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6476 * ListItemCollection.cs: Count can be derived from the array, which
6477 allows us to use a Pair instead of a Triplet and save some space
6479 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6481 * RepeaterItem.cs: Stub
6483 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6485 * ListItemCollection.cs: Implemented
6486 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
6488 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6490 * RepeatInfo.cs: Impl.
6492 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6494 * FirstDayOfWeek.cs: Added
6496 2005-07-13 Jackson Harper <jackson@ximian.com>
6498 * ListBox.cs: Some parameter checking.
6500 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6502 * Image.cs: Added support for DescriptionUrl as this property was
6503 added in Fx 1.1 SP1.
6505 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6507 * Style.cs (AddAttributesToRender): Don't render attributes if they
6508 contain only their default value
6510 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6512 * Table.cs: New. Initial re-implementation.
6513 * TableCell.cs: New. Initial re-implementation.
6514 * TableCellCollection.cs: New. Initial re-implementation.
6515 * TableHeaderCell.cs: New. Initial re-implementation.
6516 * TableItemStyle.cs: New. Initial re-implementation.
6517 * TableRow.cs: New. Initial re-implementation.
6518 * TableRowCollection.cs: New. Initial re-implementation.
6519 * TableStyle.cs: New. Initial re-implementation.
6521 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6523 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
6524 unit tests (for Style) and more tests in Table* classes.
6526 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6528 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
6529 however IsEmpty returns false if any of their properties are set.
6530 Looks ugly but it's compatible with MS implementation (feature and
6533 2005-07-13 Dick Porter <dick@ximian.com>
6535 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
6536 null Text properties from the ViewState, test for TextAlign being
6537 out of range. All to make tests pass on both mono and ms
6540 2005-07-13 Jackson Harper <jackson@ximian.com>
6542 * ListBox.cs: Use invariant culture when doing a ToString,
6543 set value to the item's value, not to its Text.
6545 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6547 * WebControl.cs (AddAttributesToRender): Added ID to rendered
6550 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6552 * Style.cs(MergeWith): Handle null styles
6554 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
6556 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
6557 the #if NET_2_0 on it.
6559 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6561 * Style.cs: Only render font elements if fontinfo object exists
6563 - Implemented SaveViewState()
6564 - Added loading of Style to LoadViewState
6565 - Implemented IAttributeAccessor methods
6567 2005-07-12 Jackson Harper <jackson@ximian.com>
6569 * ListBox.cs: Even track default values in the viewstate. Call
6570 base's RenderContents.
6572 2005-07-12 Jackson Harper <jackson@ximian.com>
6574 * ListBox.cs: New impl.
6576 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6579 - Implemented methods
6582 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6584 * ListItem.cs: New impl.
6586 2005-07-12 Duncan Mak <duncan@novell.com>
6588 * DayNameFormat.cs: Added.
6590 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6592 * WebControl.cs: Implemented properties
6594 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6596 * TextBox.cs: Passwords seem 1) not to be rendered to the client
6597 if set, 2) not kept in view state (for security reasons...)
6600 * Button.cs: Page.Validate () if needed. Gets the validator tests
6603 * TextBox.cs: Properties to get the validator stuff to work.
6605 2005-07-12 Miguel de Icaza <miguel@novell.com>
6607 * Unit.cs: If the units are pixels, then truncate the value.
6609 2005-07-12 Dick Porter <dick@ximian.com>
6611 * RadioButton.cs: New implementation
6613 * CheckBox.cs: Rearrange the attributes rendering to allow
6614 RadioButton to derive from this
6616 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6618 * TitleFormat.cs: Add attribute
6619 * TextBoxMode.cs: Add attribute
6620 * CalendarDay.cs: Initial implementation
6621 * ImageButton.cs: Initial implementation
6622 * CalendarSelectionMode.cs:Initial implementation
6624 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6626 * TextBoxMode.cs: simple enum
6627 * TitleFormat.cs: simple enum
6629 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6631 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
6633 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6635 * FontUnit.cs: Added TypeConverter attribute to class
6636 * FontUnitConverter.cs: Implemented
6638 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6641 * Button.cs: Bubble the Command event.
6643 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6646 - Clean up style (with my wonderful state bag hack!)
6647 - Fix a view state typo.
6648 - Use AddAttributesToRender
6649 - Don't add an extra <span>
6651 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6653 * Style.cs: Handle null constructor argument for bag
6655 2005-07-11 Dick Porter <dick@ximian.com>
6657 * CheckBox.cs: New implementation
6659 * RadioButton.cs: Initial stubbed version that just compiles
6661 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
6663 * Button.cs: Initial Button implementation
6665 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
6667 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
6669 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6671 * HorizontalAlign.cs: Typo in header.
6672 * VerticalAlign.cs: New. Required enum for TableRow control.
6674 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6676 * TextBox.cs: More work on this
6678 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6680 * GridLines.cs: New. Required enum for Table control.
6681 * HorizontalAlign.cs: New. Required enum for Table control.
6683 2005-07-09 Duncan Mak <duncan@novell.com>
6685 * CommandEventHandler.cs:
6686 * DataGridCommandEventHandler.cs:
6687 * DataGridItemEventHandler.cs:
6688 * DataGridPageChangedEventHandler.cs:
6689 * DataGridSortCommandEventHandler.cs:
6690 * DataListCommandEventHandler.cs:
6691 * DayRenderEventHandler.cs:
6692 * RepeaterCommandEventHandler.cs:
6693 * ServerValidateEventHandler.cs: Add delegates.
6696 * ListSelectionMode.cs:
6697 * NextPrevFormat.cs:
6699 * PagerPosition.cs: Add enums.
6701 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6703 * TextBox.cs: Add the work I did on this today. It's not complete
6704 yet, but its a start!
6706 2005-07-09 Duncan Mak <duncan@novell.com>
6708 * CommandEventArgs.cs:
6709 * DataGridCommandEventArgs.cs:
6710 * DataGridItemEventArgs.cs:
6711 * DataGridPageChangedEventArgs.cs:
6712 * DataGridSortCommandEventArgs.cs:
6713 * DataListCommandEventArgs.cs:
6714 * DataListItemEventArgs.cs:
6715 * DayRenderEventArgs.cs:
6716 * RepeaterCommandEventArgs.cs:
6717 * RepeaterItemEventArgs.cs:
6718 * ServerValidateEventArgs.cs: Implemented.
6720 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
6722 * Image.cs: New. Image class implementation.
6723 * ImageAlign.cs: New. ImageAlign enum definitions.
6725 2005-07-08 Jackson Harper <jackson@ximian.com>
6727 * Literal.cs: New implentation.
6728 * MonthChangedEventArgs.cs: new
6729 * MonthChangedEventHandler.cs: new
6731 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6733 * LinkButton.cs: Command impl
6735 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6737 * LinkButton.cs: Initial impl
6739 2005-07-08 Jackson Harper <jackson@ximian.com>
6741 * AdCreatedeventArgs.cs: New implementation.
6743 2005-07-08 Dick Porter <dick@ximian.com>
6746 * BorderStyle.cs: Added
6748 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6750 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
6752 2005-07-07 Miguel de Icaza <miguel@novell.com>
6754 * Xml.cs: New implementation. R00lz.
6756 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6758 * FontInfo.cs: Added and implemented.
6759 * Style.cs: Fixed behaviour discrepancies showed by tests
6761 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6763 * PlaceHolderControlBuilder.cs: new file
6765 * LabelControlBuilder.cs: New file
6767 * HyperLink.cs: use control builder; fix parsing stuff
6769 * HyperLinkControlBuilder.cs: new file
6771 * Panel.cs: misc fixes
6773 2005-07-07 Miguel de Icaza <miguel@novell.com>
6775 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
6777 * UnitConverter.cs: Add new file, learned from the
6778 System.Drawing.ColorConverter.
6780 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6782 * PlaceHolder.cs: New file. Seems to do nothing
6784 * Label.cs: Use my new statebag trick to reduce typing
6786 * HyperLink.cs: New file
6788 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6790 * Style.cs: Added and implemented.
6792 2005-07-06 Miguel de Icaza <miguel@novell.com>
6794 * FontUnit.cs: New file.
6796 * Unit.cs: New file.
6798 Added support for null and empty string constructors.
6800 2005-07-06 Ben Maurer <bmaurer@ximian.com>
6802 * Unit.cs: cctor not needed; static fields are 0 init'd by default
6804 * WebControl.cs: Kothari & Datye's book explains how these work.
6806 * IRepeatInfoUser.cs: Reimpl.
6808 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6810 * WebControl.cs: Added stub
6812 2005-07-05 Miguel de Icaza <miguel@novell.com>
6814 * Label.cs: First control.
6816 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
6818 * DataControlField.cs: Ignore the ShowHeader property when
6819 building the control's content. It is the resposability of
6820 the field container to decide if the header should be shown
6823 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
6826 * ImageFieldMode.cs:
6827 * DynamicImageParameterMode.cs:
6828 * TableViewMode.cs: Removed.
6832 * TableRowSection.cs:
6833 * AutoCompleteType.cs:
6834 * DayNameFormat.cs: Track changes in 2.0 api.
6836 * StringArrayConverter.cs: This class is 2.0 only.
6838 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
6842 * DetailsView.cs: Bind the control after creating all child
6844 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
6845 the correct methods.
6846 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
6847 in this class. This is done in DataBoundControl. All this fixes
6850 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6852 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
6853 FindByText. Closes bug #74205.
6855 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6857 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
6858 1 when there's a datasource and 0 pages. Closes bug #73864.
6860 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
6867 * MenuItemTemplateContainer.cs:
6868 * DetailsView.cs: Track changes in the IDataItemContainer interface.
6870 * CommandField.cs: Added CausesValidation property. Set that
6871 property value to all buttons of the field.
6873 * SqlDataSourceView.cs:
6874 * CollectionDataSource.cs:
6875 * XmlDataSourceView.cs: Properly initialize the base class.
6877 * SiteMapDataSource.cs:
6878 * SiteMapHierarchicalDataSourceView.cs:
6879 * SiteMapNodeItem.cs:
6880 * SiteMapDataSourceView.cs:
6881 * SiteMapPath.cs: Mostly implemented.
6883 * HierarchicalDataBoundControl.cs: Always bind the control when the
6884 page is loaded for the first time.
6886 * TreeView.cs: Properly bind the control when loaded from a callback.
6888 2005-05-21 Ben Maurer <bmaurer@ximian.com>
6890 * BaseDataList.cs: Caption is in 1.1 too, though not
6891 documented. Gonz owes me [more] ice cream. Yummmmm.
6893 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6895 * BaseDataList.cs: implemented 2.0 Caption property.
6897 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
6899 * TreeView.cs: Always render the startup script. This fixes
6902 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
6904 * WizardStepBase.cs:
6905 * WizardStep.cs: Added missing attributes.
6906 * Wizard.cs: Implemented missing methods and properties. It can now
6907 be considered feature complete.
6909 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6911 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
6912 the method if the data source was en empty IEnumerator. Fixes
6915 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
6919 * Menu.cs: Implemented some new properties from beta 2.
6921 * DataControlButton.cs: Render the ControlStyle if it
6925 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
6926 It will now generate an object creation, instead of a Parse call.
6928 * GridViewCommandEventArgs.cs: Added missing property.
6929 * SubMenuStyleCollection.cs: This class is not sealed.
6930 * MultiView.cs: Set Visible=false to all views that are not
6931 shown. This ensures that it's view state is saved.
6933 * BaseDataBoundControl.cs:
6934 * GridViewDeletedEventArgs.cs: Minor api fixes.
6936 * FormViewDeleteEventArgs.cs:
6937 * DetailsViewDeletedEventArgs.cs:
6938 * ListControl.cs: Fix warnings.
6942 * HotSpotCollection.cs
6945 * RectangleHotSpot.cs
6946 * WizardStepCollection.cs : Implemented.
6950 * Wizard.cs: Initial implementation.
6952 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
6954 * DataControlField.cs:
6958 * DataControlCommands.cs:
6959 * DetailsView.cs: Use constants to identify commands.
6961 * SubMenuStyle.cs: Use Unit instead of int for padding.
6962 * SubMenuStyleCollection.cs: Implemented.
6965 * Menu.cs: Added some missing methods and properties.
6968 * DataGridPagerStyle.cs: Fixed default value attributes.
6969 * ListControl.cs: Implemented IEditableTextControl interface.
6971 * MenuItemBinding.cs: Added Selectable property.
6972 * CustomValidator.cs: removed interface.
6974 * MenuItem.cs: Added support for custom binding.
6975 * DropDownList.cs: Moved text properties to base class.
6977 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6979 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
6981 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6983 * Calendar.cs: when the day is active, modify the text of the literal
6984 control that holds the number, not the text of the TableCell. Also call
6985 OnDayRender before updating that text. Fixes bug #74718.
6987 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
6989 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
6991 * DataControlFieldHeaderCell.cs: Save Scope in view state.
6992 Added AbbreviatedText property.
6993 * AutoGeneratedField.cs: The constructor should actually be internal.
6994 * DataGridItem.cs: Added implemented interface in 2.0.
6995 * DataControlFieldCollection.cs: Implemented CloneFields and
6999 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7001 * StringArrayConverter.cs:
7002 * Calendar.cs: warnings.
7004 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
7006 * FormViewDeleteEventArgs.cs:
7007 * FormViewInsertEventArgs.cs:
7008 * FormViewUpdateEventArgs.cs:
7009 * FormViewDeletedEventArgs.cs:
7010 * FormViewUpdatedEventArgs.cs:
7011 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
7014 * IButtonControl.cs:
7015 * Button.cs: Removed SoftKey property.
7017 * CheckBox.cs: Don't try to load post back data if the control
7021 * AutoGeneratedField.cs:
7022 * DataControlField.cs:
7024 * ButtonFieldBase.cs:
7028 * ButtonField.cs: Don't bind fields in Insert state.
7029 Implemented CreateField and CopyProperties.
7032 * DetailsView.cs: Removed some unneeded interfaces. Don't
7033 generate the field rows if there are no items in the data source.
7034 Don't get the current keys until the whole control has been
7037 * DetailsViewInsertedEventArgs.cs:
7038 * DataBoundControl.cs:
7039 * ObjectDataSourceView.cs: Made some methods private.
7042 * Menu.cs: Changed some properties from int to Unit.
7044 * DataControlButton.cs: javascript prefix is needed when raising
7045 the postback event from a link.
7047 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
7048 The result was wrong when the total data source count was 0.
7050 * FormView.cs: Implemented.
7051 * FormViewRow.cs: Implemented.
7054 * Localize.cs: Fixed base interface.
7056 * BaseDataBoundControl.cs: In DataBind() call the base class
7057 DataBind method, so the binding context is properly set.
7059 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
7061 * DetailsView.cs: Added some null checks.
7062 * TemplateField.cs: Implemented support for two-way bindings.
7064 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
7066 * DetailsView.cs: Implemented support for Insert operation.
7067 Added header and footer templates. Added missing style
7069 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
7070 to get filter values. Other minor fixes.
7071 * CommandField.cs: Properly render the Insert and New buttons.
7072 * ObjectDataSource.cs: Update the parameter collections after
7073 the page is loaded. This will fire the ParameterChanged event
7075 * DataBoundControl.cs: The OnDataSourceViewChanged method
7076 is called when the view changes, not when the datasource
7079 * DetailsViewInsertedEventArgs.cs:
7080 * DetailsViewInsertEventArgs.cs: Implement Values property.
7083 * AutoGeneratedField.cs
7086 Take into account the Insert mode.
7088 * ParameterCollection.cs: Implemented UpdateValues and fixed
7089 GetValues (values can't be cached because can change).
7090 * Parameter.cs: Detect value changes in GetValue, and fire
7091 the change event if needed. Removed unused ParameterValue
7092 property. Other fixes.
7094 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
7096 * DetailsView.cs: Initial implementation.
7097 * ObjectDataSourceView.cs: Notify changes in the parameters.
7098 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
7099 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
7100 Implemented some properties.
7101 * GridView.cs: Added null check in SelectedValue. Don't return null
7102 for empty DataKeyNames list.
7103 * DetailsViewRowCollection.cs: Implemented.
7104 * DetailsViewRow.cs: Implemented.
7105 * ButtonFieldBase.cs: By default button field don't have headers.
7106 * BoundField.cs: Don't bind header fields.
7108 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
7110 * ButtonField.cs: Get data item properties using TypeDescriptor.
7111 Made OnDataBindField private.
7112 * ObjectDataSourceView.cs: Implemented support for Delete and
7113 Insert operations, support for filtering and sorting,
7114 conflict detection, etc. It's now complete.
7115 * ObjectDataSource.cs: Completed most of functionality. Only
7116 caching support is missing.
7117 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
7118 * TreeNode.cs: Get data item properties using TypeDescriptor.
7119 * PagerSettings.cs: Flush.
7120 * ObjectDataSourceFilteringEventArgs.cs: New event args.
7121 * GridView.cs: Get data item properties using TypeDescriptor
7122 and cache them. Properly set descending order in the sort
7123 expression. In UpdateRow, make sure we get the old values
7124 before the control is bound again.
7125 * ImageField.cs: Implemented.
7126 * AutoGeneratedField.cs: Initialize the field's sort
7127 expression in the constructor.
7128 * MenuItem.cs: Get data item properties using TypeDescriptor.
7129 * BoundField.cs: Get data item properties using TypeDescriptor.
7130 * CheckBoxField.cs: Added missing attributes.
7131 * TemplateField.cs: Implemented.
7133 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7136 * FontUnitConverter.cs: fixed ConvertTo to work with target
7137 InstanceDescriptor and value as a string.
7139 * Unit.cs: culture might be null.
7143 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
7145 * ButtonField.cs: Mostly implemented.
7146 * DataControlFieldHeaderCell.cs: Implemented.
7147 * ObjectDataSourceView.cs: Initial implementation.
7148 * DataControlButton.cs: Added support for real buttons.
7149 * Label.cs, DataControlField.cs: Flush.
7150 * ObjectDataSource.cs: Initial implementation.
7151 * HiddenField.cs: Added class stub.
7152 * GridView.cs: Load autogenerated field properties before
7153 creating the children, to make sure that column info is ready.
7154 * ControlParameter.cs: Implemented Evaluate method.
7155 * ImageField.cs: Added class stub.
7156 * BoundField.cs: Added HtmlEncode property.
7157 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
7159 * CheckBoxField.cs: Mostly implemented.
7160 * TemplateField.cs: Added class stub.
7161 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
7162 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
7163 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
7165 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
7167 * DataControlField.cs: Added missing InsertVisible property.
7168 * AutoGeneratedFieldProperties.cs: Implemented.
7169 * PagerSettings.cs: Minor fix.
7170 * GridView.cs: Implemented support for autogenerated fields, templates,
7171 accessible headers. Implemented paging using PagedDataSource.
7172 Implemented missing overridable methods.
7173 * AutoGeneratedField.cs: Initial implementation.
7174 * BoundField.cs: Added ReadOnly property.
7175 * PagedDataSource.cs: Implemented 2.0 api.
7176 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
7177 cell class to be used by accessible headers.
7178 * TableCell.cs: Removed unneded constructor. If the cell is bound to
7179 a template, call the default RenderContents method.
7181 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7183 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
7184 event when loading the view state. Fixes #73746.
7186 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7188 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
7190 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
7192 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
7194 * CommandField.cs: Mostly implemented.
7195 * Menu.cs: Use callback methods moved to ClientScriptManager.
7196 * DataControlButton.cs: Internal control used to implement buttons
7197 for navigating in data bound controls.
7198 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
7199 to render the column headers.
7200 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
7201 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
7202 Don't use Page.GetPostBackClientEvent
7203 since it is deprecated in 2.0.
7204 * GridView.cs: Implemented some several interfaces.
7205 Implemented support client sorting and page navigation (using callbacks).
7206 Implemented the autogenerated command column using the new CommandField
7208 * ButtonFieldBase.cs: Implemented.
7209 * GridView.js: New helper script to support client side sorting and
7210 paging in the grid view.
7212 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
7214 * DataKey.cs: Implemented.
7215 * XmlDataSourceView.cs: Implemented support for row pagging.
7216 * Table.cs: Fixed attribute value.
7217 * DataControlField.cs: Added support for sorting headers.
7218 * ChildTable.cs: Created.
7219 * ListControl.cs: Delay selection assignment, since control state
7220 is now loaded before view state.
7221 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
7222 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
7223 several missing properties.
7224 * PagerSettings.cs: Fully implemented.
7225 * BaseDataList.cs: Added null check.
7226 * GridView.cs: Implemented more functionality.
7227 * BoundField.cs: Added support for cell editing.
7228 * StringArrayConverter.cs: Implemented.
7229 * DataKeyArray.cs: Implemented.
7230 * BaseDataBoundControl.cs: Reset the requires binding flag before
7231 executing the query. This avoids recursive query calls.
7232 * GridViewRow.cs: Handler commands raised from row childs.
7234 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
7236 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
7237 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
7238 it is possible to query for properties fore each data item.
7239 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
7240 when loading its view state.
7241 * DataControlField.cs: Implement properties using a StateBag.
7242 * XmlDataSourcePropertyDescriptor.cs: Implemented.
7243 * PagerSettings.cs: Mostly implemented.
7244 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
7245 * DataBoundControl.cs: Added null check.
7246 * GridView.cs: Initial implementation.
7247 * CompositeDataBoundControl.cs: Implemented.
7248 * BoundField.cs: Initial implementation.
7249 * GridViewRowCollection.cs: Initial implementation.
7250 * DataControlFieldCollection.cs: Initial implementation.
7251 * DataControlFieldCell.cs: Fixed control tag.
7252 * GridViewRow: Initial implementation.
7253 * XmlDataSourceNodeDescriptor.cs: Implemented.
7255 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7257 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
7258 is zero, use the TagName no matter its value. Fixes bug #72415.
7260 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
7262 * Style.cs: Method name fix.
7263 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
7264 * BaseCompareValidator.cs: Method signature fix.
7265 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
7266 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
7267 * BulletedList.cs: Added missing method.
7268 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
7270 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
7272 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
7273 * RadioButton.cs: Added missing 2.0 methods.
7274 * ListItem.cs: Added Enabled property.
7275 * MailMessageEventArgs.cs: Use the correct message class.
7276 * ListControl.cs: Implemented missing properties and support for
7277 control state. Implemented base RenderContents method.
7278 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
7280 * BaseCompareValidator.cs: Implemented methods that support conditional
7281 use of the invariant culture.
7282 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
7283 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
7284 It takes a DbCommand instead of a IDbCommand.
7285 * GridViewSortEventArgs.cs: Added SortDirection property.
7286 * TextBox.cs, CheckBoxList.cs: Added protected version of
7287 IPostBackDataHandler methods.
7288 * RadioButtonList.cs: Added protected version of
7289 IPostBackDataHandler and IRepeatInfoUser methods.
7290 * Repeater.cs: Updated some method names.
7291 * DropDownList.cs: Added protected version of
7292 IPostBackDataHandler methods. Reuse RenderContents from base class.
7293 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
7294 * GridViewUpdatedEventArgs.cs: Fix typo.
7295 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
7296 Reuse RenderContents from base class.
7297 * BaseDataBoundControl.cs: Several fixes.
7298 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
7300 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7302 * CheckBoxList.cs: Fix build.
7304 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7306 * Button.cs: Use validation group when validating page.
7307 * XmlDataSourceView.cs: Implemented ExecuteSelect.
7308 * Menu.cs: Minor fix.
7309 * CheckBox.cs: Added 2.0 properties and methods.
7310 * BaseDataList.cs: Always databind the control if view state
7312 * DataList.cs: In 2.0, use control state to save the selected index.
7313 * DetailsViewUpdatedEventArgs.cs: Fix typo.
7314 * CustomValidator.cs: Implement IStaticTextControl interface.
7315 * CheckBoxList.cs: Added missing 2.0 methods.
7316 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
7318 * XmlDataSource.cs: Return childs of DocumentElement, not the root
7320 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
7321 Implemented 2.0 API.
7324 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
7326 * Button.cs: Implemented all missing 2.0 features.
7327 * Table.cs: Render the table caption, when specified.
7328 * Calendar.cs: Implemented most of missing 2.0 features.
7329 * TableCell.cs: Fixed attributes.
7331 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7333 * ControlPropertyNameConverter.cs: Added file.
7335 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7337 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
7338 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
7339 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
7340 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
7341 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
7342 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
7343 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
7344 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
7345 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
7346 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
7347 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
7348 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
7349 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
7350 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
7351 DataGridSortCommandEventArgs.cs, Repeater.cs,
7352 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
7353 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
7354 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
7355 CompareValidator.cs, HierarchicalDataBoundControl.cs,
7356 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
7357 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
7358 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
7359 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
7360 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
7361 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
7362 AdCreatedEventArgs.cs:
7364 General 2.0 API fixes: missing attributes, incorrect inheritance,
7365 missing sealed keywords, wrong signatures, etc.
7367 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
7369 * Table.cs: Added some 2.0 properties.
7370 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
7372 * BaseValidator.cs: Fix warning.
7373 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
7375 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
7377 * Menu.cs: Rendering fixes.
7379 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
7381 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
7382 ContentPlaceHolderBuilder.cs: Implemented.
7384 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7386 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
7387 attributes that are meant to be in the input tag in their place.
7389 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
7391 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
7392 generates invalid html).
7394 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
7396 * Menu.cs: Implemented most of missing properties. Added support for
7397 item templates. Implemented menu scrolling.
7398 * MenuItemBinding.cs: Implemented most of missing properties.
7399 * MenuItem.cs: Implemented most of missing properties.
7400 * Menu.js: Implemented scrolling and menu reposition into screen.
7401 * MenuItemTemplateContainer.cs: Implemented.
7402 * SubMenuStyle.cs: Implemented.
7404 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
7406 * Style.cs: Implemented RegisteredCssClass property. Added
7407 CopyTextStylesFrom method, which copies styles that only apply to text.
7408 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
7409 in the page stylesheet. Added support for ItemSpacing property.
7410 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
7412 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
7414 * Style.cs: Generate styles using a CssStyleCollection, so the code can
7415 be reused for the 2.0 FillStyleAttributes method.
7416 * Menu.cs: Implemented more properties and events. Rendering is very
7418 * MenuItem.cs: Added PopOutImageUrl property.
7419 * Menu.js: More work on submenu management.
7421 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
7423 * Menu.cs: Implemented basic rendering. Added some missing properties.
7424 * MenuItem.cs: Improved implementation of Depth.
7425 * Unit.cs: Added serializable attribute.
7426 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
7427 so it can be reused.
7428 * Menu.js: New script to support he Menu control.
7430 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
7432 * MenuEventArgs.cs: Changed to sealed.
7433 * TreeView.cs: Minor fix.
7434 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
7435 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
7436 MenuItemStyleCollection.cs: Initial Menu code.
7438 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
7440 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
7441 Implemented SetDirtyObject.
7442 * Style.cs: Implemented SetDirty().
7443 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
7444 * TreeNode.cs: Added missing attributes added support for
7445 PopulateOnDemand. Added some missing property bindings.
7446 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
7447 to newly added elements to make sure al new data is saved.
7448 * TreeView.js: Implemented support for client population of nodes.
7449 * TreeNodeStyle.cs: Added missing attributes.
7450 * TreeView.cs: Implemented support for PopulateNodesFromClient and
7451 PopulateOnDemand. Improved rendering.
7453 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
7455 * DataControlField.cs:
7456 * DataControlFieldCell.cs: Initial implementation.
7458 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
7460 * TreeNodeBindingCollection.cs: Implemented.
7461 * TreeNodeBinding.cs: Implemented.
7462 * TreeNode.cs: Added support for data binding.
7463 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
7464 TreeView_Default_NoExpand.gif: Moved to resources directory.
7465 * ListControl.cs: Fixed api.
7466 * XmlHierarchicalEnumerable.cs: Made internal.
7467 * DataBoundControl.cs: Modified api to match latest ms.net.
7468 * TreeView.js: New javascript file to support TreeView in the client.
7469 * XmlDataSource.cs: Added missing attributes.
7470 * HierarchicalDataBoundControl.cs: Mostly implemented.
7471 * BaseDataBoundControl.cs: Mostly implemented.
7472 * XmlHierarchyData.cs: Made internal.
7473 * TreeView.cs: Mostly implemented. The major missing feature is
7474 client side tree population.
7476 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
7479 * DataBountControl.cs:
7480 * Repeater.cs: Added SelectArguments property and updated.
7481 * SiteMapDataSourceView.cs:
7482 * SqlDataSourceView.cs:
7483 * XmlDataSourceView.cs: Removed extra method, which was there to
7484 keep things compiling.
7486 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
7488 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
7489 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
7490 TreeView.cs: Initial implementation.
7491 * DataBoundControl.cs: Set the correct base class.
7492 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
7493 * TreeNodeSelectAction.cs: Formatting.
7494 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
7495 TreeView_Default_NoExpand.gif: TreeView images.
7497 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
7499 * SqlDataSourceView.cs: Updated methods and added one property.
7501 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7503 * AccessDataSource.cs:
7504 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
7505 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7507 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
7508 * SqlDataSourceView.cs: Updated constructor.
7510 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7512 * AccessDataSourceView.cs: Added new class.
7514 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7516 * SqlDataSourceView.cs: Corrected exception handling in
7517 ExecuteSelect method.
7519 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
7521 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
7522 * SiteMapDataSourceView.cs: Minor fix.
7524 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7526 * SqlDataSourceView.cs: Updated ExecuteSelect method.
7528 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7530 * SqlDataSource.cs: Corrected Select method.
7532 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7534 * SqlDataSource.cs: Updated Select method definition.
7535 * SqlDataSourceStatusEventArgs.cs: Updated class.
7537 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
7539 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
7540 from DataSourceView.cs).
7542 2004-11-10 Raja R Harinath <rharinath@novell.com>
7544 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
7546 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
7548 * SqlDataSource.cs: Corrected method calls.
7549 * SqlDataSourceView.cs: Partial implementation of few methods.
7551 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7553 * ListItemCollection.cs: fixed bug when indexing changed elements in
7554 LoadViewState. Patch from Alois Bělaška.
7556 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
7558 * SiteMapDataSourceView.cs:
7559 * SqlDataSourceView.cs:
7560 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
7561 base class, DataSourceView. Changes are to keep things compiling.
7563 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
7565 * SiteMapDataSourceView.cs: Corrected class definition and updated.
7566 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
7569 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
7571 * AdRotator.cs: Updated.
7573 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
7575 * AccessDataSource.cs: Updated.
7577 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7579 * ValidatedControlConverter.cs: Updated.
7581 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7583 * AssociatedControlConverter.cs: Implemented.
7585 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7587 * ControlIDConverter.cs: Initial implementation.
7589 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7591 * IButtonControl.cs: Corrected property name.
7593 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7595 * ParameterCollection.cs: Updated.
7597 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7599 * Parameter.cs: Updated and completed implementation.
7601 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7603 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
7606 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7608 * AccessDataSource.cs: Initial implementation.
7610 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
7612 * DataControlRowState.cs:
7614 * TreeNodeTypes.cs: Added attribute.
7615 * DataControlRowType.cs:
7617 * SortDirection.cs: Corrected enumeration values.
7618 * TableRowSection.cs: Added new enumeration.
7619 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
7621 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7623 * TableStyle.cs: don't render empty 'rules' attribute (again).
7625 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
7627 * FormViewUpdatedEventArgs.cs: Spelling mistake.
7629 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
7631 * Literal.cs: Added new method Focus().
7633 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7635 * RadioButton.cs: fix GroupName when the control is inside a
7636 NamingContainer different from Page. Closes bug #65586.
7638 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
7640 * Localize.cs: Added new class.
7642 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
7644 * CompositeControl.cs : Completed
7645 * Login.cs : Initial implementation.
7647 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7649 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
7650 don't call MapPathSecure on the content itself.
7652 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
7653 document is checked at parse time and will be checked again at run time.
7657 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
7659 * AuthenticateEventHandler.cs:
7660 * CreateUserErrorEventArgs.cs:
7661 * CreateUserErrorEventHandler.cs:
7662 * DetailsViewCommandEventHandler.cs:
7663 * DetailsViewDeleteEventArgs.cs:
7664 * DetailsViewDeleteEventHandler.cs:
7665 * DetailsViewDeletedEventArgs.cs:
7666 * DetailsViewDeletedEventHandler.cs:
7667 * DetailsViewInsertEventArgs.cs:
7668 * DetailsViewInsertEventHandler.cs:
7669 * DetailsViewInsertedEventArgs.cs:
7670 * DetailsViewInsertedEventHandler.cs:
7671 * DetailsViewModeEventArgs.cs:
7672 * DetailsViewModeEventHandler.cs:
7673 * DetailsViewPageEventHandler.cs:
7674 * DetailsViewUpdateEventArgs.cs:
7675 * DetailsViewUpdateEventHandler.cs:
7676 * DetailsViewUpdatedEventArgs.cs:
7677 * DetailsViewUpdatedEventHandler.cs:
7678 * FormViewCommandEventHandler.cs:
7679 * FormViewDeleteEventArgs.cs:
7680 * FormViewDeleteEventHandler.cs:
7681 * FormViewDeletedEventArgs.cs:
7682 * FormViewDeletedEventHandler.cs:
7683 * FormViewInsertEventArgs.cs:
7684 * FormViewInsertEventHandler.cs:
7685 * FormViewInsertedEventArgs.cs:
7686 * FormViewInsertedEventHandler.cs:
7687 * FormViewModeEventHandler.cs:
7688 * FormViewPageEventHandler.cs:
7689 * FormViewUpdateEventArgs.cs:
7690 * FormViewUpdateEventHandler.cs:
7691 * FormViewUpdatedEventArgs.cs:
7692 * FormViewUpdatedEventHandler.cs:
7693 * GridViewCancelEditEventArgs.cs:
7694 * GridViewCancelEditEventHandler.cs:
7695 * GridViewCommandEventHandler.cs:
7696 * GridViewDeleteEventArgs.cs:
7697 * GridViewDeleteEventHandler.cs:
7698 * GridViewDeletedEventArgs.cs:
7699 * GridViewDeletedEventHandler.cs:
7700 * GridViewEditEventHandler.cs:
7701 * GridViewPageEventHandler.cs:
7702 * GridViewRowEventHandler.cs:
7703 * GridViewSelectEventHandler.cs:
7704 * GridViewSortEventArgs.cs:
7705 * GridViewSortEventHandler.cs:
7706 * GridViewUpdateEventArgs.cs:
7707 * GridViewUpdateEventHandler.cs:
7708 * GridViewUpdatedEventArgs.cs:
7709 * GridViewUpdatedEventHandler.cs:
7710 * ImageMapEventHandler.cs:
7711 * MailMessageEventHandler.cs:
7712 * MenuEventHandler.cs:
7713 * ObjectDataSourceDisposingEventHandler.cs:
7714 * ObjectDataSourceEventHandler.cs:
7715 * ObjectDataSourceMethodEventArgs.cs:
7716 * ObjectDataSourceMethodEventHandler.cs:
7717 * ObjectDataSourceSelectingEventArgs.cs:
7718 * ObjectDataSourceSelectingEventHandler.cs:
7719 * ObjectDataSourceStatusEventArgs.cs:
7720 * ObjectDataSourceStatusEventHandler.cs:
7721 * SendMailErrorEventHandler.cs:
7722 * SiteMapNodeItemEventHandler.cs:
7723 * SqlDataSourceSelectingEventArgs.cs:
7724 * SqlDataSourceSelectingEventHandler.cs:
7725 * TreeNodeEventHandler.cs:
7726 * WizardNavigationEventArgs.cs:
7727 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
7728 corrections and removing "sealed" access specifier from *EventHandler.cs
7730 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
7732 * Literal.cs: Added new attributes and property for .Net 2.0
7734 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
7736 * GridViewDeleteEventArgs.cs: Removed extra code.
7738 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
7740 * SendMailErrorEventArgs.cs:
7741 * SendMailErrorEventHandler.cs:
7742 * SiteMapNodeItemEventArgs.cs:
7743 * SiteMapNodeItemEventHandler.cs:
7744 * SqlDataSourceSelectingEventArgs.cs:
7745 * SqlDataSourceSelectingEventHandler.cs:
7746 * TreeNodeEventArgs.cs:
7747 * TreeNodeEventHandler.cs:
7748 * WizardNavigationEventArgs.cs:
7749 * WizardNavigationEventHandler.cs: Added new delegates.
7751 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7753 * ImageMapEventArgs.cs:
7754 * ImageMapEventHandler.cs:
7755 * MailMessageEventArgs.cs:
7756 * MailMessageEventHandler.cs:
7758 * MenuEventHandler.cs:
7759 * ObjectDataSourceDisposingEventArgs.cs:
7760 * ObjectDataSourceDisposingEventHandler.cs:
7761 * ObjectDataSourceEventArgs.cs:
7762 * ObjectDataSourceEventHandler.cs:
7763 * ObjectDataSourceMethodEventArgs.cs:
7764 * ObjectDataSourceMethodEventHandler.cs:
7765 * ObjectDataSourceSelectingEventArgs.cs:
7766 * ObjectDataSourceSelectingEventHandler.cs:
7767 * ObjectDataSourceStatusEventArgs.cs:
7768 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
7770 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7772 * DetailsViewCommandEventArgs.cs:
7773 * FormViewCommandEventArgs.cs:
7774 * GridViewCommandEventArgs.cs: Corrected constructor.
7776 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7778 * GridViewCancelEditEventArgs.cs:
7779 * GridViewCancelEditEventHandler.cs:
7780 * GridViewCommandEventArgs.cs:
7781 * GridViewCommandEventHandler.cs:
7782 * GridViewDeletedEventArgs.cs:
7783 * GridViewDeletedEventHandler.cs:
7784 * GridViewDeleteEventArgs.cs:
7785 * GridViewDeleteEventHandler.cs:
7786 * GridViewEditEventArgs.cs:
7787 * GridViewEditEventHandler.cs:
7788 * GridViewPageEventArgs.cs:
7789 * GridViewPageEventHandler.cs:
7790 * GridViewRowEventArgs.cs:
7791 * GridViewRowEventHandler.cs:
7792 * GridViewSelectEventArgs.cs:
7793 * GridViewSelectEventHandler.cs:
7794 * GridViewSortEventArgs.cs:
7795 * GridViewSortEventHandler.cs:
7796 * GridViewUpdatedEventArgs.cs:
7797 * GridViewUpdatedEventHandler.cs:
7798 * GridViewUpdateEventArgs.cs:
7799 * GridViewUpdateEventHandler.cs: Added new delegates.
7801 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7803 * FormViewUpdatedEventArgs.cs: Corrected constructor.
7805 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7807 * FormViewCommandEventArgs.cs: Corrected name of class.
7809 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7811 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
7814 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7816 * FormViewCommandEventArgs.cs:
7817 * FormViewCommandEventHandler.cs:
7818 * FormViewDeletedEventArgs.cs:
7819 * FormViewDeletedEventHandler.cs:
7820 * FormViewDeleteEventArgs.cs:
7821 * FormViewDeleteEventHandler.cs:
7822 * FormViewInsertedEventArgs.cs:
7823 * FormViewInsertedEventHandler.cs:
7824 * FormViewInsertEventArgs.cs:
7825 * FormViewInsertEventHandler.cs:
7826 * FormViewModeEventArgs.cs:
7827 * FormViewModeEventHandler.cs:
7828 * FormViewPageEventArgs.cs:
7829 * FormViewPageEventHandler.cs:
7830 * FormViewUpdatedEventArgs.cs:
7831 * FormViewUpdatedEventHandler.cs:
7832 * FormViewUpdateEventArgs.cs:
7833 * FormViewUpdateEventHandler.cs: Added new delegates.
7835 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7837 * DetailsViewCommandEventArgs.cs:
7838 * DetailsViewCommandEventHandler.cs:
7839 * DetailsViewDeletedEventArgs.cs:
7840 * DetailsViewDeletedEventHandler.cs:
7841 * DetailsViewDeleteEventArgs.cs:
7842 * DetailsViewDeleteEventHandler.cs:
7843 * DetailsViewInsertedEventArgs.cs:
7844 * DetailsViewInsertedEventHandler.cs:
7845 * DetailsViewInsertEventArgs.cs:
7846 * DetailsViewInsertEventHandler.cs:
7847 * DetailsViewModeEventArgs.cs:
7848 * DetailsViewModeEventHandler.cs:
7849 * DetailsViewPageEventArgs.cs:
7850 * DetailsViewPageEventHandler.cs:
7851 * DetailsViewUpdatedEventArgs.cs:
7852 * DetailsViewUpdatedEventHandler.cs:
7853 * DetailsViewUpdateEventArgs.cs:
7854 * DetailsViewUpdateEventHandler.cs: Added new delegates.
7856 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
7858 * AuthenticateEventArgs.cs:
7859 * AuthenticateEventHandler.cs:
7860 * CreateUserErrorEventArgs.cs:
7861 * CreateUserErrorEventHandler.cs: Added new delegates.
7863 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
7865 * IButtonControl.cs:
7866 * ICallbackContainer.cs:
7867 * ICompositeControlDesignerAccessor.cs:
7868 * IPostBackContainer.cs: Added new interfaces.
7870 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
7873 * AutoCompleteType.cs:
7874 * ContentDirection.cs:
7875 * DataControlCellType.cs:
7876 * DataControlRowState.cs:
7877 * DataControlRowType.cs:
7878 * DetailsViewMode.cs:
7879 * DynamicImageParameterMode.cs:
7882 * ImageFieldMode.cs:
7889 * SiteMapNodeItemType.cs:
7890 * SiteMapNodeType.cs:
7891 * SiteMapViewType.cs:
7893 * TableCaptionAlign.cs:
7894 * TableHeaderScope.cs:
7896 * TreeNodeSelectAction.cs:
7898 * TreeViewImageSet.cs:
7899 * WizardStepType.cs: Added enumerations
7901 2004-08-02 Duncan Mak <duncan@ximian.com>
7904 * LoginFailureAction.cs:
7905 * LoginTextLayout.cs: Added enumerations.
7907 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7909 * BaseValidator.cs: in Validate(), when the control is not visible or
7910 enabled, return inmediately after setting IsValid to true. Fixes bug
7913 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7915 * DataList.cs: s/HasChildren/HasControls()/.
7917 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7919 * DataList.cs: style.
7921 2004-07-27 Alon Gazit <along@mainsoft.com>
7922 * DataList.cs: Replaced foreach statement with for statement,
7923 in order to improve performence.
7925 2004-07-27 Alon Gazit <along@mainsoft.com>
7926 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
7928 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
7929 switch statements in order to improve performance.
7931 2004-06-10 Alon Gazit <along@mainsoft.com>
7932 * WebControl.cs: fixed LoadViewState().
7933 Creates new attributes state bag only when the current is null.
7935 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7937 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
7939 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7941 * Calendar.cs: set the title class attribute if we have it. Fixes bug
7944 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7946 * Style.cs: added SetBit.
7948 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7951 * CompareValidator.cs:
7954 * WebControl.cs: Added protected missing members and attributes.
7956 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7958 * TextBox.cs: don't save the Text if in ViewState if it's a password.
7959 Save it if the control is not visible or not enabled. Fixes bug #58497.
7961 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7963 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
7966 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
7968 * SqlDataSourceCommandEventArgs:
7969 * XmlDataSource.cs : removed temporary workarounds for CLS
7970 compliance as System.Data is now CLS compliant
7972 2004-05-06 Alon Gazit <along@mainsoft.com>
7973 * WebControl.cs: fixed LoadViewState() and SaveViewState().
7974 Before the change the Enabled property wasn't updated when a postback
7976 * ListControl.cs: fixed SelectedIndex property implementation.
7977 Prevents throwing ArgumentOutOfRangeException (that should not be
7978 thrown), when the list is empty.
7980 2004-04-28 Alon Gazit <along@mainsoft.com>
7981 * WebControl.cs: fixed LoadViewState().
7982 Always loading the saved attributes collection.
7984 2004-04-18 Alon Gazit <along@mainsoft.com>
7985 * Repeater.cs: fixed InstantiateItem() and DataSource property.
7986 The change in DataSource prevents throwing ArgumentException while
7987 setting property value to null.
7988 The change in InstantiateItem() prevents NullReferenceException.
7990 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
7992 * BaseValidator.cs: Store Display property in the correct ViewState
7993 property. Don't render anything if Display is ValidatorDisplay.None.
7995 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
7997 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
7998 since it is already a physical path. Fixes bug #55334.
8000 2004-02-13 Jackson Harper <jackson@ximian.com>
8002 * Calendar.cs: Match MS postback data. This allows sites that
8003 parse the postback data manually to work.
8005 2004-02-04 Alon Gazit <along@mainsoft.com>
8006 * EditCommandColumn.cs: fixed InitializeCell().
8007 The rendered LiteralControl should contain " " and not " ".
8009 2004-02-01 Alon Gazit <along@mainsoft.com>
8011 * DataGrid.cs: fixed a problem in the paging mechanism in the method
8013 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
8014 while clicking the "..." link in the second page.
8016 2004-01-28 Alon Gazit <along@mainsoft.com>
8018 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
8020 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8022 * Calendar.cs: when rendering days, add a LiteralControl containing the
8023 day before OnDayRender is called. Only generate the default links for
8024 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
8026 2004-01-21 Martin Baulig <martin@ximian.com>
8028 * XmlHierarchyData.cs: Make this compile with csc.
8030 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
8031 accessor since the base class doesn't have one.
8033 2004-01-18 Alon Gazit <along@mainsoft.com>
8035 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
8037 2004-01-18 Alon Gazit <along@mainsoft.com>
8039 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
8040 Property default value.
8041 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
8042 Property default value.
8044 2004-01-15 Alon Gazit <along@mainsoft.com>
8046 * RadioButtonList.cs: RepeatLayout property should affect the rendered
8049 2004-01-15 Alon Gazit <along@mainsoft.com>
8050 * FontInfo.cs: Add validation check to Size property.
8052 2004-01-07 Alon Gazit <along@mainsoft.com>
8053 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8054 merge the column's style to the cell's style and not to
8055 the item's(row) style.
8057 2004-01-04 Alon Gazit <along@mainsoft.com>
8058 * RangeValidator.cs: Fixed ControlPropertiesValid().
8060 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8062 * Xml.cs: mono-stylized and removed warnings.
8064 2004-1-1 Alon Gazit <along@mainsoft.com>
8065 * RadioButtonList.cs: update RenderItem() so that each RadioButton
8066 is enabled or disabled like the RadioButtonList.
8067 * CheckBoxList.cs: update RenderItem() so that each CheckBox
8068 is enabled or disabled like the CheckBoxList.
8070 2004-1-1 Alon Gazit <along@mainsoft.com>
8071 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8072 The Header or Footer Style shouldn't merge with the cells Style.
8074 2004-1-1 Alon Gazit <along@mainsoft.com>
8075 * DataGridColumn.cs: Headers and Footers are initialized
8076 with the relevant Style object.
8078 2003-12-30 Alon Gazit <along@mainsoft.com>
8079 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8080 DoHorizontalRendering().
8081 Current implementation produces few extra html tags.
8083 2003-12-29 Alon Gazit <along@mainsoft.com>
8085 * CheckBox.cs: change the implementation of LoadPostData.
8086 Currently, while the AutoPostBack property equals true ,
8087 it isn't possible to perform uncheck.
8089 2003-12-19 Jackson Harper <jackson@ximian.com>
8091 * TableCell.cs: Setting a cells text should clear its control
8092 collection as per la specification. This fixes bug #51825.
8094 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8096 * DataGridColumn.cs: stylized LoadViewState.
8097 * DataGridColumnCollection.cs: when TrackViewState is called, also
8098 call it on all the existing columns. Fixes bug #52334.
8100 2003-12-18 Alon Gazit <along@mainsoft.com>
8102 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
8105 2003-12-18 Alon Gazit <along@mainsoft.com>
8107 * TableStyle.cs: merge TableStyle properties when Style is empty.
8109 2003-12-16 Alon Gazit <along@mainsoft.com>
8111 * HyperLink.cs: Change Text property implementation. in MS when the Text
8112 property is set, all the controls in the HyperLink are being deleted.
8113 This fixes bug #52239.
8115 2003-12-15 Alon Gazit <along@mainsoft.com>
8116 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8117 DoHorizontalRendering().
8118 Both methods add additional empty table row in the head of each item
8119 table when the variable named isTable equals true (happenes with the
8120 default instantiation of RepeatInfo). These additional rows should be
8121 added when isTable equals false.
8122 This fixes bug #52225.
8124 2003-12-15 Alon Gazit <along@mainsoft.com>
8126 * RepeatInfo.cs: Fixed DoVerticalRendering() and
8127 DoHorizontalRendering().
8128 Both methods add to rendered Header a colspan attribute according to the
8129 rows count. after the change the colspan is added according to the
8132 2003-12-15 Alon Gazit <along@mainsoft.com>
8133 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
8134 In .NET if the checkbox is disabled ,its text appears disabled too.
8135 In Mono the text appears enabled. the fix is in Render().
8136 This fixes bug #52180.
8138 2003-12-15 Alon Gazit <along@mainsoft.com>
8139 * Repeater.cs: Change the implementation of CreateControlHierarchy().
8140 The current implementation renders extra Header and footer
8141 without Repeater.DataSource assign.
8142 This fixes bug #52179.
8144 2003-12-15 Alon Gazit <along@mainsoft.com>
8145 * DataGrid.cs: Change the implementation of the property
8146 BackImageUrl. The current implementation has no influence
8147 on the rendered Html.
8149 2003-12-15 Alon Gazit <along@mainsoft.com>
8150 * WebControl.cs: Change the implementation of the property
8151 Enabled. Before the change the WebControl also looked at
8152 parent.Enabled . fixed bug #52171.
8154 2003-12-11 Jackson Harper <jackson@ximian.com>
8156 * RepeatInfo.cs: When rendering vertically figure out how many
8157 colmns are not going to be filled in in the last row, and adjust
8158 things accordingly. This fixes bug #51863.
8160 2003-12-10 Alon Gazit <along@mainsoft.com>
8161 * TableRow.cs: Change the implementation of the properties
8162 HorizontalAlign and VerticalAlign. The current implementation
8163 has no influence on the rendered Html.
8165 2003-12-10 Alon Gazit <along@mainsoft.com>
8166 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
8167 property's set method.
8169 2003-12-09 Jackson Harper <jackson@ximian.com>
8171 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
8172 Increment counter when moving to start. Fixes bug #51926.
8174 2003-12-08 Jackson Harper <jackson@ximian.com>
8176 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
8177 Benjamin Jemlich. Fixes bug #51823.
8179 2003-12-07 Alon Gazit <along@mainsoft.com>
8180 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
8181 property is set to false. Fixes bug #58120.
8183 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8185 * TableItemStyle.cs: merge TableItemStyle properties when Style is
8186 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
8188 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8190 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
8193 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8195 * WebControl.cs: don't create the attributes when GetAttribute is
8198 2003-12-01 Jackson Harper <jackson@ximian.com>
8200 * WebControl.cs: Only allow access keys to be null or a single
8201 char. Patch by Alon Gazit <along@mainsoft.com>.
8203 2003-11-30 Jackson Harper <jackson@ximian.com>
8205 * CheckBoxList.cs: A checkbox will have null post data if it is
8206 unselected. This fixes bug #51516.
8208 2003-11-29 Jackson Harper <jackson@ximian.com>
8210 * DataGrid.cs: Display paging controls even when there is no
8211 data. Path by Mohammad DAMT. Fixes bug #51487.
8213 2003-11-29 Jackson Harper <jackson@ximian.com>
8215 * DataGrid.cs: Call TrackViewState when loading bound columns view
8216 state. So that their state is saved. This fixes bug #51424. Also
8219 2003-11-26 Jackson Harper <jackson@ximian.com>
8221 * BaseDataList.cs: Change && to || We will call that a typo so no
8222 one gets embarrased.
8224 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8226 * BaseDataList.cs: allow setting null as Datasource.
8228 * DataGrid.cs: keep autogenerated columns in the ViewState.
8230 Patches by Alon Gazit <along@mainsoft.com>.
8232 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8234 * SqlDataSource*: Implement almost everything. Data access is
8237 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8239 * Calendar.cs (SaveViewState):
8240 - We were allocating a 11 item array, we only used 10 items,
8241 so only allocate 10.
8242 - We only need to save the selected dates if there are any.
8243 * DataGrid.cs (SaveViewState):
8244 * DataGridColumn.cs (SaveViewState):
8245 * DataGridColumnCollection.cs (SaveViewState):
8246 - Only return the array if there is anything in it
8247 * Style.cs (SaveViewState):
8248 - Only save the bits if there were changes.
8249 * WebControl.cs (SaveViewState), (LoadViewState):
8250 - Don't save Enabled into the viewstate here, we already
8251 do it in the property. This just caused *EVERY* control
8252 to have a non-null state, taking up lots of extra room
8254 - The style will always be created with this control's
8255 viewstate, so the style will always return null for the
8256 viewstate. As such, we do not need to store it. We can
8257 also reduce the triplet to a pair because of this.
8259 2003-11-22 Jackson Harper <jackson@ximian.com>
8261 * ValidationSummary.cs: Fix number of messages and message array computation.
8263 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8265 * Xml.cs: Corrected attribute
8266 * XmlBuilder.cs: Added
8268 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8270 * Xml.cs: class status based fixes.
8272 2003-11-19 Jackson Harper <jackson@ximian.com>
8274 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
8276 2003-11-19 Jackson Harper <jackson@ximian.com>
8278 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
8279 teh applications base directory. This fixes bug #51092.
8281 2003-11-18 Todd Berman <tberman@gentoo.org>
8283 * ControlParameter.cs:
8284 * CookieParameter.cs:
8286 * QueryStringParameter.cs:
8287 * SessionParameter.cs: added public .ctor ()
8288 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
8289 and handling, as well as internal ParameterValue for easy access.
8290 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
8291 * ParameterCollection.cs: implementation redux.
8293 2003-11-18 Todd Berman <tberman@gentoo.org>
8295 * ParameterCollection.cs: Implemented
8296 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
8297 ToString () now matches asp.net
8299 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
8301 * ControlParameter.cs:
8302 * CookieParameter.cs:
8305 * QueryStringParameter.cs: New v2 files. Mostly
8306 implemented, still need a few methods.
8308 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8310 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
8311 Gazit <along@mainsoft.com>.
8313 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8315 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
8316 Patch by Alon Gazit <along@mainsoft.com>.
8318 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8320 * DataBoundControl.cs: Implement
8321 * ListControl.cs: inherit from the above.
8322 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
8324 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8329 * Repeater.cs: add v2 databinding stuff
8330 * XmlDataSource.cs: make it load the xml.
8332 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8335 * XmlDataSourceView.cs:
8336 * XmlHierarchicalDataSourceView.cs:
8337 * XmlHierarchicalEnumerable.cs:
8338 * XmlHierarchyData.cs: Implement
8340 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
8342 * SiteMapDataSourceView.cs: Implement.
8344 2003-11-07 Jackson Harper <jackson@ximian.com>
8346 * ImageButton.cs: This is a workaround for bug #49819. It appears
8347 that the .x and .y values are not being posted, and only the x
8348 value is being posted with the ctrl's id as the key.
8350 2003-11-07 Jackson Harper <jackson@ximian.com>
8352 * DataGrid.cs (CreateControlHierarchy): Current page index is
8353 alolowed to equal page count. This prevents an exception being
8354 thrown when both are zero.
8356 2003-11-06 Jackson Harper <jackson@ximian.com>
8358 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
8359 * BaseValidator.cs: Disable base control so the isValid flag is
8362 2003-11-03 Jackson Harper <jackson@ximian.com>
8364 * TemplateColumn.cs: Use the same renderer for selected items as
8365 normal items. This fixes bug #49744.
8367 2003-11-03 Jackson Harper <jackson@ximian.com>
8370 * WebControl.cs: Fix argument out of range exceptions on
8371 properties. Patch by Yaron Shkop.
8373 2003-11-03 Jackson Harper <jackson@ximian.com>
8375 * TemplateColumn.cs: If the item is selected but there is no
8376 editItemTemplate use the itemTemplate. This matches MS behvoir.
8378 2003-11-03 Jackson Harper <jackson@ximian.com>
8380 * Repeater.cs: Always set alternating items to the AlternatingItem
8381 type, when instantiating alternating items use the itemTemplate if
8382 the alternatingItem template is null. This matches MS behavoir and
8385 2003-11-03 Jackson Harper <jackson@ximian.com>
8387 * DataGridPagerStyle.cs: Name of view state attribute is
8388 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
8389 visibility is changed. Patch by Yaron Shkop.
8391 2003-11-03 Jackson Harper <jackson@ximian.com>
8393 * RepeatInfo.cs: When doing horizontal rendering use the repeat
8394 columns as the number of columns in a row. This fixes bug #49016.
8396 2003-11-03 Jackson Harper <jackson@ximian.com>
8398 * PagedDataSource.cs (PageCount): Return page count of 1 if there
8399 paging is disabled. Patch by Yaron Shkop.
8400 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
8401 * TableStyle.cs (AddAttributesToRender): Render border style
8402 collapse. Patch by Yaron Shkop.
8404 * TableItemStyle.cs:
8405 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
8406 the wrong type. Patch by Yaron Shkop.
8408 2003-11-03 Jackson Harper <jackson@ximian.com>
8410 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
8412 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
8415 * BulletedListDisplayMode.cs:
8416 * BulletedListEventHandler.cs:
8418 * BulletedListEventArgs.cs: V2 controls (yay!)
8420 2003-10-30 Jackson Harper <jackson@ximian.com>
8422 * Repeater.cs: Throw an exception if the datasource is set to
8423 something that does not implement either IListSource or
8424 IEnumerable. This fixes bug #50155.
8426 2003-10-30 Jackson Harper <jackson@ximian.com>
8428 * DataGridPagerStyle.cs: Do not allow page button counts to be set
8429 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
8431 2003-10-29 Jackson Harper <jackson@ximian.com>
8433 * ButtonColumn.cs: Format string and text to format were
8434 inversed. This fixes bug #50171.
8436 2003-10-29 Jackson Harper <jackson@ximian.com>
8438 * DataGridColumn.cs: If an item style is set apply it to the
8439 cell. This fixes bug #50173.
8441 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
8443 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
8444 old debugging value.
8446 2003-10-29 Jackson Harper <jackson@ximian.com>
8448 * PagedDataSource.cs:
8449 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
8450 end of the last page. Fixes bug #5085.
8452 2003-10-29 Jackson Harper <jackson@ximian.com>
8454 * CheckBox.cs: Do not change the status of a checkbox when there
8455 is no post data. This fixes bug #49091.
8456 * CheckBoxList.cs: Do not change the status of the checkboxes when
8457 there is no post data. This fixes bug #49093.
8459 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
8461 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
8462 RadioButton. Fixes #50132
8464 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8466 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
8467 paging from working. Fixes #48814.
8469 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8471 * DataGrid.cs: A few typos kept us from viewing datagrids
8472 that were based on customized collections.
8474 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
8476 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
8478 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
8480 * Calendar.cs: render the next month button so that aligns to the
8483 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8485 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
8486 was just changing && by || after the first Match.
8488 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8490 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
8491 Patch by Yaron Shkop.
8493 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8495 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
8496 that fixes bug #49744. Now the selection doesn't lose its data.
8498 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8500 * EditCommandColumn.cs: Implement; fix #49736
8502 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8504 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
8505 the forground color. bug #49738
8507 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8509 * Calendar.cs: fixed bug #49727.
8511 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
8513 * TableStyle.cs: fix #49740.
8515 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8517 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
8518 * ValidationSummary.cs: fixes bug #49669.
8520 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8522 * Calendar.cs: apply the calendar style to the new Table, not to itself.
8525 * CheckBox.cs: render the hidden fields if AutoPostBack.
8527 * Style.cs: don't render empty width/height. Small improvement in
8530 * Table.cs: fixed condition for border width.
8533 (CopyFrom): always call the base class to copy other attributes. Fixes
8534 bug #49408. Don't render empty 'rules' attribute.
8536 * WebControl.cs: track viewstate when enabled. Don't overwrite source
8537 control attributes in CopyBaseAttributes.
8539 * ChangeLog: fixed dates.
8542 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8544 * WebControl.cs : Attributes { get; } - Is Complete.
8545 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
8548 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8550 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
8551 : RegisterValidatorCommonScript()
8552 - More code, I need HELP!
8553 : RegisterValidatorDeclaration()
8554 - More code, I need HELP!
8556 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8558 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
8561 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8563 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
8564 ClearViewState only called when no items.
8566 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8568 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
8570 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8572 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
8574 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8576 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
8579 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8581 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
8584 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8586 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
8587 * WebControl.cs: fixed Enabled property and save it in ViewState.
8591 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8593 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
8595 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8597 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
8600 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8602 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
8603 <rich@velvetsea.net>.
8605 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8607 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
8608 Skripsky <juraj@hotfeet.ch>
8610 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8612 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
8613 fixes rendering of the end tag.
8615 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8617 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
8618 (Yaron Shkop). Closes bug #48060.
8620 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8622 * CheckBox.cs: in LoadPostData, only return
8623 true when the new data is different from the one we had. Fixed
8624 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
8627 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8629 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
8631 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8633 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
8634 of Enable in ViewState. Fixes bug #47865.
8636 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8638 * Style.cs: the MARKED bit is not send set in ViewState unless something
8639 is changed. Fixed TrackViewState condition.
8641 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
8642 because it uses the same ViewState as the control. Fixes bug #47725.
8644 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8646 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
8647 that fixes databinding when only DataTextField or DataNavigateUrlField
8650 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8652 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
8653 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
8654 values before assigning a data source and other issues.
8656 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8658 * CheckBox.cs: save viewstate when needed and correctly handle post
8659 data. Fixes bug #47462.
8661 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8663 * ButtonColumn.cs: Removed additional attributes
8664 * CheckBox.cs: Added attribute
8665 * DataGrid.cs: Added attributes
8666 * HyperLinkColumn.cs: Changed attributes, added lamespec
8667 * Style.cs: Removed attributes
8668 * TextBox.cs: Added/ removed attributes
8670 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8672 * AdRotator.cs: Added all attributes
8673 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
8674 * BaseValidator.cs: Added all attributes
8675 * BoundColumn.cs: Added all attributes
8676 * Button.cs: Added all attributes
8677 * ButtonColumn.cs: Added all attributes, added lamespec
8678 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
8679 * CheckBox.cs: Added all attributes
8680 * CheckBoxList.cs: Added all attributes
8681 * CompareValidator.cs: Added all attributes
8682 * CustomValidator.cs: Added all attributes
8683 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
8684 * DataGridColumn.cs: Added all attributes
8685 * DataGridColumnCollection.cs: Added all attributes
8686 * DataGridPagerStyle.cs: Added all attributes
8687 * DataGridTableInternal.cs: Made DataGridTableInternal internal
8688 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
8689 * DropDownList.cs: Added all attributes
8690 * FontInfo.cs: Added all attributes
8691 * HyperLink.cs: Added all attributes
8692 * HyperLinkColumn.cs: Added all attributes
8693 * Image.cs: Added all attributes
8694 * ImageButton.cs: Added all attributes
8695 * Label.cs: Added all attributes
8696 * LinkButton.cs: Added all attributes
8697 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
8698 * ListControl.cs: Added all attributes
8699 * ListItem.cs: Added all attributes
8700 * ListItemCollection.cs: Added attribute
8701 * Literal.cs: Added all attributes
8702 * Panel.cs: Added all attributes
8703 * RadioButton.cs: Added all attributes
8704 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
8705 * RangeValidator.cs: Added all attributes
8706 * RegularExpressionValidator.cs: Added all attributes
8707 * Repeater.cs: Added all attributes
8709 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8711 * RequiredFieldValidator.cs: Added all attributes
8712 * Style.cs: Added all attributes
8713 * Table.cs: Added all attributes
8714 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
8715 * TableCellCollection.cs: Added attribute
8716 * TableRow.cs: Added all attributes
8717 * TableRowCollection: Added attribute
8718 * TableStyle.cs: Added all attributes, improved error messages
8719 * TemplateColumn.cs: Added all attributes
8720 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
8721 * ValidationSummary.cs: Added all attributes
8722 * WebControl.cs: Added all attributes
8723 * Xml.cs: Added all attributes
8725 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8727 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
8728 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
8730 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8732 * CheckBoxList.cs: fixes bug reported on the list about the state of
8733 the CheckButtons not being preserved across posts.
8735 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8737 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
8739 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8741 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
8743 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8745 * ListControl.cs: save viewstate data when any of the 3 values is not
8746 null. Fixed condition to save selection indices. Closes bug #45493.
8748 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8750 * DataGrid.cs: fixed bug #43823.
8752 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8754 * DataGrid.cs: fixed delegate type for SortCommand.
8756 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8758 * DataGridColumnCollection.cs: added missing return in RemoveAt.
8760 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8762 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
8763 Don't save ViewState is the number of columns is 0.
8765 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8767 * DataGrid.cs: get the right item Type for the property we're reading
8768 fromt the data source.
8770 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8773 * TextBox.cs: added control builder attribute.
8775 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8777 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
8779 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
8781 * Unit.cs: Called the correct method to get the Numeric locale for the
8784 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8786 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
8787 correctly the header of the column.
8789 * DataGridTableInternal.cs: don't assign a default ID to this control.
8791 * LinkButton.cs: raise bubble event in OnCommand.
8793 * TableCellCollection.cs: fixed the index returned by Add.
8795 * TableRowCollection.cs: ditto.
8797 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8799 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
8801 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8803 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
8804 for reporting the bug and providing the fix.
8806 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8808 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
8809 CreateColumnSet. Set the owner of the column when auto generated.
8810 In PrepareControlHierarchyForItem, fixed for loop bound.
8812 * LinkButtonInternal.cs: fixed infinite recursion bug.
8816 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
8818 * Xml.cs: a few fixes.
8820 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8822 * DataList.cs: handle the exception when adding new keys to
8825 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8827 * BaseDataList.cs: what can I say for this one? I spent so many time
8828 until I finally found this that I'm gonna miss this f....g bug... ;-).
8829 Farewell. Now we can get events from image buttons inside Data*.
8831 * DataList.cs: now the value stored in ViewState for item count is
8834 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8836 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
8838 * DataGridColumn.cs: added SetOwner method.
8839 * DataGridColumnCollection.cs: set the owner of the column when added.
8841 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8843 * BoundColumn.cs: typo.
8844 * DataGrid.cs: use 'as' instead of casting. Typo.
8845 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
8848 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8850 * HyperLink.cs: fixes bug #36336.
8852 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8854 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
8856 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8858 * BaseValidator.cs: return an empty string in GetControlValidationValue
8859 when GetValue returned null.
8861 * CompareValidator.cs: fixed EvaluateIsValid.
8863 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
8865 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8867 * Xml.cs: use MapPathSecure to get the path of the document.
8869 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8871 * DataList.cs: fixed header & footer.
8873 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8875 * DataList.cs: for header and footer don't use data source.
8876 Instantiate in the DataListItem, not in the DataList.
8877 databind-template.aspx works now.
8879 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8882 (Render): call RenderContents (), not base.RenderContents ().
8884 * DataList.cs: style.
8886 But I still haven't found what i'm looking for....
8888 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8890 * Calendar.cs: fixed loading/saving selected dates.
8891 * SelectedDatesCollection.cs: added internal function to get the
8892 underlying ArrayList.
8894 Calendar navigation works again. Selecting dates too.
8896 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8898 * DataList.cs: added a few attributes and fixed infinite recursion.
8900 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8902 * ListItemCollection.cs: fixed LoadViewState.
8904 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8906 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
8907 Commented out some code until it works.
8909 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
8911 * BaseCompareValidator.cs - Fixed operator bug in
8912 Compare(string, string, ...)
8913 * CompareValidator.cs - EvaluateIsValid() : Implemented.
8915 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8917 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
8919 - All Properties : Now make use of ViewState.
8921 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8923 * BaseValidator.cs - Uncomment NotImplementedException.
8925 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8927 * BaseValidator.cs - Minor changes in TODO comments.
8929 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8931 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
8932 the NotImplementedException being thrown.
8933 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
8934 * DataGridLinkButton.cs - Added new class (private) : Implemented.
8935 * DataGrid.cs - InitializePager(DataGridItem, int,
8936 PagedDataSource) : Implemented.
8938 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8940 * DataList.cs - PrepareControlHierarchy() : Implemented.
8942 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8944 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
8945 - GetItem(ListItemType, int) : Removed TODO.
8946 - CreateControlHierarchy(bool) : Implemented.
8947 - CreateItem(int, ListItemType) : Implemented.
8948 - CreateItem(int, ListItemType,
8949 bool, object) : Implemented.
8950 - InitializeItem(DataItem) : Implemented.
8951 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
8952 The ViewState["_!ItemCount"],
8953 ViewState["_!DataSource_ItemCount"]
8954 are shared by DataList and DataGrid, and hence
8955 should share the same name.
8956 - ResolveDataSource(object, string)
8957 : Removed. Use System.Web.UI.Utils.DataSourceHelper
8958 ::GetResolvedDataSource(object, string).
8961 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8963 * DataGrid.cs: fixed compilation
8965 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
8967 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
8968 * DataGrid.cs - CreateControlHierarchy(bool)
8969 : working towards completion.
8970 - ResolveDataSource(object, string)
8971 : stubbed new method
8973 : stubbed new method
8974 Well. It's almost done.
8975 * DataGridTableInternal.cs
8976 - Added new internal class.
8978 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
8980 * DataSourceInternal.cs - Added new class (internal).
8982 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8985 * HorizontalAlign.cs:
8987 * VerticalAlign.cs: fixes based on class status page.
8989 * HorizontalAlignConverter.cs: implemented.
8990 * VerticalAlignConverter.cs: implemented.
8992 * FontUnitConverter.cs: implemented GetStandardValues ().
8994 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
8996 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
8998 * DataGrid.cs - AutoCreateColumns: Bug fixes.
9000 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9002 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
9004 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9006 * DataGrid.cs - Working on the undocumented protected
9007 method CreateColumnSet. AutoCreateColumns method
9008 stubbed. Left CreateControlHierarchy for the time
9009 being, looks like I'm going insane. ;-)
9011 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9013 * Button.cs - Steffen's OnCommand bug fix.
9015 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
9017 * DataGrid.cs - Added protected method (skeleton)
9018 CreateColumnSet(PagedDataSource, bool)
9019 Still trying to know how will it be used
9022 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9024 * PagedDataSource.cs: fixed compilation.
9026 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
9028 * DataGrid.cs - Added private method
9029 CreatePagedDataSource
9031 CreateControlHierarchy(bool)
9032 * PagedDataSource.cs - Bug fixed.
9033 CurrentPageIndex is writable.
9035 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9037 * DataGrid.cs: fixed typo.
9038 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
9040 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9042 * DataGridColumn.cs - Added internal methods to get the
9043 various styles (needed in DataGrid.cs)
9044 * DataGrid.cs - Completed the method
9045 PrepareControlHierarchy()
9047 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9049 * DataGrid.cs - Wokring on PrepareControlHierarchy()
9050 - Added private method
9051 PrepareControlHierarchyForItem()
9053 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
9055 * DataGrid.cs - Completed method
9056 OnBubbleEvent(object, EventArgs)
9058 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9060 * Xml.cs: implemented document/transform load.
9062 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9064 * Calendar.cs: added myself to the list of authors.
9065 * DropDownList.cs: fixed a few properties.
9066 * ListControl.cs: fixed SelectedIndex.
9068 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9070 * Calendar.cs: lots of fixes. Render days. Still left to persist
9071 selected days when changing month.
9073 * Unit.cs: fixed Percentage and Pixel.
9075 * WebControl.cs: a few properties are now using ControlStyle instead
9076 of ViewState to persist.
9078 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9080 * BaseValidator.cs: it works now.
9081 * DataGridColumn.cs: added attribute and made it abstract.
9082 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
9084 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9086 * TextBox.cs: default for Wrap is true.
9087 (OnPreRender): don't save Text if there are no listeners on TextChanged.
9089 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9095 (LoadViewState): fixed.
9097 * ListItemCollection.cs:
9098 (TrackViewState): use items instead of 'this' in foreach.
9101 (LoadViewState): more checking of parameters.
9103 * WebControl.cs: implemented LoadViewState and SaveViewState.
9106 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9108 * ListItem.cs: there was no code to unset the flags!!!
9110 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9112 * FontUnit.cs: use a hashtable for mapping size name to value.
9113 * HyperLink.cs: fixed a bug and a typo.
9114 * Unit.cs: some fixes to internal constructor.
9116 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9118 * ListControl.cs: fixed a couple of range checks.
9119 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
9120 an HtmlForm (p.e., Label).
9122 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9132 * HyperLinkColumn.cs:
9141 * RadioButtonList.cs:
9145 * WebControl.cs: removed attributes added by mistake (i used
9146 GetCustomAttributes (true), d'oh!).
9148 * DataListItem.cs: implemented RenderItem.
9150 * Repeater.cs: implemented CreateItem and InitializeItem.
9152 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9154 * BaseDataList.cs: a couple of fiex and added attributes.
9155 * DataGrid.cs: little fixes.
9157 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9166 * RadioButtonList.cs:
9169 * Xml.cs: forgot to add using System.ComponentModel.
9171 * BaseValidator.cs: use explicitly
9172 System.ComponentModel.AttributeCollection as there is another class
9173 with the same name under System.Web.UI.
9175 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9194 * RadioButtonList.cs:
9199 * Xml.cs: added/fixed all attributes used by xsp.
9201 * BaseValidator.cs: some fixes.
9203 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9206 (AddAttributesToRender): correctly default to border=1.
9208 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9211 (LoadAdFile): make the dictionary null after every iteration.
9215 * ListItem.cs: fixed warnings.
9217 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
9219 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
9221 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9223 * DataGridColumn.cs:
9224 * DataGridPagerStyle.cs:
9231 * ListItemCollection.cs:
9233 * ServerValidateEventArgs.cs:
9237 * Xml.cs: more class status page based changes.
9239 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9242 (.ctor): fixed to render the correct tag.
9243 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
9245 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9248 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
9249 WebControl derived classes should be rendered inside a HtmlForm.
9251 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9253 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
9256 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9258 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9259 * RepeatInfo.cs: implemented DoHorizontalRendering.
9261 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9263 * System.Web.UI.WebControls/Repeater.cs:
9265 (OnDataBinding): fixed stack overflow.
9267 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9269 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9270 * RepeatInfo.cs: implemented DoHorizontalRendering.
9272 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9275 (CopyBaseAttributes): copy Attributes and don't throw exception.
9277 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9279 * ListBox.cs: mono-stylized.
9280 (AddAttributesToRender): call parent class method.
9282 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9284 * Style.cs: fixed IsEmpty and Width.
9286 * Table.cs: mono-stylized.
9287 (TableRowControlCollection.AddAt): fixed.
9288 (AddAttributesToRender): fixed.
9290 * TableCell.cs: mono-stylized.
9291 (.ctor): use PreventAutoID.
9292 (AddAttributesToRender): fixed.
9293 (AddParsedSubObject): fixed.
9295 * TableRow.cs: mono-stylized. Added
9296 ParseChildren attribute.
9299 (get_GridLine): fixed.
9301 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9303 * Panel.cs: fixed stack overflow.
9304 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
9305 and SingleConverter.
9307 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9309 * RadioButton.cs: mono-stylized and some little fixes.
9311 * TextBox.cs: mono-stylized.
9312 (MaxLength): fixed typo.
9314 (AddAttributesToRender): don't render the text between the tags for
9315 SingleLine, use value attribute for it. Don't render the text for
9318 (OnPreRender): don't throw exception and call base.OnPreRender.
9320 (Render): for MultiLine, render the text between the opening and
9321 closing tags encoded as HTML.
9323 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9326 (AddAttributesToRender): fixer another stack overflow.
9329 (TagName): modified to use TagKey instead of tagKey as the property
9332 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9334 * LinkButton.cs: mono-stylized.
9335 (AddParsedSubObject):
9336 (RenderControls): little fixes.
9339 (AddAttributesToRender): fixed usage of IEnumerator.
9341 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9343 * Literal.cs: beautified.
9345 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9347 * Label.cs: beautified and fixed a couple of 'classic' bugs.
9349 * WebControl.cs: use Span as default tag when no other provided in
9350 constructor. That is what MS renders.
9352 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9355 (AddAttributesToRender): fixed (classic) stack overflow.
9357 * CheckBox.cs: mono-stylized.
9358 (AutoPostBack): fixed stack overflow.
9359 (Render): fixed alignment issues. Also set the For attribute always
9362 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9364 * AdRotator.cs: GetData does not work as it should, but now it returns
9365 useful data (only the first ad in the file). Set the NavigateUrl
9366 property in the hyperlink if available.
9368 * HyperLink.cs: fixed constructor and a couple of stack overflows.
9370 * Image.cs: added an attribute and fixed stack overflow.
9373 (RenderBeginTag): fixed.
9374 (TagName): don't call Enum.IsDefined twice.
9376 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9378 * WebControl.cs: added attributes PersistChildrenAttribute and
9379 ParseChildrenAttribute.
9381 2002-05-24 Duncan Mak <duncan@ximian.com>
9383 * DataGridItem.cs (SetItemType): Changed function signature to
9386 * ListItemCollection.cs (this): Changes the visibility level of
9389 * Repeater.cs (OnItemCommand):
9391 (OnItemDataBound): Added necessary casts.
9393 2002-05-07 Duncan Mak <duncan@ximian.com>
9395 * Button.cs (AddAttributesToRender):
9396 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
9397 GetClientValidatedEvent method.
9399 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
9401 * Removed extra methods, corrected access modifiers to several
9404 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
9406 * <SeveralFiles>.cs - Added some attributes
9407 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
9408 methods. Will complete them later. Right now, busy with
9409 the attributes part.
9410 * RepeaterItem.cs - Completed.
9412 Oh God! Mercy! I will die applying attributes. I look at the missing
9413 part in the class-status - daemon! Kyrie eleison!
9415 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
9419 * AdRotator.cs - Added definition for Font.
9420 * BaseCompareValidator.cs - Added definition for Controls.
9421 * Calendar.cs - SelectMonthText definition corrected.
9422 * DataList.cs - Added definition for SeparatorTemplate.
9423 * BorderStyle.cs - Namespace correction. It belongs not to UI,
9424 but to UI.WebControls.
9426 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
9428 Finally, I have made it. Today I did a second build for the
9429 System.Web assembly. It compiled 195 classes today.
9430 I am waiting eagerly for the runtime to come up so that the objects
9431 may be tested to their last levels. Several of the methods are still
9432 under the tag of "TODO" throwing NotImplementedException. Well, I
9433 hope to remove them soon, but how far is this soon - even I don't
9434 know, though I am happy to make the build a success even before
9435 the vacations to come.
9437 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
9439 Yesterday and today I tried to do some building of the aseembly,
9440 but was dumped with uncoutably infinite errors. ;-)
9441 I have put the copies of the recent errors on my home page, want
9442 to have a look at them? See:
9443 http://mastergaurav.virtualave.net/mono/
9444 I don't know what to do with these errors. Oh! The buggy me! How
9445 will I overcome myself. Hopefully, by when my vacations over, I
9446 should have made a repository where the build will not fail.
9448 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
9450 I am now going to do a build that will include the
9451 System.Web.UI.WebControls namespace. Hoping that I will make it
9452 soon. My exams are coming near and I have to pack up soon.
9455 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
9458 And with this, ie, today's work, all the objects mentioned in the
9459 namespace appear in the implementation. But it may not be worth
9460 trying to go for a build because of dependence of several of the
9461 internal methods that may clash with already available assembly
9464 Also, the classes lack possible attributes, like those informing
9465 about child-controls etc. But I have to first create the attribute
9466 classes before I attach the attributes to the classes.
9468 * CustomValidator.cs - Completed. In process realized that
9469 I have to complete / rejuvinate BaseValidator class.
9470 * BaseValidator.cs - Complete rejuvination. Completed 80%
9471 of the job. All that is left is Render(HtmlTextWriter),
9472 DetermineRenderUplevel(), RegisterValidatorCommonScript()
9473 RegisterValidatorDeclaration()
9474 * DataGridPagerStyle.cs - Completed. That adds one more missle
9476 * DataKeyCollection.cs - Completed. Petty small.
9477 * Repeater.cs - Work started off. This is a quite
9479 * DataGridItemEventArgs.cs,
9480 * DataGridShortCommandEventArgs.cs,
9481 * DataListItemEventArgs.cs,
9482 * MonthChangedEventArgs.cs,
9483 * RepeaterItemEventArgs.cs,
9484 * ServerValidateEventArgs.cs,
9485 * DataGridPageChangedEventArgs.cs
9486 - Damn, I marked them "*", while they
9488 * Repeater.cs - Done all except for an undocumented
9489 method CreateControlHierarchy(bool). Though the method
9490 is quite clear by its name, but it will take some time
9491 for me to come with some material to flush in.
9493 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
9495 * SelectedDatesCollection.cs - Completed.
9496 * PagedDataSource.cs - Completed. Pathetically nice class.
9497 * RegularExpressionValidator.cs
9498 - Completed. Ridiculously small and
9499 annoyinglyc crazy-driving class, basically the method
9501 * RangeValidator.cs - Completed.
9502 * DataGridColumn.cs - Completed.
9503 * EditCommandColumn.cs - All is complete except for the
9504 InitializeCell(TableCell, int, ListItemType) method.
9505 * DataListItem.cs - All done except for a longish method
9506 RenderItem(HtmlTextWriter, bool, bool)
9508 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
9510 * RepeaterItemCollection.cs - Completed.
9511 I love *Collection classes. I am planning to make a
9512 program that will generate a *Collection class. It's so
9513 simple and the same. ;-)
9514 * DataGridColumnCollection.cs - Completed.
9515 ... except probably for *ColumnCollection classes, where
9516 you have to put in some more effort. Still, these class
9517 generation can be automated.
9518 * DataListItemCollection.cs - Completed.
9519 See, how easily, in less than a quarter of a minute, I
9520 completed this class - manually. Copy-Paste/Cut-Replace.
9522 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
9524 * DataGrid.cs - Following methods implemented:
9525 TrackViewState(), LoadViewState(object), SaveViewState(),
9526 On* -- The event raisers.
9527 OnBubbleEvent(object, EventArgs) is still incomplete.
9528 * DataGridItem.cs - Initial Implementation
9529 * DataGridItemCollection.cs - Completed.
9531 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
9533 * DataGrid.cs - Initial Implementation. Worked
9534 primarily with some properties.
9536 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
9538 * ListBox.cs - Completed. Implemented
9539 LoadPostData(string, NameValueCollection)
9540 * RequiredFieldValidator.cs - Completed. Pretty simple class.
9542 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
9544 * ListBox.cs - Implemented the following:
9545 RaisePostDataChangedEvent()
9547 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
9549 * ListBox.cs - Supports the following properties:
9550 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
9553 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
9554 RenderContents(HtmlTextWriter)
9557 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
9559 * TargetConverter.cs - Completed
9560 * TemplateColumn.cs - Completed
9561 * DataList.cs - Corrected the get-er methods for the
9562 *Style objects. Corrected the get/set-er methods for ViewState
9564 Addded support for properties:
9565 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
9566 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
9567 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
9568 SeparatorStyle, SeparatorItemTemplate.
9570 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
9571 ItemCreated, ItemDataBound, UpdateCommand.
9573 CreateControlStyle(), LoadViewState(object),
9574 SaveViewState(), TrackViewState
9576 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
9577 OnEditCommand, OnItemCommand, OnItemCreated,
9578 OnItemDataBound, OnUpdateCommand
9579 Added dummy methods for some undocumented methods:
9580 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
9581 CreateItem(int, ListItemType, bool, object),
9582 PrepareControlHierarchy(), InitializeItem(DataListItem)
9583 * ListBox.cs - Started working.
9587 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
9589 * RepeaterInfo.cs - Initial Implementation. Done all
9590 except for RepeatDirection.Vertical
9591 * TableStyle.cs - Completed
9593 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
9595 * DropDownList.cs - Completed
9596 * ListItemCollection.cs - Added method FindByValueInternal to
9597 assist in the derived classes.
9598 Discovered bug in FindByValue. Removed
9599 * UnitConverter.cs - Completed
9600 * PlaceHolder.cs - What can be simpler than this?
9601 * PlaceHolderControlBuilder.cs
9602 - Uh! Damn cool one.
9603 * RadioButtonList.cs - Initial Implementation. All is done
9604 except for the implementation of
9605 method IRepeatInfoUser.RenderItem(...)
9606 * ValidatedControlConverter.cs
9607 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
9608 * ValidationSummary.cs - Initial Implementation.
9609 * WebColorConverter.cs - Initial Implementation
9611 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9613 * FontNamesConverter.cs - Completed
9614 * FontUnitConverter.cs - Partial Implementation
9615 * ListItemControlBuilder.cs - Completed
9617 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9619 * TextBox.cs - All done except *Render* methods
9620 * TextBoxControlBuilder.cs - Completed
9621 * Xml.cs - Partial Implementation
9623 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
9625 * RadioButton.cs - Completed
9626 * TextBox.cs - Partial Implementation
9628 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
9630 * Panel.cs - Completed
9631 * TableItemStyle.cs - Completed
9633 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
9635 * TableCellCollection.cs - Completed
9636 * TableRowCollection.cs - Completed
9637 * TableHeaderCell.cs - Completed
9638 * TableRow.cs - Completed
9640 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
9642 * TableCellControlBuilder.cs - Completed
9643 * Table.cs - Completed
9644 * TableCell.cs - Completed
9646 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
9648 * CheckBoxList.cs - Completed
9649 * ButtonColumn.cs - Completed
9650 * Button.cs - Completed
9652 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
9654 * HyperLink.cs - Completed
9655 * Image.cs - Completed
9656 * ImageButton.cs - Completed
9657 * Label.cs - Completed
9658 * LabelControlBuilder.cs - Completed
9659 * LinkButton.cs - Completed
9660 * LinkButtonControlBuilder.cs - Completed
9661 * Literal.cs - Completed
9662 * LieteralControlBuilder.cs - Completed
9663 * FontUnit.cs - Completed
9666 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
9668 * Calendar.cs - Completed the functions of Render*,
9669 ViewStates (Track/View/Save),
9671 Left: RenderAllDays (partially)
9673 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
9675 * Calendar.cs - Added some more functions
9676 * Style.cs - Completed
9677 * ListItem.cs - Completed
9678 * ListItemCollection.cs - Completed
9680 Made the first successful build of System.Web.dll that included
9681 System.Web.UI.WebControls!
9683 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
9685 FontInfo.cs - Complete revamp. Completed
9687 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
9689 ListItemCollection.cs - Completed
9690 ListItem.cs - Initial Implementation
9691 Style.cs - Initial Implementation
9693 Right now I am in a total mood to do a successful build. Creating so many
9694 classes, completing classes in System.Web System.Web.UI namespaces.
9696 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
9698 TODO - Properly added
9699 CheckBox.cs - Completed
9700 BaseDataList.cs - Completed
9701 DayRenderEventArgs.cs - Completed
9702 RepeaterItem.cs - Initial implementation
9704 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
9706 BaseCompareValidator.cs - Completed
9707 AdRotator.cs - Completed
9709 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
9711 CommandEventArgs.cs - Completed
9712 DataGridCommandEventArgs.cs - Completed
9713 RepeaterCommandEventArgs.cs - Completed
9714 DataListCommandEventArgs.cs - Completed
9715 CompareValidator.cs - Partial Implementation
9717 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
9719 CheckBoxList.cs - Partial Implementation.
9722 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
9724 ListControl.cs - Completed
9726 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
9728 CheckBox.cs - Completed
9729 ListControl.cs - Initial Implementation
9730 CheckBoxList.cs - Started with it, but first needed
9731 ListControl. Left it.
9733 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
9735 CalendarDay.cs - Making a note that this
9736 has been implemented
9737 Calendar.cs - Making a note that have made some changes.
9738 Unimplmented functions throw
9739 NotImplementedException
9740 CheckBox.cs - Can now "Render" and "LoadPostData"
9743 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
9744 WebControl.cs - Total Revamp, Partial Implementation
9745 AdRotator.cs - Able to load files
9746 AdCreatedEventArgs.cs - Implemented
9748 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
9749 Calendar.cs - Initial Implementation
9750 ButtonColumn.cs - Initial Implementation
9751 Button.cs - Initial Implementation
9752 BoundColumn.cs - Initial Implementation
9753 BaseCompareValidator.cs - Minor Changes
9754 DataList.cs, BaseValidator.cs, BaseDataList.cs
9755 - Added more functions, other changes
9757 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
9758 WebControl.cs - Initial Implementation
9759 DataList.cs - Initial Implementation
9760 BaseValidator.cs - Initial Implementation
9761 BaseDataList.cs - Initial Implementation
9763 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
9765 AdCreatedEventArgs.cs - Initial Implementation
9766 AdCratedEventHandler.cs - Implemented
9767 AdRotator.cs - Initial Implementation
9768 BorderStyle.cs - Implemented
9769 ButtonColumnStyle.cs - Implemented
9770 CalendarSelectionMode.cs - Implemented
9771 DayNameFormat.cs - Implemented
9772 FirstDayOfWeek - Implemented
9773 FontInfo.cs - Partial Implementation
9774 FontSize.cs - Implemented
9775 GridLines.cs - Implemented
9776 HorizontalAlign.cs - Implemented
9777 HyperLink.cs - Initial Implementation
9778 ImageAlign.cs - Implemented
9779 IRepeatInfoUser.cs - Implemented
9780 ListItemType.cs - Implemented
9781 ListSelectionMode.cs - Implemented
9782 NextPrevFormat.cs - Implemented
9783 PagerMode.cs - Implemented
9784 PagerPosition.cs - Implemented
9785 RepeatDirection.cs - Implemented
9786 RepeatLayout.cs - Implemented
9787 TextAlign.cs - Implemented
9788 TextBoxMode.cs - Implemented
9789 TitleFormat.cs - Implemented
9790 UnitType.cs - Implemented
9791 ValidationCompareOperator.cs
9793 ValidationDataType.cs - Implemented
9794 ValidationSummaryDisplayMode.cs
9796 ValidatorDisplay.cs - Implemented
9797 VerticalAlign.cs - Implemented
9801 i/ File Created 2001-11-13